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

Darren Tucker dtucker at dtucker.net
Mon Apr 23 22:44:05 AEST 2018


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.

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).

[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.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list