pkgsrc-Bugs archive

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

pkg/47032: textproc/jade fails to build on Mac OS X



>Number:         47032
>Category:       pkg
>Synopsis:       textproc/jade fails to build on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 03 21:55:00 +0000 2012
>Originator:     Benny Siegert
>Release:        Mac OS 10.8.2
>Organization:
The NetBSD Foundation
>Environment:
Darwin lem.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 
2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64

>Description:
I am using Mac OS X with ABI=64. Building jade fails with the following error 
when linking. The compiler is i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 
(Based on Apple Inc. build 5658) (LLVM build 2336.11.00):

[?]
/usr/pkgsrc/textproc/jade/work/jade-1.2.1/libtool --mode=link g++ -pipe -O2 
-I/usr/pkg/include -I/usr/include -pipe -O2 -I/usr/pkg/include -I/usr/include 
-O0 -fno-implicit-templates -I. -I./../include   -DSTDC_HEADERS=1 
-DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 
-DSP_HAVE_GETTEXT=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DSP_MULTI_BYTE=1 
-DSGML_CATALOG_FILES_DEFAULT=\"/usr/pkg/share/sgml/jade/catalog\"  
-L/usr/pkg/lib -L/usr/lib -o nsgmls nsgmls.o SgmlsEventHandler.o 
RastEventHandler.o StringSet.o nsgmls_inst.o  ../lib/libsp.la -lintl
libtool: link: g++ -pipe -O2 
-I/usr/pkgsrc/textproc/jade/work/.buildlink/include -pipe -O2 -O0 
-fno-implicit-templates -I. -I./../include -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 
-DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_HAVE_GETTEXT=1 
-DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DSP_MULTI_BYTE=1 
-DSGML_CATALOG_FILES_DEFAULT=\"/usr/pkg/share/sgml/jade/catalog\" -o 
.libs/nsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o 
nsgmls_inst.o -Wl,-bind_at_load  
-L/usr/pkgsrc/textproc/jade/work/.buildlink/lib ../lib/.libs/libsp.dylib -lm 
/usr/pkgsrc/textproc/jade/work/.buildlink/lib/libintl.dylib -liconv -lc
duplicate symbol Vector<unsigned long>::size() constin:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::operator[](unsigned long) constin:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::swap(Vector<unsigned long>&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::operator[](unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::begin()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::begin() constin:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::back()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::back() constin:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::reserve1(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::reserve(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::append(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::push_back(unsigned long const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::erase(unsigned long const*, unsigned 
long const*)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::clear()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::resize(unsigned long)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::~Vector()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::~Vector()in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::insert(unsigned long const*, unsigned 
long const*, unsigned long const*)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::operator=(Vector<unsigned long> 
const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(Vector<unsigned long> const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(Vector<unsigned long> const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::insert(unsigned long const*, unsigned 
long, unsigned long const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::assign(unsigned long, unsigned long 
const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(unsigned long, unsigned long 
const&)in:
    RastEventHandler.o
    nsgmls_inst.o
duplicate symbol Vector<unsigned long>::Vector(unsigned long, unsigned long 
const&)in:
    RastEventHandler.o
    nsgmls_inst.o
ld: 29 duplicate symbols for architecture x86_64
collect2: ld returned 1 exit status
gnumake[2]: *** [nsgmls] Error 1
gnumake[1]: *** [nsgmls] Error 2
gnumake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/textproc/jade

>How-To-Repeat:
1. Bootstrap pkgsrc under Mac OS 10.8 with 64-bit ABI. (I have not checked if 
the same problem happens with 32 bits.)
2. cd textproc/jade
3. bmake package-install
>Fix:



Home | Main Index | Thread Index | Old Index