[MacPorts] #31893: Incompatible library version: libintl.8.dylib requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 (was: libncurses fails to install, missing libiconv dependency)
MacPorts
noreply at macports.org
Fri Nov 4 10:14:44 PDT 2011
#31893: Incompatible library version: libintl.8.dylib requires version 8.0.0 or
later, but libiconv.2.dylib provides version 7.0.0
-------------------------------------+--------------------------------------
Reporter: david.reitter@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Old description:
> root at elin:~ $ cat
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
> version:1
> :debug:main epoch: in tree: 0 installed: 0
> :debug:main ncursesw 5.8_0 exists in the ports tree
> :debug:main ncursesw 5.8_0 is the latest installed
> :debug:main ncursesw 5.8_0 is active
> :debug:main Merging existing variants '' into variants
> :debug:main new fully merged portvariants:
> :debug:main Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
> :debug:main OS darwin/11.2.0 (Mac OS X 10.7) arch i386
> :debug:main org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> :debug:main org.macports.unload registered provides 'unload', a pre-
> existing procedure. Target override will not be provided
> :debug:main org.macports.distfiles registered provides 'distfiles', a
> pre-existing procedure. Target override will not be provided
> :debug:main universal_variant is false, so not adding the default
> universal variant
> :debug:main No need to upgrade! ncursesw 5.8_0 >= ncursesw 5.8_0
> :msg:main ---> Computing dependencies for ncurses:info:main .:debug:main
> Searching for dependency: ncursesw
> :debug:main Found Dependency: receipt exists for ncursesw
> :msg:main
> :debug:main Executing org.macports.main (ncurses)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 503
> :debug:main euid changed to: 506
> :debug:main Skipping completed org.macports.archivefetch (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Fri Nov 4 11:38:47 EDT 2011
> :notice:build ---> Building ncurses
> :debug:build Executing org.macports.build (ncurses)
> :debug:build Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.7'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
> && /usr/bin/make -w all'
> :debug:build Executing command line: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
> && /usr/bin/make -w all
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9'
> :info:build cd man && /usr/bin/make DESTDIR="" all
> :info:build make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/man'
> :info:build make[1]: Nothing to be done for `all'.
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/man'
> :info:build cd include && /usr/bin/make DESTDIR="" all
> :info:build make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/include'
> :info:build AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h
> :info:build dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
> :info:build Referenced from: /opt/local/lib/libintl.8.dylib
> :info:build Reason: Incompatible library version: libintl.8.dylib
> requires version 8.0.0 or later, but libiconv.2.dylib provides version
> 7.0.0
> :info:build ./MKparametrized.sh: line 61: 15011 Trace/BPT trap: 5
> ${AWK-awk} '
> :info:build $3 != "str" {next;}
> :info:build $1 ~ /^acs_/ {print "-1,\t/* ", $2, " */"; count++;
> next;}
> :info:build $0 ~ /#[0-9]/ {print "1,\t/* ", $2, " */"; count++;
> next;}
> :info:build {print "0,\t/* ", $2, " */"; count++;}
> :info:build END {printf("} /* %d entries */;\n\n", count);}
> :info:build ' < $CAPS
> :info:build make[1]: *** [parametrized.h] Error 133
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/include'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
> && /usr/bin/make -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for ncurses):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for ncurses is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
New description:
{{{
root at elin:~ $ cat
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncursesw 5.8_0 exists in the ports tree
:debug:main ncursesw 5.8_0 is the latest installed
:debug:main ncursesw 5.8_0 is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
:debug:main OS darwin/11.2.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-
existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-
existing procedure. Target override will not be provided
:debug:main universal_variant is false, so not adding the default
universal variant
:debug:main No need to upgrade! ncursesw 5.8_0 >= ncursesw 5.8_0
:msg:main ---> Computing dependencies for ncurses:info:main .:debug:main
Searching for dependency: ncursesw
:debug:main Found Dependency: receipt exists for ncursesw
:msg:main
:debug:main Executing org.macports.main (ncurses)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 503
:debug:main euid changed to: 506
:debug:main Skipping completed org.macports.archivefetch (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (ncurses)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Nov 4 11:38:47 EDT 2011
:notice:build ---> Building ncurses
:debug:build Executing org.macports.build (ncurses)
:debug:build Environment: CPATH='/opt/local/include'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
&& /usr/bin/make -w all'
:debug:build Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
&& /usr/bin/make -w all
:info:build make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9'
:info:build cd man && /usr/bin/make DESTDIR="" all
:info:build make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/man'
:info:build make[1]: Nothing to be done for `all'.
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/man'
:info:build cd include && /usr/bin/make DESTDIR="" all
:info:build make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/include'
:info:build AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h
:info:build dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
:info:build Referenced from: /opt/local/lib/libintl.8.dylib
:info:build Reason: Incompatible library version: libintl.8.dylib
requires version 8.0.0 or later, but libiconv.2.dylib provides version
7.0.0
:info:build ./MKparametrized.sh: line 61: 15011 Trace/BPT trap: 5
${AWK-awk} '
:info:build $3 != "str" {next;}
:info:build $1 ~ /^acs_/ {print "-1,\t/* ", $2, " */"; count++;
next;}
:info:build $0 ~ /#[0-9]/ {print "1,\t/* ", $2, " */"; count++;
next;}
:info:build {print "0,\t/* ", $2, " */"; count++;}
:info:build END {printf("} /* %d entries */;\n\n", count);}
:info:build ' < $CAPS
:info:build make[1]: *** [parametrized.h] Error 133
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9/include'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/work/ncurses-5.9"
&& /usr/bin/make -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for ncurses):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for ncurses is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
}}}
--
Comment:
The error "Incompatible library version: libintl.8.dylib requires version
8.0.0 or later, but libiconv.2.dylib provides version 7.0.0" usually
indicates that you have the libiconv port installed for the wrong
architecture. And the usual reason for that is that you migrated from
Leopard or earlier to Snow Leopard or later, and did not then uninstall
and reinstall all your ports. See wiki:Migration.
--
Ticket URL: <https://trac.macports.org/ticket/31893#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list