NetBSD Problem Report #43988

From www@NetBSD.org  Wed Oct 20 02:54:34 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 33BCA63B8D9
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 20 Oct 2010 02:54:34 +0000 (UTC)
Message-Id: <20101020025433.8A3F463B8B8@www.NetBSD.org>
Date: Wed, 20 Oct 2010 02:54:33 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: x11/qt4-libs compile fails on MacOS X 10.4.11
X-Send-Pr-Version: www-1.0

>Number:         43988
>Category:       pkg
>Synopsis:       x11/qt4-libs compile fails on MacOS X 10.4.11
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 20 02:55:00 +0000 2010
>Closed-Date:    
>Last-Modified:  Fri Apr 27 16:05:02 +0000 2012
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11; pkgsrc-current
>Organization:
>Environment:
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Building x11/qt4-libs on MacOS X 10.4.11 (PPC) fails with:

[...]
g++ -c -o qsettings_mac.o -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -DQMAKE_OPENSOURCE_EDITION  -fconstant-cfstrings -DPNG_NO_ASSEMBLER_CODE -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/include -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/include/QtCore -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/global -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/xml -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT
 _NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings_mac.cpp
/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings_mac.cpp:595: error: no 'bool QConfFileSettingsPrivate::readPlistFile(const QString&, ParsedSettingsMap*) const' member function declared in class 'QConfFileSettingsPrivate'
/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings_mac.cpp:628: error: no 'bool QConfFileSettingsPrivate::writePlistFile(const QString&, const ParsedSettingsMap&) const' member function declared in class 'QConfFileSettingsPrivate'
make: *** [qsettings_mac.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

Stop.

>How-To-Repeat:
Attempt to build x11/qt4-libs on MacOS X 10.4.11.  Will probably need

  X11_TYPE=modular

in /usr/pkg/etc/mk.conf.

>Fix:

>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43988
Date: Fri, 22 Oct 2010 05:12:22 -0500 (CDT)

 See http://mail-index.netbsd.org/pkgsrc-users/2010/04/20/msg012064.html

 and see patches/patch-ar which stops defining Q_OS_DARWIN.

 (I don't know fix, but that gives some clues.)

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988
Date: Fri, 22 Oct 2010 17:15:09 -0500 (CDT)

 On Fri, 22 Oct 2010, Jeremy C. Reed wrote:

 > See http://mail-index.netbsd.org/pkgsrc-users/2010/04/20/msg012064.html
 >
 > and see patches/patch-ar which stops defining Q_OS_DARWIN.
 >
 > (I don't know fix, but that gives some clues.)

 Running 'make patch' and then manually un-doing patch-ar (uncommenting
 the definition of Q_OS_DARWIN in

    ${WRKOBJDIR}/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/global/qglobal.h

 ) had no observable effect.

 The error message complains about the class having no such member
 methods.  The class definition is in:

    ${WRKOBJDIR}/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings_p.h

 The private member methods are conditionally defined based on:

    #ifdef Q_OS_MAC

 Which would apparently be undefined.  Looks like "patch-ad" removes
 the definition of Q_OS_MAC from "qglobal.h".  "patch-an" augments
 some tests of "defined(Q_OS_MAC)" with "|| defined(__APPLE_)".
 Perhaps the same should be done in "qsetting_p.h"?


 Also, looking a little further back reveals something odd:

 [...]
 for dir in /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/mkspecs/*; do  cp /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/qmake.conf ${dir};  rm -f ${dir}/*.orig;  done
 Which edition of Qt do you want to use ?

 Type 'c' if you want to use the Commercial Edition.
 Type 'o' if you want to use the Open Source Edition.


 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___gxx_personality_v0
 collect2: ld returned 1 exit status
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/config.tests/mac/dwarf2.test: line 22: ./xcodeversion: No such file or directory
 rm: xcodeversion: No such file or directory
 [...]

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988
Date: Fri, 22 Oct 2010 17:19:45 -0500 (CDT)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.

 ---2139810480-1099649580-1287785985=:24557
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
 Content-Transfer-Encoding: QUOTED-PRINTABLE

 Replacing "#ifdef Q_OS_MAC" with

    #if defined(Q_OS_MAC) || defined(__APPLE__)

 solved the first problem, so on to the next.  Linking then fails with:

 [...]
 g++ -o "/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-s=
 rc-4.6.3/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unix=
 make.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefi=
 ledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_dsp=
 =2Eo msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o symmake.o initprojectdep=
 loy_symbian.o symmake_abld.o symmake_sbsv2.o registry.o epocroot.o qtextcod=
 ec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qb=
 ytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfsf=
 ileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengin=
 e_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o =
 qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtempor=
 aryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprin=
 tf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstr=
 eam.o qxmlutils.o qsettings_mac.o qcore_mac.o -lresolv -L/usr/pkg/lib -L/us=
 r/lib -L/lib -framework ApplicationServices -lresolv -L/usr/pkg/lib -L/usr/=
 lib
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of sy=
 mbol QSettingsPrivate::create(QSettings::Format, QSettings::Scope, QString =
 const&, QString const&)
 qsettings.o definition of QSettingsPrivate::create(QSettings::Format, QSett=
 ings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 qsettings_mac.o definition of QSettingsPrivate::create(QSettings::Format, Q=
 Settings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 collect2: ld returned 1 exit status
 make: *** [/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensourc=
 e-src-4.6.3/bin/qmake] Error 1
 *** Error code 2

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs
 WARNING: Please add USE_TOOLS+=3Dperl to the package Makefile.
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs


 I'll make clean, re-patch/un-patch and try building again in case it's a
 matter of something stale from previous build attempts.

 --=20
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 ---2139810480-1099649580-1287785985=:24557--

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988
Date: Sat, 23 Oct 2010 01:41:30 -0500 (CDT)

 On Fri, 22 Oct 2010, John D. Baker wrote:

 > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of 
 > symbol QSettingsPrivate::create(QSettings::Format, QSettings::Scope, QString 
 > const&, QString const&)
 > qsettings.o definition of QSettingsPrivate::create(QSettings::Format, 
 > QSettings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 > qsettings_mac.o definition of QSettingsPrivate::create(QSettings::Format, 
 > QSettings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 > collect2: ld returned 1 exit status

 More fallout from removal of Q_OS_MAC definition.  In

    $WRKOBJDIR/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings.cpp

 [...]
 // see also qsettings_win.cpp and qsettings_mac.cpp

 #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
 [...]

 causes the method above to be defined in qsettings.cpp as well as
 qsettings_mac.cpp.

 Changing the line to:

 #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC) && !defined(__APPLE__)

 finally lets qt4 qmake build and link.

 Now to see what fireworks building the actual libraries will cause...

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988 (x11/qt4-libs compile fails on MacOS X 10.4.11)
Date: Sat, 23 Oct 2010 14:17:57 -0400

 Please try to preserve the PR's short summary as part of the subject
 when posting follow-ups; otherwise, pkgsrc-bugs@netbsd.org readers must
 often query the PR database to remember what the PR is about...  I
 restored it in this message for convenience.

 Thanks,
 -- 
 Matt

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988: x11/qt4-libs compile fails on MacOS X 10.4.11
Date: Sat, 23 Oct 2010 15:17:41 -0500 (CDT)

 Latest problem:

 [...]
 libtool --silent --mode=compile g++ -c -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -g -D_REENTRANT -I/usr/pkg/include -I/usr/pkg/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_MAC_XARCH -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/debug-shared -I../3rdparty/xorg -I../3rdparty/harfbuzz/src -Idialogs -I.moc/debug-shared -I/Volumes/d0/nbsd/pkg/include -I.uic/debug-shared -I/Volumes/d0/nbsd/pkg/include -o .obj/debug-shared/qtextureglyphcache.lo painting/qtextureglyphcache.cpp
 painting/qtextureglyphcache.cpp: In member function 'QImage QTextureGlyphCache::textureMapForGlyph(glyph_t) const':
 painting/qtextureglyphcache.cpp:168: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:168: error: expected `;' before 'format'
 painting/qtextureglyphcache.cpp:172: error: 'format' was not declared in this scope
 painting/qtextureglyphcache.cpp:172: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:176: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:180: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:185: error: invalid static_cast from type 'QFontEngine* const' to type 'QFontEngineFT*'
 painting/qtextureglyphcache.cpp:186: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:186: error: 'gset' was not declared in this scope
 painting/qtextureglyphcache.cpp:186: error: invalid use of undefined type 'struct QFontEngineFT'
 ../../include/QtGui/../../src/gui/painting/qpainter.h:510: error: forward declaration of 'struct QFontEngineFT'
 painting/qtextureglyphcache.cpp:188: error: invalid use of undefined type 'struct QFontEngineFT'
 ../../include/QtGui/../../src/gui/painting/qpainter.h:510: error: forward declaration of 'struct QFontEngineFT'
 painting/qtextureglyphcache.cpp:188: error: 'format' was not declared in this scope
 painting/qtextureglyphcache.cpp:189: error: incomplete type 'QFontEngineFT' used in nested name specifier
 painting/qtextureglyphcache.cpp:189: error: 'glyph' was not declared in this scope
 painting/qtextureglyphcache.cpp:190: error: incomplete type 'QFontEngineFT' used in nested name specifier
 gmake[1]: *** [.obj/debug-shared/qtextureglyphcache.lo] Error 1
 gmake[1]: Leaving directory `/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/gui'
 gmake: *** [sub-gui-sub_src_target_ordered] Error 2
 *** Error code 2

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs
 [...]

 The above seems to stem from more fallout of Q_OS_MAC removal.  The
 class mentioned above has variant definitions of GlyphFormat types which
 depend on several Q_WS_xxx definitions, which are in turn controlled by
 Q_OS_xxx definitions in "qglobal.h".

 Not sure how to proceed, but trying augmenting "defined(Q_OS_MAC)" with
 "|| defined(__APPLE__)" at the head of those definitions in "qglobal.h".

 That seems to have shut that error up, hunting for the next...

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988: x11/qt4-libs compile fails on MacOS X 10.4.11
Date: Wed, 27 Oct 2010 08:23:20 -0500 (CDT)

 Decided to back up a bit and just undo the DARWIN/Q_OS_MAC parts of
 patch-ad and patch-ar.  This results in:

 [...]
 libtool --silent --mode=link g++ -version-info 10:3:6 -rpath /usr/pkg/qt4/lib -lresolv -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/qt4/lib -shared -o ../../lib/libQtXml_debug.la .obj/debug-shared/qdom.lo .obj/debug-shared/qxml.lo .obj/debug-shared/qxmlstream.lo   -F/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/lib -L/usr/pkg/lib -L/usr/lib -L/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/lib -framework QtCore -lpthread 
 ld: warning -L: directory name (/usr/pkg/qt4/lib) does not exist
 ld: can't locate framework for: -framework QtCore
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
 gmake[2]: *** [../../lib/../../lib/libQtXml_debug.la] Error 1
 gmake[2]: Leaving directory `/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/xml'
 gmake[1]: *** [debug-all] Error 2
 gmake[1]: Leaving directory `/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/xml'
 gmake: *** [sub-xml-sub_src_target_ordered] Error 2
 *** Error code 2

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs


 I'm guessing "QtCore.framework" is external to the
 "qt-everywhere-opensource*" code and not built from it.  Thus the reason
 for the patches to avoid it.  So, I guess its back to hunting down each
 little ideosyncratic failure and figuring out how to make it do the
 appropriate thing.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 08 Apr 2012 17:28:20 +0000
State-Changed-Why:
Does this still happen with the new kde (and qt) 4.8?


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org
Subject: Re: pkg/43988 (x11/qt4-libs compile fails on MacOS X 10.4.11)
Date: Fri, 20 Apr 2012 11:12:03 -0500 (CDT)

 On Sun, 8 Apr 2012, dholland@NetBSD.org wrote:

 > Does this still happen with the new kde (and qt) 4.8?

 The originally-described problem no-longer occurs.

 Building x11/qt4-libs still fails due to the linker complaining about
 multiply-defined symbols.  Perhaps that belongs in a separate PR.

 Now if I could remember what I was building that depended on qt4....

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 22 Apr 2012 20:50:47 +0000
State-Changed-Why:
Well, this PR has already gone through a lot of related problems, what's
one more? The package still doesn't build, anyway...


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43988 (x11/qt4-libs compile fails on MacOS X 10.4.11)
Date: Fri, 27 Apr 2012 11:02:10 -0500 (CDT)

 On Sun, 22 Apr 2012, dholland@NetBSD.org wrote:

 > Well, this PR has already gone through a lot of related problems, what's
 > one more? The package still doesn't build, anyway...

 The current failure mode is related to linking.  'ld' complains about
 multiple symbol definitions as follows:

 [...]
 libtool --silent --mode=link g++ -version-info 12:1:8 -rpath /usr/pkg/qt4/lib -lresolv -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/qt4/lib -single_module -dynamiclib -compatibility_version	4.8 -current_version	4.8.1 -o ../../lib/libQtXml.la .obj/release-shared/qdom.lo .obj/release-shared/qxml.lo .obj/release-shared/qxmlstream.lo    -L/usr/pkg/lib -L/usr/lib -L/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib -lQtCore -L/usr/pkg/lib -L/usr/lib -L/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib -lresolv 
 *** [buildlink3] Warning: libtool replaced -lQtCore with /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/libQtCore.la
 ld: warning -L: directory name (/usr/pkg/qt4/lib) does not exist
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table11action_infoE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table11action_infoE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table11action_infoE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table12action_checkE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table12action_checkE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table12action_checkE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table12action_indexE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table12action_indexE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table12action_indexE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table12goto_defaultE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table12goto_defaultE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table12goto_defaultE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table14action_defaultE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table14action_defaultE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table14action_defaultE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table3lhsE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table3lhsE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table3lhsE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table3rhsE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table3rhsE in section (__TEXT,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table3rhsE
 ld: multiple definitions of symbol __ZN22QXmlStreamReader_Table5spellE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN22QXmlStreamReader_Table5spellE in section (__DATA,__const)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN22QXmlStreamReader_Table5spellE
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate10parseErrorEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate10parseErrorEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate10parseErrorEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate10resolveDtdEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate10resolveDtdEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate10resolveDtdEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate10resolveTagEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate10resolveTagEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate10resolveTagEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate10scanStringEPKcsb
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate10scanStringEPKcsb in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate10scanStringEPKcsb
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate11parseEntityERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate11parseEntityERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate11parseEntityERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate11scanAttTypeEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate11scanAttTypeEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate11scanAttTypeEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate13startDocumentEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate13startDocumentEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate13startDocumentEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate14getChar_helperEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate14getChar_helperEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate14getChar_helperEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate14putReplacementERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate14putReplacementERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate14putReplacementERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate14resolveCharRefEi
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate14resolveCharRefEi in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate14resolveCharRefEi
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate16putStringLiteralERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate16putStringLiteralERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate16putStringLiteralERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate18checkPublicLiteralERK10QStringRef
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate18checkPublicLiteralERK10QStringRef in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate18checkPublicLiteralERK10QStringRef
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate18checkStartDocumentEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate18checkStartDocumentEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate18checkStartDocumentEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate18namespaceForPrefixERK10QStringRef
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate18namespaceForPrefixERK10QStringRef in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate18namespaceForPrefixERK10QStringRef
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate18scanPublicOrSystemEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate18scanPublicOrSystemEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate18scanPublicOrSystemEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate19scanAfterLangleBangEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate19scanAfterLangleBangEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate19scanAfterLangleBangEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate20raiseWellFormedErrorERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate20raiseWellFormedErrorERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate20raiseWellFormedErrorERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate20scanAfterDefaultDeclEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate20scanAfterDefaultDeclEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate20scanAfterDefaultDeclEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate23resolvePublicNamespacesEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate23resolvePublicNamespacesEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate23resolvePublicNamespacesEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate23resolveUndeclaredEntityERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate23resolveUndeclaredEntityERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate23resolveUndeclaredEntityERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate30putReplacementInAttributeValueERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate30putReplacementInAttributeValueERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate30putReplacementInAttributeValueERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate4initEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate4initEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate4initEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate5parseEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate5parseEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate5parseEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate6resumeEi
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate6resumeEi in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate6resumeEi
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate9putStringERK7QStringi
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate9putStringERK7QStringi in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate9putStringERK7QStringi
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate9scanNDataEv
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate9scanNDataEv in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate9scanNDataEv
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivate9scanUntilEPKcs
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivate9scanUntilEPKcs in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivate9scanUntilEPKcs
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivateD1Ev
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivateD1Ev in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivateD1Ev
 ld: multiple definitions of symbol __ZN23QXmlStreamReaderPrivateD2Ev
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamReaderPrivateD2Ev in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamReaderPrivateD2Ev
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate12writeEscapedERK7QStringb
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate12writeEscapedERK7QStringb in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate12writeEscapedERK7QStringb
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate13findNamespaceERK7QStringbb
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate13findNamespaceERK7QStringbb in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate13findNamespaceERK7QStringbb
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate17writeStartElementERK7QStringS2_
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate17writeStartElementERK7QStringS2_ in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate17writeStartElementERK7QStringS2_
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate18finishStartElementEb
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate18finishStartElementEb in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate18finishStartElementEb
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate25writeNamespaceDeclarationERKN25QXmlStreamPrivateTagStack20NamespaceDeclarationE
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate25writeNamespaceDeclarationERKN25QXmlStreamPrivateTagStack20NamespaceDeclarationE in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate25writeNamespaceDeclarationERKN25QXmlStreamPrivateTagStack20NamespaceDeclarationE
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate5writeEPKci
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate5writeEPKci in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate5writeEPKci
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate5writeERK10QStringRef
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate5writeERK10QStringRef in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate5writeERK10QStringRef
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate5writeERK7QString
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate5writeERK7QString in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate5writeERK7QString
 ld: multiple definitions of symbol __ZN23QXmlStreamWriterPrivate6indentEi
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN23QXmlStreamWriterPrivate6indentEi in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN23QXmlStreamWriterPrivate6indentEi
 ld: multiple definitions of symbol __ZN25QXmlStreamPrivateTagStackC1Ev
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN25QXmlStreamPrivateTagStackC1Ev in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN25QXmlStreamPrivateTagStackC1Ev
 ld: multiple definitions of symbol __ZN25QXmlStreamPrivateTagStackC2Ev
 .obj/release-shared/.libs/qxmlstream.o definition of __ZN25QXmlStreamPrivateTagStackC2Ev in section (__TEXT,__text)
 /Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/lib/.libs/libQtCore.dylib(single module) definition of __ZN25QXmlStreamPrivateTagStackC2Ev
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
 gmake[1]: *** [../../lib/../../lib/libQtXml.la] Error 1
 gmake[1]: Leaving directory `/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.8.1/src/xml'
 gmake: *** [sub-xml-sub_src_target_ordered] Error 2
 *** Error code 2

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/qt4-libs
 [...]

 Possibly related to PR pkg/46299.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.