ports/165438: graphics/poppler-qt4 fails

Justin freebsd.users at gmail.com
Fri Feb 24 05:10:05 UTC 2012


>Number:         165438
>Category:       ports
>Synopsis:       graphics/poppler-qt4 fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 24 05:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Justin
>Release:        FreeBSD-8-STABLE-amd64
>Organization:
>Environment:
FreeBSD beastie.lst.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue Jan 24 23:57:55 UTC 2012     root@:/usr/obj/usr/src/sys/BIATCHITUDESTEIN  amd64

>Description:
http://paste.pocoo.org/show/555918/
>How-To-Repeat:
build graphics/poppler-qt4 or run portupgrade on poppler-qt4-0.18.0.
>Fix:


Patch attached with submission follows:

Script started on Thu Feb 23 20:51:20 2012

[8:51pm] /tmp# cd /usr/ports/graphics/poppler-qt4
[8:51pm] /usr/ports/graphics/poppler-qt4# make 
===>  License GPLv2 accepted by the user
===>  Extracting for poppler-qt4-0.18.4
=> SHA256 Checksum OK for poppler-0.18.4.tar.gz.
===>  Patching for poppler-qt4-0.18.4
===>   poppler-qt4-0.18.4 depends on package: libtool>=2.4 - found
===>  Applying FreeBSD patches for poppler-qt4-0.18.4
===>   poppler-qt4-0.18.4 depends on executable: gmake - found
===>   poppler-qt4-0.18.4 depends on file: /usr/local/lib/qt4/libQtCore.so - found
===>   poppler-qt4-0.18.4 depends on file: /usr/local/lib/qt4/libQtGui.so - found
===>   poppler-qt4-0.18.4 depends on file: /usr/local/bin/moc-qt4 - found
===>   poppler-qt4-0.18.4 depends on file: /usr/local/lib/qt4/libQtTest.so - found
===>   poppler-qt4-0.18.4 depends on file: /usr/local/lib/qt4/libQtXml.so - found
===>   poppler-qt4-0.18.4 depends on package: libtool>=2.4 - found
===>   poppler-qt4-0.18.4 depends on executable: pkg-config - found
===>   poppler-qt4-0.18.4 depends on shared library: jpeg.11 - found
===>   poppler-qt4-0.18.4 depends on shared library: fontconfig.1 - found
===>   poppler-qt4-0.18.4 depends on shared library: lcms.1 - found
===>   poppler-qt4-0.18.4 depends on shared library: poppler.18 - found
===>   poppler-qt4-0.18.4 depends on shared library: xml2.5 - found
===>  Configuring for poppler-qt4-0.18.4
configure: WARNING: unrecognized options: --with-qt-includes, --with-qt-libraries, --with-extra-libs, --with-extra-includes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking build system type... amd64-portbld-freebsd8.2
checking host system type... amd64-portbld-freebsd8.2
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd8.2 file names to amd64-portbld-freebsd8.2 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd8.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.2 ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing strerror... none required
checking for cc option to accept ISO C99... -std=gnu99
checking for cc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdint.h... (cached) yes
checking whether gettimeofday is declared... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for gethostbyname... (cached) yes
checking for nanosleep... yes
checking for opj_cio_open in -lopenjpeg... yes
checking openjpeg.h usability... yes
checking openjpeg.h presence... yes
checking for openjpeg.h... yes
checking for TIFFOpen in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for popen... yes
checking for mkstemp... yes
checking for mkstemps... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseek64... no
checking for ftell64... no
checking for inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for LIBPNG... yes
checking for FREETYPE... yes
checking which font configuration to use... fontconfig
checking for FONTCONFIG... yes
checking for CAIRO... yes
checking for PDFTOCAIRO... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for POPPLER_QT4... yes
checking for POPPLER_QT4_TEST... yes
checking for moc... no
checking for Qt4 moc... -v: not found

checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for LCMS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating goo/Makefile
config.status: creating fofi/Makefile
config.status: creating splash/Makefile
config.status: creating poppler/Makefile
config.status: creating utils/Makefile
config.status: creating glib/Makefile
config.status: creating glib/poppler-features.h
config.status: creating glib/reference/Makefile
config.status: creating glib/reference/version.xml
config.status: creating glib/demo/Makefile
config.status: creating test/Makefile
config.status: creating qt4/Makefile
config.status: creating qt4/src/Makefile
config.status: creating qt4/tests/Makefile
config.status: creating qt4/demos/Makefile
config.status: creating cpp/Makefile
config.status: creating cpp/poppler-version.h
config.status: creating cpp/tests/Makefile
config.status: creating poppler.pc
config.status: creating poppler-uninstalled.pc
config.status: creating poppler-cairo.pc
config.status: creating poppler-cairo-uninstalled.pc
config.status: creating poppler-splash.pc
config.status: creating poppler-splash-uninstalled.pc
config.status: creating poppler-glib.pc
config.status: creating poppler-glib-uninstalled.pc
config.status: creating poppler-qt4.pc
config.status: creating poppler-qt4-uninstalled.pc
config.status: creating poppler-cpp.pc
config.status: creating poppler-cpp-uninstalled.pc
config.status: creating config.h
config.status: creating poppler/poppler-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-qt-includes, --with-qt-libraries, --with-extra-libs, --with-extra-includes

Building poppler with support for:
  font configuration: fontconfig
  splash output:      yes
  cairo output:       yes
  qt4 wrapper:        yes
  glib wrapper:       no
    introspection:    no
  cpp wrapper:        yes
  use gtk-doc:        no
  use libjpeg:        yes
  use libpng:         yes
  use libtiff:        yes
  use zlib:           yes
  use libcurl:        no
  use libopenjpeg:    yes
  use cms:            yes
  command line utils: no

  Warning: Using zlib is not totally safe
===>  Building for poppler-qt4-0.18.4
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4'
Making all in goo
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/goo'
  CXX    gfile.lo
  CXX    gmempp.lo
  CXX    GooHash.lo
  CXX    GooList.lo
  CXX    GooTimer.lo
  CXX    GooString.lo
  CXX    gmem.lo
  CXX    FixedPoint.lo
  CXX    PNGWriter.lo
  CXX    JpegWriter.lo
  CXX    TiffWriter.lo
  CXX    ImgWriter.lo
  CXX    gstrtod.lo
  CXXLD  libgoo.la
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/goo'
Making all in fofi
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/fofi'
  CXX    FoFiBase.lo
  CXX    FoFiEncodings.lo
  CXX    FoFiTrueType.lo
  CXX    FoFiType1.lo
  CXX    FoFiType1C.lo
  CXXLD  libfofi.la
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/fofi'
Making all in splash
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/splash'
  CXX    Splash.lo
  CXX    SplashBitmap.lo
  CXX    SplashClip.lo
  CXX    SplashFTFont.lo
  CXX    SplashFTFontEngine.lo
  CXX    SplashFTFontFile.lo
  CXX    SplashFont.lo
  CXX    SplashFontEngine.lo
  CXX    SplashFontFile.lo
  CXX    SplashFontFileID.lo
  CXX    SplashPath.lo
  CXX    SplashPattern.lo
  CXX    SplashScreen.lo
  CXX    SplashState.lo
  CXX    SplashT1Font.lo
  CXX    SplashT1FontEngine.lo
  CXX    SplashT1FontFile.lo
  CXX    SplashXPath.lo
  CXX    SplashXPathScanner.lo
  CXXLD  libsplash.la
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/splash'
Making all in poppler
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/poppler'
gmake  all-am
gmake[3]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/poppler'
  CXX    SplashOutputDev.lo
  CXX    DCTStream.lo
  CXX    FlateStream.lo
  CXX    JPEG2000Stream.lo
  CXX    Annot.lo
  CXX    Array.lo
  CXX    BuiltinFont.lo
  CXX    BuiltinFontTables.lo
  CXX    CachedFile.lo
  CXX    Catalog.lo
  CXX    CharCodeToUnicode.lo
  CXX    CMap.lo
  CXX    DateInfo.lo
  CXX    Decrypt.lo
  CXX    Dict.lo
  CXX    Error.lo
  CXX    FileSpec.lo
  CXX    FontEncodingTables.lo
  CXX    Form.lo
  CXX    FontInfo.lo
  CXX    Function.lo
  CXX    Gfx.lo
  CXX    GfxFont.lo
  CXX    GfxState.lo
  CXX    GlobalParams.lo
  CXX    Hints.lo
  CXX    JArithmeticDecoder.lo
  CXX    JBIG2Stream.lo
  CXX    Lexer.lo
  CXX    Linearization.lo
  CXX    Link.lo
  CXX    LocalPDFDocBuilder.lo
  CXX    Movie.lo
  CXX    NameToCharCode.lo
  CXX    Object.lo
  CXX    OptionalContent.lo
  CXX    Outline.lo
  CXX    OutputDev.lo
  CXX    Page.lo
  CXX    PageTransition.lo
  CXX    Parser.lo
  CXX    PDFDoc.lo
  CXX    PDFDocEncoding.lo
  CXX    PDFDocFactory.lo
  CXX    PopplerCache.lo
  CXX    ProfileData.lo
  CXX    PreScanOutputDev.lo
  CXX    PSTokenizer.lo
  CXX    Rendition.lo
  CXX    StdinCachedFile.lo
  CXX    StdinPDFDocBuilder.lo
  CXX    Stream.lo
  CXX    strtok_r.lo
  CXX    UnicodeMap.lo
  CXX    UnicodeTypeTable.lo
  CXX    ViewerPreferences.lo
  CXX    XRef.lo
  CXX    PSOutputDev.lo
  CXX    TextOutputDev.lo
  CXX    PageLabelInfo.lo
  CXX    SecurityHandler.lo
  CXX    Sound.lo
  CXX    XpdfPluginAPI.lo
  CXXLD  libpoppler.la
  CXX    CairoFontEngine.lo
  CXX    CairoOutputDev.lo
UTF8.h:59: warning: 'int mapUCS2(Unicode, char*, int)' defined but not used
  CXX    CairoRescaleBox.lo
  CXXLD  libpoppler-cairo.la
  CXX    ArthurOutputDev.lo
  CXXLD  libpoppler-arthur.la
gmake[3]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/poppler'
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/poppler'
Making all in test
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/test'
  CXX    perf-test.o
  CXX    perf-test-preview-dummy.o
  CXXLD  perf-test
  CXX    pdf-fullrewrite.o
  CXXLD  pdf-fullrewrite
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/test'
Making all in qt4
gmake[2]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/qt4'
Making all in src
gmake[3]: Entering directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/qt4/src'
  GEN    poppler-optcontent.moc
-i: not found
gmake[3]: *** [poppler-optcontent.moc] Error 127
gmake[3]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/qt4/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4/qt4'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/poppler-qt4/work/poppler-0.18.4'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/graphics/poppler-qt4.
[8:53pm] /usr/ports/graphics/poppler-qt4# exit
exit

Script done on Thu Feb 23 20:53:10 2012


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list