Package: ace Version: 6.0.3-2 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past)
Ace FTBFS on armel due to an internal compiler error. The internal compiler error has been reported to the debian g++ developers at http://bugs.debian.org/644722 In the meantime this bug can be worked arround by using gcc 4.4 to build the package(4.5 and 4.6 both fail), a patch to do that is attatched. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: armel (armv7l) Kernel: Linux 2.6.39.2-x2 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -ur ace-6.0.3/debian/control ace-6.0.3.new//debian/control --- ace-6.0.3/debian/control 2011-07-31 11:12:21.000000000 +0100 +++ ace-6.0.3.new//debian/control 2011-10-09 14:10:17.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Debian ACE+TAO maintainers <pkg-ace-de...@lists.alioth.debian.org> Uploaders: Thomas Girard <thomas.g.gir...@free.fr>, Pau Garcia i Quiles <pgqui...@elpauer.org>, Marek Brudka <mbru...@aster.pl> DM-Upload-Allowed: yes -Build-Depends: debhelper (>= 8.9.0), libssl-dev (>= 0.9.7d), libxt-dev (>= 4.3.0), libfltk1.1-dev (>= 1.1.4), libqt4-dev (>= 4.4~rc1-4), tk-dev (>= 8.5), libfox-1.6-dev, zlib1g-dev, libzzip-dev, liblzo2-dev, docbook-to-man, bzip2, libbz2-dev, doxygen, graphviz +Build-Depends: debhelper (>= 8.9.0), libssl-dev (>= 0.9.7d), libxt-dev (>= 4.3.0), libfltk1.1-dev (>= 1.1.4), libqt4-dev (>= 4.4~rc1-4), tk-dev (>= 8.5), libfox-1.6-dev, zlib1g-dev, libzzip-dev, liblzo2-dev, docbook-to-man, bzip2, libbz2-dev, doxygen, graphviz, gcc-4.4 [armel] Standards-Version: 3.9.2 Vcs-Git: git://anonscm.debian.org/pkg-ace/pkg-ace.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ace/pkg-ace.git;a=summary Only in ace-6.0.3.new//debian: gcc4.4 diff -ur ace-6.0.3/debian/rules ace-6.0.3.new//debian/rules --- ace-6.0.3/debian/rules 2011-07-31 09:20:58.000000000 +0100 +++ ace-6.0.3.new//debian/rules 2011-10-09 13:55:20.000000000 +0100 @@ -6,6 +6,12 @@ # Copyright (C) 2004 Raphael Bossek <boss...@debian.org> # Copyright © 2005-2011 Thomas Girard <thomas.g.gir...@free.fr> +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),armel) + export PATH:=$(CURDIR)/debian/gcc4.4:$(PATH) +endif + MWCFLAGS := -type gnuace -noreldefs DSO_MAKE_FLAG := versioned_so=2 INSTALL_FLAGS := DESTDIR=$(CURDIR)/debian/tmp INSTALL_PREFIX=/usr install_rpath=0 $(DSO_MAKE_FLAG) @@ -56,6 +62,11 @@ .PHONY: configure configure: configure-stamp configure-stamp: +ifeq ($(DEB_BUILD_ARCH),armel) + mkdir debian/gcc4.4 + ln -s /usr/bin/gcc-4.4 debian/gcc4.4/gcc + ln -s /usr/bin/g++-4.4 debian/gcc4.4/g++ +endif cp debian/platform_macros.GNU $(ACE_ROOT)/include/makeinclude cp debian/config*.h $(ACE_ROOT)/ace/ cp debian/default.features $(ACE_ROOT)/bin/MakeProjectCreator/config @@ -101,6 +112,9 @@ # Remove stubs that get generated during TAO compilation but for some reason # are not removed on make realclean rm -f `cat debian/TOREMOVE` +ifeq ($deb_build_arch,armel) + rm -rf debian/gcc4.4 +endif override_dh_compress: dh_compress -Xexamples