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

Bug 150242

Summary: [4.1/ICE] kaffeine-0.8.2-r1 won't compile with USE="kdehiddenvisibility"
Product: Gentoo Linux Reporter: Martin Ereth <martin.ereth>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: preprocessed source
emerge --info with new config

Description Martin Ereth 2006-10-06 01:47:40 UTC
Kaffeine-0.8.2-r1 won't compile when kdehiddenvisibility is enabled.
media-video/kaffeine-0.8.2-r1  USE="dvb encode kdehiddenvisibility* vorbis -arts -debug -gstreamer -xinerama"

It aborts with: 

/bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../kaffeine/src/ -I../../../../kaffeine/src/player-parts/ -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I/usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -fasynchronous-unwind-tables -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -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 -fvisibility=hidden -fvisibility-inlines-hidden  -c -o kxinewidget.lo kxinewidget.cpp
kxinewidget.cpp: In member function 'QTime KXineWidget::getLengthInfo()':
kxinewidget.cpp:3793: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/kaffeine-0.8.2-r1/temp/ccaLIYaj.out file, please attach this to your bugreport.
make[5]: *** [kxinewidget.lo] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
make[5]: Leaving directory `/var/tmp/portage/kaffeine-0.8.2-r1/work/kaffeine/kaffeine/src/player-parts/xine-part'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/kaffeine-0.8.2-r1/work/kaffeine/kaffeine/src/player-parts'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kaffeine-0.8.2-r1/work/kaffeine/kaffeine/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kaffeine-0.8.2-r1/work/kaffeine/kaffeine'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kaffeine-0.8.2-r1/work/kaffeine'
make: *** [all] Fehler 2

!!! ERROR: media-video/kaffeine-0.8.2-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kaffeine-0.8.2-r1.ebuild, line 59:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 331:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 327:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


# emerge --info:

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.5
Last Sync: Fri, 06 Oct 2006 07:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
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.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="-march=athlon-xp -O3 -pipe"
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/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 bash-completion bcmath bitmap-fonts bzip2 cdparanoia cdr cli crypt cups dedicated dlloader dri dvb dvd dvdread elibc_glibc encode ffmpeg firefox flac fortran ftp gd gdbm gif gphoto2 gpm hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg kde kdehiddenvisibility kernel_linux libg++ linguas_de lirc lm_sensors logitech_mouse logrotate mad mikmod mmx mng mp3 mpeg mysql ncurses nforce2 nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl php png ppds pppd python qt3 quicktime readline reflection samba scanner session speex spl sse ssl symlink tcpd tetex theora tidy tiff tokenizer truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_nvidia vorbis win32codecs wmf xine xml xorg xosd xpm xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Martin Ereth 2006-10-06 01:50:43 UTC
Created attachment 98912 [details]
preprocessed source
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 01:57:41 UTC
Can you reproduce it, i.e., does it fails again at *exactly* the same place?
Comment 3 Martin Ereth 2006-10-07 08:16:57 UTC
(In reply to comment #2)
> Can you reproduce it, i.e., does it fails again at *exactly* the same place?

Yeah, the diff of the two preprocessed source code files are the same, but some numbers are different (first line, number 11207 is replaced by another)

So it fails at the same place.

With this configuration (see attachment) the process stops at the same time (preprocessed source) with the same error
Comment 4 Martin Ereth 2006-10-07 08:17:48 UTC
Created attachment 99048 [details]
emerge --info with new config
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 10:57:03 UTC
Need to reopen the bug, otherwise noone will notice again.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 11:03:05 UTC
Do you have any modified GCC ebuild by chance? I cannot reproduce the problem here with gcc-4.1.1-r1
Comment 7 Martin Ereth 2006-10-08 06:31:50 UTC
(In reply to comment #6)
> Do you have any modified GCC ebuild by chance? I cannot reproduce the problem
> here with gcc-4.1.1-r1

Nothing is modified. You can see my USE-Flags in the last attachment, the other things are just as the profile of 2006.1 prescribes.
Comment 8 Martin Ereth 2006-10-10 14:10:59 UTC
Roadmap:
I am going to clone my current system, reduce the number of packages (removal of Openoffice, Mozilla, which are the ones needed the longest compile-time) and then I am going to upgrade to gcc-4.1.1-r1 (previous:4.1.1).
This includes AFAIK: emerge -e world
Then I am going to try to emerge kaffeine again and report the results.


What about this plan? Do you think that it helps solving this issue?
Maybe anyone is able to provide me a list of steps/HOWTO for upgrading from gcc-4.1.1 to gcc-4.1.1-r1.

You don't need to worry about the compile time. I am going to manage that. ;-)
Comment 9 SpanKY gentoo-dev 2006-10-10 20:11:25 UTC
there is no such thing as a "HOWTO" for upgrading from gcc-4.1.1 to gcc-4.1.1-r1
Comment 10 lefti 2006-11-18 07:05:45 UTC
I have same problem here, kaffeine won't compile with kdehiddenvisibility. gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2007-01-07 22:21:43 UTC
confirmed w/ gcc-4.1.1-r3.  it requires -O3 to trigger.

dirtyepic@tycho ~/work $ g++ -S bug150242.i -O3
kxinewidget.cpp: In member function 'QTime KXineWidget::getLengthInfo()':
kxinewidget.cpp:3793: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccknJ1qW.out file, please attach this to your bugreport.

gcc version 4.1.2-pre20070105  (prerelease) (rev. 120520) works.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2007-01-07 22:41:10 UTC

*** This bug has been marked as a duplicate of bug 143168 ***