Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298065 - x11-libs/qt-core-4.6.0 USE=X Undefined symbols QSettings
Summary: x11-libs/qt-core-4.6.0 USE=X Undefined symbols QSettings
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-23 05:40 UTC by matt
Modified: 2011-04-24 13:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2009-12-23 05:40:15 UTC
moc statemachine/qeventtransition.h
compiling .moc/release-shared/moc_qeventtransition.cpp
rm -f QtCore QtCore.framework/QtCore ../../lib/QtCore.framework/QtCore
linking ../../lib/QtCore.framework/QtCore
ld warning: duplicate dylib /Volumes/prefix-ppc-macos-x11/lib/libz.1.dylib
ld warning: duplicate dylib /Volumes/prefix-ppc-macos-x11/usr/lib/gcc/powerpc-apple-darwin8/4.2.1/libgcc_s.1.dylib
Undefined symbols:
  "QSettingsPrivate::create(QSettings::Format, QSettings::Scope, QString const&, QString const&)", referenced from:
      QSettings::QSettings(QSettings::Format, QSettings::Scope, QString const&, QString const&, QObject*)in qsettings.o
      QSettings::QSettings(QSettings::Scope, QString const&, QString const&, QObject*)in qsettings.o
      QSettings::QSettings(QString const&, QString const&, QObject*)in qsettings.o
      QSettings::setPath_helper(QSettings::Scope, QString const&, QString const&)in qsettings.o
      QSettings::QSettings(QObject*)in qsettings.o
  "QConfFileSettingsPrivate::readPlistFile(QString const&, QMap<QSettingsKey, QVariant>*) const", referenced from:
      QConfFileSettingsPrivate::syncConfFile(int)    in qsettings.o
  "QConfFileSettingsPrivate::writePlistFile(QString const&, QMap<QSettingsKey, QVariant> const&) const", referenced from:
      QConfFileSettingsPrivate::syncConfFile(int)    in qsettings.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../../lib/QtCore.framework/QtCore] Error 1
make[1]: Leaving directory `/Volumes/prefix-ppc-macos-x11/var/tmp/portage/x11-libs/qt-core-4.6.0/work/qt-everywhere-opensource-src-4.6.0/src/corelib'
make: *** [release] Error 2
 * ERROR: x11-libs/qt-core-4.6.0 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   61:  Called call-ebuildshell 'src_compile'
 *   environment, line  789:  Called src_compile
 *   environment, line 3700:  Called qt4-build_src_compile
 *   environment, line 3318:  Called build_directories '
 * src/tools/bootstrap
 * src/tools/moc
 * src/tools/rcc
 * src/tools/uic
 * src/corelib
 * src/xml
 * src/network
 * src/plugins/codecs
 * tools/linguist/lconvert
 * tools/linguist/lrelease
 * tools/linguist/lupdate'
 *   environment, line  705:  Called die
 * The specific snippet of code:
 *           emake CC="@echo compiling \$< && $(tc-getCC)" CXX="@echo compiling \$< && $(tc-getCXX)" LINK="@echo linking \$@ && $(tc-getCXX)" || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =x11-libs/qt-core-4.6.0',
 * the complete build log and the output of 'emerge -pqv =x11-libs/qt-core-4.6.0'.
 * The complete build log is located at '/Volumes/prefix-ppc-macos-x11/var/tmp/portage/x11-libs/qt-core-4.6.0/temp/build.log'.
 * The ebuild environment file is located at '/Volumes/prefix-ppc-macos-x11/var/tmp/portage/x11-libs/qt-core-4.6.0/temp/environment'.
 * S: '/Volumes/prefix-ppc-macos-x11/var/tmp/portage/x11-libs/qt-core-4.6.0/work/qt-everywhere-opensource-src-4.6.0'


Portage 2.2.00.15123-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
=================================================================
System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Tue, 22 Dec 2009 19:54:15 +0000
distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.6.4-r2
sys-devel/autoconf:  2.13, 2.63-r01.1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe -maltivec -mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -maltivec -mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/prefix-ppc-macos-x11/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""


[ebuild  N    ] x11-libs/qt-core-4.6.0  USE="glib qt3support ssl -aqua -debug -doc -iconv -optimized-qmake -pch" 0 kB
Comment 1 Heiko 2010-08-19 09:45:48 UTC
The problem are these missing sources/objects:

            EXTRA_OBJS="qsettings_mac.o qcore_mac.o"
            EXTRA_SRCS="\"$relpath/src/corelib/io/qsettings_mac.cpp\" \"$relpath/src/corelib/kernel/qcore_mac.cpp\""

These are set in configure for PLATFORM_MAC = "yes". Unfortunately `-platform darwin-g++` doesn't seem to count there. Anyway I'll try to hack something together :)
Comment 2 Fabian Groffen gentoo-dev 2010-12-13 07:38:43 UTC
hack still necessary for latest releases?