Package: expect
Version: 5.41.0-1
Severity: important
Tags: patch
Justification: fails to build from source
Hi,
on x86_64cpus (i386 and amd64 debian) expect complains about not knowing
x86_64-pc-linux-gnu. Updating config.sub/guess solves that problem. You
might also want to pass --host=$(DEB_BUILD_HOST) so it builds for i386
under i386 debian even on x86_64 cpus.
The attached patch uses autotools-dev to use allways current config.sub/guess
files.
MfG
Goswin
-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C
+ if [ -f config.sub.orig ]; then mv config.sub.orig config.sub; fi
+ if [ -f config.guess.orig ]; then mv config.guess.orig config.guess; fi
+
dh_clean pkgIndex
Message-Id: <E1Bcq92- 0001PC- IC@dual>
Date: Tue, 22 Jun 2004 18:37:19 +0000
From: Goswin von Brederlow <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: x86_64 architecture unknown
--===== ======= ===366317344107 3579403= = Transfer- Encoding: 7bit Disposition: inline
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Content-
Package: expect
Version: 5.41.0-1
Severity: important
Tags: patch
Justification: fails to build from source
Hi,
on x86_64cpus (i386 and amd64 debian) expect complains about not knowing pc-linux- gnu. Updating config.sub/guess solves that problem. You $(DEB_BUILD_ HOST) so it builds for i386
x86_64-
might also want to pass --host=
under i386 debian even on x86_64 cpus.
The attached patch uses autotools-dev to use allways current config.sub/guess
files.
MfG
Goswin
-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C
--===== ======= ===366317344107 3579403= = Transfer- Encoding: 7bit Disposition: attachment; filename= "expect_ 5.41.0- 1.0.0.1. pure64. patch"
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Content-
diff -Nurd expect- 5.41.0. deb/debian/ changelog expect- 5.41.0/ debian/ changelog 5.41.0. deb/debian/ changelog 2004-06-22 18:28:04.866435558 +0000 5.41.0/ debian/ changelog 2004-06-22 18:28:15.784605682 +0000 1.0.0.1. pure64) unstable; urgency=low
--- expect-
+++ expect-
@@ -1,3 +1,9 @@
+expect (5.41.0-
+
+ * Port to autotools-dev
+
+ -- Goswin von Brederlow <email address hidden> Tue, 22 Jun 2004 20:25:32 +0200
+
expect (5.41.0-1) unstable; urgency=low
* New upstream version (Closes: #251637, #251641) 5.41.0. deb/debian/ control expect- 5.41.0/ debian/ control 5.41.0. deb/debian/ control 2004-06-22 18:28:04.866435558 +0000 5.41.0/ debian/ control 2004-06-22 18:28:15.784605682 +0000
diff -Nurd expect-
--- expect-
+++ expect-
@@ -2,7 +2,7 @@
Section: interpreters
Priority: optional
Maintainer: Mike Markley <email address hidden>
-Build-Depends: debhelper (>= 3.0), autoconf, tcl8.4-dev, tk8.4-dev
+Build-Depends: debhelper (>= 3.0), autoconf, tcl8.4-dev, tk8.4-dev, autotools-dev
Standards-Version: 3.6.1.0
Package: expect 5.41.0. deb/debian/ rules expect- 5.41.0/ debian/ rules 5.41.0. deb/debian/ rules 2004-06-22 18:28:04.867435390 +0000 5.41.0/ debian/ rules 2004-06-22 18:28:15.785605515 +0000
diff -Nurd expect-
--- expect-
+++ expect-
@@ -25,6 +25,10 @@
configure-stamp:
dh_testdir
+ [ -f config.sub.orig ] || mv config.sub config.sub.orig misc/config. sub /usr/share/ misc/config. guess . /usr/include/ tcl$(tcltk) \ /usr/share/ man --enable-shared \ tcl=/usr/ lib/tcl$ (tcltk) --with- tk=/usr/ lib/tk$ (tcltk) \
+ [ -f config.guess.orig ] || mv config.guess config.guess.orig
+ cp /usr/share/
+
./configure --prefix=/usr --includedir=
--mandir=
--with-
@@ -50,6 +54,9 @@
-$(MAKE) clean
-$(MAKE) distclean
+ if [ -f config.sub.orig ]; then mv config.sub.orig config.sub; fi
+ if [ -f config.guess.orig ]; then mv config.guess.orig config.guess; fi
+
dh_clean pkgIndex
install: install-stamp
--===== ======= ===366317344107 3579403= =--