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

Bug 106588

Summary: Unable to compile kdegames
Product: Gentoo Linux Reporter: John Lewin <johnlewin>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Lewin 2005-09-19 14:15:35 UTC
Follow-up to bug#106200 
 
Went to comp store checked ram & hardware all ok - this is a new install after getting new hard 
drive - base loaded minimal kde, cannot compile ANY programs 
 
~ # emerge --info 
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.1 
2-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(TM) XP 2500+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=athlon-xp -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share                                                                           /config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/                                                                           
mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/u/pub/unix/linux/gentoo http://gen                                                                           
too.arcticnetwork.ca/ http://adelie.polymtl.ca/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dri eds ema                                                                           
cs emboss encode fam foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2                                                                            
hal imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncu                                                                           
rses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readli                                                                           
ne sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb vorbis win32c                                                                           
odes xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY 
 
Tech at comp store suggested it may be a software problem here is the error mesg 
 
/bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  
-DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH 
-DFCS_STACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall -Wchar-subscripts -Wshadow 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -DNDEBUG -O2  -O2 -march=athlon-xp -pipe -Wformat-security 
-Wmissing-format-attribute -c -o preset.lo `test -f 'preset.c' || echo './'`preset.c 
/bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  
-DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH 
-DFCS_STACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall -Wchar-subscripts -Wshadow 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -DNDEBUG -O2  -O2 -march=athlon-xp -pipe -Wformat-security 
-Wmissing-format-attribute -c -o rand.lo `test -f 'rand.c' || echo './'`rand.c 
preset.c: In function `freecell_solver_apply_tests_order': 
preset.c:487: internal compiler error: Illegal instruction 
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/kdegames-3.4.1/temp/ccvGjIKd.out file, 
please attach this to your bugreport. 
make[3]: *** [preset.lo] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
rand.c:19: warning: declaration of `rand' shadows a global declaration 
/usr/include/stdlib.h:493: warning: shadowed declaration is here 
rand.c:25: warning: declaration of `rand' shadows a global declaration 
/usr/include/stdlib.h:493: warning: shadowed declaration is here 
rand.h:36: warning: `freecell_solver_rand_get_random_number' defined but not used 
make[3]: Leaving directory 
`/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/kpat/freecell-solver' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/kpat' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdegames-3.4.1 failed. 
!!! Function kde_src_compile, Line 170, Exitcode 2 
!!! died running emake, kde_src_compile:make 
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 14:22:02 UTC
shrug; you should probably change the computer store... 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-09-19 19:05:53 UTC
Is it reproduceable in the same place every time?

If you cannot compile ANY programs then it's most likely a hardware problem.
Comment 3 John Lewin 2005-09-19 19:44:34 UTC
(In reply to comment #2)
> Is it reproduceable in the same place every time?
> 
> If you cannot compile ANY programs then it's most likely a hardware problem.



This is the file compiled again;

/bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFI
G_H -I. -I. -I../..  -DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH -DFCS_S
TACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH -DQT_THREAD_SUPPORT  -D_REENTRANT
-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -
Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 -march=athlon
-xp -pipe -Wformat-security -Wmissing-format-attribute -c -o rand.lo `test -f 'r
and.c' || echo './'`rand.c
preset.c: In function `freecell_solver_apply_tests_order':
preset.c:487: internal compiler error: Illegal instruction
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/kdegames-3.4.1/temp/ccN7RVrc.ou
t file, please attach this to your bugreport.
make[3]: *** [preset.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
rand.c:19: warning: declaration of `rand' shadows a global declaration
/usr/include/stdlib.h:493: warning: shadowed declaration is here
rand.c:25: warning: declaration of `rand' shadows a global declaration
/usr/include/stdlib.h:493: warning: shadowed declaration is here
rand.h:36: warning: `freecell_solver_rand_get_random_number' defined but not use
                                                                          d
make[3]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/
                                                                         
kpat/freecell-solver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/
                                                                          kpat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1'
make: *** [all] Error 2

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

Looks the same as first time run don't think this is a hardware problem
Comment 4 Vlad Blanton 2005-10-01 14:48:03 UTC
(In reply to comment #3)
Strange, something must have gotten screwed up in the beginning. perhaps messed
up time settings? Try compiling the newer gcc 3.4.* (unstable) and see if the
problem still occurs/ where it occurs.
> (In reply to comment #2)
> > Is it reproduceable in the same place every time?
> > 
> > If you cannot compile ANY programs then it's most likely a hardware problem.
> 
> 
> 
> This is the file compiled again;
> 
> /bin/sh ../../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFI
> G_H -I. -I. -I../..  -DFCS_STATE_STORAGE=FCS_STATE_STORAGE_INTERNAL_HASH -DFCS_S
> TACK_STORAGE=FCS_STACK_STORAGE_INTERNAL_HASH -DQT_THREAD_SUPPORT  -D_REENTRANT
> -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -
> Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -O2 -march=athlon
> -xp -pipe -Wformat-security -Wmissing-format-attribute -c -o rand.lo `test -f 'r
> and.c' || echo './'`rand.c
> preset.c: In function `freecell_solver_apply_tests_order':
> preset.c:487: internal compiler error: Illegal instruction
> 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/kdegames-3.4.1/temp/ccN7RVrc.ou
> t file, please attach this to your bugreport.
> make[3]: *** [preset.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> rand.c:19: warning: declaration of `rand' shadows a global declaration
> /usr/include/stdlib.h:493: warning: shadowed declaration is here
> rand.c:25: warning: declaration of `rand' shadows a global declaration
> /usr/include/stdlib.h:493: warning: shadowed declaration is here
> rand.h:36: warning: `freecell_solver_rand_get_random_number' defined but not use
>                                                                           d
> make[3]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/
>                                                                          
> kpat/freecell-solver'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1/
>                                                                           kpat'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/kdegames-3.4.1/work/kdegames-3.4.1'
> make: *** [all] Error 2
> 
> !!! ERROR: kde-base/kdegames-3.4.1 failed.
> !!! Function kde_src_compile, Line 170, Exitcode 2
> !!! died running emake, kde_src_compile:make
> !!! If you need support, post the topmost build error, NOT this status message.
> 
> Looks the same as first time run don't think this is a hardware problem

Comment 5 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-11-27 09:21:20 UTC
No response on bug, it does appear to be compiler/hardware issue. Please reopen 
if this is still an issue. 
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-25 05:38:37 UTC
hardware issue