Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109476

Summary: lgeneral-1.2_beta6 fails main.c: 140: error: label at end of compound statement
Product: Gentoo Linux Reporter: Mike Bonar <mike.bonar>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: phajdan.jr
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: lgeneral-compile-fix.patch

Description Mike Bonar 2005-10-16 08:24:16 UTC
lgeneral-1.2_beta6 fails to emerge with the following errors: main.c: In 
function `eval_cmdline': 
main.c:174: warning: cast from pointer to integer of different size 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Gentoo Base System version 1.12.0_pre9 
Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-gentoo-r2 x86_64) 
================================================================= 
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+ 
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -march=k8 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=k8 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LANG="en_US.UTF-8" 
LC_ALL="en_US.UTF-8" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa amd64 arts avi berkdb bitmap-fonts bonobo cdparanoia cdr 
cpudetection crypt cups curl doc dvd dvdr dvdread eds emboss encode esd fam 
flac foomaticdb fortran gd gdbm gif gimp gimpprint gnome gnutls gphoto2 gpm 
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde 
ldap libedit libwww lzw lzw-tiff mad motif mozilla mp3 mpeg msn ncurses nls 
nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pdflib perl php pic png 
python qt quicktime readline real rtc scanner sdl speex spell ssl tcpd tiff 
truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vorbis xanim xine 
xml xml2 xmms xpm xscreensaver xv xvid zlib userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Mike Bonar 2005-10-16 08:25:37 UTC
Description should read main.c:140: error: label at end of compound statement. 
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-10-16 08:47:21 UTC
Created attachment 70794 [details, diff]
lgeneral-compile-fix.patch

This patch should fix the problem.
Comment 3 SpanKY gentoo-dev 2005-10-16 14:54:30 UTC
fixed in cvs, thanks for the bug/patch