Opened 12 years ago

Closed 12 years ago

#38714 closed defect (invalid)

pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Reported by: skarl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I noticed that several port utilities do not work properly anymore (e.g. latex from texlive, xdvi, dvips, dvipdf, etc.). Therefore, after a successful 'selfupdate', I tried 'sudo port upgrade outdated'. However, this failed when configuring 'poppler' for the upgrade.

Saying:

--->  Computing dependencies for poppler
--->  Fetching archive for poppler
--->  Attempting to fetch poppler-0.22.2_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/poppler
--->  Attempting to fetch poppler-0.22.2_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/poppler
--->  Attempting to fetch poppler-0.22.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/poppler
--->  Fetching distfiles for poppler
--->  Verifying checksum(s) for poppler
--->  Extracting poppler
--->  Configuring poppler
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_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 interesting bits from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/main.log read:

:info:configure checking for pkg-config... /opt/local/bin/pkg-config
:info:configure checking pkg-config is at least version 0.9.0... dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
:info:configure   Referenced from: /opt/local/bin/pkg-config
:info:configure   Reason: Incompatible library version: pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
:info:configure ./configure: line 17618: 46097 Trace/BPT trap: 5       $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version
:info:configure no

and at the end:

:info:configure checking for LIBCURL... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_poppler/poppler/work/poppler-0.22.2':
:info:configure configure: error: The pkg-config script could not be found or is too old.  Make sure it
:info:configure is in your PATH or set the PKG_CONFIG environment variable to the full
:info:configure path to pkg-config.
:info:configure 
:info:configure Alternatively, you may set the environment variables LIBCURL_CFLAGS
:info:configure and LIBCURL_LIBS to avoid the need to call pkg-config.
:info:configure See the pkg-config man page for more details.
:info:configure 
:info:configure To get pkg-config, see <http://pkg-config.freedesktop.org/>.
:info:configure See `config.log' for more details
:info:configure 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.22.2" && ./configure --prefix=/opt/local --disable-introspection --disable-poppler-qt4 --disable-gtk-test --disable-silent-rules --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-poppler-glib --mandir=/opt/local/share/man --x-includes=/opt/local/include --x-libraries=/opt/local/lib 
:info:configure Exit code: 1
:error:configure org.macports.configure for port poppler returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for poppler: org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure 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

What can I do there? I was short to re-install macports as a whole :)

Thanks and best wishes, Simon

Attachments (1)

main.log (21.2 KB) - added by skarl@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by skarl@…

Attachment: main.log added

comment:1 Changed 12 years ago by skarl@…

Cc: skarl@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; skarl@… removed
Description: modified (diff)
Port: poppler removed
Summary: 'upgrade outdated' fails configuring popplerpkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

The relevant message in the log is:

pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Please read wiki:ProblemHotlist#libiconv-version

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.