Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 11:54:04 GMT
From:      Alexander Panyuskin <vsityz@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182405: error to build graphics/poppler-glib
Message-ID:  <201309261154.r8QBs44I020056@oldred.freebsd.org>
Resent-Message-ID: <201309261200.r8QC01we047512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182405
>Category:       ports
>Synopsis:       error to build graphics/poppler-glib
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 26 12:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Panyuskin
>Release:        FreeBSD 10.0-ALPHA3 #0 r255867M
>Organization:
none
>Environment:
FreeBSD scorpion.kiev.ua 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #0 r255867M: Wed Sep 25 16:26:13 EEST 2013     root@scorpion.kiev.ua:/usr/obj/usr/src/sys/Kernel  amd64
>Description:
===>>> Starting build for graphics/poppler-glib <<<===

===>>> All dependencies are up to date

===>  Cleaning for poppler-glib-0.22.2
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by poppler-glib-0.22.2 for building
===>  Extracting for poppler-glib-0.22.2
=> SHA256 Checksum OK for poppler-0.22.2.tar.gz.
===>  Patching for poppler-glib-0.22.2
===>   poppler-glib-0.22.2 depends on package: libtool>=2.4 - found
===>  Applying FreeBSD patches for poppler-glib-0.22.2
===>   poppler-glib-0.22.2 depends on executable: g-ir-scanner - found
===>   poppler-glib-0.22.2 depends on executable: gmake - found
===>   poppler-glib-0.22.2 depends on executable: pkgconf - found
===>   poppler-glib-0.22.2 depends on package: libtool>=2.4 - found
===>   poppler-glib-0.22.2 depends on shared library: jpeg - found
===>   poppler-glib-0.22.2 depends on shared library: fontconfig - found
===>   poppler-glib-0.22.2 depends on shared library: lcms2 - found
===>   poppler-glib-0.22.2 depends on shared library: poppler - found
===>   poppler-glib-0.22.2 depends on shared library: cairo - found
===>   poppler-glib-0.22.2 depends on shared library: glib-2.0 - found
===>   poppler-glib-0.22.2 depends on shared library: pcre - found
===>   poppler-glib-0.22.2 depends on shared library: xml2.5 - found
===>  Configuring for poppler-glib-0.22.2
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/aclocal.m4
configure: loading site script /usr/ports/Templates/config.site
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... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... 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... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
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-freebsd10.0 file names to amd64-portbld-freebsd10.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.0 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... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
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... freebsd10.0 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... freebsd10.0 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... none needed
checking for cc option to accept ISO Standard C... (cached) none needed
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 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... (cached) 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... (cached) yes
checking for gettimeofday... (cached) yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for rand_r... yes
checking for gethostbyname... (cached) yes
checking for nanosleep... yes
checking for LIBOPENJPEG... no
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... (cached) 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 for zlib.h... (cached) 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 libjpeg.h works correctly... ok
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 for fcntl.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for POPPLER_GLIB... yes
checking for gobject-introspection... yes
checking for glib-mkenums... /usr/local/bin/glib-mkenums
checking for gtkdoc-check... /usr/local/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/local/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/local/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for iconv... yes
checking for working iconv... yes
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
checking for test data in /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/./../test... no
configure: WARNING:
 No test data found in /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/./../test.
 You will not be able to run 'make check' successfully.

 The test data is not included in the source packages
 and is also not part of the main git repository. Instead,
 you can checkout the test data from its own git
 repository with:

   git clone git://git.freedesktop.org/git/poppler/test

 You should checkout the test data as a sibling of your
 poppler source folder or specify the location of your
 checkout with --with-testdatadir=/path/to/checkoutdir/test.

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

Building poppler with support for:
  font configuration: fontconfig
  splash output:      yes
  cairo output:       yes
  qt4 wrapper:        no
  glib wrapper:       yes
    introspection:    yes
  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
      with lcms2
  command line utils: no
  test data dir:      /usr/ports/graphics/poppler-glib/work/poppler-0.22.2/./../test

  Warning: Using zlib is not totally safe
===>  Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
  CXX    CairoFontEngine.lo
In file included from CairoFontEngine.cc:39:
./CairoFontEngine.h:98:11: warning: private field 'doc' is not used [-Wunused-private-field]
  PDFDoc *doc;
          ^
1 warning generated.
  CXX    CairoOutputDev.lo
CairoOutputDev.cc:1626:29: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
      [-Wcast-align]
    uint32_t *source_data = (uint32_t*)cairo_image_surface_get_data(source);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CairoOutputDev.cc:2386:12: warning: cast from 'unsigned char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
    dest = (unsigned int *) (buffer + y * row_stride);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CairoOutputDev.cc:2536:12: warning: cast from 'unsigned char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
    dest = (unsigned int *) (buffer + y * row_stride);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CairoOutputDev.cc:2765:26: warning: cast from 'unsigned char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
      [-Wcast-align]
        uint32_t *dest = (uint32_t *) (buffer + y * stride);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
  CXX    CairoRescaleBox.lo
CairoRescaleBox.cc:283:10: warning: cast from 'unsigned char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align]
  dest = (unsigned int *)cairo_image_surface_get_data (dest_surface);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
  CXXLD  libpoppler-cairo.la
gmake[1]: Выход из каталога `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
gmake[1]: Вход в каталог `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  GEN    stamp-poppler-enums.h
gmake  all-recursive
gmake[2]: Вход в каталог `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
Making all in .
gmake[3]: Вход в каталог `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib'
  CC     poppler-enums.lo
  CXX    poppler-action.lo
  CXX    poppler-date.lo
  CXX    poppler-document.lo
  CXX    poppler-page.lo
  CXX    poppler-attachment.lo
poppler-attachment.cc:123:65: warning: cast from 'GTime *' (aka 'int *') to 'time_t *' (aka 'long *') increases required alignment from 4 to 8
      [-Wcast-align]
    _poppler_convert_pdf_date_to_gtime (embFile->createDate (), (time_t *)&attachment->ctime);
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
poppler-attachment.cc:125:62: warning: cast from 'GTime *' (aka 'int *') to 'time_t *' (aka 'long *') increases required alignment from 4 to 8
      [-Wcast-align]
    _poppler_convert_pdf_date_to_gtime (embFile->modDate (), (time_t *)&attachment->mtime);
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
  CXX    poppler-form-field.lo
  CXX    poppler-annot.lo
  CXX    poppler-layer.lo
  CXX    poppler-media.lo
  CXX    poppler-movie.lo
  CXX    poppler-cached-file-loader.lo
  CXX    poppler-input-stream.lo
  CXX    poppler.lo
  CXXLD  libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-pthread'
  GISCAN Poppler-0.18.gir
/usr/local/lib/libpoppler.so: undefined reference to `std::__1::__vector_base_common<true>::__throw_length_error() const'
/usr/local/lib/libpoppler.so: undefined reference to `std::__1::__vector_base_common<true>::__throw_out_of_range() const'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
linking of temporary binary failed: Command '['/bin/sh', '/usr/ports/graphics/poppler-glib/work/gnome-libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectbHU38O/Poppler-0.18', '-export-dynamic', '-Wall', '-Oz', '-march=athlon64-sse3', '-mtune=athlon64-sse3', '-pipe', '-Qunused-arguments', '-Qunused-parameter', '-Wformat', '-Wformat-security', '-L/usr/local/lib', '-pthread', '/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/glib/tmp-introspectbHU38O/Poppler-0.18.o', '-L.', 'libpoppler-glib.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-L/usr/local/lib', '-lglib-2.0', '-lintl']' returned non-zero exit status 1
gmake[3]: *** [Poppler-0.18.gir] Error 1

>How-To-Repeat:
portmaster graphics/poppler-glib
>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261154.r8QBs44I020056>