Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60453 - cube-20040522 fails to compile
Summary: cube-20040522 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-15 13:27 UTC by Thomas Schuetz
Modified: 2004-08-16 21:34 UTC (History)
1 user (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 Thomas Schuetz 2004-08-15 13:27:17 UTC
I tried to emerge the newest cube-version but it fails:

[...]
make[1]: Leaving directory `/var/tmp/portage/cube-20040522/work/cube/source/enet'
g++ -fpermissive -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I../enet/include `sdl-config --cflags`   -c -o clientextras.o clientextras.cpp
In Datei, eingef
Comment 1 Thomas Schuetz 2004-08-15 13:27:17 UTC
I tried to emerge the newest cube-version but it fails:

[...]
make[1]: Leaving directory `/var/tmp/portage/cube-20040522/work/cube/source/enet'
g++ -fpermissive -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I../enet/include `sdl-config --cflags`   -c -o clientextras.o clientextras.cpp
In Datei, eingefügt von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/new.h:33,
                    von tools.h:22,
                    von cube.h:3,
                    von clientextras.cpp:3:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2: Warnung: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In Datei, eingefügt von /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/new.h:33,
                    von tools.h:22,
                    von cube.h:3,
                    von client.cpp:3:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2: Warnung: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ../enet/include/enet/enet.h:22,
                 from cube.h:278,
                 from clientextras.cpp:3:
../enet/include/enet/unix.h:32: error: conflicting types for `typedef int
   socklen_t'
/usr/include/bits/socket.h:36: error: previous declaration as `typedef
   __socklen_t socklen_t'
In file included from ../enet/include/enet/enet.h:22,
                 from cube.h:278,
                 from client.cpp:3:
../enet/include/enet/unix.h:32: error: conflicting types for `typedef int
   socklen_t'
/usr/include/bits/socket.h:36: error: previous declaration as `typedef
   __socklen_t socklen_t'
make: *** [clientextras.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
make: *** [client.o] Fehler 1

!!! ERROR: games-fps/cube-20040522 failed.
!!! Function src_compile, Line 60, Exitcode 2
!!! emake failed

I could reproduce this on another client, both x86.

Reproducible: Always
Steps to Reproduce:
Comment 2 Sascha Silbe 2004-08-15 23:21:13 UTC
Same problem here.   Gentoo Base System version 1.4.16 Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26) ================================================================= System uname: 2.4.26 i686 AMD Athlon(tm) XP 1700+ distcc 2.13 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /usr/vice/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage" USE="3dnow X acl afs apm avi berkdb cdr crypt doc dvd dvdr encode foomaticdb gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imap imlib ipv6 j-noaim j-nomsn j-noyahoo jpeg krb4 lcms libg++ libwww linguas_en,de lvm1 mad maildir mbox mikmod mmx monitor mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib png postgres python qt qtmt quicktime readline samba sdl skey spell sse ssl tetex tiff truetype unicode x86 xml xml2 xv xvid zlib"   
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-08-16 03:09:46 UTC
Fixed the compile issue (at least for me).
Comment 4 SpanKY gentoo-dev 2004-08-16 21:34:42 UTC
yeah, the patch i committed was missing the hunk that fixed this ... i removed it to test it and the patch i added to cvs didnt have the hunk added back in