On 01/06/15 22:17, Tom G. Christensen wrote:> On sparc-sun-solaris2.6 and sparc-sun-solaris2.7 the testsuite fails: > run test cfgparse.sh ... > reparse minimal config > reparse regress config > listenaddress order > bad addr or host: ::1 (no address associated with name) > listenaddress order 1 > bad addr or host: ::1 (no address associated with name) > listenaddress order 2 > failed config parse > gmake[1]: *** [t-exec] Error 1 >I just re-tested on Solaris 2.6 with 9488538a from git and this is still an issue. Removing the ipv6 addresses from cfgparse.sh allows the testsuite to run to completion. -tgc
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
Further, some compiler warning messages (some may be ignored completely,
others may be interesting)...
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 \
> .buildaix/configure.out
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.
"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.
"ssh-pkcs11.c", line 578.30: 1506-068 (W) Operation between types
"unsigned
long(*)(struct _CK_FUNCTION_LIST**)" and "void*" is not allowed.
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.
"auth-rsa.c", line 220.44: 1506-280 (W) Function argument assignment
between types "unsigned int*" and "int*" is not allowed.
"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.
307 1500-010: (W) WARNING in 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/1.0.0.0 >
.buildaix/install.out
Could not load host key: /var/openssh/etc/ssh_host_rsa_key
Could not load host key: /var/openssh/etc/ssh_host_dsa_key
Could not load host key: /var/openssh/etc/ssh_host_ed25519_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
make: [check-config] Error 1 (ignored)
p.s. will test soon with compiling against LibreSSL.
On Thu, Jun 25, 2015 at 8:04 AM, Tom G. Christensen <tgc at
jupiterrise.com>
wrote:
> On 01/06/15 22:17, Tom G. Christensen wrote:
>
>> On sparc-sun-solaris2.6 and sparc-sun-solaris2.7 the testsuite fails:
>> run test cfgparse.sh ...
>> reparse minimal config
>> reparse regress config
>> listenaddress order
>> bad addr or host: ::1 (no address associated with name)
>> listenaddress order 1
>> bad addr or host: ::1 (no address associated with name)
>> listenaddress order 2
>> failed config parse
>> gmake[1]: *** [t-exec] Error 1
>>
>>
> I just re-tested on Solaris 2.6 with 9488538a from git and this is still
> an issue.
> Removing the ipv6 addresses from cfgparse.sh allows the testsuite to run
> to completion.
>
>
> -tgc
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
Oh yes, ran into this again - running tests as root. run test connect.sh ... ssh connect with protocol 1 failed ssh connect with protocol 2 failed failed simple connect After su to non-root... skipped (SUDO not set) need SUDO to create file in /var/run, test won't work without make[1]: Leaving directory `/data/prj/openbsd/openssh/snap/openssh/regress' all tests passed On Thu, Jun 25, 2015 at 3:24 PM, Michael Felt <aixtools at gmail.com> 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 > > Further, some compiler warning messages (some may be ignored completely, > others may be interesting)... > > 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 \ > > .buildaix/configure.out > 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. > "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. > "ssh-pkcs11.c", line 578.30: 1506-068 (W) Operation between types > "unsigned long(*)(struct _CK_FUNCTION_LIST**)" and "void*" is not allowed. > 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. > "auth-rsa.c", line 220.44: 1506-280 (W) Function argument assignment > between types "unsigned int*" and "int*" is not allowed. > "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. > 307 1500-010: (W) WARNING in 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/1.0.0.0 > > .buildaix/install.out > Could not load host key: /var/openssh/etc/ssh_host_rsa_key > Could not load host key: /var/openssh/etc/ssh_host_dsa_key > Could not load host key: /var/openssh/etc/ssh_host_ed25519_key > Disabling protocol version 2. Could not load host key > sshd: no hostkeys available -- exiting. > make: [check-config] Error 1 (ignored) > > p.s. will test soon with compiling against LibreSSL. > > On Thu, Jun 25, 2015 at 8:04 AM, Tom G. Christensen <tgc at jupiterrise.com> > wrote: > >> On 01/06/15 22:17, Tom G. Christensen wrote: >> >>> On sparc-sun-solaris2.6 and sparc-sun-solaris2.7 the testsuite fails: >>> run test cfgparse.sh ... >>> reparse minimal config >>> reparse regress config >>> listenaddress order >>> bad addr or host: ::1 (no address associated with name) >>> listenaddress order 1 >>> bad addr or host: ::1 (no address associated with name) >>> listenaddress order 2 >>> failed config parse >>> gmake[1]: *** [t-exec] Error 1 >>> >>> >> I just re-tested on Solaris 2.6 with 9488538a from git and this is still >> an issue. >> Removing the ipv6 addresses from cfgparse.sh allows the testsuite to run >> to completion. >> >> >> -tgc >> _______________________________________________ >> openssh-unix-dev mailing list >> openssh-unix-dev at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev >> > >
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 stopperFor packaging you want the install-nokeys rule not install. -- Tim Rice Multitalents tim at multitalents.net
On Thu, 25 Jun 2015, Tom G. Christensen wrote:> > bad addr or host: ::1 (no address associated with name) > > listenaddress order 2 > > failed config parse > > gmake[1]: *** [t-exec] Error 1 > > > > I just re-tested on Solaris 2.6 with 9488538a from git and this is still an > issue. > Removing the ipv6 addresses from cfgparse.sh allows the testsuite to run to > completion.I think we should just disable the test if the host doesn't support IPv6. diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh index 7f377d8..e19b4d0 100644 --- a/regress/cfgparse.sh +++ b/regress/cfgparse.sh @@ -3,6 +3,12 @@ tid="config parse" +# Possessing struct addrinfo is a reasonable proxy for IPv6 support. +if ! config_defined HAVE_STRUCT_ADDRINFO ; then + echo "skipped (not supported on this platform)" + exit 0 +fi + # We need to use the keys generated for the regression test because sshd -T # will fail if we're not running with SUDO (no permissions for real keys) or # if we are # running tests on a system that has never had sshd installed
On Tue, 30 Jun 2015, Damien Miller wrote: | I think we should just disable the test if the host doesn't support IPv6. | | diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh | index 7f377d8..e19b4d0 100644 | --- a/regress/cfgparse.sh | +++ b/regress/cfgparse.sh | @@ -3,6 +3,12 @@ | | tid="config parse" | | +# Possessing struct addrinfo is a reasonable proxy for IPv6 support. | +if ! config_defined HAVE_STRUCT_ADDRINFO ; then Did you mean HAVE_STRUCT_IN6_ADDR ? | + echo "skipped (not supported on this platform)" | + exit 0 | +fi -- Tim Rice Multitalents tim at multitalents.net