Call for testing: OpenSSH 6.9

Michael Felt aixtools at gmail.com
Fri Jun 26 01:58:52 AEST 2015


Ah - thanks Tim!


Now for the report on AIX and --without-openssl (something I am looking
forward to!)

Basically, it seems to build and "install" (see above), but make tests
fails due to, guessing, lack of openssl.

root at x064:[/data/prj/openbsd/openssh/snap/openssh]buildaix
--without-openssl
xlc is /usr/vacpp/bin/xlc
+ CPPFLAGS="-I/opt/buildaix/include -I/opt/include" CFLAGS="-I/opt/include
-I/opt/buildaix/include -O2" ./configure \
                --prefix=/opt  \
                --sysconfdir=/var/openssh/etc \
                --sharedstatedir=/var/openssh/com \
                --localstatedir=/var/openssh \
                --mandir=/usr/share/man \
                --infodir=/opt/share/info/openssh --without-openssl \
                        > .buildaix/configure.out
configure: WARNING: OpenSSH will use /dev/urandom as a source of random
numbers. It will fail if this device is not supported or accessible
configure: WARNING: ** Cannot find lastlog **
configure: WARNING: Please check and edit blibpath in LDFLAGS in Makefile
+ /opt/bin/make > .buildaix/make.out
"bsd-cray.c", line 817.23: 1506-356 (W) Compilation unit is empty.
"kludge-fd_set.c", line 28.1: 1506-356 (W) Compilation unit is empty.
"glob.c", line 93.9: 1506-236 (W) Macro name TILDE has been redefined.
"glob.c", line 93.9: 1506-358 (I) "TILDE" is defined on line 250 of
/usr/include/sys/ioctl.h.
"sha2.c", line 867.32: 1506-1332 (W) A function with return type "void" may
not return a value of type "void".
"strnlen.c", line 37.7: 1506-356 (W) Compilation unit is empty.
"/usr/include/syms.h", line 288.9: 1506-236 (W) Macro name T_NULL has been
redefined.
"/usr/include/syms.h", line 288.9: 1506-358 (I) "T_NULL" is defined on line
150 of /usr/include/arpa/onameser_compat.h.
ar: Creating an archive file libopenbsd-compat.a.
ar: Creating an archive file libssh.a.
    1500-030: (I) INFORMATION: main: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: process_config_line: Additional optimization
may be attained by recompiling and specifying MAXMEM option with a value
greater than 8192.
    1500-030: (I) INFORMATION: main: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
"platform.c", line 195.44: 1506-280 (W) Function argument assignment
between types "char*" and "const char*" is not allowed.
    1500-030: (I) INFORMATION: process_server_config_line: Additional
optimization may be attained by recompiling and specifying MAXMEM option
with a value greater than 8192.
"monitor.c", line 702.36: 1506-280 (W) Function argument assignment between
types "unsigned int*" and "int*" is not allowed.
     470  1500-010: (W) WARNING in monitor_child_postauth: Infinite loop.
Program may not stop.
    1640  1500-010: (W) WARNING in sftp_server_main: Infinite loop.
Program may not stop.
    1408  1500-010: (W) WARNING in main: Infinite loop.  Program may not
stop.

+ /opt/bin/make install DESTDIR=/var/aixtools/snap/openssh/6.9.0.176 >
.buildaix/install.out
key_load_private: invalid format
key_load_public: invalid format
Could not load host key: /var/openssh/etc/ssh_host_rsa_key
key_load_private: invalid format
key_load_public: invalid format
Could not load host key: /var/openssh/etc/ssh_host_dsa_key
+ mkinstallp.ksh /var/aixtools/snap/openssh/6.9.0.176 >
.buildaix/mkinstallp.out
readline() on closed filehandle RAL at /usr/sbin/makebff.pl line 276.
==============================
aixtools.snap.openssh:aixtools.snap.openssh.man.en_US:6.9.0.176::I:T:::::N:man
pages::::0::
aixtools.snap.openssh:aixtools.snap.openssh.rte:6.9.0.176::I:T:::::N:1525
0625 1433::::0::
==============================
root at x064:[/data/prj/openbsd/openssh/snap/openssh]
root at x064:[/data/prj/openbsd/openssh/snap/openssh]id
uid=199(michael) gid=1(staff) groups=1(staff)

And the the tests that do not get started because they are not ready to be
--without-openssl it seems.

root at x064:[/data/prj/openbsd/openssh/snap/openssh]make tests
[ -d `pwd`/regress ] || mkdir -p `pwd`/regress
[ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests
[ -d `pwd`/regress/unittests/test_helper ] || \
        mkdir -p `pwd`/regress/unittests/test_helper
[ -d `pwd`/regress/unittests/sshbuf ] || \
        mkdir -p `pwd`/regress/unittests/sshbuf
[ -d `pwd`/regress/unittests/sshkey ] || \
        mkdir -p `pwd`/regress/unittests/sshkey
[ -d `pwd`/regress/unittests/bitmap ] || \
        mkdir -p `pwd`/regress/unittests/bitmap
[ -d `pwd`/regress/unittests/hostkeys ] || \
        mkdir -p `pwd`/regress/unittests/hostkeys
[ -d `pwd`/regress/unittests/kex ] || \
        mkdir -p `pwd`/regress/unittests/kex
[ -f `pwd`/regress/Makefile ] || \
    ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile
(cd openbsd-compat && make)
make[1]: Entering directory
`/data/prj/openbsd/openssh/snap/openssh/openbsd-compat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/data/prj/openbsd/openssh/snap/openssh/openbsd-compat'
xlc -I/opt/include -I/opt/buildaix/include -O2  -I. -I.
-I/opt/buildaix/include -I/opt/include -DSSHDIR=\"/var/openssh/etc\"
-D_PATH_SSH_PROGRAM=\"/opt/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/opt/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/opt/libexec/ssh-keysign\"
-D_PATH_SSH_PKCS11_HELPER=\"/opt/libexec/ssh-pkcs11-helper\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DHAVE_CONFIG_H -o regress/modpipe regress/modpipe.c \
-L. -Lopenbsd-compat/  -blibpath:/usr/lib:/lib -lssh -lopenbsd-compat -lssh
-lopenbsd-compat -lz  -lcrypt
...
ar rv regress/unittests/test_helper/libtest_helper.a
regress/unittests/test_helper/test_helper.o
regress/unittests/test_helper/fuzz.o
ar: Creating an archive file regress/unittests/test_helper/libtest_helper.a.
a - regress/unittests/test_helper/test_helper.o
a - regress/unittests/test_helper/fuzz.o
ranlib regress/unittests/test_helper/libtest_helper.a
xlc -o regress/unittests/sshbuf/test_sshbuf -L. -Lopenbsd-compat/
-blibpath:/usr/lib:/lib regress/unittests/sshbuf/tests.o
regress/unittests/sshbuf/test_sshbuf.o
regress/unittests/sshbuf/test_sshbuf_getput_basic.o
regress/unittests/sshbuf/test_sshbuf_getput_crypto.o
regress/unittests/sshbuf/test_sshbuf_misc.o
regress/unittests/sshbuf/test_sshbuf_fuzz.o
regress/unittests/sshbuf/test_sshbuf_getput_fuzz.o
regress/unittests/sshbuf/test_sshbuf_fixed.o \
    regress/unittests/test_helper/libtest_helper.a \
    -lssh -lopenbsd-compat -lssh -lopenbsd-compat -lz  -lcrypt
ld: 0711-317 ERROR: Undefined symbol: .BN_hex2bn
ld: 0711-317 ERROR: Undefined symbol: .BN_num_bits
ld: 0711-317 ERROR: Undefined symbol: .BN_bn2bin
ld: 0711-317 ERROR: Undefined symbol: .BN_bin2bn
ld: 0711-317 ERROR: Undefined symbol: .BN_free
ld: 0711-317 ERROR: Undefined symbol: .BN_new
ld: 0711-317 ERROR: Undefined symbol: .BN_clear_free
ld: 0711-317 ERROR: Undefined symbol: .BN_cmp
ld: 0711-317 ERROR: Undefined symbol: .BN_bn2hex
ld: 0711-317 ERROR: Undefined symbol: .ERR_get_error
ld: 0711-317 ERROR: Undefined symbol: .ERR_error_string
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.



On Thu, Jun 25, 2015 at 5:18 PM, Tim Rice <tim at multitalents.net> wrote:

> On Thu, 25 Jun 2015, Michael Felt wrote:
>
> > Just running a standard make, and then a make install to a packaging
> > directory. It seems to be complaining about missing keys - not sure yet
> if
> > this is a show stopper
>
> For packaging you want the install-nokeys rule not install.
>
> --
> Tim Rice                                Multitalents
> tim at multitalents.net
>
>
>


More information about the openssh-unix-dev mailing list