Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 674194

Summary: =sys-auth/pam_ssh-2.1 with =>dev-libs/openssl-1.1 - configure: error: Your OpenSSL headers do not match your library
Product: Gentoo Linux Reporter: Vincent-Xavier JUMEL <endymion+gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: atoth, kentnl, maksbotan, pam-bugs+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 684782    
Bug Blocks: 592438    
Attachments: emerge.info
build.log

Description Vincent-Xavier JUMEL 2018-12-31 18:40:27 UTC
checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your library
Comment 1 Vincent-Xavier JUMEL 2018-12-31 18:40:52 UTC
Created attachment 559188 [details]
emerge.info
Comment 2 Vincent-Xavier JUMEL 2018-12-31 18:41:42 UTC
Created attachment 559190 [details]
build.log
Comment 3 Marcin Deranek 2019-01-01 07:14:16 UTC
Patch which seems to work, but most likely it's not backward compatible (won't work with OpenSSL pre 1.1):
https://sources.debian.org/data/main/libp/libpam-ssh/2.1+ds1-4/debian/patches/upstream-migratio-opensll11.patch
Comment 4 Vincent-Xavier JUMEL 2019-01-01 21:35:03 UTC
patch works; though you need to run autoreconf-1.13 and remove any reference to local ./libtool.
Comment 5 Attila Tóth 2019-01-02 22:30:06 UTC
(In reply to Vincent-Xavier JUMEL from comment #4)
> patch works; though you need to run autoreconf-1.13 and remove any reference
> to local ./libtool.

Wouldn't compile even after applying the patch and adding autoreconf.
This openssl-1.1 upgrade is quite far from being mature enough. There are approx 100 packages involved on my system and every other package fails in some way. Unbelieveable, this is exhausting. Masking openssl-1.1 now.
Comment 6 milan hodoscek 2019-01-04 11:39:58 UTC
(In reply to Attila Tóth from comment #5)
> (In reply to Vincent-Xavier JUMEL from comment #4)
> > patch works; though you need to run autoreconf-1.13 and remove any reference
> > to local ./libtool.
> 
> Wouldn't compile even after applying the patch and adding autoreconf.
> This openssl-1.1 upgrade is quite far from being mature enough. There are
> approx 100 packages involved on my system and every other package fails in
> some way. Unbelieveable, this is exhausting. Masking openssl-1.1 now.

It works if you know how to deal with the second part of the instruction: get rid of ./libtool. I use ebuild ... compile and then when it fails just do the ln -sf /usr/bin/libtool /var/tmp/portage/sys-auth..../libtool
and repeat ebuild ... compile, and then finish with install and qmerge
Comment 7 Attila Tóth 2019-01-04 12:33:40 UTC
(In reply to milan hodoscek from comment #6)
> (In reply to Attila Tóth from comment #5)
> > (In reply to Vincent-Xavier JUMEL from comment #4)
> > > patch works; though you need to run autoreconf-1.13 and remove any reference
> > > to local ./libtool.
> > 
> > Wouldn't compile even after applying the patch and adding autoreconf.
> > This openssl-1.1 upgrade is quite far from being mature enough. There are
> > approx 100 packages involved on my system and every other package fails in
> > some way. Unbelieveable, this is exhausting. Masking openssl-1.1 now.
> 
> It works if you know how to deal with the second part of the instruction:
> get rid of ./libtool. I use ebuild ... compile and then when it fails just
> do the ln -sf /usr/bin/libtool /var/tmp/portage/sys-auth..../libtool
> and repeat ebuild ... compile, and then finish with install and qmerge

Thanks for the detailed explanation: Dw.
Comment 8 Maxim Koltsov (RETIRED) gentoo-dev 2019-01-07 17:40:42 UTC
I can confirm the bug and that the patch helps.
Comment 9 Attila Tóth 2019-01-09 17:48:21 UTC
pam_ssh-2.2 is out 5 hours ago
Comment 10 Jan-Matthias Braun 2019-01-11 17:34:42 UTC
(In reply to Attila Tóth from comment #9)
> pam_ssh-2.2 is out 5 hours ago

I can confirm that a simply renaming the v2.1 ebuild to pam_ssh-2.2.ebuild fixed the emerge for me. I can't observe any problems. Thanks for the hint!
Comment 11 Larry the Git Cow gentoo-dev 2019-01-19 14:51:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c6f17ceea09f7ecb6790d86b93e6e86ad5fe2ba

commit 9c6f17ceea09f7ecb6790d86b93e6e86ad5fe2ba
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-01-19 14:50:34 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-01-19 14:51:34 +0000

    sys-auth/pam_ssh: Version bump to 2.2
    
    Bug: https://bugs.gentoo.org/674194
    Package-Manager: Portage-2.3.56, Repoman-2.3.12
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-auth/pam_ssh/Manifest           |  1 +
 sys-auth/pam_ssh/pam_ssh-2.2.ebuild | 67 +++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2019-01-19 21:19:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a761e22a1a360e1578d0a6f70115e823fcd93c5

commit 9a761e22a1a360e1578d0a6f70115e823fcd93c5
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-01-19 21:16:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-01-19 21:18:45 +0000

    sys-auth/pam_ssh: Version bump to 2.3
    
    Bug: https://bugs.gentoo.org/674194
    Package-Manager: Portage-2.3.56, Repoman-2.3.12
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-auth/pam_ssh/Manifest           |  1 +
 sys-auth/pam_ssh/pam_ssh-2.3.ebuild | 71 +++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
Comment 13 Andreas Sturmlechner gentoo-dev 2019-04-29 22:19:58 UTC
Why not mark it fixed then?