Summary: | app-admin/eselect-php: get_libname() is not multilib aware | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Basile <blueness> |
Component: | [OLD] Server | Assignee: | Ole Markus With (RETIRED) <olemarkus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | php-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 306835 | ||
Attachments: | Fix eselect python to be multilib aware |
Applied the patch and bumped. Uh oh! blueness@yellow /tmp $ wget http://olemarkus.org/~olemarkus/gentoo/eselect-php-0.6.7.bz2 --2012-07-10 11:57:55-- http://olemarkus.org/~olemarkus/gentoo/eselect-php-0.6.7.bz2 Resolving olemarkus.org... 178.79.164.89, 2a01:7e00::f03c:91ff:fe93:2dbe Connecting to olemarkus.org|178.79.164.89|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://barelysufficient.org/~olemarkus/gentoo/eselect-php-0.6.7.bz2 [following] --2012-07-10 11:57:56-- https://barelysufficient.org/~olemarkus/gentoo/eselect-php-0.6.7.bz2 Resolving barelysufficient.org... 178.79.164.89, 2a01:7e00::f03c:91ff:fe93:2dbe Connecting to barelysufficient.org|178.79.164.89|:443... connected. ERROR: The certificate of `barelysufficient.org' is not trusted. ERROR: The certificate of `barelysufficient.org' hasn't got a known issuer. Yeah. Some version of wget/ca-certificates or something else do not like my certificates. Works for "most", not for "some". Dunno why. But I moved the file to devspace this morning, so if you resync, it should work. Thanks, that did it. Off topic: There's a lot of ca-cert badness going around. There are issues with nss, openssl and gnutls! See bug 403619. Look at robbat2's analysis. |
Created attachment 317684 [details] Fix eselect python to be multilib aware Hi Ole, in eselect-php, in get_libname(), you use libz.* to get the extension on libraries, eg .a or .so. Its popular enough, but you assume that it is found at "${EROOT}"/lib/libz.*. This is not necessarily the case on true multilib systesm --- I hit this on a mips64el and there you need to look for /lib32/libz.so.1.2.7. The fix is simple enough since you already have get_active_libdir() so use it as you do elsewhere in the code. See my patch.