<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>199961</bug_id>
          
          <creation_ts>2007-11-22 10:54 0000</creation_ts>
          <short_desc>dev-python/pyopengl-2.0.1.09-r1 fails to build</short_desc>
          <delta_ts>2008-02-24 08:23:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jarausch@igpm.rwth-aachen.de</reporter>
          <assigned_to>python@gentoo.org</assigned_to>
          <cc>coldwind@gentoo.org</cc>
    
    <cc>pva@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>jarausch@igpm.rwth-aachen.de</who>
            <bug_when>2007-11-22 10:54:18 0000</bug_when>
            <thetext>Building pyopengl-2.0.1.09-r1 it fails
first with
SWIG Version 1.3.32
...
WARNING!!! wrong swig version.  Need 1.3.13, continuing anyway.

and that fails lateron, first error being
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=i686 -pipe -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/numarray -I/usr/include/python2.5/Numeric -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/numarray -I/usr/include/python2.5/Numeric -c src/interface_util/interface_util.c -o build/temp.linux-i686-2.5/src/interface_util/interface_util.o
src/interface_util/interface_util.c: In function &apos;_PyObject_FromUnsignedCharArray&apos;:
src/interface_util/interface_util.c:124: error: &apos;PyArray_API&apos; undeclared (first use in this function)

The ancient 1.3.13 ofr swig is no longer available in GenToo, Furthermore
it&apos;s ugly to temporarily downgrade for just one package.
Is there another solution?

Thanks,
Helmut.


Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-11-22 11:02:58 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; The ancient 1.3.13 ofr swig is no longer available in GenToo, Furthermore
&gt; it&apos;s ugly to temporarily downgrade for just one package.
&gt; Is there another solution?

This swig message is just a warning and unrelated to the real problem here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>coldwind@gentoo.org</who>
            <bug_when>2007-12-04 13:45:01 0000</bug_when>
            <thetext>Please, post the output of:
# emerge -pv numarray numeric numpy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jarausch@igpm.rwth-aachen.de</who>
            <bug_when>2007-12-04 14:16:35 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Please, post the output of:
&gt; # emerge -pv numarray numeric numpy
&gt; 

emerge -pv numarray numeric numpy

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-python/numarray-1.5.2-r1 [1.3.1] USE=&quot;doc%* -lapack%&quot; 1,367 kB 
[ebuild   R   ] dev-python/numeric-24.2-r6  USE=&quot;doc -lapack (-debug%)&quot; 0 kB 
[ebuild   R   ] dev-python/numpy-1.0.4  USE=&quot;-lapack&quot; 0 kB 



</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2008-01-03 09:29:49 0000</bug_when>
            <thetext>Helmut, do you have python-2.4 installed? If so try to unmerge it and pyopengl (do not forget to quickpkg it just in case) and try to install pyopengl again. This helped me to workaround the same problem with dev-python/pyopengl-2.0.0.44.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2008-02-24 08:23:48 0000</bug_when>
            <thetext>Ok, put pyopengl-3.0.0_beta1 in the tree.
Since PyOpenGL-3.x uses ctypes instead of swig, this problem is fixed.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>