Bug 2371 - make check fails when using --without-openssl on AIX
Summary: make check fails when using --without-openssl on AIX
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 6.8p1
Hardware: Other All
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 08:30 AEDT by Michael Felt
Modified: 2021-03-04 09:54 AEDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Felt 2015-03-25 08:30:50 AEDT
During the RC check everything worked fine - except I had never tested --without-openssl (which I know is experimental according to changelog)

However, I cannot verify the stability of OpenSSH because 'make tests' fails with the following message.

        xlc -I/opt/include -I/opt/aixtools/include -O2  -I. -I. -I/opt/include -DSSHDIR=\"/var//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//etc\"  -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c regress/unittests/test_helper/fuzz.c -o regress/unittests/test_helper/fuzz.o
        /usr/bin/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.
make: 1254-004 The error code from the last command is 8.


Stop.

However, ssh does compile. - so my hope is that OpenSSH is valid, but the test system is broken.

root@x064:[/data/prj/openbsd/openssh/openssh-6.8p1]./ssh -V
OpenSSH_6.8p1, without OpenSSL
Comment 1 Darren Tucker 2015-04-17 11:10:13 AEST
Thanks for the report.  We'll probably need to restructure the tests somewhat as they weren't designed to selectively enable tests, which we're increasingly needing to do.
Comment 2 Damien Miller 2020-01-25 23:53:10 AEDT
Darren now regularly runs the regress tests with --without-openssl. This should be fixed.
Comment 3 Damien Miller 2021-03-04 09:54:19 AEDT
close bugs that were resolved in OpenSSH 8.5 release cycle