#40630 closed defect (invalid)
poppler build failed
Reported by: | lord@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | poppler |
Description
prosody /Users/lord# port upgrade poppler ---> Computing dependencies for poppler Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/poppler/work/poppler-0.24.2/configure": no such file or directory Error: org.macports.patch for port poppler returned: reinplace sed(1) 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_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
Tried selfupdate, clean, etc. Log file attached.
Attachments (2)
Change History (14)
Changed 11 years ago by lord@…
comment:1 Changed 11 years ago by dbevans (David B. Evans)
Owner: | changed from macports-tickets@… to devans@… |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by dbevans (David B. Evans)
I'm not sure what's going on from what you've provided, but it appears that after the extract phase, the file configure does not exist in build directory indicating that for the some reason the extract phase failed (bad fetch, corrupted distfile, failed extract or something else).
Please do the following:
$ sudo port clean --all poppler ---> Cleaning poppler $ sudo port extract poppler ---> Computing dependencies for poppler ---> Fetching distfiles for poppler ---> Attempting to fetch poppler-0.24.2.tar.xz from http://distfiles.macports.org/poppler ---> Verifying checksums for poppler ---> Extracting poppler $ cd `port work poppler`/poppler* $ ls AUTHORS config.h.cmake poppler poppler-qt5.pc.in CMakeLists.txt config.h.in poppler-cairo-uninstalled.pc.in poppler-splash-uninstalled.pc.in COPYING config.sub poppler-cairo.pc.cmake poppler-splash.pc.cmake ChangeLog configure poppler-cairo.pc.in poppler-splash.pc.in ConfigureChecks.cmake configure.ac poppler-cpp-uninstalled.pc.in poppler-uninstalled.pc.in INSTALL cpp poppler-cpp.pc.cmake poppler.pc.cmake Makefile.am depcomp poppler-cpp.pc.in poppler.pc.in Makefile.in fofi poppler-glib-uninstalled.pc.in qt4 NEWS glib poppler-glib.pc.cmake qt5 README goo poppler-glib.pc.in splash README-XPDF gtk-doc.make poppler-qt4-uninstalled.pc.in test TODO install-sh poppler-qt4.pc.cmake test-driver aclocal.m4 ltmain.sh poppler-qt4.pc.in utils cmake m4 poppler-qt5-uninstalled.pc.in config.guess missing poppler-qt5.pc.cmake
You should see the top level build directory of the distribution (including configure). If so, you should be able to proceed with the build. If not, let me know what you find.
comment:3 Changed 11 years ago by lord@…
I followed your steps. Here is the trascript:
prosody /Users/lord# port clean --all poppler ---> Cleaning poppler prosody /Users/lord# port extract poppler ---> Computing dependencies for poppler ---> Fetching distfiles for poppler ---> Attempting to fetch poppler-0.24.2.tar.xz from http://distfiles.macports.org/poppler ---> Verifying checksums for poppler ---> Extracting poppler prosody /Users/lord# cd `port work poppler`/poppler* prosody /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/poppler/work/poppler-0.24.2# ls AUTHORS cpp poppler-qt4-uninstalled.pc.in CMakeLists.txt depcomp poppler-qt4.pc.cmake COPYING fofi poppler-qt4.pc.in ChangeLog glib poppler-qt5-uninstalled.pc.in ConfigureChecks.cmake goo poppler-qt5.pc.cmake INSTALL gtk-doc.make poppler-qt5.pc.in Makefile.am install-sh poppler-splash-uninstalled.pc.in Makefile.in ltmain.sh poppler-splash.pc.cmake NEWS m4 poppler-splash.pc.in README missing poppler-uninstalled.pc.in README-XPDF poppler poppler.pc.cmake TODO poppler-cairo-uninstalled.pc.in poppler.pc.in aclocal.m4 poppler-cairo.pc.cmake qt4 cmake poppler-cairo.pc.in qt5 config.guess poppler-cpp-uninstalled.pc.in splash config.h.cmake poppler-cpp.pc.cmake test config.h.in poppler-cpp.pc.in test-driver config.sub poppler-glib-uninstalled.pc.in utils configure poppler-glib.pc.cmake configure.ac poppler-glib.pc.in prosody /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/poppler/work/poppler-0.24.2# cd prosody /Users/lord# port upgrade poppler ---> Computing dependencies for poppler ---> Fetching archive for poppler ---> Attempting to fetch poppler-0.24.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/poppler ---> Attempting to fetch poppler-0.24.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler ---> Attempting to fetch poppler-0.24.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler ---> Configuring poppler Error: Failed to configure poppler, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/poppler/work/poppler-0.24.2/config.log Error: org.macports.configure for port poppler returned: configure failure: 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_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 prosody /Users/lord#
comment:4 Changed 11 years ago by dbevans (David B. Evans)
Please submit a new log file that shows the full build to the point it breaks including commands and results for the fetch and extract phases after doing the above. Error still doesn't make sense since file configure is, in fact, present.
That is,
sudo port clean --all poppler sudo port upgrade poppler
then send the resulting log file
Changed 11 years ago by lord@…
comment:6 Changed 11 years ago by dbevans (David B. Evans)
Ok, some progress. It got by the patch phase this time and failed in configure due to a missing dependency on libcurl. Please install port curl and clean and try again submitting a new log if it fails again.
sudo port install curl sudo port clean poppler sudo port upgrade poppler
comment:7 Changed 11 years ago by lord@…
The problem is that curl seems to depend on poppler:
prosody /Users/lord# port install curl ---> Computing dependencies for curl ---> Cleaning curl ---> Scanning binaries for linking errors: 4.7% Warning: Error parsing file /opt/local/share/ghc-bootstrap/lib/ghc-7.0.4/HSffi.o: Error opening or reading file ---> Scanning binaries for linking errors: 100.0% ---> Found 406 broken file(s), matching files to ports ---> Found 39 broken port(s), determining rebuild order ---> Rebuilding in order webp @0.3.1 enblend @4.0 +universal libgeoip @1.5.1 git-core @1.8.4 +credential_osxkeychain+doc+pcre+python27 openjpeg15 @1.5.0 ntfs-3g @2013.1.13 openjpeg @2.0.0 netpbm @10.62.02 s3fs @1.61 sox @14.4.1 wget @1.14 +ssl libsdl_image @1.2.12 freetype @2.5.0 fontconfig @2.10.95 gd2 @2.1.0 +x11 cairo @1.12.14 +x11 ffmpeg @2.0.1 +gpl2 gdk-pixbuf2 @2.30.0 +x11 harfbuzz @0.9.21 openmotif @2.3.4 pango @1.36.0 +x11 graphviz @2.34.0 +pangocairo+x11 gnuplot @4.6.3 +aquaterm+luaterm+pangocairo+x11 poppler @0.24.1 gtk2 @2.24.21 +x11 pdf2svg @0.2.1 wireshark @1.10.0 libglade2 @2.6.4 ghostscript @9.10 iulib @0.4-20120618 opencv @2.4.6.1 libusb-compat @0.1.4 texlive-bin @2013 +motif+x11 dvipng @1.14 py27-cairo @1.10.0 +x11 py27-pygtk @2.24.0 +x11 py33-matplotlib @1.3.0 +tkinter qt4-mac @4.8.5 libpano13 @2.9.18 +universal ---> Computing dependencies for webp ---> Cleaning webp ---> Computing dependencies for enblend ---> Cleaning enblend ---> Cleaning libgeoip ---> Computing dependencies for git-core ---> Cleaning git-core ---> Computing dependencies for openjpeg15 ---> Cleaning openjpeg15 ---> Computing dependencies for ntfs-3g ---> Cleaning ntfs-3g ---> Computing dependencies for openjpeg ---> Cleaning openjpeg ---> Computing dependencies for netpbm ---> Cleaning netpbm ---> Computing dependencies for s3fs ---> Cleaning s3fs ---> Computing dependencies for sox ---> Cleaning sox ---> Computing dependencies for wget ---> Cleaning wget ---> Computing dependencies for libsdl_image ---> Cleaning libsdl_image ---> Computing dependencies for freetype ---> Cleaning freetype ---> Computing dependencies for fontconfig ---> Cleaning fontconfig ---> Computing dependencies for gd2 ---> Cleaning gd2 ---> Computing dependencies for cairo ---> Cleaning cairo ---> Computing dependencies for ffmpeg ---> Cleaning ffmpeg ---> Computing dependencies for gdk-pixbuf2 ---> Cleaning gdk-pixbuf2 ---> Computing dependencies for harfbuzz ---> Cleaning harfbuzz ---> Computing dependencies for openmotif ---> Cleaning openmotif ---> Computing dependencies for pango ---> Cleaning pango ---> Computing dependencies for graphviz ---> Cleaning graphviz ---> Computing dependencies for gnuplot ---> Cleaning gnuplot ---> Computing dependencies for poppler ---> Configuring poppler Error: Failed to configure poppler, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_poppler/poppler/work/poppler-0.24.2/config.log Error: org.macports.configure for port poppler returned: configure failure: 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_ports_graphics_poppler/poppler/main.log Error: Unable to upgrade port: 1 Error rebuilding poppler while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 382) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857) prosody /Users/lord#
comment:8 Changed 11 years ago by dbevans (David B. Evans)
Looks like you have a lot of linking problems going on. Have you made some big change in your MacPorts installation recently, updated OS, Xcode, migrated to new computer, etc?
To see what's going on I would deactivate the current poppler port, then run rev-upgrade to see what's going on with the rest of the ports. If you do this:
sudo port deactivate poppler sudo port -d rev-upgrade
and send the output, maybe we can see what's happening.
comment:9 Changed 11 years ago by lord@…
I could not deactivate poppler as many other ports depened on it. I have recently updaded XCode (and Command Line tools) and perhaps this is the cause. I am really desperate here as I need some ports for my work and could not install them. Please help.
comment:11 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Probably the best solution in this situation. Marking as invalid since the problem appears not to be with poppler but with a corrupted MacPorts installation.
comment:12 Changed 11 years ago by mf2k (Frank Schima)
Priority: | High → Normal |
---|
Log file