Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143387 - PyAmanith ebuild request
Summary: PyAmanith ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://louhi.kempele.fi/~skyostil/pro...
Whiteboard:
Keywords:
Depends on: 115754
Blocks: 143388
  Show dependency tree
 
Reported: 2006-08-09 13:39 UTC by Carlton C. Stedman II
Modified: 2006-09-24 03:19 UTC (History)
6 users (show)

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


Attachments
PyAmanith-0.3.1 ebuild (PyAmanith-0.3.1.ebuild,651 bytes, text/plain)
2006-08-16 20:10 UTC, Trevor Hardcastle
Details
PyAmanith-0.3.34.ebuild (PyAmanith-0.3.34.ebuild,747 bytes, text/plain)
2006-09-18 21:57 UTC, SpanKY
Details
PyAmanith-0.3.34-build.patch (PyAmanith-0.3.34-build.patch,1.22 KB, patch)
2006-09-18 21:57 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlton C. Stedman II 2006-08-09 13:39:53 UTC
It would be very useful to have a working ebuild for PyAmanith. There is currently no ebuild for pyamanith as found here: http://louhi.kempele.fi/~skyostil/projects/pyamanith/. This is required for the game Frets of Fire.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2006-08-11 05:56:58 UTC
I'm already on it.
The ebuild is done but it doesn't compile at the moment. It seems either to be a swig bug or a bug in the amanith header-files.
Comment 2 Josef Reidinger 2006-08-16 10:14:12 UTC
(In reply to comment #1)
> I'm already on it.
> The ebuild is done but it doesn't compile at the moment. It seems either to be
> a swig bug or a bug in the amanith header-files.
> 

if you post your ebuild, someone another can improve it or make patch ;)

Comment 3 Trevor Hardcastle 2006-08-16 20:10:50 UTC
Created attachment 94426 [details]
PyAmanith-0.3.1 ebuild

Here's an ebuild I've been trying to get to work for this. It gets as far as building it by hand does for me, which is to say it doesn't work :)

I get a lot of warnings like:
build/amanith/include/amanith/geometry/gaxisangle.swig.h:63: Warning(509): Overloaded Amanith::GAxisAng<(GReal)>(Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &) is shadowed by Amanith::GAxisAng<(GReal)>() at build/amanith/include/amanith/geometry/gaxisangle.swig.h:56.

Followed by:
error: command 'swig' failed with exit status 1

I've been trying with swig-1.3.25 and 1.3.21. Perhaps there's some swig magic I'm missing?
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2006-08-16 23:33:45 UTC
Ok, I've put my ebuild plus patches under subversion control. You can get it here: http://gentoo-sunrise.org/svndump/dev-zero/dev-python/ . When it is finished, I'll move it to the gentoo-sunrise overlay as well.
Good luck!
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2006-08-20 04:13:01 UTC
Well, it compiles here with an additional patch. You can get it from the location noted in Comment #4.
The problem is that I don't have a script to test if it really works, so I first need bug #143388 done to commit it to gentoo-sunrise :-)
Comment 6 Josef Reidinger 2006-08-25 12:46:14 UTC
(In reply to comment #5)
> Well, it compiles here with an additional patch. You can get it from the
> location noted in Comment #4.
> The problem is that I don't have a script to test if it really works, so I
> first need bug #143388 done to commit it to gentoo-sunrise :-)
> 

not works for me :(
I try resolv it.

user@localhost /usr/local/portage/dev-python/pyamanith $ ebuild pyamanith-0.3.1.ebuild unpack
 * PyAmanith-0.3.1.tar.gz MD5 ;-) ...                                     [ ok ] * PyAmanith-0.3.1.tar.gz RMD160 ;-) ...                                  [ ok ] * PyAmanith-0.3.1.tar.gz SHA1 ;-) ...                                    [ ok ] * PyAmanith-0.3.1.tar.gz SHA256 ;-) ...                                  [ ok ] * PyAmanith-0.3.1.tar.gz size ;-) ...                                    [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking PyAmanith-0.3.1.tar.gz ;-) ...                                [ ok ]>>> Unpacking source...
>>> Unpacking PyAmanith-0.3.1.tar.gz to /tmp/portage/pyamanith-0.3.1/work
 * Applying pyamanith-0.3.1-setup_py.patch ...                            [ ok ] * Applying pyamanith-0.3.1-typemaps_i.patch ...                          [ ok ] * Applying pyamanith-0.3.1-gdrawboard.patch ...                          [ ok ]>>> Source unpacked.
user@localhost /usr/local/portage/dev-python/pyamanith $ ebuild pyamanith-0.3.1.ebuild compile
 * PyAmanith-0.3.1.tar.gz MD5 ;-) ...                                     [ ok ] * PyAmanith-0.3.1.tar.gz RMD160 ;-) ...                                  [ ok ] * PyAmanith-0.3.1.tar.gz SHA1 ;-) ...                                    [ ok ] * PyAmanith-0.3.1.tar.gz SHA256 ;-) ...                                  [ ok ] * PyAmanith-0.3.1.tar.gz size ;-) ...                                    [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking PyAmanith-0.3.1.tar.gz ;-) ...                                [ ok ]>>> Checking PyAmanith-0.3.1.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in /tmp/portage/pyamanith-0.3.1/work/PyAmanith-0.3.1 ...
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
copying amanith.py -> build/lib.linux-i686-2.4
running build_ext
error: /usr/include/amanith: No such file or directory

!!! ERROR: dev-python/pyamanith-0.3.1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called distutils_src_compile
  distutils.eclass, line 38:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'


and when I try run python setup.py build it write
running build
running build_py
running build_ext
error: build/amanith/include/amanith/1d/gbsplinecurve1d.swig.h: No such file or directory


Comment 7 Tiziano Müller (RETIRED) gentoo-dev 2006-08-25 12:53:18 UTC
Well, stupid question, but do you have amanith installed?
Did you try a simple "emerge pyamanith"? It is in Gentoo Sunrise now, so no need to download the ebuild from here and manually do 'ebuild pyamanith-0.3.1.ebuild ...' :-)
Comment 8 Josef Reidinger 2006-08-25 13:07:34 UTC
(In reply to comment #7)
> Well, stupid question, but do you have amanith installed?
> Did you try a simple "emerge pyamanith"? It is in Gentoo Sunrise now, so no
> need to download the ebuild from here and manually do 'ebuild
> pyamanith-0.3.1.ebuild ...' :-)
> 

Hmm, I find it really stupid mistake :), I study code and thinking where I get missing headers :) yes I haven`t it. I use ebuild because I like better control over thinks :)
Comment 9 SpanKY gentoo-dev 2006-09-18 21:57:39 UTC
Created attachment 97382 [details]
PyAmanith-0.3.34.ebuild
Comment 10 SpanKY gentoo-dev 2006-09-18 21:57:59 UTC
Created attachment 97383 [details, diff]
PyAmanith-0.3.34-build.patch
Comment 11 SpanKY gentoo-dev 2006-09-18 21:58:34 UTC
so the latest one fails to build with gcc-4.1.1; perhaps someone feels like fixing that ;)
Comment 12 Tiziano Müller (RETIRED) gentoo-dev 2006-09-19 00:23:56 UTC
@SpanKY
Well, my ebuild seems to work fine with gcc-4.1.1. I've just committed the version bump to the Gentoo Sunrise Overlay. You can find it here: http://gentoo-sunrise.org/svn/sunrise/dev-python/pyamanith/
Comment 13 SpanKY gentoo-dev 2006-09-24 03:19:41 UTC
in portage, cheers