[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#483939: texlive-bin: FTBFS on armel, please build with gcc-4.2 there



* Norbert Preining [Sun, 01 Jun 2008 13:43:10 +0200]:

> I was just preparing a package for upload, so PLEASE send me quick a 
> patch so that I can include it. I cannot test the whole stuff, so it
> would be nice if you could send me a patch.

Attached, seems to work here.

> I will upload as soon as you send me the stuff and I have done some
> tests, but quite sure today.

Thanks!

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Mankind are very odd creatures: one half censure what they practice, the
other half practice what they censure; the rest always say and do as
they ought.
                -- Michel de Montaigne
diff -u -r texlive-bin-2007.dfsg.1.orig/debian/changelog texlive-bin-2007.dfsg.1/debian/changelog
--- texlive-bin-2007.dfsg.1.orig/debian/changelog	2008-06-01 15:14:48.000000000 +0200
+++ texlive-bin-2007.dfsg.1/debian/changelog	2008-06-01 15:15:32.000000000 +0200
@@ -1,3 +1,9 @@
+texlive-bin (2007.dfsg.1-3.1) UNRELEASED; urgency=low
+
+  * Build with g++-4.2 on armel, 4.3 ICEs there. (Closes: #483939)
+
+ -- Adeodato Simó <dato@net.com.org.es>  Sun,  1 Jun 2008 15:14:50 +0200
+
 texlive-bin (2007.dfsg.1-3) unstable; urgency=low
 
   * improve manpage of patgen (Closes: #450875)
diff -u -r texlive-bin-2007.dfsg.1.orig/debian/control texlive-bin-2007.dfsg.1/debian/control
--- texlive-bin-2007.dfsg.1.orig/debian/control	2008-06-01 15:14:48.000000000 +0200
+++ texlive-bin-2007.dfsg.1/debian/control	2008-06-01 15:09:29.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
 Uploaders: Norbert Preining <preining@debian.org>, Frank Küster <frank@debian.org>
-Build-Depends: debhelper (>= 5), libxml-dom-perl, libappconfig-perl, quilt, libxml-regexp-perl, libxml-perl, sharutils, ed, bzip2, libncurses5-dev | libncurses-dev, libxaw7-dev, libpng12-dev | libpng-dev, zlib1g-dev | libz-dev, libgd2-xpm-dev | libgd2-noxpm-dev, flex, bison, tex-common (>= 1.7), libpoppler-dev (>= 0.6), eperl, chrpath
+Build-Depends: debhelper (>= 5), libxml-dom-perl, libappconfig-perl, quilt, libxml-regexp-perl, libxml-perl, sharutils, ed, bzip2, libncurses5-dev | libncurses-dev, libxaw7-dev, libpng12-dev | libpng-dev, zlib1g-dev | libz-dev, libgd2-xpm-dev | libgd2-noxpm-dev, flex, bison, tex-common (>= 1.7), libpoppler-dev (>= 0.6), eperl, chrpath, g++-4.2 [armel]
 Standards-Version: 3.7.3
 
 Package: texlive-base-bin
diff -u -r texlive-bin-2007.dfsg.1.orig/debian/rules texlive-bin-2007.dfsg.1/debian/rules
--- texlive-bin-2007.dfsg.1.orig/debian/rules	2008-06-01 15:14:48.000000000 +0200
+++ texlive-bin-2007.dfsg.1/debian/rules	2008-06-01 15:13:01.000000000 +0200
@@ -11,6 +11,14 @@
 # needed for quilt:
 export QUILT_PATCHES=./debian/patches
 
+# build with gcc-4.2 on armel for now
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+GCC_42_ARCHES := armel
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),$(GCC_42_ARCHES)))
+    export CC=gcc-4.2
+    export CXX=g++-4.2
+endif
 
 build: build-stamp
 

Reply to: