Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
games-arcade/supertux-0.3.1 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
greggel
n00b
n00b


Joined: 14 Nov 2004
Posts: 40
Location: Bonn/Germany

PostPosted: Sat Jan 02, 2010 9:19 pm    Post subject: games-arcade/supertux-0.3.1 failed Reply with quote

When I try to emerge games-arcade/supertux-0.3.1, i get errors like
Quote:
C++ ./build/i686-pc-linux-gnu/optimize/src/object/unstable_tile.o
In file included from ./src/log.hpp:27,
from ./src/video/color.hpp:26,
from ./src/sprite/sprite.hpp:30,
from ./src/object/moving_sprite.hpp:26,
from src/object/unstable_tile.hpp:25,
from src/object/unstable_tile.cpp:24:
./src/console.hpp:93: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
./src/console.hpp:93: error: invalid use of ‘::’
./src/console.hpp:93: error: expected ‘;’ before ‘<’ token
./src/console.hpp:94: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type
./src/console.hpp:94: error: invalid use of ‘::’
./src/console.hpp:94: error: expected ‘;’ before ‘<’ token
./src/console.hpp:104: error: ISO C++ forbids declaration of ‘auto_ptr’ with no type


at the end:

Quote:

...skipped supertux2 for lack of <T!src!>resources.o...
XGetText data/locale/messages.pot
...failed updating 104 target(s)...
...skipped 1 target(s)...
...updated 130 target(s)...
*
* ERROR: games-arcade/supertux-0.3.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2585: Called die
* The specific snippet of code:
* jam || die "jam failed"
* The die message:
* jam failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/games-arcade/supertux-0.3.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-arcade/supertux-0.3.1/temp/environment'.
*



It doesn't matter if i use the portage ebuild or zugaina-overlay.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6065
Location: Removed by Neddy

PostPosted: Sat Jan 02, 2010 11:17 pm    Post subject: Reply with quote

What gcc are you using? because it compiles fine here
You may have to rebuild your toolchain
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
greggel
n00b
n00b


Joined: 14 Nov 2004
Posts: 40
Location: Bonn/Germany

PostPosted: Sun Jan 03, 2010 2:28 am    Post subject: Reply with quote

Thank you for your suggestion, but after "emerge binutils glibc linux-headers gdb" the issue is still there.

Here are some informations:
Quote:

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-arch=i686 --enable-languages=c,c++,java,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.4 p1.0, pie-10.1.5'
Thread model: posix
gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)

Quote:

# uname -a
Linux segfault 2.6.31-gentoo-r6 #7 SMP PREEMPT Sun Dec 6 17:03:49 CET 2009 i686 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz GenuineIntel GNU/Linux

and at least:
Quote:

# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 01 Jan 2010 14:30:23 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python: 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de en_US en_GB de_DE"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pro-audio /usr/local/portage/layman/zugaina /usr/local/portage/layman/roslin /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa aspell bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus divx dmx dri dssi dts dvb dvd dvdr emboss encode evo exif ffmpeg fftw firefox firefox3 flac fortran fst gdbm gif gmedia gpm hal iconv jack jack-tmpfs jackmidi jpeg kde ladspa lcms libsamplerate mad matroska midi mikmod mmx mmxext mng modules mozilla mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp osc pam pcre pdf perl phonon plasma png postscript ppds pppd python qt3support qt4 quicktime readline realmedia reflection session shm smp sndfile spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thumbnail thunar tiff truetype unicode usb v4l v4l2 vorbis webkit win32codecs wma wmf wmp x264 x86 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zlib zvbi" ALSA_CARDS="emu1212 emu10k1 hda-intel via82xx mpu401 usb-audio oxygen" 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" APACHE2_MPMS="peruser" CAMERAS="mars spca50x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_US en_GB de_DE" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l v4l2"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6065
Location: Removed by Neddy

PostPosted: Sun Jan 03, 2010 11:23 am    Post subject: Reply with quote

you seem to have a PIE enabled GCC, I wonder if that is what is causing the issue
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
greggel
n00b
n00b


Joined: 14 Nov 2004
Posts: 40
Location: Bonn/Germany

PostPosted: Mon Jan 18, 2010 12:19 am    Post subject: Reply with quote

After crawling through the for a while finding no sollution, i've successfully compiled supertux from svn (rev. 6254).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum