Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13700 - Many kde-3.1_rc6 packages fail to build
Summary: Many kde-3.1_rc6 packages fail to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-11 00:50 UTC by Garen
Modified: 2003-01-27 17:20 UTC (History)
0 users

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


Attachments
config.log (config.log,196.54 KB, text/plain)
2003-01-15 14:03 UTC, Garen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garen 2003-01-11 00:50:52 UTC
...
/bin/sh ../../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-
dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-
prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-
align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame-
pointer -funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new -
DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE    -o 
libsensordisplays.la.closure libsensordisplays_la_closure.lo -L/usr/X11R6/lib -
L/usr/qt/3/lib -L/usr/kde/3.1/lib  -no-undefined SensorDisplay.lo BarGraph.lo 
DancingBars.lo DummyDisplay.lo FancyPlotter.lo ListView.lo LogFile.lo 
MultiMeter.lo ProcessController.lo ProcessList.lo ReniceDlg.lo SensorLogger.lo 
SignalPlotter.lo DancingBarsSettings.lo FancyPlotterSettings.lo 
ListViewSettings.lo LogFileSettings.lo MultiMeterSettings.lo SensorLoggerDlg.lo 
SensorLoggerSettings.lo ../ksgrd/libksgrd.la -lkio 
.libs/ListView.o(.text+0x856): In function `diskStatKey(char const*)':
: undefined reference to `strlcpy'
.libs/ListView.o(.text+0x946): In function `diskStatKey(char const*)':
: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make[4]: *** [libsensordisplays.la.closure] Error 1
make[4]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase-
3.1rc6/ksysguard/gui/SensorDisplayLib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase-
3.1rc6/ksysguard/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase-
3.1rc6/ksysguard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/archive/tmp/portage/kdebase-3.1_rc6/work/kdebase-
3.1rc6'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.1_rc6 failed.
!!! Function kde_src_compile, Line 88, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Garen 2003-01-11 00:58:26 UTC
Strange, I just tried to build kdeutils and it failed with a similar linker 
error:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-
long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -
Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -
Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame-pointer -
funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new -
DQT_CLEAN_NAMESPACE  -DQT_NO_ASCII_CAST    -o ark -R /usr/kde/3.1/lib -
R /usr/qt/3/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -
L/usr/kde/3.1/lib  dummy.o libark.la 
./.libs/libark.so: undefined reference to `strlcpy'
./.libs/libark.so: undefined reference to `strlcat'
collect2: ld returned 1 exit status
make[3]: *** [ark] Error 1
make[3]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils-
3.1rc6/ark'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils-
3.1rc6/ark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/archive/tmp/portage/kdeutils-3.1_rc6/work/kdeutils-
3.1rc6'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeutils-3.1_rc6 failed.
!!! Function kde_src_compile, Line 88, Exitcode 2
!!! died running emake, kde_src_compile:make


Comment 2 Garen 2003-01-11 13:50:35 UTC
Another similar failure:
...
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-
long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -
Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -
Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium2 -O2 -fomit-frame-pointer -
funroll-loops -ffast-math -pipe -fno-exceptions -fno-check-new -DQT_NO_COMPAT -
DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DKDE_NO_COMPAT -DKDE_NO_COMPAT_H    -o 
kppp -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -R /usr/kde/3.1/lib -
R /usr/qt/3/lib -R /usr/X11R6/lib kpppwidget.o general.o accounts.o connect.o 
conwindow.o debug.o edit.o iplined.o main.o modem.o modemcmds.o pppdargs.o 
pppdata.o scriptedit.o pwentry.o modeminfo.o pppstatdlg.o pppstats.o miniterm.o 
accounting.o acctselect.o ruleset.o docking.o runtests.o loginterm.o ppplog.o 
newwidget.o requester.o opener.o modemdb.o utils.o providerdb.o -lm -lkio -
lkdeui 
pppstats.o(.text+0x4a1): In function `PPPStats::ifIsUp()':
: undefined reference to `strlcpy'
pppstats.o(.text+0x578): In function `PPPStats::initStats()':
: undefined reference to `strlcpy'
opener.o(.text+0x302): In function `Opener::mainLoop()':
: undefined reference to `strlcpy'
opener.o(.text+0x327): In function `Opener::mainLoop()':
: undefined reference to `strlcat'
opener.o(.text+0xdc1): In function `Opener::execpppd(char const*)':
: undefined reference to `strlcpy'
opener.o(.text+0x116a): In function `checkForInterface()':
: undefined reference to `strlcpy'
collect2: ld returned 1 exit status
make[3]: *** [kppp] Error 1
make[3]: Leaving directory `/archive/tmp/portage/kdenetwork-
3.1_rc6/work/kdenetwork-3.1rc6/kppp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/archive/tmp/portage/kdenetwork-
3.1_rc6/work/kdenetwork-3.1rc6/kppp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/archive/tmp/portage/kdenetwork-
3.1_rc6/work/kdenetwork-3.1rc6'
make: *** [all] Error 2

!!! ERROR: kde-base/kdenetwork-3.1_rc6 failed.
!!! Function kde_src_compile, Line 88, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 3 Garen 2003-01-11 18:18:08 UTC
Another one:

/bin/sh ../../libtool --silent --mode=link gcc -
DDEFAULT_PATH=\"/usr/kde/3.1/share/apps/kmidi/config\" -DAU_OSS -DAU_ESD -
DIA_NCURSES -DIA_SLANG  -DIA_XAW -DQT_THREAD_SUPPORT  -D_REENTRANT  -fasm -
ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-
strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -march=pentium2 -O2 -
fomit-frame-pointer -funroll-loops -ffast-math -pipe  `/usr/kde/3.1/bin/artsc-
config --libs` -o timidity  timidity.o common.o readmidi.o playmidi.o 
resample.o mix.o instrum.o tables.o controls.o output.o filter.o wave_a.o 
raw_a.o dumb_c.o fffload.o sndfont.o readsbk.o effects.o reverb_e.o chorus_e.o 
phaser_e.o celeste_e.o resample_l.o resample_f.o cfg.o b_out.o hpux_a.o 
linux_a.o linux_a2.o sun_a.o dec_a.o hpux_d_a.o alsa_a.o arts_a.o bsd20_a.o 
esd_a.o nas_a.o ncurs_c.o slang_c.o tk_c.o gtk_i.o ctl.o motif_c.o motif_i.o 
motif_p.o xaw_i.o xaw_c.o    -lncurses -lslang -L/usr/X11R6/lib -
L/usr/qt/3/lib -L/usr/kde/3.1/lib  -lXaw -lXt -lX11  -lkdefakes -lm -L/usr/lib -
lesd -laudiofile -lm
common.o(.text+0x2cd): In function `open_file':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
common.o(.text+0x1fb): In function `open_file':
: undefined reference to `strlcpy'
common.o(.text+0x24f): In function `open_file':
: undefined reference to `strlcat'
common.o(.text+0x326): In function `open_file':
: undefined reference to `strlcpy'
common.o(.text+0x352): In function `open_file':
: undefined reference to `strlcat'
instrum.o(.text+0x1a7d): In function `load_instrument':
: undefined reference to `strlcpy'
instrum.o(.text+0x1a9c): In function `load_instrument':
: undefined reference to `strlcat'
ncurs_c.o(.text+0x1989): In function `ctl_open':
: undefined reference to `strlcpy'
ncurs_c.o(.text+0x19cd): In function `ctl_open':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x3694): In function `expandDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x36b6): In function `expandDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x3713): In function `expandDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x37f4): more undefined references to `strlcpy' follow
xaw_i.o(.text+0x3f8b): In function `setDirList':
: undefined reference to `strlcat'
xaw_i.o(.text+0x3fb5): In function `setDirList':
: undefined reference to `strlcat'
xaw_i.o(.text+0x5eda): In function `completeDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x5f61): In function `completeDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x5fab): In function `completeDir':
: undefined reference to `strlcpy'
xaw_i.o(.text+0x5fca): In function `completeDir':
: undefined reference to `strlcat'
collect2: ld returned 1 exit status
make[3]: *** [timidity] Error 1
make[3]: Leaving directory `/archive/tmp/portage/kdemultimedia-
3.1_rc6/work/kdemultimedia-3.1rc6/kmidi/TIMIDITY'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/archive/tmp/portage/kdemultimedia-
3.1_rc6/work/kdemultimedia-3.1rc6/kmidi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/archive/tmp/portage/kdemultimedia-
3.1_rc6/work/kdemultimedia-3.1rc6'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.1_rc6 failed.
!!! Function kde_src_compile, Line 88, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-14 11:15:16 UTC
which kdelibs do you have? 
please append 'emerge info' and a config.log of one of the failing packages. 
Comment 5 Garen 2003-01-15 14:03:53 UTC
Created attachment 7333 [details]
config.log
Comment 6 Garen 2003-01-15 14:06:09 UTC
emerge info says:
emerge info
Portage 2.0.46-r6 (default-x86-1.4, gcc-gcc: No such file or directory, glibc-
2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/archive/portage/distfiles"
PKGDIR="/archive/portage/packages"
PORTAGE_TMPDIR="/archive/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx 
mpeg ncurses nls pdflib png qtmt quicktime spell xml2 xmms xv zlib gdbm berkdb 
slang readline arts tetex svga java guile X sdl gpm tcpd pam libwww ssl perl 
python esd imlib oggvorbis gtk opengl mozilla qt kde truetype icc -alsa -motif"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math -
pipe"
CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math -
pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

The top part seems strange: "gcc-gcc: No such file or directory."  Hadn't 
noticed that before.
Comment 7 Garen 2003-01-15 15:34:28 UTC
ah, it was the upgrade to gcc-3.2.1-r6 that somehow screwed up my environment.  
Had to source /etc/profile..  

emerge info
Portage 2.0.46-r6 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Celeron (Mendocino)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/archive/portage/distfiles"
PKGDIR="/archive/portage/packages"
PORTAGE_TMPDIR="/archive/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx 
mpeg ncurses nls pdflib png qtmt quicktime spell xml2 xmms xv zlib gdbm berkdb 
slang readline arts tetex svga java guile X sdl gpm tcpd pam libwww ssl perl 
python esd imlib oggvorbis gtk opengl mozilla qt kde truetype icc -alsa -motif"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math -
pipe"
CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -funroll-loops -ffast-math -
pipe"
ACCEPT_KEYWORDS="x86 ~arch"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 8 Garen 2003-01-24 21:46:42 UTC
For whatever reason, the bugs went away once I re-emerged arts and cups..  Now 
I can't reproduce these build errors..  close?
Comment 9 Dan Armak (RETIRED) gentoo-dev 2003-01-27 15:35:23 UTC
Yes, since you don't have it anymore and we couldn't reprodue anything to begin with, it 
seems these were the effects of a misconfigured system that are now fixed. 
Comment 10 Garen 2003-01-27 17:20:11 UTC
"misconfigured", yeah thats it.