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

Bug 131415

Summary: kmail-3.5.2-r2 won't compile using USE="kdeenablefinal"
Product: Gentoo Linux Reporter: Markus Rothe (RETIRED) <corsair>
Component: Current packagesAssignee: ppc64 architecture team <ppc64>
Status: VERIFIED WONTFIX    
Severity: normal CC: bulliver, esigra
Priority: High    
Version: 2006.0   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Markus Rothe (RETIRED) gentoo-dev 2006-04-27 00:56:02 UTC
Hi,

while testing kde-3.5.2 I ran into this problem compiling kmail-3.5.2-r1:

[...]
Making all in .
make[3]: Entering directory `/var/tmp/portage/kmail-3.5.2-r1/work/kmail-3.5.2/kmail'
/bin/sh ../libtool --silent --mode=compile --tag=CXX powerpc64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec -g -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o libkmailprivate_la.all_cpp.lo `test -f 'libkmailprivate_la.all_cpp.cpp' || echo './'`libkmailprivate_la.all_cpp.cpp
configuredialog.cpp: In constructor 'ConfigureDialog::ConfigureDialog(QWidget*, const char*, bool)':
configuredialog.cpp:216: warning: '__base_ctor ' is deprecated (declared at /usr/kde/3.5/include/kcmultidialog.h:104)
index.cpp: At global scope:
index.cpp:484: warning: unused parameter 'folder'
index.cpp:495: warning: unused parameter 'folder'
kmfoldertree.cpp: In member function 'virtual void KMFolderTree::contentsDropEvent(QDropEvent*)':
kmfoldertree.cpp:1383: warning: 'keyboardModifiers' is deprecated (declared at /usr/kde/3.5/include/kapplication.h:1069)
kmpopfiltercnfrmdlg.cpp: In constructor 'KMPopHeadersView::KMPopHeadersView(QWidget*, KMPopFilterCnfrmDlg*)':
kmpopfiltercnfrmdlg.cpp:33: warning: unused variable 'mDownIndex'
kmedit.cpp: At global scope:
kmedit.cpp:511: warning: unused parameter 'proc'
index.cpp:62: warning: 'QValueList<int> vectorToQValueList(const std::vector<unsigned int, std::allocator<unsigned int> >&)' defined but not used
index.cpp:70: warning: 'std::vector<unsigned int, std::allocator<unsigned int> > QValueListToVector(const QValueList<int>&)' defined but not used
kmmsgbase.cpp:1034: warning: 'void swapEndian(QString&)' defined but not used
{standard input}: Assembler messages:
{standard input}:4910796: Warning: TOC section size exceeds 64k
{standard input}:2180362: Error: value of 65624 too large for field of 2 bytes at 3531198
{standard input}:2180711: Error: value of 65608 too large for field of 2 bytes at 3531882
{standard input}:2180716: Error: value of 65616 too large for field of 2 bytes at 3531898
{standard input}:2182028: Error: value of 65544 too large for field of 2 bytes at 3533802
{standard input}:2182059: Error: value of 65552 too large for field of 2 bytes at 3533874
{standard input}:2182175: Error: value of 65560 too large for field of 2 bytes at 3534090
{standard input}:2182205: Error: value of 65552 too large for field of 2 bytes at 3534138
{standard input}:2182527: Error: value of 65536 too large for field of 2 bytes at 3534678
{standard input}:2183160: Error: value of 65568 too large for field of 2 bytes at 3535742
{standard input}:2183211: Error: value of 65576 too large for field of 2 bytes at 3535830
{standard input}:2183504: Error: value of 65592 too large for field of 2 bytes at 3536374
{standard input}:2183647: Error: value of 65584 too large for field of 2 bytes at 3536662
{standard input}:2183849: Error: value of 65600 too large for field of 2 bytes at 3537094
{standard input}:2183962: Error: value of 65552 too large for field of 2 bytes at 3537334
{standard input}:2185691: Error: value of 65632 too large for field of 2 bytes at 3540002
{standard input}:2186113: Error: value of 65640 too large for field of 2 bytes at 3540658
{standard input}:2189154: Error: value of 65648 too large for field of 2 bytes at 3545230
{standard input}:2195174: Error: value of 65656 too large for field of 2 bytes at 3556358
{standard input}:2196614: Error: value of 65664 too large for field of 2 bytes at 3558750
{standard input}:2196701: Error: value of 65672 too large for field of 2 bytes at 3558934
{standard input}:2196893: Error: value of 65680 too large for field of 2 bytes at 3559386
{standard input}:2196905: Error: value of 65688 too large for field of 2 bytes at 3559422
{standard input}:2198073: Error: value of 65704 too large for field of 2 bytes at 3561486
{standard input}:2199224: Error: value of 65696 too large for field of 2 bytes at 3563430
{standard input}:2199490: Error: value of 65720 too large for field of 2 bytes at 3563882
{standard input}:2199540: Error: value of 65712 too large for field of 2 bytes at 3563986
{standard input}:2200739: Error: value of 65728 too large for field of 2 bytes at 3566298
{standard input}:2200799: Error: value of 65736 too large for field of 2 bytes at 3566430
{standard input}:2201094: Error: value of 65664 too large for field of 2 bytes at 3567006
{standard input}:2201181: Error: value of 65672 too large for field of 2 bytes at 3567190
{standard input}:2201373: Error: value of 65680 too large for field of 2 bytes at 3567642
{standard input}:2201385: Error: value of 65688 too large for field of 2 bytes at 3567678
make[3]: *** [libkmailprivate_la.all_cpp.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kmail-3.5.2-r1/work/kmail-3.5.2/kmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kmail-3.5.2-r1/work/kmail-3.5.2/kmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmail-3.5.2-r1/work/kmail-3.5.2'
make: *** [all] Error 2



# emerge --info
Portage 2.1_pre9-r4 (default-linux/ppc/ppc64/2006.0/64bit-userland/970/pmac, gcc-4.1.0, glibc-2.4-r2, 2.6.16-gentoo-r3 ppc64)
=================================================================
System uname: 2.6.16-gentoo-r3 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec -g"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks installsources metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 aac alsa altivec amr apache2 apm berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dmi dri dts dv dvd dvdr dvdread eds emboss encode exscalibar ffmpeg foomaticdb fortran gdbm ggi gif glitz gmp gnokii gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 hal imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 jpeg kde kdeenablefinal libg++ libwww mad matroska mikmod motif mp3 mp4 mpeg mplayer musicbrainz ncurses nls nptl nptlonly ogg openal opengl pam pcre pdflib perl png ppds python qt qt4 quicktime readline reflection samba sdl session spell spl ssl subtitles tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb video_cards_radeon vorbis x264 xcomposite xml xorg xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Yang Dehua 2006-05-08 18:39:10 UTC
I just emerged kmail-2.5.2-r2 successfully with gcc-4.1.0 and glibc-2.4-r2 on my G5 running 64-bit userland.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2006-05-08 22:11:25 UTC
thanks for the info. so this is a local problem. would you mind posting your current 'emerge --info'?
Comment 3 Yang Dehua 2006-05-13 05:32:31 UTC
Well, here it is.

Gentoo Base System version 1.6.14
Portage 2.1_pre10-r5 (default-linux/ppc/ppc64/2006.0/multilib, gcc-4.1.0, glibc-2.4-r2, 2.6.16-ck9 ppc64)
=================================================================
System uname: 2.6.16-ck9 ppc64 PPC970, altivec supported
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr http://mirror.gentoo.gr.jp http://mymirror.asiaosc.org/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="zh_CN en"
MAKEOPTS="-j3"
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.multilib"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 aac aalib accessibility alsa altivec apache2 asf aspell berkdb bitmap-fonts browserplugin bzip2 cairo cdr cjk cli crypt cups curl dba dri dts dvd dvdnav dvdr eds emboss encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gif gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm imagemagick imlib ipv6 java jpeg jpeg2k kde lcms ldap libg++ libwww mad mbox mikmod mng motif mp3 mpeg mpg mysql nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png postgres ppds python qt quicktime readline reflection samba sasl sdl session slang spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l vcd video_cards_radeon vidix vorbis xanim xcomposite xine xml xml2 xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_zh_CN linguas_en userland_GNU video_cards_ati video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2006-05-31 03:16:16 UTC
the problem is not gcc, the problem is USE="kdeenablefinal" ...

well.. now I just don't know how to handle this...
Comment 5 Brent Baude (RETIRED) gentoo-dev 2006-09-14 06:41:39 UTC
Corsair,

I compiled kmail last night with kdeenablefinal and it worked.  There has been a rev bump or two since.  The kmail version was kde-base/kmail-3.5.2-r4.

My emerge info as follows:

emerge --info
Portage 2.1.1 (default-linux/ppc/ppc64/2006.0/64bit-userland, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.9 ppc64)
=================================================================
System uname: 2.6.16.9 ppc64 PPC970, altivec supported
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 13:00:07 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
LINGUAS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X alsa altivec apache2 apm arts berkdb bitmap-fonts cli cups dlloader dri eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk ibm imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_ati video_cards_dummy video_cards_fbdev video_cards_mga video_cards_nv video_cards_sisusb video_cards_v4l vorbis xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


If the new version works for you, think we can close?
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2006-09-14 07:41:25 UTC
(In reply to comment #5)
> If the new version works for you, think we can close?

seems like the problem is gcc-4.1.1 after all. I just tried again and I am getting still the same error. I'll try gcc-3.4.6 now.
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2007-05-24 05:37:38 UTC
*** Bug 179582 has been marked as a duplicate of this bug. ***
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2008-01-22 14:51:19 UTC
this won't be fixed. let's see what kmail has to offer in kde 4.1.
Comment 9 Markus Rothe (RETIRED) gentoo-dev 2008-01-22 14:51:31 UTC
closing