Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62894 - reaper3d ebuild request
Summary: reaper3d ebuild request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://reaper3d.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-05 02:21 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2005-02-07 05:28 UTC (History)
2 users (show)

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


Attachments
Reaper3D ebuild version 1.0 (reaper3d-0.98.2.ebuild,626 bytes, text/plain)
2004-10-19 06:28 UTC, Ioannis Aslanidis (RETIRED)
Details
reaper3d digest file (digest-reaper3d-0.98.2,70 bytes, text/plain)
2004-10-19 06:29 UTC, Ioannis Aslanidis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2004-09-05 02:21:57 UTC
Is there an ebuild for reaperd3d? If not I could... and mantain it of course. 

http://reaper3d.sourceforge.net


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-11 21:08:43 UTC
Submitting an ebuild for this would speed things up.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-09-13 09:07:42 UTC
There seems to be a problem with the source code... it requires libpng.so.2 while I have in my system libpng.so.3. I tried symlinking but no effect. It seems it needs exactly that version. Suggestions?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-09-16 00:12:15 UTC
post the ebuild you're using to build it and I'll help you polish it.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-09-16 01:57:54 UTC
I didn't complete the ebuild yet... I have done this manually (downloaded the source code and compiled). It fails to compile directly. This evening/night (that's in about 10 hours) I'll post the ebuild completed. BTW I'll also post the errors it gives me, but personally I think it's a libpng problem.

Thanks for your help :)
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-09-16 10:09:54 UTC
Sorry about the ebuild... not finished yet.

From the INSTALL file:
Development versions of libpng, zlib, xlib and OpenGL are also needed.

The versions I am using:
Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4)
*  media-libs/libpng
      Latest version available: 1.2.7
      Latest version installed: 1.2.7
*  sys-libs/zlib
      Latest version available: 1.2.1-r3
      Latest version installed: 1.2.1-r3
xlib --> Nothing about that in portage?
OpenGL --> Nothing about that in portage?

About the error message when compiling:

Making all in game
make[2]: Entering directory `/documents/Downloads/reaper-0.98.2/build/ac/game'
source='../../../src/game/forked.cpp' object='libgame_la-forked.lo' libtool=yes \
depfile='.deps/libgame_la-forked.Plo' tmpdepfile='.deps/libgame_la-forked.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..    -prefer-non-pic -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c -o libgame_la-forked.lo `test -f ../../../src/game/forked.cpp || echo './'`../../../src/game/forked.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c ../../../src/game/forked.cpp -MT libgame_la-forked.lo -MD -MP -MF .deps/libgame_la-forked.TPlo -o .libs/libgame_la-forked.lo
In file included from ../../../src/main/types.h:4,
                 from ../../../src/phys/engine.h:16,
                 from ../../../src/game/object_mgr.h:9,
                 from ../../../src/game/scenario_states.h:41,
                 from ../../../src/game/scenario_mgr.h:6,
                 from ../../../src/game/helpers.h:6,
                 from ../../../src/game/forked.cpp:7:
../../../src/main/types_base.h: In constructor `reaper::Vec<Impl>::Vec(const typename Impl::value_type*)':
../../../src/main/types_base.h:17: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h:17: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../../src/main/types_base.h: In constructor `reaper::Vec<Impl>::Vec(typename Impl::value_type, typename Impl::value_type, typename Impl::value_type)':
../../../src/main/types_base.h:20: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h:21: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h:22: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h: In member function `const typename Impl::value_type& reaper::Vec<Impl>::operator[](int) const':
../../../src/main/types_base.h:25: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h: In member function `typename Impl::value_type& reaper::Vec<Impl>::operator[](int)':
../../../src/main/types_base.h:26: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available
../../../src/main/types_base.h: In member function `typename I::value_type* reaper::GetX<I>::get()':
../../../src/main/types_base.h:54: error: `x' undeclared (first use this function)
../../../src/main/types_base.h:54: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../../src/main/types_base.h: In member function `const typename I::value_type* reaper::GetX<I>::get() const':
../../../src/main/types_base.h:55: error: `x' undeclared (first use this function)
In file included from ../../../src/phys/engine.h:16,
                 from ../../../src/game/object_mgr.h:9,
                 from ../../../src/game/scenario_states.h:41,
                 from ../../../src/game/scenario_mgr.h:6,
                 from ../../../src/game/helpers.h:6,
                 from ../../../src/game/forked.cpp:7:
../../../src/main/types.h: In member function `const T* reaper::triangle_base<T>::get() const':
../../../src/main/types.h:89: error: `x' undeclared (first use this function)
../../../src/main/types.h: In member function `T* reaper::triangle_base<T>::get()':
../../../src/main/types.h:90: error: `x' undeclared (first use this function)
In file included from ../../../src/world/geometry.h:4,
                 from ../../../src/world/quadtree.h:17,
                 from ../../../src/world/world.h:10,
                 from ../../../src/phys/pairs.h:5,
                 from ../../../src/phys/collisionQueue.h:5,
                 from ../../../src/phys/engine.h:17,
                 from ../../../src/game/object_mgr.h:9,
                 from ../../../src/game/scenario_states.h:41,
                 from ../../../src/game/scenario_mgr.h:6,
                 from ../../../src/game/helpers.h:6,
                 from ../../../src/game/forked.cpp:7:
../../../src/main/types_ops.h: At global scope:
../../../src/main/types_ops.h:263: error: an explicit specialization must be preceded by 'template <>'
../../../src/main/types_ops.h:264: error: an explicit specialization must be preceded by 'template <>'
make[2]: *** [libgame_la-forked.lo] Error 1
make[2]: Leaving directory `/documents/Downloads/reaper-0.98.2/build/ac/game'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/documents/Downloads/reaper-0.98.2/build/ac'
make: *** [all] Error 2
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-10-18 19:06:17 UTC
Still hoping to see at least a partial ebuild here...
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-10-19 01:25:56 UTC
Sorry, I was very busy lately. I'll rewrite the ebuild at once, ok? :)
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-10-19 06:28:14 UTC
Created attachment 42162 [details]
Reaper3D ebuild version 1.0

This is the ebuild, it has been tested and works fine, but compilation fails!
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-10-19 06:29:35 UTC
Created attachment 42163 [details]
reaper3d digest file

This is the correct digest file for the source code. As it is not in the gentoo
mirrors, after trying the ones configured in /etc/make.conf, it'll
automatically get into sourceforge and download it from a mirror of there.
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-11-22 15:54:33 UTC
Mr.Bones hope you might have a little time to check the ebuild and see what's the problem, I rechecked it all again but was not able to understand the failure :(
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2004-11-22 16:21:19 UTC
It's probably a gcc-3.4 problem.  Try it with gcc-3.3 and see if it works any better.  I don't do c++ though so if it's a coding problem, you're on your own.
Comment 12 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-11-23 02:15:30 UTC
I'll take care if it's a C++ problem. Actually I didn't try to compile it with gcc-3.3 so you might have got it. Lemme check.
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 21:00:03 UTC
still checking?
Comment 14 Ioannis Aslanidis (RETIRED) gentoo-dev 2004-12-28 01:23:56 UTC
Sorry, I'm very busy currently. Gimme a week more.
Comment 15 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-02-07 05:28:15 UTC
I've compiled with gcc-3.3.5 and:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c ../../../src/game/mission.cpp -MT libgame_la-mission.lo -MD -MP -MF .deps/libgame_la-mission.TPlo -o .libs/libgame_la-mission.lo
../../../src/game/mission.cpp: In function `void 
   reaper::game::scenario::read(const reaper::res::ConfigEnv&, 
   reaper::game::scenario::Scenario*, std::basic_string<char, 
   std::char_traits<char>, std::allocator<char> >)':
../../../src/game/mission.cpp:126: error: ambiguous overload for 'operator=' in 
   'm->reaper::game::scenario::Mission::dialog = 
   reaper::res::ConfigEnv::operator[](const std::string&) 
   const((&std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, 
   const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc 
   = std::allocator<char>]("_dialog")))'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:358: error: candidates
   are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, 
   _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:361: error: 
                  std::basic_string<_CharT, _Traits, _Alloc>& 
   std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with 
   _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>] <near match>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:364: error: 
                  std::basic_string<_CharT, _Traits, _Alloc>& 
   std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = 
   char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
make[2]: *** [libgame_la-mission.lo] Error 1
make[2]: Leaving directory `/reaper/reaper-0.98.2/build/ac/game'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/reaper/reaper-0.98.2/build/ac'
make: *** [all] Error 2



Looks like there are still errors... personally I've lost the interest on this, so I'll mark it as WONTFIX. Change it at will.