pkgsrc-Bugs archive

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

pkg/46375: textproc/jade fails to build on Darwin 64-bit



>Number:         46375
>Category:       pkg
>Synopsis:       textproc/jade fails to build on Darwin 64-bit
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 25 11:55:00 +0000 2012
>Originator:     Benny Siegert
>Release:        Mac OS 10.7.3
>Organization:
The NetBSD Foundation
>Environment:
Darwin lem.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 
2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

>Description:
I am using pkgsrc on Mac OS X with ABI=64 for compiling 64-bit packages. The 
compiler is llvm-gcc-4.2.1. The following error occurs while building 
textproc/jade (version 1.2.1):

[...]

/usr/pkgsrc/textproc/jade/work/jade-1.2.1/libtool --mode=link g++ -pipe -O2 
-m64 -I/usr/pkg/include -I/usr/include -pipe -O2 -m64 -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 -m64 
-I/usr/pkgsrc/textproc/jade/work/.buildlink/include -pipe -O2 -m64 -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
ld: duplicate symbol Vector<unsigned long>::size() constin nsgmls_inst.o and 
RastEventHandler.o 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

>How-To-Repeat:
- bootstrap pkgsrc with --abi 64 on a Mac
- try to build textproc/jade
>Fix:



Home | Main Index | Thread Index | Old Index