FYI

--- Begin Message ---
Package: kaffe
Version: 1.1.4.PRE1.1.5-1
Severity: serious

| dpkg-buildpackage: source package is kaffe
| dpkg-buildpackage: source version is 2:1.1.4.PRE1.1.5-1
| dpkg-buildpackage: source maintainer is Arnaud Vandyck <[EMAIL PROTECTED]>
| dpkg-buildpackage: host architecture is s390
[...]
| cd build/jthreads && 
/home/waldi/debian/tmp/kaffe-1.1.4.PRE1.1.5/build-tree/kaffe-1.1.4.PRE1.1.5/configure 
--with-pic --infodir='/usr/share/info' --mandir='/usr/share/man' --with-staticvm 
--with-staticlib --with-rt-jar='no' --disable-debug --disable-sound --with-jikes 
--disable-gcj --with-threads=unix-jthreads --prefix=/usr/lib/kaffe/jthreads 
--sharedstatedir=/var/lib/kaffe/jthreads
[...]
| checking dependency style of g++... gcc3
| checking build system type... s390x-ibm-linux-gnu
| checking host system type... s390x-ibm-linux-gnu
| configure: error: Configuration s390x-linux not supported
| make: *** [stampdir/configure-jthreads] Error 1

debian/rules fails to pass proper --build and --host to configure. The
attached patch fixes this problem.

Bastian

-- 
It is necessary to have purpose.
                -- Alice #1, "I, Mudd", stardate 4513.3
diff -ur kaffe-1.1.4.PRE1.1.5.orig/debian/changelog 
kaffe-1.1.4.PRE1.1.5/debian/changelog
--- kaffe-1.1.4.PRE1.1.5.orig/debian/changelog  Wed Jun  9 21:15:29 2004
+++ kaffe-1.1.4.PRE1.1.5/debian/changelog       Wed Jun  9 21:33:03 2004
@@ -1,3 +1,9 @@
+kaffe (2:1.1.4.PRE1.1.5-1.1) unstable; urgency=low
+
+  * Pass proper --host and --build arguments to configure.
+
+ -- Bastian Blank <[EMAIL PROTECTED]>  Wed, 09 Jun 2004 21:33:02 +0200
+
 kaffe (2:1.1.4.PRE1.1.5-1) unstable; urgency=low
 
   * New upstream pre-release
diff -ur kaffe-1.1.4.PRE1.1.5.orig/debian/rules kaffe-1.1.4.PRE1.1.5/debian/rules
--- kaffe-1.1.4.PRE1.1.5.orig/debian/rules      Wed Jun  9 21:15:29 2004
+++ kaffe-1.1.4.PRE1.1.5/debian/rules   Wed Jun  9 21:32:31 2004
@@ -2,6 +2,9 @@
 # Sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
 colon          := :
 comma          := ,
 empty          :=
@@ -21,6 +24,8 @@
        --with-rt-jar='no' \
   --disable-debug \
   --disable-sound \
+  --host=$(DEB_HOST_GNU_TYPE) \
+  --build=$(DEB_BUILD_GNU_TYPE)
 
 #      --enable-xprofiling --with-profiling 
 
@@ -47,11 +52,6 @@
 ifneq ($(wildcard debian/rules.$(BUILDARCH)),)
        include debian/rules.$(BUILDARCH)
 endif
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 CFLAGS = -Wall -g
 

Attachment: signature.asc
Description: Digital signature


--- End Message ---
-- 
Arnaud Vandyck

Packages should build-depend on what they should build-depend.
                -- Santiago Vila on debian-devel

Reply via email to