GNU bug report logs - #14201
guile build issue under Mac OS X

Previous Next

Package: guile;

Reported by: Marius Schamschula <mschamschula <at> gmail.com>

Date: Sat, 13 Apr 2013 23:46:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14201 in the body.
You can then email your comments to 14201 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-guile <at> gnu.org:
bug#14201; Package guile. (Sat, 13 Apr 2013 23:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Schamschula <mschamschula <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sat, 13 Apr 2013 23:46:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marius Schamschula <mschamschula <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: guile build issue under Mac OS X
Date: Sat, 13 Apr 2013 09:16:52 -0500
Hi there,

I just tried building guile 2.0.9 under three versions of Mac OS X (10.6.8, 10.7.5 and 10.8.3). In all cases I get the following error:

<snip>
Making all in lib
make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
make[2]: ../build-aux/install-sh: Command not found
make[2]: *** [arpa/inet.h] Error 127
make[2]: Leaving directory `/private/tmp/guile-2.0.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/tmp/guile-2.0.9'
make: *** [all] Error 2
</snip>

Notes:
* the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.
* /usr/include/arpa/inet.h is also available, so no CPPFLAGS should be needed

Any ideas?

--
Marius Schamschula







Information forwarded to bug-guile <at> gnu.org:
bug#14201; Package guile. (Sun, 14 Apr 2013 13:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 14201 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Schamschula <mschamschula <at> gmail.com>
Cc: 14201 <at> debbugs.gnu.org
Subject: Re: bug#14201: guile build issue under Mac OS X
Date: Sun, 14 Apr 2013 15:52:54 +0200
Hi Marius,

Marius Schamschula <mschamschula <at> gmail.com> skribis:

> make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
> make[2]: ../build-aux/install-sh: Command not found

[...]

> * the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.

It appears that I made a mistake when building the tarball.  Can you
change the first line of build-aux/install-sh to #!/bin/sh and try
again?

(For some reason that line in the tarball would refer to a local file
name instead of /bin/sh.  I’ll investigate to see how it ended up here.)

Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#14201; Package guile. (Sun, 14 Apr 2013 14:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 14201 <at> debbugs.gnu.org (full text, mbox):

From: Marius Schamschula <mschamschula <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Subject: Re: bug#14201: guile build issue under Mac OS X
Date: Sun, 14 Apr 2013 09:01:19 -0500
Ludovic,

Good catch!

 I didn't look at #!

On Apr 14, 2013, at 8:52 AM, ludo <at> gnu.org (Ludovic Courtès) wrote:

> Hi Marius,
> 
> Marius Schamschula <mschamschula <at> gmail.com> skribis:
> 
>> make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
>> make[2]: ../build-aux/install-sh: Command not found
> 
> [...]
> 
>> * the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.
> 
> It appears that I made a mistake when building the tarball.  Can you
> change the first line of build-aux/install-sh to #!/bin/sh and try
> again?
> 
> (For some reason that line in the tarball would refer to a local file
> name instead of /bin/sh.  I’ll investigate to see how it ended up here.)
> 
> Ludo’.

--
Marius Schamschula







Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 14 Apr 2013 14:30:02 GMT) Full text and rfc822 format available.

Notification sent to Marius Schamschula <mschamschula <at> gmail.com>:
bug acknowledged by developer. (Sun, 14 Apr 2013 14:30:02 GMT) Full text and rfc822 format available.

Message #16 received at 14201-close <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Schamschula <mschamschula <at> gmail.com>
Cc: 14201-close <at> debbugs.gnu.org
Subject: Re: bug#14201: guile build issue under Mac OS X
Date: Sun, 14 Apr 2013 16:25:10 +0200
Marius Schamschula <mschamschula <at> gmail.com> skribis:

> Good catch!
>
>  I didn't look at #!

Thanks, and sorry for the inconvenience!

Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#14201; Package guile. (Sun, 14 Apr 2013 22:16:02 GMT) Full text and rfc822 format available.

Message #19 received at 14201 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 14201 <at> debbugs.gnu.org
Cc: Marius Schamschula <mschamschula <at> gmail.com>
Subject: Re: bug#14201: guile build issue under Mac OS X
Date: Mon, 15 Apr 2013 00:11:24 +0200
ludo <at> gnu.org (Ludovic Courtès) skribis:

> (For some reason that line in the tarball would refer to a local file
> name instead of /bin/sh.  I’ll investigate to see how it ended up here.)

For the record, the problem is that the scripts installed by
‘automake -a’, with Automake from Guix, would contain “patched” shebangs
referring to files under /nix/store:

  http://lists.gnu.org/archive/html/bug-guix/2013-04/msg00076.html

This is a serious issue that I’ve fixed now.

The Guile 2.0.9 tarball has several scripts in build-aux/ with invalid
shebangs.  “Fortunately”, apart from ‘install-sh’, they are normally
invoked as “$SHELL ./the-file”, so the shebang isn’t actually used.

Please accept my apologies...

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 May 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 352 days ago.

Previous Next


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