Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65450 - tuxnes-0.75.ebuild fails to compile w/gcc 3.4.2 (new ebuild + patch attached)
Summary: tuxnes-0.75.ebuild fails to compile w/gcc 3.4.2 (new ebuild + patch attached)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 13:50 UTC by Thomas Cort (RETIRED)
Modified: 2004-09-27 08:08 UTC (History)
0 users

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


Attachments
tuxnes-0.75-r1.ebuild (tuxnes-0.75-r1.ebuild,1.12 KB, patch)
2004-09-26 13:51 UTC, Thomas Cort (RETIRED)
Details | Diff
files/perror_fix-tuxnes-0.75.diff (perror_fix-tuxnes-0.75.diff,1.04 KB, patch)
2004-09-26 13:52 UTC, Thomas Cort (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2004-09-26 13:50:30 UTC
When I try to "# emerge tuxnes", I get errors about a few lines in emu.c. The lines are of the form "perror(__FUNCTION__ ": malloc");"; which doesn't compile with gcc 3.4.2. 

Reproducible: Always
Steps to Reproduce:
1. emerge tuxnes
Actual Results:  
emu.c: In function `loadpal':
emu.c:893: error: parse error before string constant
emu.c:915: error: parse error before string constant
emu.c:927: error: parse error before string constant
emu.c: In function `main':
emu.c:1605: error: parse error before string constant
make: *** [emu.o] Error 1
make: *** Waiting for unfinished jobs....


Expected Results:  
It should have built cleanly

"emerge info":

Gentoo Base System version 1.5.3
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.8-ck8 i686)
=================================================================
System uname: 2.6.8-ck8 i686 Intel(R) Celeron(R) CPU 2.70GHz
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca:2121/pub/gentoo
ftp://cs.ubishops.ca/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X aim alsa apm arts audiofile avi berkdb bitmap-fonts bzlib calendar
cdinstall cdr cdrom chroot cpdflib crypt cups dba
directfb divx4linux dv dvdread encode esd f77 faac faad fbcon fbdev ffmpeg flac
flash foomaticdb ftp gcj gcl gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml i8x0
imlib jabber java javascript jikes jpeg kde libdsk libg++ libwww lzw-tiff mad
md5sum mhash mikmod motif mozaccess mozcalendar mozctl mozdomi mozilla
moznocompose moznoirc moznomail mpeg mpeg4 mplayer msn music mysql nas native
ncurses net nethack nls nocd noexperimental nojoystick nomac noreiserfs ntlm oav
offensive oggvorbis opengl
oscar oss pam pdflib perl php png posix postgres pthreads python qt quicktime
readline sdl slang sndfile snmp sockets spell
ssl svga tcltk tcpd tetex threads truetype usb vanilla x86 xml xml2 xmms xprint
xv xvid yahoo zlib"

---------

I will attach a patch, "files/perror_fix-tuxnes-0.75.diff", and a new ebuild,
"tuxnes-0.75-r1.ebuild". I've tested them both and they work as expected.
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2004-09-26 13:51:48 UTC
Created attachment 40476 [details, diff]
tuxnes-0.75-r1.ebuild

I put it in ~x86, feel free to change it to x86
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2004-09-26 13:52:53 UTC
Created attachment 40477 [details, diff]
files/perror_fix-tuxnes-0.75.diff

Fixes the compile errors in tuxnes-0.75.tar.gz
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-27 08:08:33 UTC
Fixed in CVS, thanks