[MacPorts] #48437: kerberos5 @1.13.2: ld: -dylib_compatibility_version must be greater than zero (was: {OSXTiger}{git} dependencies - kerberos5 fails to build)
MacPorts
noreply at macports.org
Sat Jul 25 16:27:11 PDT 2015
#48437: kerberos5 @1.13.2: ld: -dylib_compatibility_version must be greater than
zero
-------------------------+--------------------------
Reporter: csae2608@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: tiger
Port: kerberos5 |
-------------------------+--------------------------
Changes (by ryandesign@…):
* status: new => assigned
* keywords: kerberos5 gcc git tiger => tiger
* owner: macports-tickets@… => ryandesign@…
* port: => kerberos5
Old description:
> hello i am new to macports - trying to install git via macports
>
> there are a lot of dependencies to be fulfilled.
>
> building process stops at kerberos5
>
> computer is powerpc g5.
>
> ---> Attempting to fetch krb5-1.13.2-final.tar.gz from
> http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/kerberos5
> ---> Verifying checksums for kerberos5
> ---> Extracting kerberos5
> ---> Applying patches to kerberos5
> ---> Configuring kerberos5
> ---> Building kerberos5
> Error: org.macports.build for port kerberos5 returned: command execution
> failed
> Error: Failed to install kerberos5
> Please see the log file for port kerberos5 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log
> Error: The following dependencies were not installed: p5.16-authen-sasl
> p5.16-gssapi kerberos5 p5.16-error p5.16-net-smtp-ssl p5.16-io-socket-ssl
> p5.16-io-socket-inet6 p5.16-io p5.16-socket6 p5.16-io-socket-ip p5.16
> -net-libidn libidn p5.16-net-ssleay p5.16-test-exception p5.16-sub-
> uplevel p5.16-test-simple p5.16-test-nowarnings p5.16-test-warn p5.16
> -term-readkey pcre rsync popt
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: Processing of port git failed
>
> here the last part of the main.log
>
> info:build make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sour$
> :info:build rm -f libkrad.0.0.dylib
> :info:build building shared krad library (0.0)
> :info:build set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__}
> = sub {die @_} }; $e=$ARG$
> :info:build ++ set -x
> :info:build ++ perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} };
> $e=$ARGV; $e =~ s/OBJS\...$//; $
> :info:build + objlist= attr.so attrset.so client.so code.so packet.so
> remote.so
> :info:build + /usr/bin/gcc-4.0 -undefined error -dead_strip -dynamiclib
> -compatibility_version 0 -c$
> :info:build ld: -dylib_compatibility_version must be greater than zero
> :info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool:
> internal link edit command failed
> :info:build make[2]: *** [libkrad.0.0.dylib] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sourc$
> :info:build make[1]: *** [all-recurse] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sourc$
> :info:build make: *** [all-recurse] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_$
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn$
> :info:build Exit code: 2
> :error:build org.macports.build for port kerberos5 returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 23952 2
> :debug:build Backtrace: command execution failed
> while executing
> "system -nice 0 $fullcmdstring"
> ("eval" body line 1)
> invoked from within
> "eval system $notty $nice \$fullcmdstring"
> invoked from within
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
New description:
hello i am new to macports - trying to install git via macports
there are a lot of dependencies to be fulfilled.
building process stops at kerberos5
computer is powerpc g5.
{{{
---> Attempting to fetch krb5-1.13.2-final.tar.gz from
http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/kerberos5
---> Verifying checksums for kerberos5
---> Extracting kerberos5
---> Applying patches to kerberos5
---> Configuring kerberos5
---> Building kerberos5
Error: org.macports.build for port kerberos5 returned: command execution
failed
Error: Failed to install kerberos5
Please see the log file for port kerberos5 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log
Error: The following dependencies were not installed: p5.16-authen-sasl
p5.16-gssapi kerberos5 p5.16-error p5.16-net-smtp-ssl p5.16-io-socket-ssl
p5.16-io-socket-inet6 p5.16-io p5.16-socket6 p5.16-io-socket-ip p5.16-net-
libidn libidn p5.16-net-ssleay p5.16-test-exception p5.16-sub-uplevel
p5.16-test-simple p5.16-test-nowarnings p5.16-test-warn p5.16-term-readkey
pcre rsync popt
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port git failed
}}}
here the last part of the main.log
{{{
info:build make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sour$
:info:build rm -f libkrad.0.0.dylib
:info:build building shared krad library (0.0)
:info:build set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__}
= sub {die @_} }; $e=$ARG$
:info:build ++ set -x
:info:build ++ perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die @_} };
$e=$ARGV; $e =~ s/OBJS\...$//; $
:info:build + objlist= attr.so attrset.so client.so code.so packet.so
remote.so
:info:build + /usr/bin/gcc-4.0 -undefined error -dead_strip -dynamiclib
-compatibility_version 0 -c$
:info:build ld: -dylib_compatibility_version must be greater than zero
:info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal
link edit command failed
:info:build make[2]: *** [libkrad.0.0.dylib] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sourc$
:info:build make[1]: *** [all-recurse] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sourc$
:info:build make: *** [all-recurse] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_$
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn$
:info:build Exit code: 2
:error:build org.macports.build for port kerberos5 returned: command
execution failed
:debug:build Error code: CHILDSTATUS 23952 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
}}}
--
Comment:
There are many other open tickets about problems building kerberos5 on
Tiger; for now, I recommend you try to avoid kerberos5 on Tiger.
Unfortunately, it looks like it cannot be avoided if you want to use the
git port.
--
Ticket URL: <https://trac.macports.org/ticket/48437#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list