jamadden / mrab-regex-hg

Automatically exported from code.google.com/p/mrab-regex-hg
0 stars 2 forks source link

Fails to build on s390x #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
in Debian we have a lot of weird architectures :) one of those is s390x, one of 
the few 64bit big-endian arch, and building regex on it it fails.

Here's the link to the build log: 
https://buildd.debian.org/status/fetch.php?pkg=python-regex&arch=s390x&ver=0.1.2
0120506-2&stamp=1339276454

Cheers,
Sandro

Original issue reported on code.google.com by sandro.tosi on 10 Jun 2012 at 8:10

GoogleCodeExporter commented 9 years ago
My browser is complaining about the security certificate for that site.

Original comment by re...@mrabarnett.plus.com on 10 Jun 2012 at 8:32

GoogleCodeExporter commented 9 years ago
that's weird, from my browser (chromium) it's recognized perfectly, as signed 
by Software in the Public Interest (SPI, a non profit organization).

Original comment by sandro.tosi on 10 Jun 2012 at 8:34

GoogleCodeExporter commented 9 years ago
If it works on other 64-bit platforms but not on s390x, then I don't know where 
the problem lies.

On Python 2.x:

>>> regex.compile("(?i)(a)(b)").flags
8322
>>> regex.compile(u"(?i)(a)(b)").flags
8226

On Python 3.x:

>>> regex.compile(b"(?i)(a)(b)").flags
8322
>>> regex.compile("(?i)(a)(b)").flags
8226

Original comment by re...@mrabarnett.plus.com on 10 Jun 2012 at 10:51

GoogleCodeExporter commented 9 years ago
It occurred to me that the most likely cause was an endian problem somewhere, 
hence the previous post. I eventually tracked down one place I'd overlooked, so 
it should be fixed now.

Fixed in regex 0.1.20120611.

Original comment by re...@mrabarnett.plus.com on 11 Jun 2012 at 1:32

GoogleCodeExporter commented 9 years ago
(that's why I mentioned it's a "special" arch ;)). i've just checked on s390x 
and I can confirm this is fixed. Thanks a lot for the quick reply & fix!

Original comment by sandro.tosi on 13 Jun 2012 at 6:09