Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275043 - app-office/kword-2.0.0 fails to emerge with ccache enabled
Summary: app-office/kword-2.0.0 fails to emerge with ccache enabled
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 11:41 UTC by Marios Andreopoulos
Modified: 2009-06-27 12:29 UTC (History)
0 users

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 Marios Andreopoulos 2009-06-22 11:41:35 UTC
With the ccache feature enabled in make.conf (my usual setup) kword-2.0.0 fails to emerge. If I disable it the emerge completes without problems.

It isn't a big issue really, but I thought it is better to be documented somewhere, hence the report.

Reproducible: Always

Steps to Reproduce:
1. Enable ccache.
2. emerge =kword-2.0.0

Actual Results:  
>>> Source unpacked in /var/tmp/portage/app-office/kword-2.0.0/work                                                                                                                                              
>>> Preparing source in /var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0 ...                                                                                                                             
 * Injecting library dependencies from 'koffice-libs' ...                                                                                                                                                  [ ok ]
>>> Source prepared.                                                                                                                                                                                             
>>> Configuring source in /var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0 ...                                                                                                                           
>>> Working in BUILD_DIR: "/var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build"                                                                                                                       
loading initial cache file /var/tmp/portage/app-office/kword-2.0.0/temp/gentoo_common_config.cmake                                                                                                               
-- The C compiler identification is GNU                                                                                                                                                                          
-- The CXX compiler identification is GNU                                                                                                                                                                        
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc                                                                                                                                     
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- broken                                                                                                                           
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE):                                                                                                                                   
  The C compiler "/usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc" is not able to                                                                                                                                    
  compile a simple test program.                                                                                                                                                                                 

  It fails with the following output:

   Change Dir: /var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build/CMakeFiles/CMakeTmp

  

  Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"

  /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build                       

  gmake[1]: Entering directory
  `/var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build/CMakeFiles/CMakeTmp'


  /usr/bin/cmake -E cmake_progress_report
  /var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build/CMakeFiles/CMakeTmp/CMakeFiles
  1                                                                                            

  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o

  /usr/lib/ccache/bin/gcc -O2 -march=native -o
  CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c
  /var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build/CMakeFiles/CMakeTmp/testCCompiler.c


  Linking C executable cmTryCompileExec

  /usr/bin/cmake -E cmake_link_script
  CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1

  /usr/lib/ccache/bin/gcc -O2 -march=native -fPIC -Wl,-O1 -Wl,--sort-common
  -Wl,-s CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o              
  cmTryCompileExec -rdynamic                                               

  CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o: file not recognized:
  File truncated                                                         

  collect2: ld returned 1 exit status

  gmake[1]: Leaving directory
  `/var/tmp/portage/app-office/kword-2.0.0/work/kword-2.0.0_build/CMakeFiles/CMakeTmp'


  gmake[1]: *** [cmTryCompileExec] Error 1

  gmake: *** [cmTryCompileExec/fast] Error 2

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):                        
  CMakeLists.txt:2 (project)                                


-- Configuring incomplete, errors occurred!
 *                                         
 * ERROR: app-office/kword-2.0.0 failed.   
 * Call stack:                             
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3924:  Called kde4-meta_src_configure
 *             environment, line 3045:  Called kde4-base_src_configure
 *             environment, line 2769:  Called cmake-utils_src_configure
 *             environment, line 1058:  Called die                      
 * The specific snippet of code:                                        
 *       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";   
 *  The die message:                                                    
 *   cmake failed                                                       
 *                                                  


Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5-Miles x86_64)
=================================================================                                               
System uname: Linux-2.6.29-gentoo-r5-Miles-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1  
Timestamp of tree: Sun, 21 Jun 2009 23:00:01 +0000                                                              
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                       
ccache version 2.4 [disabled]                                                                                   
app-shells/bash:     4.0_p24                                                                                    
dev-java/java-config: 2.1.8-r1                                                                                  
dev-lang/python:     2.6.2-r1                                                                                   
dev-util/ccache:     2.4-r8                                                                                     
dev-util/cmake:      2.6.4                                                                                      
sys-apps/baselayout: 2.0.1                                                                                      
sys-apps/openrc:     0.4.3-r3                                                                                   
sys-apps/sandbox:    2.0                                                                                        
sys-devel/autoconf:  2.13, 2.63-r1                                                                              
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.2, 1.11                             
sys-devel/binutils:  2.19.1-r1                                                                                  
sys-devel/gcc-config: 1.4.1                                                                                     
sys-devel/libtool:   2.2.6a                                                                                     
virtual/os-headers:  2.6.29                                                                                     
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                  
CBUILD="x86_64-pc-linux-gnu"                                                                                    
CFLAGS="-O2 -march=native"                                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                     
CONFIG_PROTECT="/etc /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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                            
CXXFLAGS="-O2 -march=native"                                                                                                                                                                                     
DISTDIR="/DB/portage/distfiles"                                                                                                                                                                                  
FEATURES="candy distclean distlocks fixpackages parallel-fetch protect-owned sandbox sfperms unmerge-orphans"                                                                                                    
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                                                                            
LANG="en_US.UTF-8"                                                                                                                                                                                               
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-s"
LINGUAS="el gr en_GB en el en_US el_GR"
MAKEOPTS="-s -j4"
PKGDIR="/usr/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/DB/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal /usr/portage/local/layman/science /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl acpi ada addressbook aiglx akonadi alsa amd64 amr aom apache2 apm archive asf asterisk audiofile avahi avi bash-completion beagle berkdb bittorrent-external bluetooth bonjour boost branding browserplugin bzip2 cairo calendar canvas captury cdaudio cdda cddb cdparanoia cdr cjk cleartype cli commercial consolekit cracklib crypt css cups dbox2 dbus designer-plugin dga dio dirac divx4linux djconsole djvu dlloader dri dts dv dvd dvdr dvdread editor eds emboss encode esd ethereal evo exif exiv2 exscalibar fam fat fbcon festival ffmpeg firefox fits flac flash fontconfig foomatic-db fortran freetype ftp fuse gcj gd gdbm geolocation gif gimp gimpprint glib glitz glut gnokii gnutls google-gadgets gphoto2 gpm gps gsm gtk gtk2 hal hfs hifieq htmlhandbook hwmixer iconv icu id3 id3tag ieee1394 imagemagick imlib ipod ipv6 irda isdnlog jack java java6 javascript jdbc jfs jikes jingle joystick jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kdgraphics kerberos kexi kig-scripting kipi kontact kpathsea ktts ladspa lame laptop lcd lcms ldap lensfun libass libnotify libsamplerate live livecd lm_sensors logrotate loop-aes mad marble matroska mbox mbrola meanwhile memlimit messenger mhash midi mikmod mime ming mmx mmxext modplug mono moonlight mozilla moznocompose moznoirc moznomail mozsvg mp3 mp3rtp mp3tunes mp4 mpeg mpeg2 mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nas ncurses nepomuk netpbm network networkmanager nfs nls nntp nocd nova nptl nptlonly nsplugin ntfs nvidia obex odbc offensive ogg oggvorbis ogm on-the-fly-crypt openexr opengl openmp oscar otr pam pam_chroot pam_timestamp pch pcmcia pcre pda pdf pdflib perforce perl php plasma plotutils png policykit portaudio posix povray ppds pppd prelude pulseaudio pwdb python qq qt qt3 qt3support qt4 quicktime rdesktop readline recode recording reflection reiser4 reiserfs remote rrdtool rss rtsp ruby samba sasl sbig scanner sdl semantic-desktop session shout skins slp smp sms smtp sndfile snmp sockets socks5 solver soundtouch sox speedo speex spell spl sql sqlite srt sse sse2 ssl ssse3 startup-notification stats stream svg sysfs tcpd test testbed theora threads thumbnail tidy tiff timidity tools truetype tunepimp udev unichrome unicode upnp usb v4l v4l2 vcd vdpau vhosts visualization vlm vnc vorbis webinterface webkit wifi wlm wma wxwindows x264 xattr xcomposite xfs xine xinerama xlib xml xml2 xorg xprint xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="el gr en_GB en el en_US el_GR" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="intel fbdev v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marios Andreopoulos 2009-06-24 01:16:51 UTC
Since it kept bugging me, I cleared completely the directory of ccache and somehow kword emerged fine with ccache enabled. I re-emerged it just in case and it still compiled fine.

What can I say? Computers! :-[

Please mark the bug as invalid and sorry for the false alarm.
Comment 2 Daniel Pielmeier gentoo-dev 2009-06-27 12:29:41 UTC
Btw, you should be able to close the bugs you opened yourself.