Package: pypy
Version: 2.3.1+dfsg-1
Severity: important
Tags: patch
Usertags: hppa
pypy fails to build on the hppa architecture, because it needs the -fPIC
compiler flag when building a shared library.
A failing log can be found here:
http://buildd.debian-ports.org/status/fetch.php?pkg=pypy&arch=hppa&ver=2.3.1%2Bdfsg-1&stamp=1402427043
The trivial patch attached here fixes this. With it, I could build pypy
sucessfully on hppa arch.
Please apply for the next upload.
By the way, the x32 architecture needs a similar patch:
http://buildd.debian-ports.org/status/fetch.php?pkg=pypy&arch=x32&ver=2.3.1%2Bdfsg-1&stamp=1404302606
Thanks,
Helge
diff -up ./rpython/translator/platform/__init__.py.org ./rpython/translator/platform/__init__.py
--- ./rpython/translator/platform/__init__.py.org 2014-09-01 11:07:29.391601889 +0200
+++ ./rpython/translator/platform/__init__.py 2014-09-01 11:11:35.087579416 +0200
@@ -270,7 +270,7 @@ if sys.platform.startswith('linux'):
# Only required on armhf and mips{,el}, not armel. But there's no way to
# detect armhf without shelling out
if (platform.architecture()[0] == '64bit'
- or platform.machine().startswith(('arm', 'mips', 'ppc'))):
+ or platform.machine().startswith(('arm', 'mips', 'ppc', 'parisc'))):
host_factory = LinuxPIC
else:
host_factory = Linux