Summary: | net-misc/openssh-4.7_p1-r6 and net-misc/openssh-5.1_p1-r1 does not compile because of a wrong sys-libs/zlib version check. it needs sys-libs/zlib at version 1.2.3 or greater whereas it's already installed at version 1.2.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rod <re.bmgr> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config log for installation of net-misc/openssh-5.0p1
Build log for net-misc/openssh-5.0_p1-r2 ebuild environnement used for installation of net-misc/openssh-5.0_p1-r2 Environnement definition conf Openssh 5.0p1 configure script |
Description
Rod
2008-08-26 13:57:14 UTC
Created attachment 163817 [details]
config log for installation of net-misc/openssh-5.0p1
Created attachment 163818 [details]
Build log for net-misc/openssh-5.0_p1-r2
Created attachment 163820 [details]
ebuild environnement used for installation of net-misc/openssh-5.0_p1-r2
found zlib version 1.2.1 (1020100) Do you have anything like that in /usr/local/lib or somewhere in /opt? Maybe you should post your /etc/ld.so.conf too, or at least read it and find the offending library. Hello Jeroen,
I don't know where you found zlib 1.2.1. It may help you tell me where.
By the way I had a look to my /usr/local/lib/ and I've found a static libz.a
that I've used for personal libraries. I couldn't exactly determine it's version
but it is reported different from /usr/lib/libz.a by diff.
I attached my /etc/ld.so.conf
Here may be the evidence that /usr/local/lib/llibz.a is at version 1.2.1
$ strings /usr/lib/libz.a > foo1
$ strings /usr/local/lib/libz.a > foo2
$ diff foo1 foo2
100,106c82,84
< adler32_combine
< compress.o/ 1214222324 0 0 100644 1528 `
< UWVS
< \[^_]
< \[^_]
< 1.2.3
< GCC: (GNU) 4.1.2 (Gentoo 4.1.2 p1.0.1)
---
> compress.o/ 1160413712 0 0 100644 1380 `
> 1.2.1
> GCC: (GNU) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
So I took /usr/local/lib/libz.a away and did an env-update && source /etc/profile
I may not do it right so just tell me.
The only dynamic libraries of zlib I have are in /lib and /usr/lib
/lib/libz.so -> libz.so.1.2.3
/lib/libz.so.1 -> libz.so.1.2.3
/lib/libz.so.1.2.3
/usr/lib/libz.a
/usr/lib/libz.so (GNU ld script)
I reinstall zlib just to be sure :
$ emerge -a =sys-libs/zlib-1.2.3-r1
Then I try again to install openssh 4.7_p1-r6 or 5.0_p1-r2:
$ emerge -auv =net-misc/openssh-4.7_p1-r6
$ ACCEPT_KEYWORDS="~x86" emerge -av =net-misc/openssh-5.0_p1-r2
Both fails as I have already reported : sys-libs/zlib version is detected to be lesser than 1.2.3-r1
So in my view this bug can not be tagged as RESOLVED. But if you have more info tell me,
ask me things and if it is still not obviously resolved then tag it back to NEW.. REOPEN.
How can I check more strictly the version of zlib ?
Ok pardon me ! It's the configure script which is in fault. so this BUG should be reported upstream. It seems like whatever the version of zlib is, the message "zlib too old" which precedes the installation failure always appears if the option --without-zlib-version-check is not used in the configure script. If someone checks the configure script then check the line 10672 : one can see that the script checks if the variable $zlib_check_nonfatal is set : [line10672] if test -z "$zlib_check_nonfatal" ; then - If the variable $zlib_check_nonfatal is set then "zlib too old" does not happen. The big problem is that the only other place where $zlib_check_nonfatal could be set is at line 10598 : [line 10598] zlib_check_nonfatal=1 which ONLY happens if --without-zlib-version-check is used. May be my mistake... so if someone could check that and have a correct zlib version check that would be nice. Best regards. Created attachment 163968 [details]
Environnement definition conf
Created attachment 163969 [details]
Openssh 5.0p1 configure script
ok The configure script was checking /usr/local/include/zlib.h which is from a local zlib version 1.2.1 I removed /usr/local/include/zlib.h and installation works fine. Thanks an bye. |