Package: pymol
Version: 1.1~beta3-2
Severity: serious
User: [EMAIL PROTECTED]
Usertags: goal-python2.5
Tags: patch
Hello.
pymol FTBFS on arm and armel because gcc-4.3 ICEs, seemingly due to
-funroll-loops (#476460).
This is blocking the python 2.5 transition, and in #debian-release
Aurelien agreed that building on those architectures with gcc-4.2 was an
acceptable workaround.
I'm attaching a patch, I would be very grateful if you could upload
soon, or gave permision to make an upload myself.
Thanks in advance,
P.S.: I'm build-depending on g++-4.2 and not gcc-4.2 because there seems
to be an invocation to g++ in the build process, and I thought "better
safe than sorry", so it'd probably work with g++-4.3, I think.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Placebo - Hang On To Your IQ
diff -u -r pymol-1.1~beta3.orig/debian/control pymol-1.1~beta3/debian/control
--- pymol-1.1~beta3.orig/debian/control 2008-04-26 15:31:03.000000000 +0200
+++ pymol-1.1~beta3/debian/control 2008-04-26 15:33:12.000000000 +0200
@@ -4,7 +4,7 @@
Maintainer: Debichem Team <[EMAIL PROTECTED]>
Uploaders: Michael Banck <[EMAIL PROTECTED]>,
LI Daobing <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5), dpatch, python-dev, python-numeric, glutg3-dev, libpng12-0-dev, tk8.4-dev, libfreetype6-dev, python-support (>= 0.4)
+Build-Depends: debhelper (>= 5), dpatch, python-dev, python-numeric, glutg3-dev, libpng12-0-dev, tk8.4-dev, libfreetype6-dev, python-support (>= 0.4), g++-4.2 [arm armel]
Standards-Version: 3.7.3
Homepage: http://pymol.sourceforge.net
Vcs-Browser: http://svn.debian.org/wsvn/debichem/
diff -u -r pymol-1.1~beta3.orig/debian/rules pymol-1.1~beta3/debian/rules
--- pymol-1.1~beta3.orig/debian/rules 2008-04-26 15:31:03.000000000 +0200
+++ pymol-1.1~beta3/debian/rules 2008-04-26 15:34:11.000000000 +0200
@@ -2,6 +2,16 @@
# -*- Makefile -*-
DEB_BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+GCC43_ICES_HERE := arm armel
+
+ifneq (,$(filter $(DEB_HOST_ARCH),$(GCC43_ICES_HERE)))
+ export CC=gcc-4.2
+ export CPP=cpp-4.2
+ export CXX=g++-4.2
+endif
+
export PYMOL_PATH=$(CURDIR)
PYTHON_VERSION := $(shell pyversions -dv)