Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43533 closed defect (invalid)

poppler fails to build on Mavericks (OS X 10.9.2)

Reported by: bersavosh2003@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: poppler

Description (last modified by mf2k (Frank Schima))

Note: I'm not an advanced user.

Already tried:

  • suggested solution in Ticket #32286, it fails at 'port upgrade outdated' (see below).
  • 'sudo port rev-upgrade' fails with similar error.

below please find terminal report and logfile produced by Macports. thanks, Arash

#Error report in terminal:

> sudo port upgrade outdated
--->  Computing dependencies for gtk3
--->  Fetching archive for gtk3
--->  Attempting to fetch gtk3-3.12.1_0+x11.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gtk3
--->  Attempting to fetch gtk3-3.12.1_0+x11.darwin_13.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gtk3
--->  Installing gtk3 @3.12.1_0+x11
--->  Cleaning gtk3
--->  Computing dependencies for gtk3
--->  Deactivating gtk3 @3.12.0_0+x11
--->  Cleaning gtk3
--->  Activating gtk3 @3.12.1_0+x11
--->  Cleaning gtk3
--->  Computing dependencies for netpbm
--->  Fetching archive for netpbm
--->  Attempting to fetch netpbm-10.66.02_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/netpbm
--->  Attempting to fetch netpbm-10.66.02_1.darwin_13.x86_64.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/netpbm
--->  Installing netpbm @10.66.02_1
--->  Cleaning netpbm
--->  Computing dependencies for netpbm
--->  Deactivating netpbm @10.66.02_0
--->  Cleaning netpbm
--->  Activating netpbm @10.66.02_1
--->  Cleaning netpbm
--->  Computing dependencies for poppler
--->  Building poppler
Error: org.macports.build for port poppler returned: command execution failed
Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
Error: Unable to upgrade port: 1

### the file poppler/main.log:

version:1
:msg:clean --->  Computing dependencies for poppler:info:clean .:debug:clean Checking for conflicts against poppler
:debug:clean Searching for dependency: pdf2json
:debug:clean Didn't find receipt, going to depspec regex for: pdf2json
:debug:clean Searching for dependency: xpdf-tools
:debug:clean Didn't find receipt, going to depspec regex for: xpdf-tools
:debug:clean Searching for dependency: xz
:debug:clean Found Dependency: receipt exists for xz
:debug:clean Searching for dependency: pkgconfig
:debug:clean Found Dependency: receipt exists for pkgconfig
:debug:clean Searching for dependency: autoconf
:debug:clean Found Dependency: receipt exists for autoconf
:debug:clean Searching for dependency: automake
:debug:clean Found Dependency: receipt exists for automake
:debug:clean Searching for dependency: libtool
:debug:clean Found Dependency: receipt exists for libtool
:debug:clean Searching for dependency: bzip2
:debug:clean Found Dependency: receipt exists for bzip2
:debug:clean Searching for dependency: curl
:debug:clean Found Dependency: receipt exists for curl
:debug:clean Searching for dependency: expat
:debug:clean Found Dependency: receipt exists for expat
:debug:clean Searching for dependency: fontconfig
:debug:clean Found Dependency: receipt exists for fontconfig
:debug:clean Searching for dependency: freetype
:debug:clean Found Dependency: receipt exists for freetype
:debug:clean Searching for dependency: gobject-introspection
:debug:clean Found Dependency: receipt exists for gobject-introspection
:debug:clean Searching for dependency: jpeg
:debug:clean Found Dependency: receipt exists for jpeg
:debug:clean Searching for dependency: glib2
:debug:clean Found Dependency: receipt exists for glib2
:debug:clean Searching for dependency: cairo
:debug:clean Found Dependency: receipt exists for cairo
:debug:clean Searching for dependency: lcms2
:debug:clean Found Dependency: receipt exists for lcms2
:debug:clean Searching for dependency: libpng
:debug:clean Found Dependency: receipt exists for libpng
:debug:clean Searching for dependency: openjpeg15
:debug:clean Found Dependency: receipt exists for openjpeg15
:debug:clean Searching for dependency: poppler-data
:debug:clean Found Dependency: receipt exists for poppler-data
:debug:clean Searching for dependency: tiff
:debug:clean Found Dependency: receipt exists for tiff
:debug:clean Searching for dependency: zlib
:debug:clean Found Dependency: receipt exists for zlib
:msg:clean 
:debug:main Executing org.macports.main (poppler)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (poppler)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Apr 30 10:24:18 MDT 2014
:notice:build --->  Building poppler
:debug:build Executing org.macports.build (poppler)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64"'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5'
:info:build Making all in goo
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/goo'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/goo'
:info:build Making all in fofi
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/fofi'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/fofi'
:info:build Making all in splash
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/splash'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/splash'
:info:build Making all in poppler
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/poppler'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-am
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/poppler'
:info:build make[3]: Nothing to be done for `all-am'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/poppler'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/poppler'
:info:build Making all in utils
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/utils'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/utils'
:info:build Making all in glib
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build Making all in .
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build /opt/local/bin/g-ir-scanner  --add-include-path=. --warn-all --namespace=Poppler --nsversion=0.18 --libtool="/bin/sh ../libtool"  --include=GObject-2.0 --include=Gio-2.0 --include=cairo-1.0 --pkg-export=poppler-glib  --library=libpoppler-glib.la --c-include poppler.h --cflags-begin -DG_LOG_DOMAIN=\"Poppler\" -I.. -I../poppler -D_REENTRANT -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include  -I/opt/local/include/freetype2  -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I.. --cflags-end  poppler-enums.c poppler-enums.h poppler-action.cc poppler-date.cc poppler-document.cc poppler-page.cc poppler-attachment.cc poppler-form-field.cc poppler-annot.cc poppler-layer.cc poppler-media.cc poppler-movie.cc poppler-cached-file-loader.cc poppler-cached-file-loader.h poppler-input-stream.cc poppler.cc poppler-action.h poppler-date.h poppler-document.h poppler-page.h poppler-attachment.h poppler-form-field.h poppler-annot.h poppler-layer.h poppler-media.h poppler-movie.h poppler.h poppler-features.h libpoppler-glib.la --output Poppler-0.18.gir
:info:build /bin/sh: /opt/local/bin/g-ir-scanner: /opt/local/bin/python2.7: bad interpreter: No such file or directory
:info:build make[4]: *** [Poppler-0.18.gir] Error 126
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5/glib'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.24.5" && /usr/bin/make -j2 -w all CC="/usr/bin/clang -arch x86_64" 
:info:build Exit code: 2
:error:build org.macports.build for port poppler returned: command execution failed
:debug:build Error code: CHILDSTATUS 19540 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for poppler: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

Attachments (1)

main.log (352.7 KB) - added by bersavosh2003@… 11 years ago.
Poppler build log

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by bersavosh2003@…

Cc: bersavosh2003@… added
Last edited 11 years ago by bersavosh2003@… (previous) (diff)

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Cc: bersavosh2003@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…
Port: poppler added

In the future, please use WikiFormatting, fill in the Port field, Cc the port maintainers (port info --maintainers poppler) and attach the main.log file instead of pasting into the description unformatted. As reporter, you do not need to Cc yourself.

This is not a clean build log. Please clean the port and try again. Then attach the new main.log file.

Changed 11 years ago by bersavosh2003@…

Attachment: main.log added

Poppler build log

comment:3 in reply to:  2 Changed 11 years ago by bersavosh2003@…

Replying to mf2k@…:

In the future, please use WikiFormatting, fill in the Port field, Cc the port maintainers (port info --maintainers poppler) and attach the main.log file instead of pasting into the description unformatted. As reporter, you do not need to Cc yourself.

This is not a clean build log. Please clean the port and try again. Then attach the new main.log file.

I apologize for poor formatting.

I cleaned and tried to upgrade the port:

> sudo port clean poppler
--->  Cleaning poppler
> sudo port upgrade poppler 
--->  Computing dependencies for poppler
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.24.5_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler
--->  Attempting to fetch poppler-0.24.5_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler
--->  Attempting to fetch poppler-0.24.5_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/poppler
--->  Fetching distfiles for poppler
--->  Verifying checksums for poppler
--->  Extracting poppler
--->  Configuring poppler
--->  Building poppler
Error: org.macports.build for port poppler returned: command execution failed
Please see the log file for port poppler for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

The log file is attached. Thanks.

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: invalid
Status: newclosed

Your problem is:

:info:build /opt/local/bin/g-ir-scanner  --add-include-path=. --warn-all --namespace=Poppler --nsversion=0.18 --libtool="/bin/sh ../libtool"  --include=GObject-2.0 --include=Gio-2.0 --include=cairo-1.0 --pkg-export=poppler-glib  --library=libpoppler-glib.la --c-include poppler.h --cflags-begin -DG_LOG_DOMAIN=\"Poppler\" -I.. -I../poppler -D_REENTRANT -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include  -I/opt/local/include/freetype2  -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I.. --cflags-end  poppler-enums.c poppler-enums.h poppler-action.cc poppler-date.cc poppler-document.cc poppler-page.cc poppler-attachment.cc poppler-form-field.cc poppler-annot.cc poppler-layer.cc poppler-media.cc poppler-movie.cc poppler-cached-file-loader.cc poppler-cached-file-loader.h poppler-input-stream.cc poppler.cc poppler-action.h poppler-date.h poppler-document.h poppler-page.h poppler-attachment.h poppler-form-field.h poppler-annot.h poppler-layer.h poppler-media.h poppler-movie.h poppler.h poppler-features.h libpoppler-glib.la --output Poppler-0.18.gir
:info:build /bin/sh: /opt/local/bin/g-ir-scanner: /opt/local/bin/python2.7: bad interpreter: No such file or directory

/opt/local/bin/g-ir-scanner is provided by the gobject-introspection port, which has a library dependency on python27, but apparently you deactivated python27 or deleted /opt/local/bin/python2.7 manually.

Please re-activate python27 (if it isn't active), or deactivate and re-activate it (if it was active).

comment:5 Changed 11 years ago by bersavosh2003@…

Problem solved. Thanks.

Note: See TracTickets for help on using tickets.