Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74241 - kdegames-3.3.2 failes to emerge (scoredlg.o: file not recognized: File format not recognized)
Summary: kdegames-3.3.2 failes to emerge (scoredlg.o: file not recognized: File format...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-12 15:33 UTC by Michael Postmann
Modified: 2004-12-16 10:34 UTC (History)
0 users

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


Attachments
emerge log for kdegames-3.3.2 (3090-kdegames-3.3.2.log,255.04 KB, text/plain)
2004-12-12 15:34 UTC, Michael Postmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Postmann 2004-12-12 15:33:12 UTC
Emerge failes with 

if test "$ret" = 0; then echo '#include "newGameDlg_ui.moc"' >> newGameDlg_ui.cc; else rm -f newGameDlg_ui.cc ; exit $ret ; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdegames -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -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 newGameDlg_ui.o newGameDlg_ui.cc
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o konquest -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/X11R6/lib Konquest.o gameboard.o gamecore.o int_validator.o mainwin.o map_widget.o minimap.o newgamedlg.o planet_info.o gameenddlg.o scoredlg.o fleetdlg.o newGameDlg_ui.o ../libkdegames/libkdegames.la 
scoredlg.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [konquest] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdegames-3.3.2/work/kdegames-3.3.2/konquest'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegames-3.3.2/work/kdegames-3.3.2/konquest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegames-3.3.2/work/kdegames-3.3.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegames-3.3.2 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. unmask all kde 3.3.2 packages in /etc/portage/package.keywords or use ACCEPT_KEYWORDS
2. emerge kdegames


Actual Results:  
When trying to emerge I get the following error message:
[see attached emerge-log]

Expected Results:  
should compile and install normaly

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 
2.6.7-gentoo-r7 i686)
=================================================================
System uname: 2.6.7-gentoo-r7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/
config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/
env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi adns afs alsa apache2 apm arts avi berkdb bitmap-
fonts bonobo cdr crypt cups curl dga directfb doc dvd encode esd evo f77 fam 
fbcon firebird flac flash foomaticdb fortran freetds gb gd gdbm ggi gif gnome 
gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib informix ipv6 java 
joystick jpeg junit kde kerberos ldap libg++ libgda libwww lirc mad mbox mikmod 
mmx motif mozilla mpeg mysql nas ncurses nls oci8 odbc oggvorbis opengl oss pam 
pdflib perl png postgres ppds python qt quicktime readline ruby samba sasl 
scanner sdl slang slp snmp socks5 speex spell sqlite sse ssl svga tcltk tcpd 
tetex tiff truetype unicode usb videos wmf wxwindows x86 xinerama xml xml2 xmms 
xosd xv zlib"
Comment 1 Michael Postmann 2004-12-12 15:34:50 UTC
Created attachment 45868 [details]
emerge log for kdegames-3.3.2
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2004-12-12 15:45:46 UTC
> scoredlg.o: file not recognized: File format not recognized

usually this means a file corruption caused by various problems.
Please try disabling ccache (add "-ccache" to FEATURES in make.conf), remove your /var/tmp/portage and try again.
Let us know if this works.
Comment 3 Michael Postmann 2004-12-15 14:54:05 UTC
ccache is not enabled in my make.conf (I don't think it's enabled by default, is it?)
I tried to delete all content's of /var/tmp/portage which resulted in "could not delte blah: directory not empty" and "could not delete blah: file not found" errors.
So I booted a livcd and checked everyting with fschk.
Now my partition (xfs) is clean and I deleted all the contents of /var/tmp/portage.

But I still get this error.

Any Ideas or suggestions on how to resolve this? Do you need additional Information?
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2004-12-15 15:06:13 UTC
you have ccache enabled as look from your emerge info output. It's enabled by default (look at /etc/make.globals) 
To disable it do like I saied in the previous comment. Put "-ccache" in the FEATURES line in you make.conf 

(to remove /var/tmp/portage you have only to be root and give a simple "rm -r /var/tmp/portage)
Comment 5 Michael Postmann 2004-12-15 23:59:06 UTC
ok
I will try to disable it.

However I was not able to delete the contents of /var/tmp/portage because of a filesystem error...
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-12-16 04:28:47 UTC
then you have a problem...
Comment 7 Michael Postmann 2004-12-16 07:38:18 UTC
Has been ccache....deleted whole ccache and turned off feature in make.conf.
Compiled fine...

thx
Comment 8 Simone Gotti (RETIRED) gentoo-dev 2004-12-16 10:33:50 UTC
Reopening to fix as invalid because not related to kde.
Comment 9 Simone Gotti (RETIRED) gentoo-dev 2004-12-16 10:34:29 UTC
...