The dependency check has passed:
git-openssh# dpkg-checkbuilddeps
git-openssh#

When can we expect OpenSSL 1.1.x support by debian openssh?

On Mon, Mar 13, 2017 at 1:39 PM, Debian Bug Tracking System <
ow...@bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the openssh package:
>
> #857621: error: dereferencing pointer to incomplete type ‘DSA {aka struct
> dsa_st}’
>
> It has been closed by Colin Watson <cjwat...@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Colin Watson <
> cjwat...@debian.org> by
> replying to this email.
>
>
> --
> 857621: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857621
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
> ---------- Forwarded message ----------
> From: Colin Watson <cjwat...@debian.org>
> To: 857621-cl...@bugs.debian.org
> Cc:
> Bcc:
> Date: Mon, 13 Mar 2017 12:36:22 +0000
> Subject: Re: Bug#857621: error: dereferencing pointer to incomplete type
> ‘DSA {aka struct dsa_st}’
> On Mon, Mar 13, 2017 at 12:33:26PM +0100, jean-christophe manciot wrote:
> > ../../sshkey.c: In function ‘sshkey_size’:
> > ../../sshkey.c:275:28: error: dereferencing pointer to incomplete type
> ‘RSA
> > {aka struct rsa_st}’
> >    return BN_num_bits(k->rsa->n);
> >                             ^~
>
> You appear to be building with OpenSSL 1.1.  OpenSSH upstream doesn't
> support this yet, and the Debian build-dependencies already account for
> this ("libssl1.0-dev | libssl-dev (<< 1.1.0~)"), so I think you must be
> attempting to build without the build-dependencies properly satisfied.
>
> --
> Colin Watson                                       [cjwat...@debian.org]
>
> ---------- Forwarded message ----------
> From: jean-christophe manciot <actionmysti...@gmail.com>
> To: sub...@bugs.debian.org
> Cc:
> Bcc:
> Date: Mon, 13 Mar 2017 12:33:26 +0100
> Subject: error: dereferencing pointer to incomplete type ‘DSA {aka struct
> dsa_st}’
> Package: openssh
> Version: 7.4p1-7
> Tag: debian/1%7.4p1-7
> Sources: https://anonscm.debian.org/git/pkg-ssh/openssh.git
>
> Building with branch=master & tag=debian/1%7.4p1-7
>         echo --------
>         echo Cleaning
>         echo --------
>         cd git-openssh
>         sudo -u actionmystique -H git-reset-clean-pull-checkout.sh
> pristine-tar
>         sudo -u actionmystique -H git-reset-clean-pull-checkout.sh
> $branch $tag
>
>         echo ---------------------------
>         echo Checking Build Dependencies
>         echo ---------------------------
>         check-build-dependencies.sh
>
>         echo --------
>         echo Building
>         echo --------
>         sudo -u actionmystique -H git checkout $branch
>         sudo -u actionmystique -H gbp buildpackage --git-verbose
> --git-debian-branch=$branch --git-pristine-tar
>
> leads to:
> ...
> ranlib libopenbsd-compat.a
> make[3]: Leaving directory '/home/actionmystique/Program-
> Files/Ubuntu/OpenSSH/git-openssh/debian/build-deb/openbsd-compat'
> gcc -g -O2 
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
> -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
> -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security
> -DSSH_EXTRAVERSION=\"Ubuntu-8\"  -I. -I../.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/usr/include/editline -isystem /usr/include/mit-krb5
> -isystem /usr/include/mit-krb5  -DSSHDIR=\"/etc/ssh\"
> -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" 
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\"
> -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\"
> -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/run/sshd\"
> -DHAVE_CONFIG_H -c ../../ssh_api.c -o ssh_api.o
> gcc -g -O2 
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
> -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
> -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security
> -DSSH_EXTRAVERSION=\"Ubuntu-8\"  -I. -I../.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/usr/include/editline -isystem /usr/include/mit-krb5
> -isystem /usr/include/mit-krb5  -DSSHDIR=\"/etc/ssh\"
> -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" 
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\"
> -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\"
> -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/run/sshd\"
> -DHAVE_CONFIG_H -c ../../ssherr.c -o ssherr.o
> gcc -g -O2 
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
> -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
> -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security
> -DSSH_EXTRAVERSION=\"Ubuntu-8\"  -I. -I../.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/usr/include/editline -isystem /usr/include/mit-krb5
> -isystem /usr/include/mit-krb5  -DSSHDIR=\"/etc/ssh\"
> -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" 
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\"
> -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\"
> -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/run/sshd\"
> -DHAVE_CONFIG_H -c ../../sshbuf.c -o sshbuf.o
> gcc -g -O2 
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall
> -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
> -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
> -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
> -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
> -fdebug-prefix-map=/home/actionmystique/Program-Files/Ubuntu/OpenSSH/git-openssh=.
> -fPIE -fstack-protector-strong -Wformat -Werror=format-security
> -DSSH_EXTRAVERSION=\"Ubuntu-8\"  -I. -I../.. -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/usr/include/editline -isystem /usr/include/mit-krb5
> -isystem /usr/include/mit-krb5  -DSSHDIR=\"/etc/ssh\"
> -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" 
> -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\"
> -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\"
> -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\"
> -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\"
> -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/run/sshd\"
> -DHAVE_CONFIG_H -c ../../sshkey.c -o sshkey.o
> ../../sshkey.c: In function ‘sshkey_size’:
> ../../sshkey.c:275:28: error: dereferencing pointer to incomplete type
> ‘RSA {aka struct rsa_st}’
>    return BN_num_bits(k->rsa->n);
>                             ^~
> ../../sshkey.c:278:28: error: dereferencing pointer to incomplete type
> ‘DSA {aka struct dsa_st}’
>    return BN_num_bits(k->dsa->p);
>                             ^~
> ../../sshkey.c: In function ‘sshkey_new’:
> ../../sshkey.c:479:11: error: dereferencing pointer to incomplete type
> ‘RSA {aka struct rsa_st}’
>        (rsa->n = BN_new()) == NULL ||
>            ^~
> ../../sshkey.c:491:11: error: dereferencing pointer to incomplete type
> ‘DSA {aka struct dsa_st}’
>        (dsa->p = BN_new()) == NULL ||
>            ^~
> ../../sshkey.c: In function ‘sshkey_parse_private_pem_fileblob’:
> ../../sshkey.c:3793:8: error: dereferencing pointer to incomplete type
> ‘EVP_PKEY {aka struct evp_pkey_st}’
>   if (pk->type == EVP_PKEY_RSA &&
>         ^~
> Makefile:153: recipe for target 'sshkey.o' failed
> make[2]: *** [sshkey.o] Error 1
> make[2]: Leaving directory '/home/actionmystique/Program-
> Files/Ubuntu/OpenSSH/git-openssh/debian/build-deb'
> debian/rules:140: recipe for target 'override_dh_auto_build-arch' failed
> make[1]: *** [override_dh_auto_build-arch] Error 2
> make[1]: Leaving directory '/home/actionmystique/Program-
> Files/Ubuntu/OpenSSH/git-openssh'
> debian/rules:121: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1376:
> dpkg-buildpackage -rfakeroot -D -us -uc -i -I failed
> gbp:error: 'debuild -i -I' failed: it exited with 29
>
> --
> Jean-Christophe
>
>


-- 
Jean-Christophe

Reply via email to