shunwang / numexpr

Automatically exported from code.google.com/p/numexpr
MIT License
0 stars 0 forks source link

Build failure on s390 architecture #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Numexpr 2.2.1 fails to build on Debian systems with s390 architecture (see [1]).

The issue seems to be related to the type of a pointer parameter that do not 
matches the function signature of PyBytes_AsStringAndSize.

Please find attached the patch that should fix the issue (also implemented in 
my fork at [2]).

Unfortunately I can't test the patch on s390 but it is quite simple and works 
perfectly on amd64.

[1] 
https://buildd.debian.org/status/fetch.php?pkg=numexpr&arch=s390&ver=2.2.1-1&sta
mp=1379971889
[2] 
http://code.google.com/r/avalentinoit-numexpr/source/detail?r=98e71bd24bd89b85f8
96b163e98aaa12f35a748f

Original issue reported on code.google.com by a.valent...@gmail.com on 26 Sep 2013 at 8:59

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in rev 5e282142d071 (2.2 branch) and 3bde0a77cba8 (default branch).  
Thanks!

Original comment by fal...@gmail.com on 27 Sep 2013 at 8:24