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
L
L
Ludovic Courtès wrote on 31 Aug 2021 01:05
(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’.
L
L
Ludovic Courtès wrote on 10 Sep 2021 10:45
(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
M
M
Maxim Cournoyer wrote on 12 Sep 2021 04:27
(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
?