Re: Call for testing: OpenSSH 6.9

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



FYI - the -bnoquiet output...

root@x064:[/data/prj/openbsd/openssh/snap/openssh]lopenbsd-compat -lz
-lcrypt -bnoquiet                 <
(ld): halt 4
(ld): setfflag 4
(ld): savename regress/unittests/sshbuf/test_sshbuf
(ld): filelist 18 1
(ld): i /lib/crt0.o
(ld): i regress/unittests/sshbuf/tests.o
(ld): i regress/unittests/sshbuf/test_sshbuf.o
(ld): i regress/unittests/sshbuf/test_sshbuf_getput_basic.o
(ld): i regress/unittests/sshbuf/test_sshbuf_getput_crypto.o
(ld): i regress/unittests/sshbuf/test_sshbuf_misc.o
(ld): i regress/unittests/sshbuf/test_sshbuf_fuzz.o
(ld): i regress/unittests/sshbuf/test_sshbuf_getput_fuzz.o
(ld): i regress/unittests/sshbuf/test_sshbuf_fixed.o
(ld): i regress/unittests/test_helper/libtest_helper.a
(ld): lib ./libssh.a
(ld): lib openbsd-compat//libopenbsd-compat.a
(ld): lib /usr/lib/libz.a
(ld): lib /usr/lib/libcrypt.a
(ld): lib /usr/vac/lib/libxlopt.a
(ld): lib /usr/vac/lib/libxlipa.a
(ld): lib /usr/vac/lib/libxl.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libz.a[libz.so.1]: 72 symbols imported.
LIBRARY: Shared object libcrypt.a[shr.o]: 8 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 2873 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[posix_aio.o]: 20 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 18 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 5 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported.
FILELIST: Number of previously inserted files processed: 18
(ld): resolve
RESOLVE: 304 of 8566 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 60 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR
Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing
Symbol
 ----------------------------------------------------------------------------------------------
 .BN_hex2bn                [26]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_crypto.c(regress/unittests/sshbuf/test_sshbuf_getput_crypto.o)
                                   0000014c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000002d4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000404 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   0000058c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000006bc .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000878 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000009a8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000b98 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000cc8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000ee4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000010a4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001258 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001470 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001630 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001850 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000019e8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001b6c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001dc4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001f94 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
 .BN_num_bits              [38]    ER PR
sshbuf-getput-crypto.c(./libssh.a[sshbuf-getput-crypto.o])
                                   00000024 .text    R_RBR    [12]
.sshbuf_put_bignum1
                                   000001c4 .text    R_RBR    [14]
.sshbuf_put_bignum2
 .BN_num_bits              [42]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_crypto.c(regress/unittests/sshbuf/test_sshbuf_getput_crypto.o)
                                   0000023c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000004f4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000007d8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000ac4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000d2c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000f48 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000012bc .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000014d4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001694 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000018b4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001bd0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001e28 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001ff8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
 .BN_bn2bin                [40]    ER PR
sshbuf-getput-crypto.c(./libssh.a[sshbuf-getput-crypto.o])
                                   00000050 .text    R_RBR    [12]
.sshbuf_put_bignum1
                                   000001f8 .text    R_RBR    [14]
.sshbuf_put_bignum2
 .BN_bin2bn                [54]    ER PR
sshbuf-getput-crypto.c(./libssh.a[sshbuf-getput-crypto.o])
                                   000003ac .text    R_RBR    [16]
.sshbuf_get_bignum1
                                   000004c0 .text    R_RBR    [18]
.sshbuf_get_bignum2
 .BN_free                  [48]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_crypto.c(regress/unittests/sshbuf/test_sshbuf_getput_crypto.o)
                                   000002a0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000003d0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000558 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000688 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000844 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000974 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000b64 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000c94 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000ea4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000eb0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001064 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001070 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001218 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001224 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001430 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   0000143c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000015f0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000015fc .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001810 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   0000181c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000019a8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000019b4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001b2c .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001b38 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001d84 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001d90 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001f54 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001f60 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000020ec .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000020f8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
 .BN_new                   [58]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c(regress/unittests/sshbuf/test_sshbuf_getput_fuzz.o)
                                   00000148 .text    R_RBR    [14]
<.attempt_parse_blob>
                                   00000174 .text    R_RBR    [14]
<.attempt_parse_blob>
                                   000001d4 .text    R_RBR    [14]
<.attempt_parse_blob>
                                   00000200 .text    R_RBR    [14]
<.attempt_parse_blob>
 .BN_new                   [66]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_crypto.c(regress/unittests/sshbuf/test_sshbuf_getput_crypto.o)
                                   00000e08 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00000fec .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   000011a0 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001394 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001578 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001774 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001930 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001ab4 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001ce8 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00001edc .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
                                   00002074 .text    R_RBR    [12]
.sshbuf_getput_crypto_tests
 .BN_clear_free            [62]    ER PR
regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c(regress/unittests/sshbuf/test_sshbuf_getput_fuzz.o)
                                   0000016c .text    R_RBR    [14]
<.attempt_parse_blob>
                                   00000198 .text    R_RBR    [14]
<.attempt_parse_blob>
                                   000001f8 .text    R_RBR    [14]
<.attempt_parse_blob>
                                   00000224 .text    R_RBR    [14]
<.attempt_parse_blob>
 .BN_cmp                   [216]   ER PR
regress/unittests/test_helper/test_helper.c(regress/unittests/test_helper/libtest_helper.a[test_helper.o])
                                   000020d8 .text    R_RBR    [50]
.assert_bignum
 .BN_bn2hex                [218]   ER PR
regress/unittests/test_helper/test_helper.c(regress/unittests/test_helper/libtest_helper.a[test_helper.o])
                                   00002130 .text    R_RBR    [50]
.assert_bignum
                                   00002154 .text    R_RBR    [50]
.assert_bignum
                                   000021fc .text    R_RBR    [50]
.assert_bignum
                                   00002220 .text    R_RBR    [50]
.assert_bignum
 .ERR_get_error            [220]   ER PR
regress/unittests/test_helper/test_helper.c(regress/unittests/test_helper/libtest_helper.a[test_helper.o])
                                   00002294 .text    R_RBR    [52]
.ssl_err_check
 .ERR_error_string         [222]   ER PR
regress/unittests/test_helper/test_helper.c(regress/unittests/test_helper/libtest_helper.a[test_helper.o])
                                   000022b8 .text    R_RBR    [52]
.ssl_err_check
ER: The return code is 8.
root@x064:[/data/prj/openbsd/openssh/snap/openssh]


On Thu, Jun 25, 2015 at 5:58 PM, Michael Felt <aixtools@xxxxxxxxx> wrote:

> 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@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@x064:[/data/prj/openbsd/openssh/snap/openssh]
> root@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@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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>>
>>
>>
>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux