Opened 13 years ago

Closed 13 years ago

#31696 closed defect (fixed)

kerberos5: linker command failed with exit code 1

Reported by: asic512 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: whatdoyouwant@…
Port: kerberos5

Description

I don't know if it's really a bug but here's my problem :

I began to install kde4 on Macos 10.7 Lion/ Xcode Version 4.2 (4D199) and the installation stopped at kerberos5. Thanks for your help! Here's a log


:info:build ld: duplicate symbol _asn1buf_insert_octet in asn.1/asn1_k_decode.so
 and asn.1/asn1_decode.so for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
:info:build make[2]: *** [libkrb5.3.3.dylib] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local
_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/ke
rberos5/work/krb5-1.7.2/src/lib/krb5'
:info:build make[1]: *** [all-recurse] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.7.2/src/lib'
:info:build make: *** [all-recurse] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.7.2/src'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/work/krb5-1.7.2/src" && /usr/bin/make -j4 -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 kerberos5): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for kerberos5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log}}}

Change History (9)

comment:1 Changed 13 years ago by asic512

Cc: pf15@… added

Cc Me!

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

Cc: pf15@… removed
Keywords: kerberos5 removed
Port: kerberos5 added
Summary: Unable to install Kerberoskerberos5: linker command failed with exit code 1

comment:3 in reply to:  description Changed 13 years ago by asic512

I don't get this error if I use llvm-gcc-4.2 instead of clang

sudo port install kerberos configure.compiler=llvm-gcc-4.2

comment:4 Changed 13 years ago by marcel.setten@…

same problem here, but if use your command sudo port install kerberos configure.compiler=llvm-gcc-4.2 it still doest work, also see i in the log that the compiler stil clang is.

i think i use the command wrong.

Plz help

comment:5 Changed 13 years ago by marcel.setten@…

Cc: marcel.setten@… added

Cc Me!

comment:6 Changed 13 years ago by marcel.setten@…

never mind... forgot to clean ;)

comment:7 Changed 13 years ago by marcel.setten@…

Cc: marcel.setten@… removed

Cc Me!

comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: whatdoyouwant@… added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Has duplicate #31752.

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.