Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673936 - net-libs/http-parser-2.9.0 should have SLOT="0/2.9"
Summary: net-libs/http-parser-2.9.0 should have SLOT="0/2.9"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 02:15 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-12-29 10:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-12-29 02:15:39 UTC
net-libs/http-parser-2.9.0 (in comparison to net-libs/http-parser-2.8.1) introduced change of soname of library.
Old library gets preserved with FEATURES="preserve-libs", but anyway correct subslot should be set to allow dependency resolver to schedule rebuilding of reverse dependencies in advance.

Sonames of these libraries do not contain trailing ".0" (mistakenly present in subslot):
# scanelf --soname -y /usr/lib64/libhttp_parser*
 TYPE   SONAME FILE 
ET_DYN libhttp_parser.so.2.8 /usr/lib64/libhttp_parser.so.2.8.1 
ET_DYN libhttp_parser.so.2.9 /usr/lib64/libhttp_parser.so.2.9.0
# 
This shows that e.g. library /usr/lib64/libhttp_parser.so.2.9.0 has soname "libhttp_parser.so.2.9".

net-libs/http-parser-2.8.1 ideally would have SLOT="0/2.8" instead of SLOT="0/2.8.0", but changing it at this late time would not help.

Please set effectively SLOT="0/2.9" in net-libs/http-parser-2.9.0.
Soname of library in future versions will probably match major and minor components of version, so I suggest to specify SLOT="0/$(ver_cut 1-2)" in ebuild.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-29 10:53:04 UTC
!!! existing preserved libs:
>>> package: net-libs/http-parser-2.9.0
 *  - /usr/lib64/libhttp_parser.so.2.8
 *  - /usr/lib64/libhttp_parser.so.2.8.1
 *      used by /usr/bin/node (net-libs/nodejs-8.15.0)
 *      used by /usr/bin/tcpflow (net-analyzer/tcpflow-1.5.0_alpha)
 *      used by /usr/libexec/sssd/sssd_secrets (sys-auth/sssd-2.0.0-r1)

Hadn't noticed those before.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-29 10:55:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2067108ab035ddd8ff43959a79e15fc220820948

commit 2067108ab035ddd8ff43959a79e15fc220820948
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2018-12-29 10:55:11 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2018-12-29 10:55:30 +0000

    net-libs/http-parser: Update sub-SLOT
    
    Fixes: https://bugs.gentoo.org/673936
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../{http-parser-2.9.0.ebuild => http-parser-2.9.0-r1.ebuild}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)