On 5/12/20 8:56 PM, Darren Tucker wrote: > On Wed, 13 May 2020 at 02:00, Kevin Brott <kevin.brott@xxxxxxxxx> wrote: > [...] >> *AIX 7200-04-01-1939 / gcc (GCC) 8.3.0 >> fails out here ...* >> ... >> key option expiry-time invalid >> key option expiry-time expired >> key option expiry-time valid >> failed key options >> gmake[1]: *** [Makefile:213: t-exec] Error 1 >> gmake[1]: Leaving directory '/home/brottk/sandbox/openssh-portable/regress' >> make: *** [Makefile:673: t-exec] Error 2 > I've reproduced this one. The reason is that allocating a pty on AIX > requires root privileges, and the test sshd is failing with the > following: > > debug1: pty_setowner: no tty group > chown(/dev/pts/2, 500, 0) failed: Not owner > debug1: do_cleanup > debug1: session_pty_cleanup2: session 0 release /dev/pts/2 > Attempt to write login records by non-root user (aborting) > debug1: do_cleanup > FAIL: key option failed restrict,pty > > You can run the test with SUDO=sudo (assuming you have sudo and it's > configured to allow passwordless commands). I'll see if we can skip > these tests in that case. > Using: openssh-SNAP-20200513.tar.gz * AIX 7200-04-01-1939 / gcc 8.3.0 / OpenSSL 1.0.2t / SUDO="" make tests failed for PTY allocation as before * AIX 7200-04-01-1939 / gcc 8.3.0 / OpenSSL 1.0.2t / SUDO=sudo make tests failed => Temporary /etc/sudoers.d/05_sshbuild added to allow passwordless builds ... Identity added: openssh/regress/sk-ecdsa-sha2-nistp256@xxxxxxxxxxx-agent (user@host) Certificate added: openssh/regress/sk-ecdsa-sha2-nistp256@xxxxxxxxxxxxxxxxxxxxxxxxxx (sk-ecdsa-sha2-nistp256@xxxxxxxxxxx cert) ok simple agent test run test agent-getpeereid.sh ... ssh-add did not fail for nobody: 1 < 2 failed disallow agent attach from other uid gmake[1]: *** [Makefile:213: t-exec] Error 1 gmake[1]: Leaving directory '/home/brottk/sandbox/openssh/regress' make: *** [Makefile:676: t-exec] Error 2 * AIX 7200-04-01-1939 / xlc_r 12.1.0.18 / OpenSSL 1.0.2t / SUDO="" build fails before tests xlc_r -O2 -qarch=ppc -qalloca -I/usr/include -I/opt/freeware/include -I. -I. -O2 -qarch=ppc -qalloca -I/usr/include -I/opt/freeware/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/local/libexec/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -fPIC -shared -o regress/misc/sk-dummy/sk-dummy.so regress/misc/sk-dummy/sk-dummy.lo regress/misc/sk-dummy/fatal.lo ed25519.lo hash.lo ge25519.lo fe25519.lo sc25519.lo verify.lo -L. -Lopenbsd-compat -lopenbsd-compat -L. -Lopenbsd-compat/ -L/usr/lib -L/usr/ccs/lib -blibpath:/usr/lib:/lib -lcrypto -lz -lpthread xlc_r: 1501-218 (W) file regress/misc/sk-dummy/sk-dummy.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file regress/misc/sk-dummy/fatal.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file ed25519.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file hash.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file ge25519.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file fe25519.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file sc25519.lo contains an incorrect file suffix xlc_r: 1501-218 (W) file verify.lo contains an incorrect file suffix ld: 0706-005 Cannot find or open file: PIC ld:fopen(): No such file or directory ld: 0706-012 The -h flag is not recognized. ld: 0706-012 The -a flag is not recognized. make: The error code from the last command is 255. -- # include <stddisclaimer.h> /* Kevin Brott <Kevin.Brott@xxxxxxxxx> */ _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev