Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194358 - dev-python/pygsl-0.9.1 fails
Summary: dev-python/pygsl-0.9.1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 09:10 UTC by Andrey Grozin
Modified: 2007-10-12 04:49 UTC (History)
0 users

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


Attachments
pygsl-0.9.1.ebuild.patch (pygsl-0.9.1.ebuild.patch,595 bytes, patch)
2007-10-03 17:22 UTC, Sébastien Fabbro (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2007-10-01 09:10:12 UTC
....
building '_gslwrap' extension
C compiler: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=penti
um-m -fPIC

compile options: '-DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=
1 -DPYGSL_GSL_MINOR_VERSION=10 -UNDEBUG -I/usr/include -IInclude -I. -I/usr/lib/python2.4
/site-packages/numpy/core/include -I/usr/include/python2.4 -c'
i686-pc-linux-gnu-gcc: swig_src/gslwrap_wrap.c
swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv2_get':
swig_src/gslwrap_wrap.c:23491: error: 'gsl_eigen_francis_workspace' has no member named '
hv2'
swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv3_get':
swig_src/gslwrap_wrap.c:23512: error: 'gsl_eigen_francis_workspace' has no member named '
hv3'
swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv2_get':
swig_src/gslwrap_wrap.c:23491: error: 'gsl_eigen_francis_workspace' has no member named '
hv2'
swig_src/gslwrap_wrap.c: In function '_wrap_gsl_eigen_francis_workspace_hv3_get':
swig_src/gslwrap_wrap.c:23512: error: 'gsl_eigen_francis_workspace' has no member named '
hv3'
error: Command "i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=p
entium-m -fPIC -DSWIG_COBJECT_TYPES=1 -DDEBUG=1 -DNUMERIC=1 -DPYGSL_GSL_MAJOR_VERSION=1 -
DPYGSL_GSL_MINOR_VERSION=10 -UNDEBUG -I/usr/include -IInclude -I. -I/usr/lib/python2.4/si
te-packages/numpy/core/include -I/usr/include/python2.4 -c swig_src/gslwrap_wrap.c -o bui
ld/temp.linux-i686-2.4/swig_src/gslwrap_wrap.o" failed with exit status 1


Reproducible: Always
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2007-10-03 12:45:54 UTC
Hi Andrey,

What is the gsl version? gsl-1.10 (in the science overlay only) had some changes in the eigen value decomp. routines.

Sébastien.
Comment 2 Andrey Grozin gentoo-dev 2007-10-03 16:23:30 UTC
Yes, it's gsl-1.10 from the overlay. Should I downgrade?
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2007-10-03 17:22:42 UTC
Created attachment 132480 [details, diff]
pygsl-0.9.1.ebuild.patch

Could you try this patch on the ebuild? It forces swig regeneration.
Comment 4 Andrey Grozin gentoo-dev 2007-10-04 09:32:24 UTC
Now it compiles without errors, but I still cannot use it:

grozin@gandalf ~ $ python
Python 2.4.4 (#1, Sep  6 2007, 02:07:07)
[GCC 4.1.2 (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygsl.math
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/pygsl/math.py", line 6, in ?
    import pygsl._gslwrap
ImportError: /usr/lib/python2.4/site-packages/pygsl/_gslwrap.so: undefined symbol: t_output_helper
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2007-10-05 20:23:12 UTC
(In reply to comment #4)
> Now it compiles without errors, but I still cannot use it:

Yes you're right and many tests fail. I contacted upstream. Other distribs seem to have the problem.

Meanwhile, I added pygsl-0.9.0 which builds fine with gsl-1.9 and gsl-1.10 on my boxes. I forced pygsl-0.9.1 to depend on earlier versions than gsl-1.9 and masked it.
Comment 6 Andrey Grozin gentoo-dev 2007-10-12 04:49:53 UTC
pygsl-0.9 works OK. Thanks.