Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64523 - [devtools] offload-build expects a posix compliant shell on the server
Attached to Project:
Arch Linux
Opened by Filipe Laíns (FFY00) - Friday, 15 November 2019, 22:17 GMT
Last edited by morganamilo (morganamilo) - Tuesday, 19 November 2019, 05:15 GMT
Opened by Filipe Laíns (FFY00) - Friday, 15 November 2019, 22:17 GMT
Last edited by morganamilo (morganamilo) - Tuesday, 19 November 2019, 05:15 GMT
|
DetailsDescription:
Steps to reproduce: - Change shell to a non posix compliant shell (ex. fish) in the target server |
This task depends upon
Description:
In line 94 of offload-build we ssh into the target server and run a set of posix commands. If the default shell is not posix compliant this will fail.
Steps to reproduce:
- Change shell to a non posix compliant shell (ex. fish) in the target server
- Invoke offload-build
When I write scripts, I write them to expect a POSIX environment specifically because it is meant to be portable. This includes things which are intended to be sourced into, say, /etc/profile in order to use it... or in this case, run via ssh. I'm not sure it makes sense to try to support everyone's unconventional personal shell outside of that?
My understanding is this shortcoming is known and expected by fish users, who therefore start fish by execing it in their .bashrc.
/bin/fish -c '/bin/sh -c "...."'
is not really going to help anything, but it will be nightmarish to try to get quoting right.