Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131689 - alephone-20051119 fails to compile w/ GCC 4.1
Summary: alephone-20051119 fails to compile w/ GCC 4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-29 08:49 UTC by Charlie Shepherd (RETIRED)
Modified: 2006-05-05 13:53 UTC (History)
1 user (show)

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


Attachments
gcc-4.1 patch (alephone-20051119-gcc41.patch,3.33 KB, patch)
2006-04-29 22:53 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Shepherd (RETIRED) gentoo-dev 2006-04-29 08:49:32 UTC
alephone-20051119 fails to compile with error:

>>> Emerging (1 of 1) games-fps/alephone-20051119 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
>>> Unpacking source...
>>> Unpacking AlephOne-20051119.tar.gz to /var/tmp/portage/alephone-20051119/wor
k
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/alephone-20051119/work/AlephOne-2005111
9 ...
 * econf: updating AlephOne-20051119/config.guess with /usr/share/gnuconfig/conf
ig.guess
 * econf: updating AlephOne-20051119/config.sub with /usr/share/gnuconfig/config
.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf
odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var
/lib --prefix=/usr/games --libdir=/usr/games/lib --datadir=/usr/share/games --sy
sconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --e
nable-opengl --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL_image.h usability... yes
checking SDL_image.h presence... yes
checking for SDL_image.h... yes
checking for IMG_Load in -lSDL_image... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking boost/bind.hpp usability... yes
checking boost/bind.hpp presence... yes
checking for boost/bind.hpp... yes
checking boost/function.hpp usability... yes
checking boost/function.hpp presence... yes
checking for boost/function.hpp... yes
checking SDL_sound.h usability... yes
checking SDL_sound.h presence... yes
checking for SDL_sound.h... yes
checking for Sound_Init in -lSDL_sound... yes
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking for lua_open in -llua... yes
checking for luaL_loadbuffer in -llualib... yes
checking speex.h usability... no
checking speex.h presence... no
checking for speex.h... no
checking for OpenGL support... yes
checking for gluScaleImage in -lGLU... yes
checking for GL/glext.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating AlephOne.spec
config.status: creating Source_Files/Makefile
config.status: creating Source_Files/CSeries/Makefile
config.status: creating Source_Files/Expat/Makefile
config.status: creating Source_Files/Files/Makefile
config.status: creating Source_Files/GameWorld/Makefile
config.status: creating Source_Files/Input/Makefile
config.status: creating Source_Files/Lua/Makefile
config.status: creating Source_Files/Misc/Makefile
config.status: creating Source_Files/ModelView/Makefile
config.status: creating Source_Files/Network/Makefile
config.status: creating Source_Files/Network/Metaserver/Makefile
config.status: creating Source_Files/Pfhortran/Makefile
config.status: creating Source_Files/RenderMain/Makefile
config.status: creating Source_Files/RenderOther/Makefile
config.status: creating Source_Files/Sound/Makefile
config.status: creating Source_Files/TCPMess/Makefile
config.status: creating Source_Files/XML/Makefile
config.status: creating tools/Makefile
config.status: creating data/Makefile
config.status: creating data/default_theme/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Configuration done. Now type "make".
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/alephone-20051119/work/AlephOne-20
051119'
Making all in Source_Files
make[2]: Entering directory `/var/tmp/portage/alephone-20051119/work/AlephOne-20
051119/Source_Files'
Making all in CSeries
make[3]: Entering directory `/var/tmp/portage/alephone-20051119/work/AlephOne-20
051119/Source_Files/CSeries'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../Source_Files/Files
 -I../../Source_Files/GameWorld -I../../Source_Files/Input -I../../Source_Files/
Misc -I../../Source_Files/ModelView -I../../Source_Files/Network -I../../Source_
Files/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther
 -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Networ
k/Metaserver -I../../Source_Files/TCPMess  -I/usr/include/SDL -D_REENTRANT -DSDL
 -I/usr/X11R6/include -L/usr/X11R6/lib  -march=i686 -O2 -fomit-frame-pointer -pi
pe -fvisibility-inlines-hidden -c -o byte_swapping.o byte_swapping.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../Source_Files/Files
 -I../../Source_Files/GameWorld -I../../Source_Files/Input -I../../Source_Files/
Misc -I../../Source_Files/ModelView -I../../Source_Files/Network -I../../Source_
Files/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther
 -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Networ
k/Metaserver -I../../Source_Files/TCPMess  -I/usr/include/SDL -D_REENTRANT -DSDL
 -I/usr/X11R6/include -L/usr/X11R6/lib  -march=i686 -O2 -fomit-frame-pointer -pi
pe -fvisibility-inlines-hidden -c -o csalerts_sdl.o csalerts_sdl.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../Source_Files/Files
 -I../../Source_Files/GameWorld -I../../Source_Files/Input -I../../Source_Files/
Misc -I../../Source_Files/ModelView -I../../Source_Files/Network -I../../Source_
Files/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther
 -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Networ
k/Metaserver -I../../Source_Files/TCPMess  -I/usr/include/SDL -D_REENTRANT -DSDL
 -I/usr/X11R6/include -L/usr/X11R6/lib  -march=i686 -O2 -fomit-frame-pointer -pi
pe -fvisibility-inlines-hidden -c -o cscluts_sdl.o cscluts_sdl.cpp
../../Source_Files/Misc/sdl_widgets.h:947: error: extra qualification 'SelectorW
idget::' on member 'SelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:958: error: extra qualification 'PopupSele
ctorWidget::' on member 'PopupSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:977: error: extra qualification 'SelectSel
ectorWidget::' on member 'SelectSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:999: error: extra qualification 'ColourSel
ectorWidget::' on member 'ColourSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:1031: error: extra qualification 'StaticTe
xtWidget::' on member 'StaticTextWidget'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../Source_Files/Files
 -I../../Source_Files/GameWorld -I../../Source_Files/Input -I../../Source_Files/
Misc -I../../Source_Files/ModelView -I../../Source_Files/Network -I../../Source_
Files/Pfhortran -I../../Source_Files/RenderMain -I../../Source_Files/RenderOther
 -I../../Source_Files/Sound -I../../Source_Files/XML -I../../Source_Files/Networ
k/Metaserver -I../../Source_Files/TCPMess  -I/usr/include/SDL -D_REENTRANT -DSDL
 -I/usr/X11R6/include -L/usr/X11R6/lib  -march=i686 -O2 -fomit-frame-pointer -pi
pe -fvisibility-inlines-hidden -c -o csdialogs_sdl.o csdialogs_sdl.cpp
make[3]: *** [csalerts_sdl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
csdialogs_sdl.cpp:416:2: warning: no newline at end of file
../../Source_Files/Misc/sdl_widgets.h:947: error: extra qualification 'SelectorW
idget::' on member 'SelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:958: error: extra qualification 'PopupSele
ctorWidget::' on member 'PopupSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:977: error: extra qualification 'SelectSel
ectorWidget::' on member 'SelectSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:999: error: extra qualification 'ColourSel
ectorWidget::' on member 'ColourSelectorWidget'
../../Source_Files/Misc/sdl_widgets.h:1031: error: extra qualification 'StaticTe
xtWidget::' on member 'StaticTextWidget'
make[3]: *** [csdialogs_sdl.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/alephone-20051119/work/AlephOne-200                                            51119/Source_Files/CSeries'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/alephone-20051119/work/AlephOne-200                                            51119/Source_Files'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/alephone-20051119/work/AlephOne-200                                            51119'
make: *** [all] Error 2

!!! ERROR: games-fps/alephone-20051119 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  alephone-20051119.ebuild, line 97:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel                                            evant.


emerge --info:

Portage 2.1_pre9-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-suspend2-r4 i686)
=================================================================
System uname: 2.6.16-suspend2-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3
dev-util/ccache:     2.4-r1
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, 2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LANG="en_GB"
LC_ALL="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip S3TC X X509 aac acl acpi activefilter aim alsa amd ansi apache2 aper apm arts asf asm asterisk audacious audiofile authdaemond avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts bittorrent blender-game bzip2 bzlib cap ccache cdda cddb cdinstall cdparanoia cdr cdrom cgi chroot cjk cli client codecs cpdflib cracklib crypt css cups curl curlwrappers dhcp dio directfb divx4linux djbfft dnd dri droproot dts dv dvd dvdr dvdread edl eds eep emboss encode erandom esd evo exif ext-png ext-zlib extensions fastcgi fbcon fbsplash ffmpeg firefox flash fluidsynth fmod foomaticdb foreign-package foreign-sysvinit fortran fpx freetype freewnn gb gcl gdbm geoip gif gimp gimpprint ginac glade glgd glitz glut gmp gmtfull gnuplot gpm graphviz gs gsl gstreamer gtk gtk2 gtkhtml hal hardenedphp hbci hdf iconv icq ide idl image imap imlib imlib2 innodb ipv6 irda irmc isdnlog j2ee jabber javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg jpeg2k jta jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex lcms leim libclamav libdsk libg++ libgd libgda libsamplerate libwww live lua lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb migemo mikmod mime mixer mjpeg mls mmap mng monkey motif mozcalendar mozdevelop mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi mplayer msn mule music mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses net netcdf network neural nis nls nowin nptl nptlonly ntlm nviz oav objc ocaml offensive ofx ogg openal opengl opie oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png portaudio postgresql povray ppds pppd pri print procmail pthreads python qt qt4 quicktime quotas quotes readline real reflection reiserfs resperl rhino rogue rplay sasl sdl servlet-2.3 servlet-2.4 session sftplogging shared sharedmem silc skk slp smime sndfile snortsam socks5 softquota sox spell spl ssl stencil-buffer stroke struts svg symlink sysvipc szip t1lib tcltk tcpd tcsim tga theora tidy tiff transcode truetype truetype-fonts type1-fonts udev uim unicode usb v4l v4l2 vcd vda videos virus-scan vorbis wddx wifi win32codecs winbind wmf wxwindows xanim xatrix xchatdccserver xchattext xemacs xface xgetdefault xine xml xmlreader xmlrpc xmlwriter xmms xorg xosd xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-04-29 22:53:24 UTC
Created attachment 85811 [details, diff]
gcc-4.1 patch

This should fix it.
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2006-04-30 00:31:03 UTC
Thanks, this fixes the problem.
Comment 3 Charlie Shepherd (RETIRED) gentoo-dev 2006-05-02 12:33:50 UTC
Marking as fixed
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-05-02 13:19:39 UTC
It isn't fixed.  The patch isn't committed yet.
Comment 5 Charlie Shepherd (RETIRED) gentoo-dev 2006-05-02 13:21:19 UTC
Don't you close the bug when the patch is commited?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-02 14:07:23 UTC
The bug gets closed once the patch goes into CVS along with an updated ebuild, and is done by the developer that does the commit.
Comment 7 Tupone Alfredo gentoo-dev 2006-05-05 13:53:55 UTC
Fixed in portage, thanks for report and patch