Autoconf’s config.{guess,sub} have patched shebangs

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal

Debbugs page

Ludovic Courtès wrote 3 years ago
(address . bug-guix@gnu.org)
87bl5ea5z9.fsf@gnu.org
As reported at
Autoconf’s config.{guess,sub} (installed by running ‘autoconf -i’ or
similar) have patched shebangs, making them unsuitable on non-Guix
systems:

Toggle snippet (6 lines)
$ head -1 $(find $(guix build autoconf) -name config.guess)
#!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
$ head -1 $(find $(guix build autoconf) -name config.sub)
#!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh

We should copy the ‘unpatch-shebangs’ phase from automake, added in

Ludo’.
Ludovic Courtès wrote 3 years ago
(address . 50288-done@debbugs.gnu.org)(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
87k0joddk1.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (14 lines)
> As reported at
> <https://lists.gnu.org/archive/html/guix-devel/2021-08/msg00127.html>,
> Autoconf’s config.{guess,sub} (installed by running ‘autoconf -i’ or
> similar) have patched shebangs, making them unsuitable on non-Guix
> systems:
>
> $ head -1 $(find $(guix build autoconf) -name config.guess)
> #!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
> $ head -1 $(find $(guix build autoconf) -name config.sub)
> #!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
>
> We should copy the ‘unpatch-shebangs’ phase from automake, added in
> response to <https://issues.guix.gnu.org/14201>.

Done in 902de26c1a2462b3374633f724852507d957019a for autoconf 2.71.

Ludo’.
Closed
Maxim Cournoyer wrote 3 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 50288-done@debbugs.gnu.org)
87wnnmplz4.fsf@gmail.com
Hi!

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (18 lines)
> Ludovic Courtès <ludo@gnu.org> skribis:
>
>> As reported at
>> <https://lists.gnu.org/archive/html/guix-devel/2021-08/msg00127.html>,
>> Autoconf’s config.{guess,sub} (installed by running ‘autoconf -i’ or
>> similar) have patched shebangs, making them unsuitable on non-Guix
>> systems:
>>
>> $ head -1 $(find $(guix build autoconf) -name config.guess)
>> #!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
>> $ head -1 $(find $(guix build autoconf) -name config.sub)
>> #!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
>>
>> We should copy the ‘unpatch-shebangs’ phase from automake, added in
>> response to <https://issues.guix.gnu.org/14201>.
>
> Done in 902de26c1a2462b3374633f724852507d957019a for autoconf 2.71.

Well done!

Thanks,

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 50288@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 50288
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help