Opened 13 years ago

Closed 12 years ago

#33960 closed defect (fixed)

gnupg 1.4.11 -- build failed on Lion with default compiler

Reported by: eric@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: gnupg

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

While trying to install duplicity I ran into problems. From the errors I tracked this down to gnupg and here's the offending command:

/usr/bin/cc  -pipe -O2 -m64 -Wall -Wno-pointer-sign  -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o mpicalc mpicalc.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a  -liconv -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation   
ld: duplicate symbol _mpihelp_add_1 in ../mpi/libmpi.a(mpi-bit.o) and ../mpi/libmpi.a(mpiutil.o) for architecture x86_64

Fixed using

port clean gnupg

then using the alternative compiler specified here: ProblemHotlist#xcode43

Change History (7)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to waqar@…

Which alternative compiler?

comment:2 Changed 13 years ago by eric@…

This alternative compiler:

sudo port install apple-gcc42
sudo port install gnupg configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2

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

Owner: changed from waqar@… to macports-tickets@…

waqar has retired.

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

gnupg and duplicity build fine for me using clang on Xcode 4.4 on Mountain Lion. Can somebody experiencing the problem please attach a complete main.log?

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

1.4.12 builds fine for me on Lion too.

comment:6 in reply to:  description ; Changed 12 years ago by trkallman@…

Resolution: fixed
Status: closedreopened

I am still finding this same problem using gnupg 1.4.12, macport 2.1.2 mac os 10.7.4.

trkallman

Replying to eric@…:

While trying to install duplicity I ran into problems. From the errors I tracked this down to gnupg and here's the offending command:

/usr/bin/cc  -pipe -O2 -m64 -Wall -Wno-pointer-sign  -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o mpicalc mpicalc.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a  -liconv -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation   
ld: duplicate symbol _mpihelp_add_1 in ../mpi/libmpi.a(mpi-bit.o) and ../mpi/libmpi.a(mpiutil.o) for architecture x86_64

Fixed using

port clean gnupg

then using the alternative compiler specified here: ProblemHotlist#xcode43

comment:7 in reply to:  6 Changed 12 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed

Replying to trkallman@…:

I am still finding this same problem using gnupg 1.4.12, macport 2.1.2 mac os 10.7.4.

Please provide a failed main.log then.

Note: See TracTickets for help on using tickets.