Re: [cfarm-users] POSIX shells

2024-09-15 Thread Paul Eggert via cfarm-users
If you're interested in porting to Solaris 10, I suggest reading the Autoconf documentation, which talks about the various pitfalls of Solaris 10's multiple implementation of awk, sh, grep, etc. See: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.72/html_node/Portable-Sh

Re: [cfarm-users] POSIX shells

2024-09-15 Thread Segher Boessenkool via cfarm-users
On Mon, Sep 16, 2024 at 03:29:58AM +, Peter Gutmann via cfarm-users wrote: > Thorsten Glaser via cfarm-users writes: > > >So, please keep it that way ;-) > > +1. Having access to a very diverse range of compilers and build > environments, even if some are broken-by-design from the vendor, i

Re: [cfarm-users] POSIX shells

2024-09-15 Thread Peter Gutmann via cfarm-users
Thorsten Glaser via cfarm-users writes: >So, please keep it that way ;-) +1. Having access to a very diverse range of compilers and build environments, even if some are broken-by-design from the vendor, is extremely useful both to shake out bugs and for regression testing on older systems. x86-

Re: [cfarm-users] POSIX shells

2024-09-15 Thread Thorsten Glaser via cfarm-users
On Sun, 15 Sep 2024, Jacob Bachmeyer via cfarm-users wrote: > I think that there *is* a POSIX shell on Solaris 10, it is just that /bin/sh > is > not that shell. I just checked and running "PATH=`getconf PATH` command -v > sh" Incidentally, I registred with the compile farm precisely to test t

Re: [cfarm-users] POSIX shells (was: Automated deployment across multiple cfarm hosts)

2024-09-15 Thread Jacob Bachmeyer via cfarm-users
Denis Ovsienko via cfarm-users wrote: On Sun, 15 Sep 2024 15:39:18 + Peter Gutmann via cfarm-users wrote: (OK, it's not quite that bad, but several things are pre-Posix at least, e.g. /bin/sh doesn't understand "$(...)" but requires `...`). I ran into this particular thing after

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Denis Ovsienko via cfarm-users
On Sun, 15 Sep 2024 15:39:18 + Peter Gutmann via cfarm-users wrote: > (OK, it's not quite that bad, but several things are pre-Posix at > least, e.g. /bin/sh doesn't understand "$(...)" but requires `...`). I ran into this particular thing after following the advice of shellcheck and replaci

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Peter Gutmann via cfarm-users
Bruno Haible writes: >Look at the PATH column in >https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration. Ah, that fixed it, thanks, I was missing /usr/ccs/bin. Speaking of /usr/ccs/bin, it's nice to have an excuse to haul out my Version 7 Unix manuals again. (OK, it's not quite th

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Baptiste Jonglez via cfarm-users
On 15-09-24, Peter Gutmann via cfarm-users wrote: > For anyone else needing to do this from a script, the magic for SSH is: > > SSH_ARGS="-o PubkeyAcceptedAlgorithms=+ssh-rsa -o > KexAlgorithms=+diffie-hellman-group-exchange-sha1 -o > HostKeyAlgorithms=+ssh-rsa -o StrictHostKeyChecking=no" Docu

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jonathan Wakely via cfarm-users
On Sun, 15 Sept 2024 at 10:52, Jonathan Wakely wrote: > > On Sun, 15 Sept 2024 at 10:40, Peter Gutmann > wrote: > > > > Jonathan Wakely writes: > > > > >>cfarm210 is running an ancient version of SSH that requires all sorts of > > >>algorithm downgrades to work. This isn't a big deal security-

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jonathan Wakely via cfarm-users
On Sun, 15 Sept 2024 at 10:40, Peter Gutmann wrote: > > Jonathan Wakely writes: > > >>cfarm210 is running an ancient version of SSH that requires all sorts of > >>algorithm downgrades to work. This isn't a big deal security-wise, but it > >>does mean adding a pile of overrides to the client-side

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Bruno Haible via cfarm-users
Peter Gutmann wrote: > >/opt/csw/bin > > I'd looked in there but couldn't find anything (make, ar, strip, etc). Look at the PATH column in https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration. > There's > g present, but I was hoping to test with Sun tools to verify the > ability to

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Peter Gutmann via cfarm-users
Jonathan Wakely writes: >>cfarm210 is running an ancient version of SSH that requires all sorts of >>algorithm downgrades to work. This isn't a big deal security-wise, but it >>does mean adding a pile of overrides to the client-side SSH. > >That's an out-of-support version of Solaris, there's a

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jeffrey Walton via cfarm-users
On Sun, Sep 15, 2024 at 3:41 AM Peter Gutmann via cfarm-users wrote: > > [...] > cfarm119 has no dev tools that I can find: > > -bash-5.1$ which xlc > which: 0652-141 There is no xlc in /usr/bin /etc /usr/sbin /usr/ucb > /home/peter/bin /usr/bin/X11 /sbin .. > -bash-5.1$ lslpp -l | grep xlc > -ba

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jonathan Wakely via cfarm-users
On Sun, 15 Sept 2024 at 10:21, Peter Gutmann via cfarm-users wrote: > > Bruno Haible writes: > > >cfarm119 has two compilers installed: > > - A GCC that works, in /opt/freeware/bin. > > - An IBM derivate of clang, named ibm-clang and ibm-clang++, > >in /opt/IBM/openxlC/17.1.1/bin. But it is

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Bruno Haible via cfarm-users
Peter Gutmann wrote: > >cfarm119 has two compilers installed: > > - A GCC that works, in /opt/freeware/bin. > > - An IBM derivate of clang, named ibm-clang and ibm-clang++, > >in /opt/IBM/openxlC/17.1.1/bin. But it is broken (miscompiles various > >things here and there). > > Ah, OK. Ac

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Peter Gutmann via cfarm-users
Bruno Haible writes: >cfarm119 has two compilers installed: > - A GCC that works, in /opt/freeware/bin. > - An IBM derivate of clang, named ibm-clang and ibm-clang++, >in /opt/IBM/openxlC/17.1.1/bin. But it is broken (miscompiles various >things here and there). Ah, OK. According to m

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Bruno Haible via cfarm-users
Peter Gutmann wrote: > Playing with my own build-on-everything script I've found some issues with > several systems Special compiler options or environment variables are needed on many systems. See https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration . > cfarm119 has no dev tools th

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jonathan Wakely via cfarm-users
On Sun, 15 Sept 2024 at 09:54, Jonathan Wakely wrote: > > On Sun, 15 Sept 2024 at 08:41, Peter Gutmann via cfarm-users > wrote: > > > > Playing with my own build-on-everything script I've found some issues with > > several systems, when doing things manually I've just skipped over them but > > th

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Jonathan Wakely via cfarm-users
On Sun, 15 Sept 2024 at 08:41, Peter Gutmann via cfarm-users wrote: > > Playing with my own build-on-everything script I've found some issues with > several systems, when doing things manually I've just skipped over them but > the script is less forgiving... > > cfarm23 has an ancient clang instal

Re: [cfarm-users] Automated deployment across multiple cfarm hosts

2024-09-15 Thread Peter Gutmann via cfarm-users
Playing with my own build-on-everything script I've found some issues with several systems, when doing things manually I've just skipped over them but the script is less forgiving... cfarm23 has an ancient clang install that dies with an internal error trying to generate code. cfarm112 has a brok

Re: [cfarm-users] cfarm420~423: yet another planned maintenance on Sep 15~16

2024-09-15 Thread Peter Gutmann via cfarm-users
Jing Luo via cfarm-users writes: >Suggestion for the music to play when I work on the servers is very welcome. Sunn O))) - Live at The Mayan. Then you could see if you can finish the task before they get around to their second note. Peter. ___ cfarm-