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

Bug 188235

Summary: games-sports/ultimatestunt-0.7.2 failes to compile
Product: Gentoo Linux Reporter: Geert Vanhaute <geevh>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The complete build log

Description Geert Vanhaute 2007-08-09 14:11:58 UTC
doesn't compile on ~amd64
build log included

Reproducible: Always

Steps to Reproduce:
MAKEOPTS="V=yes" LC_ALL=C emerge ultimatestunts



Actual Results:  
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../intl -I../shared     -finput-charset=ISO-8859-1 -fexec-charset=ISO-8859-1 -Wall -march=nocona -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o metaserver.o metaserver.cpp
metaserver.cpp: In member function 'bool CMetaServer::httpPost(const CString&, const CString&)':
metaserver.cpp:195: error: conversion from 'size_t' to 'const CString' is ambiguous
../shared/cstring.h:58: note: candidates are: CString::CString(float)
../shared/cstring.h:57: note:                 CString::CString(unsigned int)
../shared/cstring.h:56: note:                 CString::CString(int)
../shared/cstring.h:55: note:                 CString::CString(bool)
../shared/cstring.h:36: note:                 CString::CString(const char*) <near match>
metaserver.cpp: In member function 'CString CMetaServer::readStr(unsigned int)':
metaserver.cpp:477: warning: the address of 'buffer' will always evaluate as 'true'
make[2]: *** [metaserver.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-sports/ultimatestunts-0.7.2/work/ultimatestunts-srcdata-0721/simulation'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-sports/ultimatestunts-0.7.2/work/ultimatestunts-srcdata-0721'
make: *** [all] Error 2



# emerge --info
Portage 2.1.3.3 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-kamikaze1 x86_64)
=================================================================
System uname: 2.6.22-kamikaze1 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 09 Aug 2007 11:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="nl_BE@euro"
LC_ALL="nl_BE@euro"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels /usr/portage/local/layman/berkano /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bitmap-fonts bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus directfb dts dvd dvdnav dvdr dvdread eds emboss emerald encode esd evo evolution exif extrafilters fam fbcon ffmpeg fftw firefox flac fontconfig fortran gdbm gif gimp glitz gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv imap imlib irmc isdnlog java javascript jbig jpeg jpeg2k libnotify libsexy lm_sensors logrotate mad midi mikmod mmkeys mmx mmxext mp2 mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg old-daemons opengl openmp oss pam paste64 pcre pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp sdl sdl-image sensord session skins smp sms spell spl srt sse sse2 ssl streamripper subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff totem tracker trayicon truetype truetype-fonts type1-fonts unicode upnp usb userlocales vorbis winbind wma wmf wmp x264 xcb xcomposite xml xorg xosd xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="directory lg_gsm" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Geert Vanhaute 2007-08-09 14:12:57 UTC
Created attachment 127363 [details]
The complete build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 14:20:44 UTC

*** This bug has been marked as a duplicate of bug 188234 ***