build-issue on AIX with openssh-7.7p1 - easy correction! included

Michael Felt michael at felt.demon.nl
Tue Apr 24 04:06:40 AEST 2018


On 23/04/2018 14:44, Darren Tucker wrote:
> On 23 April 2018 at 22:28, Michael Felt <michael at felt.demon.nl> wrote:
> [...]
>> root at x066:[/data/prj/openbsd/openssh/openssh-7.7p1]PATH=../src/openssh-7.7p1/regress:$PATH:.
>> TEST_SHELL=/bin/sh sh test-exec.sh `pwd` agent-timeo>
>> sh: test-exec.sh: 0403-006 Execute permission denied.
>> root at x066:[/data/prj/openbsd/openssh/openssh-7.7p1]chmod u+x
>> ../src/openssh-7.7p1/regress/test-exec.sh
>> root at x066:[/data/prj/openbsd/openssh/openssh-7.7p1]PATH=../src/openssh-7.7p1/regress:$PATH:.
>> TEST_SHELL=/bin/sh sh test-exec.sh `pwd` agent-timeo>
>> not a file: agent-timeout.sh
>>
>> i.e., I needed to add the execute bit to test-exec.sh
> That should not be necessary since the command "sh" is run with
> "test-exec.sh" as its first argument, and sh should source it from the
> current dir.
My thought exactly - that sh should source it, but it didn't seem to 
want to. C'est la vie. A later problem to understand.
>
> Which make command are you using?  And are you doing an in-tree build?
>   I regularly[0] test with AIX native make[1], although not out-of-tree
> (ie "make test" is run from the top level openssh dir in that case).
Out of tree, AIX make (AIX 6.1, TL7) - but for above, I was not actually 
calling make. Make seemed to be calling everything properly.
>
> [0] usually once per release cycle, usually shortly before the release.
> [1] admittedly it's AIX 5.1's make, at least until I restore my 5.2
> installation's failed hard disk.

I stopped building against pre AIX5.3 TL7 years ago. Hat's off to you 
for staying with anno 2001!

FYI: I am starting to focus on AIX 6.1 (TL7) and later for network 
related things.

>



More information about the openssh-unix-dev mailing list