[MacPorts] #38714: pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 (was: 'upgrade outdated' fails configuring poppler)

MacPorts noreply at macports.org
Mon Apr 8 06:44:05 PDT 2013


#38714: pkg-config requires version 8.0.0 or later, but libiconv.2.dylib provides
version 7.0.0
----------------------+--------------------------------
  Reporter:  skarl@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.1.3
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: skarl@… (removed)
 * cc: ryandesign@… (added)
 * port:  poppler =>


Old description:

> 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

New description:

 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38714#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list