Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270299 - games-emulation/snes9express-1.42 fails to compile with gcc43
Summary: games-emulation/snes9express-1.42 fails to compile with gcc43
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2009-05-18 14:19 UTC by Mike Park
Modified: 2009-06-05 07:43 UTC (History)
0 users

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 Mike Park 2009-05-18 14:19:03 UTC
Shortly after successful configuration and during compilation, here's a snippet.
===================
++cut/paste++
===================
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c cpu.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c netplay.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c extra.cc
netplay.cc: In member function ‘virtual void s9x_NetPlay::SetToDefaults()’:
netplay.cc:52: warning: deprecated conversion from string constant to ‘char*’
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c prefs.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c misc.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c s9xskin.cc
prefs.cc: In member function ‘void s9x_Prefs::Apply()’:
prefs.cc:337: error: ‘PATH_MAX’ was not declared in this scopex86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -DS9XDATADIR=\"/usr/share/games/snes9express\"  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -march=k8 -O2 -fno-strict-aliasing -pipe -c skins.cc

prefs.cc:345: error: ‘RomDirEnv’ was not declared in this scope
prefs.cc:346: error: ‘SnapDirEnv’ was not declared in this scope
make: *** [prefs.o] Error 1
make: *** Waiting for unfinished jobs....
s9xskin.cc: In member function ‘void s9x_SkinWriter::scanStyleSheet()’:
s9xskin.cc:178: error: ‘PATH_MAX’ was not declared in this scope
s9xskin.cc:179: error: ‘oldpwd’ was not declared in this scope
s9xskin.cc: In member function ‘void s9x_SkinWriter::writeIndex()’:
s9xskin.cc:245: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
s9xskin.cc: In member function ‘void s9x_SkinWriter::writeFile(const std::string&)’:
s9xskin.cc:261: error: ‘PATH_MAX’ was not declared in this scope
s9xskin.cc:262: error: ‘oldpwd’ was not declared in this scope
s9xskin.cc:271: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
s9xskin.cc:286: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make: *** [s9xskin.o] Error 1
 *
 * ERROR: games-emulation/snes9express-1.42 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2560:  Called games_src_compile
 *             environment, line 1496:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed"
 *  The die message:
 *   emake 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-emulation/snes9express-1.42/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/snes9express-1.42/temp/environment'.

Reproducible: Always

Steps to Reproduce:
1.emerge snes9express
2.wait for compilation
3.loss???

Actual Results:  
called die, as shown in description field

Expected Results:  
should compile and install successfully

=====================================
++emerge info++
=====================================

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4-kitiara-stable x86_64)                    
=================================================================                                                                           
System uname: Linux-2.6.29-gentoo-r4-kitiara-stable-x86_64-AMD_Athlon-tm-_64_Processor_4000+-with-gentoo-2.0.0                              
Timestamp of tree: Sun, 17 May 2009 03:15:01 +0000                                                                                          
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                   
app-shells/bash:     4.0_p17-r1                                                                                                             
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fno-strict-aliasing -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.its.uidaho.edu/pub/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa amd64 apic audiofile bash-completion berkdb bzip2 cdinstall cdr clflush cli cmov cracklib crypt css cups cx8 dbm dbus djvu doc dri dts dv dvd dvdr encode exif faad2 fbcon ffmpeg firefox flaac flac fontconfig foomaticdb fortran fpu ftp fxsr fxsr_opt gdbm ggi gif glx gnutls gpm gstreamer hal icecast icecast2 iconv id3 ieee1394 imagemagick imlib ipv6 isdnlog jadetex jpeg kde lahf_lm lame libnotify libshout lm lm_sensors mad mca mce midi mikmod mmx mmxext mng mp3 msr mtrr mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nx ogg openal opengl openmp pae pam pat pcre pdf perl pge png pni ppds pppd pse pse36 python qt3 qt4 quicktime raw rdesktop readline reflection rep_good sasl sdl sep session shout shout2 spell spl sse sse2 ssl svg syscall sysfs syslog taglib tcpd tiff truetype tsc unicode usb vim-syntax vme vorbis wavpack webkit wmf x264 xcb xcomposite xft xml xorg xosd xpm xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Tupone Alfredo gentoo-dev 2009-06-05 07:43:35 UTC
A fix is in portage. Thanks for report