Call for testing: OpenSSH-6.5

Kevin Brott kevin.brott at gmail.com
Fri Jan 31 11:12:15 EST 2014


Crazy days ... so I finally got to the non-redhat builds and ran into two
issues.  One's an IBM stupidity - and the other is an issue in the openssh
code under the HP-UX Ansi C compiler on 11.23.

Using
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.5p1.tar.gz

OS              Build_Target                CC
OpenSSL      BUILD TEST
==============  =========================== ================
============ ===== =================
Debian 7.3      x86_64-linux-gnu            gcc Debian 4.7.2-5
1.0.1e       OK    all tests passed
AIX 5300-12-04  powerpc-ibm-aix5.3.0.0      gcc 4.2.0
0.9.8k       OK    all tests passed
AIX 5300-12-02  powerpc-ibm-aix5.3.0.0      xlc 08.00.0000.0016
0.9.8k       OK    all tests passed
AIX 6100-07-06  powerpc-ibm-aix6.1.0.0      gcc 4.2.0
0.9.8y       OK    all tests passed
AIX 6100-07-06  powerpc-ibm-aix6.1.0.0      xlc 11.01.0000.0016
0.9.8y       OK    all tests passed
AIX 7100-03-01  powerpc-ibm-aix7.1.0.0      gcc 4.2.0           1.0.1e
OK*1  all tests passed
AIX 7100-03-01  powerpc-ibm-aix7.1.0.0      xlc 12.01.0000.0006
1.0.1e       OK    all tests passed
HP-UX 11.23     ia64-hp-hpux11.23           gcc 4.3.1
0.9.8w       OK    all tests passed
HP-UX 11.23     ia64-hp-hpux11.23           C/aC++ C.11.23.12
0.9.8w       FOK*2 all tests passed
HP-UX 11.31     ia64-hp-hpux11.31           gcc 4.6.2
0.9.8t       OK    all tests passed
HP-UX 11.31     ia64-hp-hpux11.31           C/aC++ C.11.31.05
0.9.8t       OK    all tests passed

*1 IBM auto-generated prologs in /usr/include/openssl/ec*.h break compile,
commented out properly (/*/ vs #) and then everything is go.

*2 build fails here:
     cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o
sshconnect1.o sshconnect2.o mux.o  roaming_common.o roaming_client.o -L.
-Lopenbsd-compat/ -L/opt/iexpress/zlib/lib  -lssh -lopenbsd-compat
-lcrypto -lz -lnsl -lxnet  -lsec
     ld: Unsatisfied symbol "ntohs" in file readconf.o
     1 errors.
     *** Error exit code 1
Fixed - by manually adding this line to readconf.c after reading
http://bugs.php.net/32591
*** readconf.c.orig     Fri Jan 17 05:03:57 2014
--- readconf.c  Thu Jan 30 15:37:31 2014
***************
*** 22,23 ****
--- 22,24 ----
  #include <netinet/in.h>
+ #include <arpa/inet.h>
  #include <netinet/in_systm.h>

I'm no code-grinder - but I'm guessing there's a test failing (or succeding
incorrectly) somewhere.The readconf.c hack lets the build complete and all
tests pass afterwards.  The example patch in the php bug report points to a
better fix for readconf.c - if configure defined HAVE_ARPA_INET_H





On Tue, Jan 21, 2014 at 4:51 PM, Kevin Brott <kevin.brott at gmail.com> wrote:

> On-call this week so it's going slow - but felt I should report on the
> build failure I found:
>
> Using http://www.mindrot.org/openssh_snap/openssh-SNAP-20140122.tar.gz
>
> OS              Build_Target                CC
> OpenSSL      BUILD TEST
> ==============  =========================== ================
> ============ ===== =================
> RHEL 2.1        i686-pc-linux-gnu           gcc 2.96-129.7.2
> 0.9.6b-eng   OK    all tests passed
> RHEL 3 TU4      i686-pc-linux-gnu           gcc 3.2.3-47
> 0.9.7a       FAIL*2
> Fedora Core r2  i686-pc-linux-gnu           gcc 3.3.3-7
> 0.9.7a       OK*1  all tests passed
> RHEL 4.0 nu8    i686-pc-linux-gnu           gcc 3.4.6-11
> 0.9.7a       OK*1  all tests passed
> RHEL 4.0 nu8    x86_64-unknown-linux-gnu    gcc 3.4.6-11
> 0.9.7a       OK*1  all tests passed
>
> # RHL     Red Hat Linux
> # RHEL    Red Hat Enterprise Linux
>
> # *1 --without-zlib-version-check
> # *2 build failure:
>   gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
> -Wformat-security -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
> -fno-builtin-memset -std=gnu99 -fPIE  -I. -I.. -I. -I./..  -DHAVE_CONFIG_H
> -c setproctitle.c
>   setproctitle.c: In function `compat_init_setproctitle':
>   setproctitle.c:99: warning: implicit declaration of function `strlen'
>   setproctitle.c:107: `argv_start' undeclared (first use in this function)
>   setproctitle.c:107: (Each undeclared identifier is reported only once
>   setproctitle.c:107: for each function it appears in.)
>   setproctitle.c:108: `argv_env_len' undeclared (first use in this
> function)
>   setproctitle.c:115: warning: implicit declaration of function `strdup'
>   setproctitle.c:115: warning: assignment makes pointer from integer
> without a cast
>   make[1]: *** [setproctitle.o] Error 1
>   make[1]: Leaving directory `/usr/src/openssh/openbsd-compat'
>   make: *** [openbsd-compat/libopenbsd-compat.a] Error 2
>   ##
>   ## OPENSSH 6.4p1 builds/tests fine
>   ##
>
>
>
>
> On Sat, Jan 18, 2014 at 4:29 PM, Kevin Brott <kevin.brott at gmail.com>wrote:
>
>> On 2014-01-16 16:26, Damien Miller wrote:
>>
>>> Hi,
>>>
>>> OpenSSH 6.5 is almost ready for release, so we would appreciate testing
>>> on as many platforms and systems as possible. This release contains
>>> some substantial new features and a number of bugfixes.
>>>
>>> Snapshot releases for portable OpenSSH are available from
>>> http://www.mindrot.org/openssh_snap/
>>>
>>> The OpenBSD version is available in CVS HEAD:
>>> http://www.openbsd.org/anoncvs.html
>>>
>>> Portable OpenSSH is also available via anonymous CVS using the
>>> instructions at http://www.openssh.com/portable.html#cvs or
>>> via Mercurial at http://hg.mindrot.org/openssh
>>>
>>> Running the regression tests supplied with Portable OpenSSH does not
>>> require installation and is a simply:
>>>
>>> $ ./configure && make tests
>>>
>>>
>>>
>> Using openssh-SNAP-20140119.tar.gz:
>> Debian GNU/Linux 7.3 (wheezy) x86_64, gcc (Debian 4.7.2-5) , and OpenSSL
>> 1.0.1e 11 - all tests passed
>>
>> Full test suite (RHEL/AIX/HP-UX/maybe Solaris) will get cranked up in the
>> lab at work come Monday. :)
>>
>>
>>
>>
>>
>
>
> --
> # include <stddisclaimer.h>
> /* Kevin  Brott <Kevin.Brott at gmail.com> */
>
>


-- 
# include <stddisclaimer.h>
/* Kevin  Brott <Kevin.Brott at gmail.com> */


More information about the openssh-unix-dev mailing list