Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52022 - New version of cube has been released (20040522)
Summary: New version of cube has been released (20040522)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.cubeengine.com/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 09:41 UTC by Markus Rothe (RETIRED)
Modified: 2004-08-15 02:18 UTC (History)
6 users (show)

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


Attachments
cube.tar.bz2 (cube.tar.bz2,2.27 KB, application/octet-stream)
2004-05-25 22:19 UTC, SpanKY
Details
cube.tar.bz2 - updated (cube.tar.bz2,2.92 KB, application/octet-stream)
2004-07-29 15:24 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2004-05-25 09:41:28 UTC
Hi,

there has been a new version of cube released. Please add it to portage.

Markus
Comment 1 SpanKY gentoo-dev 2004-05-25 22:19:24 UTC
Created attachment 32047 [details]
cube.tar.bz2

root@vapier 0 games-fps # tar -jvcf cube.tar.bz2 cube/
cube/
cube/files/
cube/files/digest-cube-2004.05.22
cube/files/2004.05.22-gentoo-paths.patch
cube/files/cube_client-bin
cube/files/cube_server-bin
cube/cube-2004.05.22.ebuild

seems to hate gcc-3.4.0 so maybe someone will wanna take a stabe at it :)
Comment 2 SpanKY gentoo-dev 2004-06-01 16:28:50 UTC
*** Bug 52091 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2004-07-16 06:39:42 UTC
Why is this not in portage? Do we really have to search bugzilla for new ebuilds?
Comment 4 Paulo Fidalgo 2004-07-18 20:19:00 UTC
that's strange why this is not on portage... because it has been released a "long" time ago... enough time to be on stable (if deserve).

Maybe gentoo dev's have forgotten it...
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2004-07-26 09:37:06 UTC
I add me as CC, I want to know how long this will take
Comment 6 Patrik Kullman 2004-07-28 02:09:56 UTC
../enet/include/enet/unix.h:32: error: conflicting types for `typedef int
   socklen_t'
/usr/include/bits/socket.h:36: error: previous declaration as `typedef
   __socklen_t socklen_t'
make: *** [client.o] Error 1
Comment 7 Julien TIERNY 2004-07-29 10:42:28 UTC
doesn't even compile on my box. exactly the same issue as Patrik Kullman's.

"
../enet/include/enet/unix.h:32: error: conflicting types for `typedef int
   socklen_t'
/usr/include/bits/socket.h:36: error: previous declaration as `typedef
   __socklen_t socklen_t'
make: *** [client.o] Error 1
"

* CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
* USE="qt kde -gtk -gnome arts usb dvd xmms jpeg X oggvorbis fbcon directfb alsa cups man X opengl svga atm"
* gcc 3.3.3 20040412 (stable)
* glibc 2.3.3.20040420 (stable)

Any help welcome :)
regards, julien
Comment 8 Stefan Schweizer (RETIRED) gentoo-dev 2004-07-29 15:24:23 UTC
Created attachment 36430 [details]
cube.tar.bz2 - updated

I tried to solve all the problems, changed 2 files (patch in tarball), changed
the ebuild and removed the dots in the version and made the compiler ignore
deprecated code. At least it works on my system. Can you please test this so
that it can be added to portage?
Comment 9 Julien TIERNY 2004-07-30 03:44:38 UTC
Thanks Stephan for your update.
The ebuild now merges correctly.

Nevertheless, I encountered an issue I didn't met a few month ago with the 2003 release : I cannot update the server list while playing (with both cube_client and cube_client-bin).

When I click on the "Update server list" menu (or some link of that sort), a new window appears but with no server listed inside.
In the background, I think I read something like "<Linux/Suse> : unknown command", like if I couldn't read what came from the server's side.
If I press enter at this very moment, cube just exits !

traces : 
"
cube_client: tools.h:178: T& vector<T>::operator[](int) [with T = mitem]: Assertion `i>=0 && i<ulen' failed.
Abandon
"

Did anyone meet this issue ?
Should this be considered as an upstream bug ?

Thanx for your answers & answers.
julien
Comment 10 SpanKY gentoo-dev 2004-08-15 02:18:50 UTC
considering i posted the tarball with 'this release doesnt seem to work with gcc-3.4' it should be pretty clear why it hasnt been added to portage

*it didnt compile while using gcc-3.4* ... so yes, i guess we will make you search bugzilla if you want broken ebuilds

i dont enjoy adding packages to portage when i know they will fail to compile under pretty common circumstances ... i also hate fixing broken C++ code which is why i didnt bother trying to come up with a patch for cube ...

merged your fixes with current work and added to cvs