Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 16903
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bernardo S. A. Silva <bernardos@superig.com.br>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cannonsmash-0.6.5-r1.ebuild cannonsmash-0.6.5-r1.ebuild application/octet-stream Bernardo S. A. Silva 2003-03-05 11:01 0000 924 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16903 depends on: Show dependency tree
Bug 16903 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-05 11:00 0000
Hi,

 The cannonsmash, in some comfigurations, make an error while compiling. The
problem is, this error occur a lot but it is not reproduceable. 
 But, it occurs in my Gentoo. So, I decide to make an ebuild that works on both.
 This ebuild works pretty well on any Gentoo I have been tested...

   Thanx, Bernardo S. A. Silva

Reproducible: Sometimes
Steps to Reproduce:
1. emerge cannonsmash
2. wait
3. been disappointed

Actual Results:  
loadparts.cpp: In static member function `static bool parts::load_anim(int, 
   anim_parts*, int, const char**, int*)':
loadparts.cpp:433: cannot pass objects of non-POD type `struct 
   std::basic_string<char, std::char_traits<char>, std::allocator<char> >' 
   through `...'
loadparts.cpp: In member function `void polyhedron_parts::render() const':
loadparts.cpp:582: warning: unused variable `float NanTheBLACK[4]'
loadparts.cpp:583: warning: unused variable `float ManOfVirtue[4]'
make[2]: ** [loadparts.o] Erro 1
make[2]: Leaving directory `/var/tmp/portage/cannonsmash-0.6.5/work/csmash-0.6.5'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/var/tmp/portage/cannonsmash-0.6.5/work/csmash-0.6.5'
make: ** [all-recursive-am] Erro 2

!!! ERROR: app-games/cannonsmash-0.6.5 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)

------- Comment #1 From Bernardo S. A. Silva 2003-03-05 11:01:04 0000 -------
Created an attachment (id=8988) [details]
cannonsmash-0.6.5-r1.ebuild

Only added the sed line...

------- Comment #2 From Bernardo S. A. Silva 2003-03-05 11:02:09 0000 -------
The fix is very simple. Only added the sed line to rip of the "printf" debug
message bugged...

------- Comment #3 From SpanKY 2003-03-05 13:10:06 0000 -------
please post `emerge info` ...
i didnt add the fix because i was unable to reproduce it and i wanted to open a
new report where i could gather more information about the problem

------- Comment #4 From Bernardo S. A. Silva 2003-03-09 12:23:17 0000 -------
Hi,

emerge info:

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) XP 1700+
GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi crypt cups encode gif jpeg libg++ mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts tetex aalib svga tcltk mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif mozilla cdr -kde -gnome java 3dnow mmx sse opengl dvd alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse -fomit-frame-pointer"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

And this bug is quite reproduceable with this options (my friend has an machine identical and installs gentoo).

   Thanx, Bernardo S. A. Silva

------- Comment #5 From SpanKY 2003-03-09 20:42:06 0000 -------
ok, added patch to cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug