#44954: Building poppler failed ------------------------------+-------------------------------- Reporter: john.m.harrold@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: ------------------------------+-------------------------------- I'm trying to build the port for poppler and I keep getting errors. I did a self update thinking that might be the cause of my troubles but I got the same error below. {{{ /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-structure-element.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-structure-element.h poppler.h poppler-features.h libpoppler-glib.la --output Poppler-0.18.gir Traceback (most recent call last): File "/opt/local/bin/g-ir-scanner", line 44, in <module> from giscanner.scannermain import scanner_main File "/opt/local/lib/gobject-introspection/giscanner/scannermain.py", line 29, in <module> import tempfile File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 35, in <module> from random import Random as _Random File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py", line 49, in <module> import hashlib as _hashlib File "build/bdist.macosx-10.8-intel/egg/hashlib.py", line 105, in <module> File "build/bdist.macosx-10.8-intel/egg/_hashlib.py", line 7, in <module> File "build/bdist.macosx-10.8-intel/egg/_hashlib.py", line 4, in __bootstrap__ File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 954, in resource_filename self, resource_name File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 1647, in get_resource_filename zip_path = self._resource_to_zip(resource_name) File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 1683, in _extract_resource File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 2857, in _mkstemp old_open = os.open AttributeError: 'module' object has no attribute 'mkstemp' make[4]: *** [Poppler-0.18.gir] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4/glib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4/glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4/glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/work/poppler-0.26.4" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" Exit code: 2 Error: org.macports.build for port poppler returned: command execution failed DEBUG: Error code: CHILDSTATUS 63406 2 DEBUG: 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 "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" Warning: targets not executed for poppler: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port poppler for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_poppler/poppler/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port poppler failed }}} -- Ticket URL: <https://trac.macports.org/ticket/44954> MacPorts <http://www.macports.org/> Ports system for OS X