pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39344: converters/recode doesn't build on darwin/OS X



>Number:         39344
>Category:       pkg
>Synopsis:       converters/recode doesn't build on darwin/OS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 12 12:40:00 +0000 2008
>Originator:     Edgar Fuß
>Release:        2008Q2
>Organization:
Mathematisches Institut der Uni Bonn, Computerabteilung
>Environment:
>Description:
On Mac OS X, recode seems to build its own getopt despite one being present in 
libc:

gcc -pipe -O2 
-I/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/.buildlink/include 
-o .libs/recode main.o freeze.o mixed.o  
-L/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/.buildlink/lib 
./.libs/librecode.dylib ../lib/libreco.a 
/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/.buildlink/lib/libintl.dylib
 -lc /usr/lib/libiconv.dylib 
/usr/bin/ld: multiple definitions of symbol _getopt
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib(getopt.So) 
definition of _getopt
../lib/libreco.a(getopt.o) definition of _getopt in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _opterr
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib(getopt.So) 
definition of _opterr
../lib/libreco.a(getopt.o) definition of _opterr in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _optind
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib(getopt.So) 
definition of _optind
../lib/libreco.a(getopt.o) definition of _optind in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _optopt
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libc.dylib(getopt.So) 
definition of _optopt
../lib/libreco.a(getopt.o) definition of _optopt in section (__DATA,__data)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in 
/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/recode-3.6/src
*** Error code 1

Stop.
bmake: stopped in 
/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/recode-3.6
*** Error code 1

Stop.
bmake: stopped in 
/Volumes/User/ef/local/build/pkgsrc/converters/recode/work/recode-3.6
*** Error code 1

Stop.
bmake: stopped in /Volumes/User/ef/local/build/pkgsrc/converters/recode
*** Error code 1

Stop.
bmake: stopped in /Volumes/User/ef/local/build/pkgsrc/converters/recode


>How-To-Repeat:
cd converters/recode; bmake build
>Fix:



Home | Main Index | Thread Index | Old Index