Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41432 - kdelibs-3.2.0 fails to compile
Summary: kdelibs-3.2.0 fails to compile
Status: RESOLVED WORKSFORME
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:
: 68529 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-12 16:34 UTC by Bernd Wurst
Modified: 2005-01-02 09:13 UTC (History)
1 user (show)

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


Attachments
build log of same problem (kdelibs.log,574.56 KB, text/plain)
2004-02-20 06:38 UTC, David Kinder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Wurst 2004-02-12 16:34:34 UTC
I use kde-3.2.0 on two machines and on a third, it fails to compile with the following error message in kdelibs.

=================================================================
Making all in pics
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdewidgets/pics'
make[3]: F
Comment 1 Bernd Wurst 2004-02-12 16:34:34 UTC
I use kde-3.2.0 on two machines and on a third, it fails to compile with the following error message in kdelibs.

=================================================================
Making all in pics
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdewidgets/pics'
make[3]: Für das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdewidgets/pics'
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdewidgets'
Making all in kdoctools
make[2]: Entering directory `/var/tmp/portage/kdelibs-3.2.0/work/kdelibs-3.2.0/kdoctools'
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=k6-2 -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  -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib -R/usr/lib -R/usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib   -o kio_help.la -rpath /usr/kde/3.2/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  kio_help.lo main.lo xslt.lo -L/usr/lib -lxslt -lxml2 -lz -lpthread -lm -L/usr/lib -lxml2 -lz -lpthread -lm  libkbzipfilter_dummy.la
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x0): In function `jpeg_CreateCompress':
: multiple definition of `jpeg_CreateCompress'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x0): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0xf0): In function `jpeg_destroy_compress':
: multiple definition of `jpeg_destroy_compress'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0xf0): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x100): In function `jpeg_abort_compress':
: multiple definition of `jpeg_abort_compress'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x100): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x110): In function `jpeg_suppress_tables':
: multiple definition of `jpeg_suppress_tables'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x110): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x160): In function `jpeg_finish_compress':
: multiple definition of `jpeg_finish_compress'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x160): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x2a0): In function `jpeg_write_marker':
: multiple definition of `jpeg_write_marker'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x2a0): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x330): In function `jpeg_write_m_header':
: multiple definition of `jpeg_write_m_header'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x330): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x380): In function `jpeg_write_m_byte':
: multiple definition of `jpeg_write_m_byte'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x380): first defined here
/usr/lib/libjpeg.a(jcapimin.o)(.text+0x3a0): In function `jpeg_write_tables':
: multiple definition of `jpeg_write_tables'
./.libs/libkbzipfilter_dummy.a(jcapimin.o)(.text+0x3a0): first defined here
/usr/lib/libjpeg.a(jcapistd.o)(.text+0x0): In function `jpeg_start_compress':
[...]
=================================================================

The machine is a K6-2 with the following emerge info:

=================================================================
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2)
=================================================================
System uname: 2.6.2 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=k6-2 -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=k6-2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 avi berkdb clamav crypt cups dvd dvdr encode foomaticdb gd gdbm gif gnome gtk gtk2 imlib jpeg kde libg++ libwww linguas_de mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype x86 xface xml2 xmms xv zlib"
=================================================================

I also tried it without distcc.
Comment 2 David Kinder 2004-02-20 06:38:41 UTC
Created attachment 25979 [details]
build log of same problem

I have encountered the same issue - the attached build log for some reason
stopped  dumping to log at the actual emerge (looks like just the configure?)
and went back to stdout.
System is an AMD K6-3 on Via MVP3 board, GCC is 3.3.2-r5, glibc is 2.3.2-r9, qt
is 3.3.0-r1, kernel is 2.3.23-ck1, cflags just -O3 -march=k6-3.  Everything
else is in the build log (I think).
Comment 3 David Kinder 2004-02-23 10:53:35 UTC
Well, this is interesting...  "downgraded" to Qt-3.2.3-r1 and it compiled fine.  May not have been clear earlier, but the output after it stopped dumping to log when using Qt-3.3.0-r1 looked just like the original bug report.  The only change I made before compiling successfully was to re-emerge Qt-3.2.3-r1.  I've changed my cflags back to what I normally use, emerge info is as follows (forgot it the first time, sorry):

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-ck1)
=================================================================
System uname: 2.4.23-ck1 i586 AMD-K6(tm) 3D+ Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=k6-3 -mmmx -m3dnow -ffast-math -ftracer -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=k6-3 -mmmx -m3dnow -ffast-math -ftracer -fomit-frame-pointer -pipe"
DISTDIR="/files/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://cudlug.cudenver.edu/gentoo ftp://helios.dii.utk.edu/pub/linux/gentoo  http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/ http://128.213.5.34/gentoo/ ftp://gentoo.ccccom.com http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/files/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aavm alsa apm arts avi cdr crypt cups fbcon foomaticdb foreign-package gdbm gif gimpprint gnome gnomedb gstreamer gtk gtk2 imlib imlib2 java javascript jikes jpeg kde libwww memlimit mmx mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg ncurses nomac oss pam pdflib perl pic png python qt readline samba slang slp spell ssl tcltk tcpd tiff truetype x86 xml xml2 xmms xv zlib"

Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-03-22 11:57:06 UTC
Can you test this against qt-3.3.1?  I can't reproduce this here at all; it may be some freakish problem in qt-3.3.0's build scripts.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-04-28 06:40:04 UTC
Can't reproduce, no comment on the bug.  Seems like a local problem.
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-02 09:13:24 UTC
*** Bug 68529 has been marked as a duplicate of this bug. ***