Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152247

Summary: Stabilize dev-db/knoda-0.8.1 - WAS: knoda-0.7.4-r1 fails to compile with GCC 4.1.1
Product: Gentoo Linux Reporter: Dan Johansson <Dan.Johansson>
Component: [OLD] KDEAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 140707    

Description Dan Johansson 2006-10-21 08:28:15 UTC
After upgrading from GCC 3.4.6 to 4.1.1 knoda fails to compile.
Here's the last part out the output from a faild emerge:
/usr/qt/3/include/qpoint.h:150: note:                 bool operator!=(const QPoint&, const QPoint&)
/usr/qt/3/include/qsize.h:164: note:                 bool operator!=(const QSize&, const QSize&)
/usr/qt/3/include/qrect.h:152: note:                 bool operator!=(const QRect&, const QRect&)
make[3]: *** [hk_kdegridcolumndialog.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/knoda-0.7.4-r1/work/knoda-0.7.4/hk_kdeclasses'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/knoda-0.7.4-r1/work/knoda-0.7.4/hk_kdeclasses'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/knoda-0.7.4-r1/work/knoda-0.7.4'
make: *** [all] Error 2

!!! ERROR: dev-db/knoda-0.7.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called kde_src_compile
  kde.eclass, line 171:   Called kde_src_compile 'all'
  kde.eclass, line 338:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 334:   Called die

And here's the emerge --info:

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 21 Oct 2006 04:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LINGUAS="de sv en"
MAKEOPTS="-j2"
PKGDIR="/var/pkgdir"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://vangelis.dmj.nu/gentoo-portage"
USE="x86 X alsa arts artswrappersuid asf audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection cracklib crypt cups curl dbus dlloader dri dvd dvdr dvdread elibc_glibc emboss encode esd fam faxonly ffmpeg flac fortran gd gdbm gif gimp gimpprint gmp gstreamer gtk hal idn imagemagick imap imlib input_devices_keyboard input_devices_mouse isdnlog java javascript jbig jpeg kde kernel_linux lcms ldap libg++ linguas_de linguas_en linguas_sv logitech-mouse logrotate logwatch lzo mad matrox mikmod mime mjpeg mmx mmxext mng mp3 mpeg mysql ncurses network nls nptl nptlonly nsplugin ofx ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection rtc sasl scanner sdl session slp smime sndfile sox spell spl sse sse2 ssl svga syslog tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_mga vim vim-with-x vorbis win32codecs xine xinerama xml xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

And gcc --version gives: gcc (GCC) 4.1.1 (Gentoo 4.1.1)

Regards,
--Dan
Comment 1 Michael Weyershäuser 2006-11-22 08:50:08 UTC
This also requires dev-db/hk_classes-0.8.1 to be stabilized. 
hk_classes fails the tests, but emerges fine with tests disabled. knoda emerges fine and works.

Test failures:
make[1]: Leaving directory `/var/tmp/portage/hk_classes-0.8.1/work/hk_classes-0.8.1a'
/usr/bin/python misc/systemtest.py
hk_classes module could not be loaded, wrong installation?
Traceback (most recent call last):
  File "misc/systemtest.py", line 22, in ?
    exit(1)
TypeError: 'str' object is not callable
make: *** [check] Error 1

!!! ERROR: dev-db/hk_classes-0.8.1 failed.

Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.18-suspend2-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Wed, 22 Nov 2006 05:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://server/gentoo-portage"
USE="amd64 X alsa apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal iconv imap input_devices_keyboard input_devices_mouse isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly objc objc++ ogg oss pam pcre perl png ppds pppd python qt3 quicktime readline reflection sdl session spell spl sqlite ssl tcpd test truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-23 02:22:00 UTC
x86 says good bye
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2006-11-27 14:25:08 UTC
sparc stable.
Comment 4 nixnut (RETIRED) gentoo-dev 2007-01-13 13:30:29 UTC
Stable on ppc
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2007-02-06 13:06:45 UTC
thanks Michael, amd64 stable