[Python-modules-team] Bug#507746: python-numpy: link to cfunc.h missing in /usr/lib/python2.5/site-packages/numpy/core/include/numpy

Janis Hagelberg janis at mso.anu.edu.au
Mon Dec 8 00:49:00 UTC 2008


> On Fri, Dec 5, 2008 at 12:32 AM, Janis Hagelberg <janis at mso.anu.edu.au>
> wrote:
>>> On Thu, Dec 4, 2008 at 2:36 AM, Janis Hagelberg <janis at mso.anu.edu.au>
>>> wrote:
>>>> Package: python-numpy
>>>> Version: 1:1.1.1-1
>>>> Severity: normal
>>>>
>>>> There seem to be a missing link to cfunc.h in
>>>>
>>>> usr/lib/python2.5/site-packages/numpy/core/include/numpy
>>>>
>>>> This bug seems to be somehow related to bug #499613, but using the
>>>> solution of #499613 didn't help compiling C code that
>>>> includes <numpy/libnumarray.h>.
>>>
>>> Is this head file for old code that uses numarray?
>>>
>>>>
>>>> With the additional link to cfunc.h in
>>>> usr/lib/python2.5/site-packages/numpy/core/include/numpy it worked.
>>>
>>> If you could send us a patch to our packaging that fixes that, I'll
>>> apply, test it and upload.
>>>
>>> Thanks,
>>> Ondrej
>>>
>>
>> Maybe this would look more like a patch (still haven't found any useful
>> doc)
>>
>> @@ -0,0 +1,7 @@
>> +usr/share/pyshared/numpy/numarray/numpy/cfunc.h
>> usr/share/pyshared/numpy/core/include/numpy/cfunc.h
>
> Which file is it? Just apply it to the checketout file and send the
> output of "svn di". Is it debian/python-numpy.links? Still not sure
> how to apply the patch --- but if you send the output of "svn di",
> I'll just use "apply".
>
> Thanks,
> Ondrej
>

Hi!
Below is the output of "svn di", with the patch:


Index: python-numpy.links
===================================================================
--- python-numpy.links  (revision 7084)
+++ python-numpy.links  (working copy)
@@ -4,4 +4,5 @@
 usr/share/pyshared/numpy/numarray/numpy/ieeespecial.h
usr/share/pyshared/numpy/core/include/numpy/ieeespecial.h
 usr/share/pyshared/numpy/numarray/numpy/libnumarray.h
usr/share/pyshared/numpy/core/include/numpy/libnumarray.h
 usr/share/pyshared/numpy/numarray/numpy/arraybase.h
usr/share/pyshared/numpy/core/include/numpy/arraybase.h
+usr/share/pyshared/numpy/numarray/numpy/cfunc.h
usr/share/pyshared/numpy/core/include/numpy/cfunc.h
 usr/share/pyshared/numpy/core/include/numpy usr/include/numpy








More information about the Python-modules-team mailing list