Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156626 - media-sound/amarok-1.4.4{,-r1} fail to compile w/ ccache
Summary: media-sound/amarok-1.4.4{,-r1} fail to compile w/ ccache
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 08:36 UTC by Samir M. Nassar
Modified: 2006-12-22 16:25 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samir M. Nassar 2006-11-29 08:36:54 UTC
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_QT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libamarok.la -rpath /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    -L/usr/kde/3.5/lib -R /usr/lib -R /u/usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib actionclasses.lo app.lo atomicstring.lo atomicurl.lo browserbar.lo clicklineedit.lo collectionbrowser.lo collectiondb.lo columnlist.lo conxtbrowser.lo coverfetcher.lo covermanager.lo cuefile.lo deletedialog.lo deviceconfiguredialog.lo devicemanager.lo directorylist.lo dynamicmode.lo enginebase.lo enginecontroller.lo engilizergraph.lo equalizerpresetmanager.lo equalizersetup.lo expression.lo fht.lo filebrowser.lo hintlineedit.lo htmlview.lo iconloader.lo k3bexporter.lo kbookmarkhandler.lo ktrm.lo lastflo mediadevicemanager.lo medium.lo mediumpluginmanager.lo metabundle.lo metabundlesaver.lo moodbar.lo mountpointmanager.lo multitabbar.lo mydiroperator.lo osd.lo pixmapviewer.lo player.lo playlistbrowser.lo playlistbrowseritem.lo playlistitem.lo playlistloader.lo playlistselection.lo playlistwindow.lo pluginmanager.lo podcastsettings.lo prettypopupmenu.lo queuemanags.lo scancontroller.lo scriptmanager.lo scrobbler.lo sliderwidget.lo smartplaylisteditor.lo socketserver.lo statistics.lo systray.lo tagdialog.lo tagguesser.lo threadweaver.lo tooltip.og.lo tracktooltip.lo transferdialog.lo xmlloader.lo xspfplaylist.lo Options1.lo Options2.lo Options4.lo Options5.lo Options7.lo Options8.lo dbsetup.lo deletedialogbase.lo firstrunwizao organizecollectiondialog.lo podcastsettingsbase.lo scriptmanagerbase.lo tagdialogbase.lo tagguesserconfigdialog.lo trackpickerdialogbase.lo ../../amarok/src/amarokcore/libamarokcore.c/analyzers/libanalyzers.la ../../amarok/src/plugin/libplugin.la ../../amarok/src/statusbar/libstatusbar.la ../../amarok/src/metadata/libmetadata.la ../../amarok/src/magnatunebrowser/l.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -lknewstuff -L/usr/lib -ltag   ../../amarok/src/sqlite/libsqlite.la
.libs/enginecontroller.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[4]: *** [libamarok.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r1/work/amarok-1.4.4/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r1/work/amarok-1.4.4/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r1/work/amarok-1.4.4/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.4.4-r1/work/amarok-1.4.4'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  amarok-1.4.4-r1.ebuild, line 79:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   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 follows:

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1/vanilla, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 29 Nov 2006 15:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
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.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo"
LANG="en_US"
LC_ALL="en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage/refugee"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dlloader dri dv dvd dvdread eds elibc_glibc emboss encode exif ffmpeg flac gdbm gif gpm gs gstreamer hal iconv ieee1394 imagemagick input_devices_keyboard input_devices_mouse input_devices_ps2mouse ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lcms libg++ lm_sensors logitech-mouse mad mikmod mmx mp3 mpeg ncurses network nls nptl nptlonly ogg openal openexr opengl pam pcre perl png python qt3 quicktime readline reflection sdl session sndfile spell sse ssl tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utempter vcd video_cards_radeon vorbis wmf xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-29 08:39:23 UTC
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-29 08:51:25 UTC
Try without ccache.
Comment 3 Samir M. Nassar 2006-11-29 09:20:46 UTC
Apologies for the bug severity. I'll be more careful in the future.

Disabling ccache did the trick. Did ccache cache some bogus stuff? If so can the bug be closed?
Comment 4 Samir M. Nassar 2006-11-29 10:13:14 UTC
Ok, ccache seems to be the problem. After running 'ccache -C' and emerging amarok I get the same problem. So if there was something funky in the cache that ought to have cleared it. Still, amarok fails to compile when ccache is enabled. I am compiling amarok again after running 'ccache -C' for the second time it failed to compile again with the same error as intially reported.

So far amarok compiles when compiled without ccache active but fails when ccache is active.

How would you like me to proceed?
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2006-12-19 15:23:27 UTC
Did you clear portage's ccache?
Comment 6 Lisa Seelye (RETIRED) gentoo-dev 2006-12-19 15:36:56 UTC
Also, what USE flags are you using for compilation? Please post emerge amarok -pv
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-19 15:42:03 UTC
No problem here:

[ebuild   R   ] media-sound/amarok-1.4.4-r2  USE="aac kde musicbrainz opengl visualization -arts -debug -ifp -ipod -mtp -mysql -njb -noamazon -postgres -real -xinerama" LINGUAS="cs -af -ar -az -bg -br -ca -cy -da -de -el -en_GB -es -et -fi -fr -ga -gl -he -hi -hu -is -it -ja -ka -km -ko -lt -ms -nb -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -sk -sl -sq -sr -sr@Latn -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW" 0 kB                                 

gehinom ~ # emerge --info
Portage 2.1.2_rc3-r6 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.19-gentoo-r2-perfctr i686)
=================================================================
System uname: 2.6.19-gentoo-r2-perfctr i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.7
Last Sync: Unknown
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks parallel-fetch sandbox sfperms strict stricter userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.upc.cz/mirrors/gentoo-mirror  ftp://ftp.sh.cvut.cz/MIRRORS/gentoo     http://gentoo.osuosl.org"
LANG="en_US.utf8"
LINGUAS="en cs"
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"
PORTDIR_OVERLAY="/usr/portage/local/java-experimental /usr/portage/local/java-migrated /usr/portage/local/java-ant /usr/portage/local/caster"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X aac alsa amr apache2 apm audiofile bash-completion berkdb bitmap-fonts bluetooth branding bzip2 caps cdr cjk cli cracklib crypt cups curl dbus dlloader dri dts dvd dvdr elibc_glibc emboss encode fam ffmpeg fftw firefox flac foomaticdb fortran gdbm ggi gif gmp gpm gstreamer gtk gtk2 hal iconv icq idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kdeenablefinal kernel_linux kipi lcms libg++ libnotify libwww linguas_cs linguas_en lm_sensors lua lzo mad maildir matroska mbox mikmod mmx mmxext motif mozcalendar mozdevelop moznoirc mozsvg mp3 mpeg mplayer musicbrainz ncurses nls nptl nsplugin nvidia ogg openal opengl oscar pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection rtc sdl seamonkey session slang sockets speex spell spl sqlite sse sse2 ssl svg tcl tcltk tcpd threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis webdav win32codecs xcomposite xine xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Were you clearing the right ccache dir? (your env's CCACHE_DIR needs to be same as the one in make.conf).
Comment 8 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-19 15:52:51 UTC
Works for me:

[ebuild   R   ] media-sound/amarok-1.4.4-r2  USE="aac arts ipod kde mysql opengl real -debug -ifp -mtp -musicbrainz -njb -noamazon -postgres visualization -xinerama"

Portage 2.1.2_rc3-r6 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-rc4-viper i686)
=================================================================
System uname: 2.6.18-rc4-viper i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.6
Last Sync: Unknown
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.18
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d/ /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /usr/share/X11/xkb"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -Wall"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="autoconfig cached-virtuals candy ccache collision-protect confcache cvs distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict stricter userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
LINGUAS="en en_GB"
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"
PORTDIR_OVERLAY="/usr/local/portage /home/chaza/devship/overlay /home/chaza/genstef /home/chaza/sunrise/sunrise /home/chaza/user_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X aac acl acpi alsa amd amuled ansi apache2 arts asf audacious bash-completion bzip2 cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot ck-plus cracklib crypt css cups curl curlwrappers dbus dhcp dillo dio directfb djbfft dnd dri dv dvdread edl elibc_glibc encode erandom exif ext-png ext-zlib extensions fastcgi fbcon fbsplash ffmpeg firefox flash fortify fortran fpx fuse geoip gif gimp gimpprint glibc-omitfp glitz glut gnuplot gpm graphviz gs gsl gtk gtk2 hal hardenedphp iconv image imap imlib innodb input_devices_joystick input_devices_keyboard input_devices_mouse ipod ipv6 irda irmc j2ee jabber javacomm javamail javascript jbig jboss jce jms jmx joystick jpeg jpeg2k jta jython kakasi kde kdehiddenvisibility kdenewldflags kdexdeltas kerberos kernel_linux kqemu krb4 lapack latex lcms leim libclamav libdsk libgd libgda libsamplerate libwww linguas_en linguas_en_GB live lua lzo lzw m17n-lib mad maildir matroska mbox migemo mime mixer mjpeg mmap mmx mmxext mono mozcalendar mozdevelop mozsvg mozxmlterm mp3 mpeg mpi mplayer msn mule multislot music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netcdf network neural nis nls no-old-linux nomalloccheck nowin nptl nptlonly ntlm ntpl oav objc ocaml offensive ogg oggvorbis openal opengl oscar ospfapi pam parse-clocks pcap pcntl pcre pdf perl pertty pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio povray ppds pri print procmail python qa qt3 quicktime quotas quotes readline real reiser4 reiserfs risky rogue rplay ruby sdl seamonkey semanticfix session sftplogging shared sharedmem slp smime sndfile snortsam socks5 sox sse sse-filters sse2 ssl suspend2 svg svga symlink sysvipc szip tcltk tcpd tga theora threads tidy tk transcode truetype uim unicode usb userland_GNU v4l v4l2 vcd vda video_cards_i810 videos virus-scan vorbis wddx webdav wifi win32codecs winbind wma wmf wxwindows xanim xchatdccserver xchattext xcomposite xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Unset:  CTARGET, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Lisa Seelye (RETIRED) gentoo-dev 2006-12-22 13:19:22 UTC
to original poster: please supply info requested in comment 6 and reopen.
Comment 10 Samir M. Nassar 2006-12-22 15:08:41 UTC
Response to http://bugs.gentoo.org/show_bug.cgi?id=156626#c6

USE="kde musicbrainz -aac -arts -debug -ifp -ipod -mtp -mysql -njb -noamazon
-opengl -postgres -real -visualization -xinerama"

Also, per http://bugs.gentoo.org/show_bug.cgi?id=156626#c4 I already tried clearing the cache for ccache.

Lastly, I emerged amarok-1.4.4-r3 and it worked with ccache enabled. Weird. Will re-emerge and give more info.
Comment 11 Samir M. Nassar 2006-12-22 16:25:54 UTC
OK, as of -r3 amarok compiles with or without ccache enabled. Beats me what made the difference.

Should I go ahead and close the bugs or should I revert to -r1 or -r2 for further sleuthing?