Package: pymol
Version: 1.2r2-1
Severity: serious
Tags: patch
Justification: FTBFS on ia64

Hello,

Because of a bug in gcc (#576198), your package FTBFS on ia64:
https://buildd.debian.org/fetch.cgi?pkg=pymol&arch=ia64&ver=1.2r2-1&stamp=1268143067&file=log

The attached patch reduces optimization level from -O3 to -O2 on ia64, allowing the package to be built successfully.

--
Jakub Wilk
--- pymol-1.2r2.orig/setup.py
+++ pymol-1.2r2/setup.py
@@ -146,6 +146,9 @@
 #               ("_PYMOL_VMD_PLUGINS",None)
                 ]
     ext_comp_args=["-ffast-math","-funroll-loops","-O3"]
+    if os.uname()[-1] == 'ia64':
+        # Mitigate bug #576198:
+        del ext_comp_args[-1]
     ext_link_args=[]
   
 setup ( # Distribution meta-data

Attachment: signature.asc
Description: Digital signature

Reply via email to