#54250 closed defect (invalid)

poppler @0.52.0: Failed to configure poppler: configure failure: command execution failed

Reported by: tom-seddon (Tom Seddon) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: poppler

Description

Got this as part of a port selfupdate (which updated from 2.4.0 to 2.4.1)/port upgrade outdated (which updated a bunch of stuff).

Terminal log of port clean followed by having another go:

tmbp ~/REDACTED/sdk/submodules/curl % sudo port clean --all poppler
--->  Cleaning poppler
tmbp ~/REDACTED/sdk/submodules/curl % sudo port upgrade outdated
--->  Computing dependencies for poppler
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.52.0_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler
--->  Fetching distfiles for poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from https://distfiles.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://lil.fr.distfiles.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://nue.de.distfiles.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://osl.no.distfiles.macports.org/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/poppler
--->  Attempting to fetch poppler-0.52.0.tar.xz from https://poppler.freedesktop.org/
--->  Verifying checksums for poppler
--->  Extracting poppler
--->  Configuring poppler
Error: Failed to configure poppler, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.52.0/config.log
Error: Failed to configure poppler: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Contents of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log attached.

Attachments (1)

main.log (28.7 KB) - added by tom-seddon (Tom Seddon) 22 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

Download all attachments as: .zip

Change History (6)

Changed 22 months ago by tom-seddon (Tom Seddon)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log

comment:1 Changed 22 months ago by tom-seddon (Tom Seddon)

Aagh, sorry, forgot to say: this is using OS X 10.11.6.

uname -a, in case it's any use, says: Darwin tmbp.local 15.6.0 Darwin Kernel Version 15.6.0: Tue Apr 11 16:00:51 PDT 2017; root:xnu-3248.60.11.5.3~1/RELEASE_X86_64 x86_64

comment:2 Changed 22 months ago by kencu (Ken)

error is dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib

comment:3 Changed 22 months ago by tom-seddon (Tom Seddon)

An additional note.

I had a similar error from geoclue2, which MacPorts went to install when I did a port install boost@1.63.0. Relevant snippet from its log file: (I'll spare you the terminal output)

:info:configure checking that generated files are newer than configure... done
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib
:info:configure   Referenced from: /opt/local/bin/gawk
:info:configure   Reason: image not found
:info:configure sed: stdout: Broken pipe
:info:configure ./config.status: line 1319: 75937 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
:info:configure      75938 Trace/BPT trap: 5       | $AWK -f "$ac_tmp/subs.awk" > $ac_tmp/out
:info:configure config.status: error: could not create Makefile
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_geoclue2/geoclue2/work/geoclue-2.4.6" && ./autogen.sh --prefix=/opt/local --disable-silent-rules --disable-3g-source --disable-cdma-source --disable-modem-gps-source --disable-nmea-source --with-systemdsystemunitdir=no --enable-compile-warnings=minimum 

I guessed that one thing to do was to try installing libreadline@6, so I did port install readline@6.

% sudo port install readline@6
--->  Computing dependencies for readline
--->  Cleaning readline
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 55 broken files, matching files to ports
--->  Found 8 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 fluidsynth @1.1.6
 gawk @4.1.4
 webkit-gtk3 @2.4.11+video
 webkit2-gtk @2.14.2+gtk2+x11
 ruby22 @2.2.5
 openldap @2.4.40
 gnupg @1.4.21
 texlive-bin @2016+x11
Continue? [Y/n]:

Note that this seems to involve an upgrade to gawk, and the upgraded gawk turns out to depend on a newer libreadline:

% otool -l `which gawk` | grep -i readline
         name /opt/local/lib/libreadline.7.dylib (offset 24)

And sure enough, this time when it got to geoclue2, it built OK. MacPorts is still working on stuff, but once it's done I will try upgrading poppler again. Maybe this time it will work.

So this looks like maybe there's stuff with an unannounced dependency on gawk...? I don't know enough about MacPorts to say for sure. Let me know if you want any more details.

comment:4 Changed 22 months ago by tom-seddon (Tom Seddon)

I now have a working poppler.

Here's a list of all the MacPorts commands I ran in the session, starting from the two I ran to generate the output in the initial bug report.

65 is the command that prompted my second note above.

71 did a bunch of stuff, including the poppler upgrade that worked this time.

   61  sudo port clean --all poppler
   62  sudo port selfupdate outdated
   63  sudo port upgrade outdated
   64  port list boost
   65  sudo port install boost@1.63.0
   66  sudo port uninstall geoclue2
   67  port list readlrine
   68  port list readline
   69  sudo port install readline@6
   70  port list boost
   71  sudo port upgrade outdated
   72  sudo port upgrade poppler
Last edited 22 months ago by tom-seddon (Tom Seddon) (previous) (diff)

comment:5 Changed 22 months ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

In the future, please Cc the port maintainers (port info --maintainers poppler), if any.

Note: See TracTickets for help on using tickets.