Subject: pkg/33140: textproc/jade build failure on MacOS X 10.3.9
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdbaker@mylinuxisp.com>
List: pkgsrc-bugs
Date: 03/24/2006 07:35:00
>Number: 33140
>Category: pkg
>Synopsis: textproc/jade build failure on MacOS X 10.3.9
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 24 07:35:00 +0000 2006
>Originator: John D. Baker
>Release: MacOS X 10.3.9, pkgsrc-current
>Organization:
>Environment:
Darwin bondi.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Building textproc/jade on MacOS X 10.3.9 fails a follows:
[...]
/Volumes/NetBSD/tmp/pkgsrc/textproc/jade/work/jade-1.2.1/libtool --mode=link g++ -o libsp.la Allocator.lo Link.lo IListBase.lo TypeId.lo assert.lo CharsetInfo.lo EntityCatalog.lo EntityDecl.lo EntityManager.lo Hash.lo InputSource.lo Location.lo Message.lo MessageArg.lo UnivCharsetDesc.lo entmgr_inst.lo LiteralStorage.lo URLStorage.lo RewindStorageObject.lo ErrnoMessageArg.lo OffsetOrderedList.lo DescriptorManager.lo ExtendEntityManager.lo PosixStorage.lo StdioStorage.lo NotationStorage.lo StorageManager.lo CodingSystem.lo IdentityCodingSystem.lo UTF8CodingSystem.lo Fixed2CodingSystem.lo UnicodeCodingSystem.lo EUCJPCodingSystem.lo SJISCodingSystem.lo TranslateCodingSystem.lo Big5CodingSystem.lo XMLCodingSystem.lo CodingSystemKit.lo SearchResultMessageArg.lo SOEntityCatalog.lo OutputByteStream.lo xentmgr_inst.lo ContentState.lo ParserState.lo parser_inst.lo parseSd.lo Parser.lo parseInstance.lo parseMode.lo parseAttribute.lo LinkProcess.lo Lpd.lo parseDecl.lo ShortReferenceMap.
lo parseParam.lo parseCommon.lo SgmlParser.lo Entity.lo Attribute.lo OpenElement.lo Notation.lo ParserOptions.lo Dtd.lo Undo.lo Param.lo TokenMessageArg.lo Group.lo CharsetDecl.lo CharsetRegistry.lo ExternalId.lo TrieBuilder.lo Sd.lo Syntax.lo Partition.lo ModeInfo.lo Recognizer.lo Markup.lo Text.lo ContentToken.lo ElementType.lo Event.lo InternalInputSource.lo OutputState.lo ParserMessages.lo SdText.lo NumericCharRefOrigin.lo Id.lo StringVectorMessageArg.lo ErrorCountEventHandler.lo MessageEventHandler.lo MessageFormatter.lo MessageReporter.lo MessageTable.lo OutputCharStream.lo ConsoleOutput.lo CmdLineApp.lo EntityApp.lo ParserApp.lo app_inst.lo ArcEngine.lo arc_inst.lo ParserEventGeneratorKit.lo SGMLApplication.lo EventGenerator.lo GenericEventHandler.lo \
-rpath /usr/pkg/lib -version-info 1:3 -lm
g++ -dynamiclib -single_module ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libsp.1.0.3.dylib .libs/Allocator.o .libs/Link.o .libs/IListBase.o .libs/TypeId.o .libs/assert.o .libs/CharsetInfo.o .libs/EntityCatalog.o .libs/EntityDecl.o .libs/EntityManager.o .libs/Hash.o .libs/InputSource.o .libs/Location.o .libs/Message.o .libs/MessageArg.o .libs/UnivCharsetDesc.o .libs/entmgr_inst.o .libs/LiteralStorage.o .libs/URLStorage.o .libs/RewindStorageObject.o .libs/ErrnoMessageArg.o .libs/OffsetOrderedList.o .libs/DescriptorManager.o .libs/ExtendEntityManager.o .libs/PosixStorage.o .libs/StdioStorage.o .libs/NotationStorage.o .libs/StorageManager.o .libs/CodingSystem.o .libs/IdentityCodingSystem.o .libs/UTF8CodingSystem.o .libs/Fixed2CodingSystem.o .libs/UnicodeCodingSystem.o .libs/EUCJPCodingSystem.o .libs/SJISCodingSystem.o .libs/TranslateCodingSystem.o .libs/Big5CodingSystem.o .libs/XMLCodingSystem.o .libs/CodingSystemKit.o .libs/SearchResultMessageArg.o .libs/SOEnt
ityCatalog.o .libs/OutputByteStream.o .libs/xentmgr_inst.o .libs/ContentState.o .libs/ParserState.o .libs/parser_inst.o .libs/parseSd.o .libs/Parser.o .libs/parseInstance.o .libs/parseMode.o .libs/parseAttribute.o .libs/LinkProcess.o .libs/Lpd.o .libs/parseDecl.o .libs/ShortReferenceMap.o .libs/parseParam.o .libs/parseCommon.o .libs/SgmlParser.o .libs/Entity.o .libs/Attribute.o .libs/OpenElement.o .libs/Notation.o .libs/ParserOptions.o .libs/Dtd.o .libs/Undo.o .libs/Param.o .libs/TokenMessageArg.o .libs/Group.o .libs/CharsetDecl.o .libs/CharsetRegistry.o .libs/ExternalId.o .libs/TrieBuilder.o .libs/Sd.o .libs/Syntax.o .libs/Partition.o .libs/ModeInfo.o .libs/Recognizer.o .libs/Markup.o .libs/Text.o .libs/ContentToken.o .libs/ElementType.o .libs/Event.o .libs/InternalInputSource.o .libs/OutputState.o .libs/ParserMessages.o .libs/SdText.o .libs/NumericCharRefOrigin.o .libs/Id.o .libs/StringVectorMessageArg.o .libs/ErrorCountEventHandler.o .libs/MessageEventHandler.o .libs/Mess
ageFormatter.o .libs/MessageReporter.o .libs/MessageTable.o .libs/OutputCharStream.o .libs/ConsoleOutput.o .libs/CmdLineApp.o .libs/EntityApp.o .libs/ParserApp.o .libs/app_inst.o .libs/ArcEngine.o .libs/arc_inst.o .libs/ParserEventGeneratorKit.o .libs/SGMLApplication.o .libs/EventGenerator.o .libs/GenericEventHandler.o -lm -L/Volumes/NetBSD/tmp/pkgsrc/textproc/jade/work/.buildlink/lib -install_name /usr/pkg/lib/libsp.1.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.3
ld: multiple definitions of symbol Text::~Text()
.libs/Param.o definition of Text::~Text() in section (__TEXT,__text)
.libs/Group.o definition of Text::~Text() in section (__TEXT,__text)
/usr/bin/libtool: internal link edit command failed
gnumake[2]: *** [libsp.la] Error 1
gnumake[1]: *** [lib] Error 2
gnumake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/textproc/jade
[...]
>How-To-Repeat:
On MacOS X 10.3.9 w/Xcode Tools 1.5a(IIRC), do:
cd .../pkgsrc/textproc/jade
bmake
>Fix:
Note that it builds fine on 10.4.5, but not on 10.3.9 (don't know about
10.2.8 yet). I'm using 10.3.9 primarily to find these sorts of version-
dependent problems (besides, it's the latest version an original iMac
can run without XPF). It's twisty C++ stuff out of my league.