Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68778 - make check fails with linker error on kde-base/kdelibs-3.3.1
Summary: make check fails with linker error on kde-base/kdelibs-3.3.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 21:40 UTC by Darren West
Modified: 2005-01-22 15:29 UTC (History)
0 users

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 Darren West 2004-10-24 21:40:39 UTC
2 workarounds:
FEATURES="-maketest"
&
MAKEOPTS=-j1
My guess is something needs to be adjusted for parallel compilation to go more smoothly.  

Reproducible: Always
Steps to Reproduce:
1. FEATURES="maketest" 
2. MAKEOPTS=-j2" 
3. ACCEPT_KEYWORDS=~amd64 emerge kde-base/kdelibs

Actual Results:  
Checking 'test1.h':
  OK
Checking 'test1.cpp':
  Line 43: Expected        :   itemMyString = new KConfigSkeleton::ItemString(
currentGroup(), QString::fromLatin1( "MyString" ), mMyString,
QString::fromLatin1( "Default String" ) );
  Line 43: Compiler output :   itemMyString = new KConfigSkeleton::ItemString(
currentGroup(), QString::fromLatin1( "MyString" ), mMyString, "Default String" );

  FAILED: 1 errors found.
Checking 'test2.h':
  Line 13: Expected        :     enum { standardDestination, askDestination,
argl1, argl2, argl3, COUNT };
  Line 13: Compiler output :     enum { standardDestination, askDestination,
argl1, argl2, argl3 };

  FAILED: 1 errors found.
Checking 'test3.h':
  OK
Checking 'test3.cpp':
  Line 20: Expected        :   mBlahBlahItem = new KConfigSkeleton::ItemString(
currentGroup(), QString::fromLatin1( "BlahBlah" ), mBlahBlah,
QString::fromLatin1( "a string" ) );
  Line 20: Compiler output :   mBlahBlahItem = new KConfigSkeleton::ItemString(
currentGroup(), QString::fromLatin1( "BlahBlah" ), mBlahBlah, "a string" );

  FAILED: 1 errors found.
Checking 'test4.h':
  OK
Checking 'test4.cpp':
  OK
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore/kconfig_compiler'
Making check in tests
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore/tests'
make  kconfigtest klocaletest kprocesstest ksimpleconfigtest kstddirstest
kurltest kuniqueapptest ktempfiletest krandomsequencetest kdebugtest ksocktest
kstringhandlertest kcmdlineargstest kapptest kmemtest kidlservertest
kidlclienttest dcopkonqtest kipctest cplusplustest kiconloadertest kresolvertest
kmdcodectest knotifytest ksortablevaluelisttest krfcdatetest testqtargs
kprociotest kcharsetstest kcalendartest kmacroexpandertest kshelltest
kxerrorhandlertest startserviceby kstdacceltest
make[3]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore/tests'
make[3]: `kconfigtest' is up to date.
make[3]: `klocaletest' is up to date.
make[3]: `kprocesstest' is up to date.
make[3]: `ksimpleconfigtest' is up to date.
make[3]: `kstddirstest' is up to date.
make[3]: `kurltest' is up to date.
make[3]: `kuniqueapptest' is up to date.
make[3]: `ktempfiletest' is up to date.
make[3]: `krandomsequencetest' is up to date.
make[3]: `kdebugtest' is up to date.
make[3]: `ksocktest' is up to date.
make[3]: `kstringhandlertest' is up to date.
make[3]: `kcmdlineargstest' is up to date.
make[3]: `kapptest' is up to date.
make[3]: `kmemtest' is up to date.
make[3]: `kidlservertest' is up to date.
make[3]: `kidlclienttest' is up to date.
make[3]: `dcopkonqtest' is up to date.
make[3]: `kipctest' is up to date.
make[3]: `cplusplustest' is up to date.
make[3]: `kiconloadertest' is up to date.
make[3]: `kresolvertest' is up to date.
make[3]: `kmdcodectest' is up to date.
make[3]: `knotifytest' is up to date.
make[3]: `ksortablevaluelisttest' is up to date.
make[3]: `krfcdatetest' is up to date.
make[3]: `testqtargs' is up to date.
make[3]: `kprociotest' is up to date.
make[3]: `kcharsetstest' is up to date.
make[3]: `kcalendartest' is up to date.
make[3]: `kmacroexpandertest' is up to date.
make[3]: `kshelltest' is up to date.
make[3]: `kxerrorhandlertest' is up to date.
make[3]: `startserviceby' is up to date.
make[3]: `kstdacceltest' is up to date.
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore/tests'
./kurltest && ./kstdacceltest
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
There was an error setting up inter-process communications for KDE. The message
returned by the system was:

Could not read network connection list.
/var/tmp/portage/homedir/.DCOPserver_maestro.imajica__0

Please check that the "dcopserver" program is running!

* Empty URL

* URL is file:/home/dfaure/file.txt

* URL is file:/home/dfaure/

* URL is ftp://ftp.kde.org/

* URL is file:/home/dfaure/my%20tar%20file.tgz#gzip:/#tar:/README

* URL is print:/specials/Print%20To%20File%20(PDF%2FAcrobat)

* URL is file:/specials/Print

* URL is ftp://host/dir1/dir2/myfile.txt

* URL is ftp://ftp.de.kde.org

URL=file://maestro.imajica/my/file

Test OK !
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore/tests'
make[1]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdecore'
Making check in kdeui
make[1]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui'
Making check in .
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui'
Making check in kdetrayproxy
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/kdetrayproxy'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/kdetrayproxy'
Making check in tests
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/tests'
make  kaboutdialogtest kblendtest kbuttonboxtest kcharselecttest kcolortest
kcolordlgtest kcomboboxtest kcompletiontest kdatepicktest kdatewidgettest
kdialogbasetest kdockwidgetdemo kdockwidgettest kdualcolortest keditlistboxtest
kfontdialogtest kgradienttest khashtest kdesattest kledtest klineedittest
klineeditdlgtest kmessageboxtest knuminputtest kpalettetest kpopuptest
kprogresstest krulertest kseparatortest kstatusbartest ktabctltest
kunbalancedgrdtest kwindowtest kwizardtest itemcontainertest kpanelmenutest
kedittest kxmlguitest kaccelgentest ksystemtraytest klistviewtest ktextedittest
kmainwindowtest kmainwindowrestoretest kactiontest kdatetimewidgettest
ktimewidgettest kspelltest kinputdialogtest ktabwidgettest kwordwraptest
kdocktest qxembedtest ksqueezedtextlabeltest
make[3]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/tests'
make[3]: `kaboutdialogtest' is up to date.
make[3]: `kblendtest' is up to date.
make[3]: `kbuttonboxtest' is up to date.
make[3]: `kcharselecttest' is up to date.
make[3]: `kcolortest' is up to date.
make[3]: `kcolordlgtest' is up to date.
make[3]: `kcomboboxtest' is up to date.
make[3]: `kcompletiontest' is up to date.
make[3]: `kdatepicktest' is up to date.
make[3]: `kdatewidgettest' is up to date.
make[3]: `kdialogbasetest' is up to date.
make[3]: `kdockwidgetdemo' is up to date.
make[3]: `kdockwidgettest' is up to date.
make[3]: `kdualcolortest' is up to date.
make[3]: `keditlistboxtest' is up to date.
make[3]: `kfontdialogtest' is up to date.
make[3]: `kgradienttest' is up to date.
make[3]: `khashtest' is up to date.
make[3]: `kdesattest' is up to date.
make[3]: `kledtest' is up to date.
make[3]: `klineedittest' is up to date.
make[3]: `klineeditdlgtest' is up to date.
make[3]: `kmessageboxtest' is up to date.
make[3]: `knuminputtest' is up to date.
make[3]: `kpalettetest' is up to date.
make[3]: `kpopuptest' is up to date.
make[3]: `kprogresstest' is up to date.
make[3]: `krulertest' is up to date.
make[3]: `kseparatortest' is up to date.
make[3]: `kstatusbartest' is up to date.
make[3]: `ktabctltest' is up to date.
make[3]: `kunbalancedgrdtest' is up to date.
make[3]: `kwindowtest' is up to date.
make[3]: `kwizardtest' is up to date.
make[3]: `itemcontainertest' is up to date.
make[3]: `kpanelmenutest' is up to date.
make[3]: `kedittest' is up to date.
make[3]: `kxmlguitest' is up to date.
make[3]: `kaccelgentest' is up to date.
make[3]: `ksystemtraytest' is up to date.
make[3]: `klistviewtest' is up to date.
make[3]: `ktextedittest' is up to date.
make[3]: `kmainwindowtest' is up to date.
make[3]: `kmainwindowrestoretest' is up to date.
make[3]: `kactiontest' is up to date.
make[3]: `kdatetimewidgettest' is up to date.
make[3]: `ktimewidgettest' is up to date.
make[3]: `kspelltest' is up to date.
make[3]: `kinputdialogtest' is up to date.
make[3]: `ktabwidgettest' is up to date.
make[3]: `kwordwraptest' is up to date.
make[3]: `kdocktest' is up to date.
make[3]: `qxembedtest' is up to date.
make[3]: `ksqueezedtextlabeltest' is up to date.
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/tests'
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui/tests'
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdeui'
Making check in kdesu
make[1]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdesu'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kdesu'
Making check in kjs
make[1]: Entering directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kjs'
make  testkjs
make[2]: Entering directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kjs'
make[2]: `testkjs' is up to date.
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kjs'
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kjs'
Making check in kwallet
make[1]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet'
Making check in client
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/client'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/client'
Making check in backend
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/backend'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/backend'
Making check in tests
make[2]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/tests'
make  kwalletasync kwalletsync kwalletboth
make[3]: Entering directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/tests'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION    -o kwalletasync -no-undefined -L/usr/X11R6/lib64
-L/usr/qt/3/lib -L/usr/kde/3.3/lib  -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R
/usr/X11R6/lib64 kwalletasync.o kwallettest.o -lqt-mt  -lz -lpng -lz -lm -lXext
-lX11  -lSM -lICE -lpthread ../../kdecore/libkdecore.la -lkwalletclient
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lkwalletclient
collect2: ld returned 1 exit status
make[3]: *** [kwalletasync] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kwallet'
make: *** [check-recursive] Error 1

!!! ERROR: kde-base/kdelibs-3.3.1 failed.
!!! Function src_test, Line 520, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.




Portage 2.0.51-r2 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.26
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distlocks gpg maketest sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt doc
encode esd f77 faac faad flac foomaticdb gdbm gif gpm gtk gtk2 imagemagick imlib
jpeg kde libg++ libwww mbox mikmod motif mozilla mpeg multilib mysql ncurses nls
nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline samba
sdl slang spell ssl tcpd truetype xml2 xmms xprint xv zlib"
Comment 1 Rick Jenkins 2004-11-17 19:31:12 UTC
I have the same bug with:

rick@triffid rick $ emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27 i686)
=================================================================
System uname: 2.4.27 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
distcc[11338] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc: Permission denied [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks maketest sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.agsn.ca/ ftp://mirror.cpsc.ucalgary.ca/mirror/gentoo.org/ http://adelie.polymtl.ca/ http://mirrors.tds.net/gentoo http://gentoo.netnitco.net"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage/"
USE="3dfx 3dnow 3dnowex X acpi alsa apm arts avi berkdb bitmap-fonts cdparanoiacdr crypt cups dri dvd encode esd f77 fam flac foomaticdb fortran gdbm gif glx gnome gphoto2 gpm gtk gtk2 guile imagemagick imlib imlibjava java jpeg junit kdelibg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt qtmt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb x86 xfs xml xml2 xmms xv zlib"

Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-12-02 04:13:19 UTC
can you file this at bugs.kde.org as well?
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-01-22 15:29:32 UTC
Perhaps fixed in 3.3.2?  Please advise if not, and file at bugs.kde.org.