Package: kst
Version: 1.1.0-2
Severity: serious
Tags: patch

There was an error while trying to autobuild your package:

> Automatic build of kst_1.1.0-2 on sarti by sbuild/hppa 69
> Build started at 20051012-2230

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 4.0.0), g77, kdelibs4-dev, libqt3-mt-dev, 
> libx11-dev, zlib1g-dev, libgsl0-dev, libcfitsio-dev

[...]

> For Debian GNU/Linux specific bug reporting instructions,
> see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
> make[6]: *** [kstiface_impl.lo] Error 1
> make[6]: Leaving directory `/build/buildd/kst-1.1.0/kst/kst'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/build/buildd/kst-1.1.0/kst/kst'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory `/build/buildd/kst-1.1.0/kst/kst'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd/kst-1.1.0/kst'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/kst-1.1.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/kst-1.1.0'
> make: *** [build-arch-stamp] Error 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=hppa&pkg=kst&ver=1.1.0-2

Patch for the NMU, based on
http://lists.debian.org/debian-devel/2005/09/msg00020.html

diff -ur ../../t/kst-1.1.0/debian/changelog kst-1.1.0/debian/changelog
--- ../../t/kst-1.1.0/debian/changelog  2005-10-14 13:22:33.000000000 -0600
+++ kst-1.1.0/debian/changelog  2005-10-15 00:29:41.000000000 -0600
@@ -1,3 +1,10 @@
+kst (1.1.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * work around gcc-4.0 FTBFS on some architectures
+
+ -- LaMont Jones <[EMAIL PROTECTED]>  Fri, 14 Oct 2005 19:28:35 +0000
+ kst (1.1.0-2) unstable; urgency=low
 
   * Recompile for the G++ ABI transition
diff -ur ../../t/kst-1.1.0/debian/control kst-1.1.0/debian/control
--- ../../t/kst-1.1.0/debian/control    2005-10-14 13:22:33.000000000 -0600
+++ kst-1.1.0/debian/control    2005-10-15 00:29:41.000000000 -0600
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Mark Hymers <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), g77, kdelibs4-dev, libqt3-mt-dev, 
libx11-dev, zlib1g-dev, libgsl0-dev, libcfitsio-dev
+Build-Depends: debhelper (>= 4.0.0), g77, kdelibs4-dev, libqt3-mt-dev, 
libx11-dev, zlib1g-dev, libgsl0-dev, libcfitsio-dev, g++-3.4 [arm m68k hppa]
 Standards-Version: 3.6.1
 
 Package: kst
diff -ur ../../t/kst-1.1.0/debian/rules kst-1.1.0/debian/rules
--- ../../t/kst-1.1.0/debian/rules      2005-10-14 13:22:33.000000000 -0600
+++ kst-1.1.0/debian/rules      2005-10-15 00:29:41.000000000 -0600
@@ -17,6 +17,15 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+GCC4_ICES_HERE := arm m68k hppa
+DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),$(GCC4_ICES_HERE)))
+       export CC=gcc-3.4
+       export CPP=cpp-3.4
+       export CXX=g++-3.4
+endif
+
 
 CFLAGS = -Wall -g
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to