FTBFS: x86_64 architecture unknown

Bug #11466 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
expect (Debian)
Fix Released
Unknown
expect (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #255743 http://bugs.debian.org/255743

Revision history for this message
In , Goswin von Brederlow (brederlo) wrote : expect: Still some FTBFS issues

Package: expect
Version: 5.41.0-1
Severity: normal
Followup-For: Bug #255743

Hi,

the last patch was incomplete since it hits Bug #251641. The problem is
that autoconf screws up on the test. autoconf2.13 on the other hand work
fine.

This patch includes the last one as well as a Build-Depends on autoconf2.13
and a touch configure.in (so it gets rebuild correctly all the time).

MfG
 Goswin

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C

Revision history for this message
In , Kurt Roeckx (q-ping) wrote : Re: expect: architecture unknown

severity 255743 serious
thanks

The package is now failing to build on more arches since the last
NMU (for #282347). This bug is about the same, and the patch for it
should also fix it for those arches. However, I have to wonder
why this didn't show up before.

I have no idea which patch is the correct one but would assume
the first.

Kurt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #255743 http://bugs.debian.org/255743

Revision history for this message
Debian Bug Importer (debzilla) wrote :

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

--===============3663173441073579403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============3663173441073579403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="expect_5.41.0-1.0.0.1.pure64.patch"

diff -Nurd expect-5.41.0.deb/debian/changelog expect-5.41.0/debian/changelog
--- expect-5.41.0.deb/debian/changelog 2004-06-22 18:28:04.866435558 +0000
+++ expect-5.41.0/debian/changelog 2004-06-22 18:28:15.784605682 +0000
@@ -1,3 +1,9 @@
+expect (5.41.0-1.0.0.1.pure64) unstable; urgency=low
+
+ * 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)
diff -Nurd expect-5.41.0.deb/debian/control expect-5.41.0/debian/control
--- expect-5.41.0.deb/debian/control 2004-06-22 18:28:04.866435558 +0000
+++ expect-5.41.0/debian/control 2004-06-22 18:28:15.784605682 +0000
@@ -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
diff -Nurd expect-5.41.0.deb/debian/rules expect-5.41.0/debian/rules
--- expect-5.41.0.deb/debian/rules 2004-06-22 18:28:04.867435390 +0000
+++ expect-5.41.0/debian/rules 2004-06-22 18:28:15.785605515 +0000
@@ -25,6 +25,10 @@
 configure-stamp:
  dh_testdir

+ [ -f config.sub.orig ] || mv config.sub config.sub.orig
+ [ -f config.guess.orig ] || mv config.guess config.guess.orig
+ cp /usr/share/misc/config.sub /usr/share/misc/config.guess .
+
  ./configure --prefix=/usr --includedir=/usr/include/tcl$(tcltk) \
    --mandir=/usr/share/man --enable-shared \
    --with-tcl=/usr/lib/tcl$(tcltk) --with-tk=/usr/lib/tk$(tcltk) \
@@ -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

--===============3663173441073579403==--

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.3 KiB)

Message-Id: <E1BcrbR-0001wf-LF@dual>
Date: Tue, 22 Jun 2004 20:10:45 +0000
From: Goswin von Brederlow <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: expect: Still some FTBFS issues

--===============8628175176606550272==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: expect
Version: 5.41.0-1
Severity: normal
Followup-For: Bug #255743

Hi,

the last patch was incomplete since it hits Bug #251641. The problem is
that autoconf screws up on the test. autoconf2.13 on the other hand work
fine.

This patch includes the last one as well as a Build-Depends on autoconf2.13
and a touch configure.in (so it gets rebuild correctly all the time).

MfG
 Goswin

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C

--===============8628175176606550272==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="expect_5.41.0-1.0.0.2.pure64.patch"

diff -Nurd expect-5.41.0.deb/debian/changelog expect-5.41.0/debian/changelog
--- expect-5.41.0.deb/debian/changelog 2004-06-22 19:57:29.279880009 +0000
+++ expect-5.41.0/debian/changelog 2004-06-22 19:57:38.437344388 +0000
@@ -1,3 +1,16 @@
+expect (5.41.0-1.0.0.2.pure64) unstable; urgency=low
+
+ * Change Build-Depend autoconf -> autoconf2.13
+ * touch configure.in so it gets rebuild
+
+ -- Goswin von Brederlow <email address hidden> Tue, 22 Jun 2004 20:25:32 +0200
+
+expect (5.41.0-1.0.0.1.pure64) unstable; urgency=low
+
+ * 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)
diff -Nurd expect-5.41.0.deb/debian/control expect-5.41.0/debian/control
--- expect-5.41.0.deb/debian/control 2004-06-22 19:57:29.279880009 +0000
+++ expect-5.41.0/debian/control 2004-06-22 19:57:38.437344388 +0000
@@ -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), autoconf2.13, tcl8.4-dev, tk8.4-dev, autotools-dev
 Standards-Version: 3.6.1.0

 Package: expect
diff -Nurd expect-5.41.0.deb/debian/rules expect-5.41.0/debian/rules
--- expect-5.41.0.deb/debian/rules 2004-06-22 19:57:29.280879842 +0000
+++ expect-5.41.0/debian/rules 2004-06-22 19:57:38.437344388 +0000
@@ -25,6 +25,11 @@
 configure-stamp:
  dh_testdir

+ [ -f config.sub.orig ] || mv config.sub config.sub.orig
+ [ -f config.guess.orig ] || mv config.guess config.guess.orig
+ cp /usr/share/misc/config.sub /usr/share/misc/config.guess .
+ touch configure.in
+
  ./configure --prefix=/usr --includedir=/usr/include/tcl$(tcltk) \
    --mandir=/usr/share/man --enable-shared \
    --with-tcl=/usr/lib/tcl$(tcltk) --with-tk=/usr/lib/tk$(tcltk) \
@@ -50,6 +55,9 @@
  -$(MAKE) clean
  -$(MAKE) distclean

+ if [ -f config.sub.orig ]; then mv config.sub.or...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 25 Dec 2004 19:52:09 +0100
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: Re: expect: architecture unknown

severity 255743 serious
thanks

The package is now failing to build on more arches since the last
NMU (for #282347). This bug is about the same, and the patch for it
should also fix it for those arches. However, I have to wonder
why this didn't show up before.

I have no idea which patch is the correct one but would assume
the first.

Kurt

Revision history for this message
Matt Zimmerman (mdz) wrote :

expect (5.42.1-1.1ubuntu2) hoary; urgency=low

  * config.guess out of date

 -- LaMont Jones <email address hidden> Wed, 8 Dec 2004 15:57:48 -0700

Revision history for this message
In , Steve Langasek (vorlon) wrote :

Hi Mike,

I've prepared a follow-up NMU for this issue as well. The previous patch in
the BTS is dated, as it tries to introduce a build-dep on autoconf2.13 when
the previous NMU specifically built for autoconf 2.5x. I've also opted not
to use autotools-dev -- the attached solution makes this a one-time change
that should last for quite some time without needing to update
config.{guess,sub}, but that's still an option if you prefer.

Thanks,
--
Steve Langasek
postmodern programmer

Revision history for this message
In , Steve Langasek (vorlon) wrote : Fixed in NMU of expect 5.42.1-1.2

tag 255743 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 6 Jan 2005 22:23:52 -0800
Source: expect
Binary: expect expectk expect-dev
Architecture: source i386
Version: 5.42.1-1.2
Distribution: unstable
Urgency: high
Maintainer: Mike Markley <email address hidden>
Changed-By: Steve Langasek <email address hidden>
Description:
 expect - A program that "talks" to other programs
 expect-dev - Development files for the expect package
 expectk - A Tk/X11 version of the expect program
Closes: 255743
Changes:
 expect (5.42.1-1.2) unstable; urgency=high
 .
   * Non-maintainer upload.
   * High-urgency upload for sarge-targetted RC bugfix
   * Update config.sub and config.guess against current autotools, and
     pass --build=$(DEB_BUILD_GNU_TYPE) to configure, to avoid build
     failures on unknown host types (closes: #255743).
Files:
 ff36bf1ff25c9fb45c6fead01d6a15aa 618 interpreters optional expect_5.42.1-1.2.dsc
 41384fdb8e47a773f27c87bd3607fc6f 103751 interpreters optional expect_5.42.1-1.2.diff.gz
 1ca4e494954094cab2d5131db9813c5a 273614 interpreters optional expect_5.42.1-1.2_i386.deb
 438465e47a60ba4fcdaa23ecab6b134a 70554 interpreters optional expectk_5.42.1-1.2_i386.deb
 2419bcd04b19322f913d656d5d368d6f 164290 devel optional expect-dev_5.42.1-1.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB3nQMKN6ufymYLloRArCsAJ4vojehqOnry9tzbZRoS30pFlyoDQCaA57c
penlM1oZuDQORf1kyXqi/Go=
=6N8i
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 07 Jan 2005 06:47:08 -0500
From: Steve Langasek <email address hidden>
To: <email address hidden>
Cc: Steve Langasek <email address hidden>, Mike Markley <email address hidden>
Subject: Fixed in NMU of expect 5.42.1-1.2

tag 255743 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 6 Jan 2005 22:23:52 -0800
Source: expect
Binary: expect expectk expect-dev
Architecture: source i386
Version: 5.42.1-1.2
Distribution: unstable
Urgency: high
Maintainer: Mike Markley <email address hidden>
Changed-By: Steve Langasek <email address hidden>
Description:
 expect - A program that "talks" to other programs
 expect-dev - Development files for the expect package
 expectk - A Tk/X11 version of the expect program
Closes: 255743
Changes:
 expect (5.42.1-1.2) unstable; urgency=high
 .
   * Non-maintainer upload.
   * High-urgency upload for sarge-targetted RC bugfix
   * Update config.sub and config.guess against current autotools, and
     pass --build=$(DEB_BUILD_GNU_TYPE) to configure, to avoid build
     failures on unknown host types (closes: #255743).
Files:
 ff36bf1ff25c9fb45c6fead01d6a15aa 618 interpreters optional expect_5.42.1-1.2.dsc
 41384fdb8e47a773f27c87bd3607fc6f 103751 interpreters optional expect_5.42.1-1.2.diff.gz
 1ca4e494954094cab2d5131db9813c5a 273614 interpreters optional expect_5.42.1-1.2_i386.deb
 438465e47a60ba4fcdaa23ecab6b134a 70554 interpreters optional expectk_5.42.1-1.2_i386.deb
 2419bcd04b19322f913d656d5d368d6f 164290 devel optional expect-dev_5.42.1-1.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB3nQMKN6ufymYLloRArCsAJ4vojehqOnry9tzbZRoS30pFlyoDQCaA57c
penlM1oZuDQORf1kyXqi/Go=
=6N8i
-----END PGP SIGNATURE-----

Revision history for this message
In , Ted Walther (krooger) wrote :

close 277350
close 301558
close 291430
close 253233
close 157902
close 255743
close 282347
thanks

--
          It's not true unless it makes you laugh,
     but you don't understand it until it makes you weep.

Eukleia: Ted Walther
Address: 5690 Pioneer Ave, Burnaby, BC V5H2X6 (Canada)
Contact: 604-430-4973

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.