Debian Bug report logs - #654381
icon: FTBFS on hurd-i386

version graph

Package: src:icon; Maintainer for src:icon is Christian Hudon <chrish@debian.org>;

Reported by: svante.signell@gmail.com

Date: Tue, 3 Jan 2012 10:18:02 UTC

Severity: important

Tags: patch

Found in version icon/9.4.3-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-hurd@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 10:18:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to svante.signell@telia.com:
New Bug report received and forwarded. Copy sent to debian-hurd@lists.debian.org, Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 10:18:12 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Svante Signell <svante.signell@telia.com>
To: Debian bug reporting <submit@bugs.debian.org>
Subject: icon: FTBFS on hurd-i386
Date: Tue, 03 Jan 2012 11:14:16 +0100
[Message part 1 (text/plain, inline)]
Source: icon
Version: 9.4.3-3
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

icon currently FTBFS on GNU/Hurd, see
https://buildd.debian.org/status/fetch.php?pkg=icon&arch=hurd-i386&ver=9.4.3-3&stamp=1306225911

The problems are a flaky fakeroot-tcp used by GNU/Hurd for the
Test-icont tests and a PATH setting issue in the Test-opts script.

The solution is to run the tests under the build target, not under the
binary target which is using fakeroot. The tests don't need to be
performed using fakeroot. The attached patch fixes these issues and
builds fine at least in the GNU/Hurd and the GNU/Linux i686+amd64
environments.

Thanks!

[fix_FTBFS4Hurd.diff (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 13:21:44 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 13:21:51 GMT) Full text and rfc822 format available.

Message #10 received at 654381@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: svante.signell@telia.com, 654381@bugs.debian.org
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Tue, 3 Jan 2012 14:20:02 +0100
Svante Signell, le Tue 03 Jan 2012 11:14:16 +0100, a écrit :
> The problems are [...] a PATH setting issue in the Test-opts script.

What issue?

Thanks,
Samuel




Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 14:27:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to svante.signell@telia.com:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 14:27:05 GMT) Full text and rfc822 format available.

Message #15 received at 654381@bugs.debian.org (full text, mbox):

From: Svante Signell <svante.signell@telia.com>
To: Samuel Thibault <sthibault@debian.org>
Cc: 654381@bugs.debian.org
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Tue, 03 Jan 2012 15:25:09 +0100
On Tue, 2012-01-03 at 14:20 +0100, Samuel Thibault wrote:
> Svante Signell, le Tue 03 Jan 2012 11:14:16 +0100, a écrit :
> > The problems are [...] a PATH setting issue in the Test-opts script.
> 
> What issue?

See the patch: Without adding . to the PATH the following happens:
error in startup code
/dev/fd/3: can't read interpreter file header

when execing the program hello, in tunix.c:  
ofile = "hello"; argv = "hello"; execv(ofile, argv).





Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 15:15:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 15:15:10 GMT) Full text and rfc822 format available.

Message #20 received at 654381@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: Svante Signell <svante.signell@telia.com>
Cc: 654381@bugs.debian.org
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Tue, 3 Jan 2012 16:11:42 +0100
Svante Signell, le Tue 03 Jan 2012 15:25:09 +0100, a écrit :
> On Tue, 2012-01-03 at 14:20 +0100, Samuel Thibault wrote:
> > Svante Signell, le Tue 03 Jan 2012 11:14:16 +0100, a écrit :
> > > The problems are [...] a PATH setting issue in the Test-opts script.
> > 
> > What issue?
> 
> See the patch:

The patch only shows which source change you suggest, not what it is
supposed to fix.

> Without adding . to the PATH the following happens:
> error in startup code
> /dev/fd/3: can't read interpreter file header
> 
> when execing the program hello, in tunix.c:  
> ofile = "hello"; argv = "hello"; execv(ofile, argv).

I see. Problem is that it only cures the issue for the test. The -x
option is supposed to also work with the installed program, so I doubt
the maintainer will accept to cripple the test into accepting -x not
working without . in PATH.

As icont passes the right things to execv(), it rather looks like an
issue in execv itself.

Samuel




Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 15:33:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to svante.signell@telia.com:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 15:33:07 GMT) Full text and rfc822 format available.

Message #25 received at 654381@bugs.debian.org (full text, mbox):

From: Svante Signell <svante.signell@telia.com>
To: Samuel Thibault <sthibault@debian.org>
Cc: 654381@bugs.debian.org
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Tue, 03 Jan 2012 16:31:19 +0100
On Tue, 2012-01-03 at 16:11 +0100, Samuel Thibault wrote:
> Svante Signell, le Tue 03 Jan 2012 15:25:09 +0100, a écrit :
> > On Tue, 2012-01-03 at 14:20 +0100, Samuel Thibault wrote:
> > > Svante Signell, le Tue 03 Jan 2012 11:14:16 +0100, a écrit :
> > > > The problems are [...] a PATH setting issue in the Test-opts script.
> 
> > Without adding . to the PATH the following happens:
> > error in startup code
> > /dev/fd/3: can't read interpreter file header
> > 
> > when execing the program hello, in tunix.c:  
> > ofile = "hello"; argv = "hello"; execv(ofile, argv).
> 
> I see. Problem is that it only cures the issue for the test. The -x
> option is supposed to also work with the installed program, so I doubt
> the maintainer will accept to cripple the test into accepting -x not
> working without . in PATH.
> 
> As icont passes the right things to execv(), it rather looks like an
> issue in execv itself.

OK, but the .-path problems would only be for GNU/Hurd, and since there
are no reports of execv problems for other architectures, then execv is
broken on Hurd, and not elsewhere?





Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Tue, 03 Jan 2012 15:36:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Tue, 03 Jan 2012 15:36:09 GMT) Full text and rfc822 format available.

Message #30 received at 654381@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: Svante Signell <svante.signell@telia.com>
Cc: 654381@bugs.debian.org
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Tue, 3 Jan 2012 16:34:42 +0100
Svante Signell, le Tue 03 Jan 2012 16:31:19 +0100, a écrit :
> On Tue, 2012-01-03 at 16:11 +0100, Samuel Thibault wrote:
> > Svante Signell, le Tue 03 Jan 2012 15:25:09 +0100, a écrit :
> > > On Tue, 2012-01-03 at 14:20 +0100, Samuel Thibault wrote:
> > > > Svante Signell, le Tue 03 Jan 2012 11:14:16 +0100, a écrit :
> > > > > The problems are [...] a PATH setting issue in the Test-opts script.
> > 
> > > Without adding . to the PATH the following happens:
> > > error in startup code
> > > /dev/fd/3: can't read interpreter file header
> > > 
> > > when execing the program hello, in tunix.c:  
> > > ofile = "hello"; argv = "hello"; execv(ofile, argv).
> > 
> > I see. Problem is that it only cures the issue for the test. The -x
> > option is supposed to also work with the installed program, so I doubt
> > the maintainer will accept to cripple the test into accepting -x not
> > working without . in PATH.
> > 
> > As icont passes the right things to execv(), it rather looks like an
> > issue in execv itself.
> 
> OK, but the .-path problems would only be for GNU/Hurd, and since there
> are no reports of execv problems for other architectures, then execv is
> broken on Hurd, and not elsewhere?

Yes.

Samuel




Information forwarded to debian-bugs-dist@lists.debian.org, Christian Hudon <chrish@debian.org>:
Bug#654381; Package src:icon. (Wed, 06 Jun 2012 21:36:19 GMT) Full text and rfc822 format available.

Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Christian Hudon <chrish@debian.org>. (Wed, 06 Jun 2012 21:36:19 GMT) Full text and rfc822 format available.

Message #35 received at 654381@bugs.debian.org (full text, mbox):

From: Samuel Thibault <sthibault@debian.org>
To: 654381@bugs.debian.org
Cc: Svante Signell <svante.signell@telia.com>
Subject: Re: Bug#654381: icon: FTBFS on hurd-i386
Date: Wed, 6 Jun 2012 23:31:22 +0200
[Message part 1 (text/plain, inline)]
Hello,

The exec part is now fixed in libc0.3 and hurd packages, so the PATH
part of the proposed patch is not needed any more.  Could you apply the
remainder (attached to this mail), which avoids an issue from fakeroot?

Samuel
[fix_FTBFS4Hurd.diff (text/plain, attachment)]

Changed Bug submitter to 'svante.signell@gmail.com' from 'svante.signell@telia.com' Request was from Svante Signell <svante.signell@gmail.com> to control@bugs.debian.org. (Sat, 11 May 2013 21:36:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 08:40:50 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.