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

Bug 811765

Summary: dev-libs/apr-1.7.0-r2: *-config are listing excessive libs (was: xfce-extra/thunar-vcs-plugin-0.2.0 installs binaries linked to libcrypt.so without depend on virtual/libcrypt)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, sam, xfce
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 798963    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-09-05 19:55:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: xfce-extra/thunar-vcs-plugin-0.2.0 installs binaries linked to libcrypt.so without depend on virtual/libcrypt.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
Please look for the relative QA notice.
Comment 1 Agostino Sarubbo gentoo-dev 2021-09-05 19:55:49 UTC
Created attachment 737740 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-09-06 06:46:21 UTC
Sounds like an implicit dep from apr-libs:

checking for apr-1 >= 0.9.7... 1.7.0
checking APR_CFLAGS... -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-1 
checking APR_LIBS... -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl 

thunar-vcs-plugin doesn't seem to use -lcrypt anywhere.  It seems that apr-1-config and their pkg-config file are both listing excessive libraries.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-09-29 00:38:43 UTC
Ping.

<@Polynomial-C> mgorny: any suggestions how to properly fix bug #811765?
<+willikins> Polynomial-C: https://bugs.gentoo.org/811765 "dev-libs/apr-1.7.0-r2: *-config are listing excessive libs (was: xfce-extra/thunar-vcs-plugin-0.2.0 installs binaries li
nked to libcrypt.so without depend on virtual/libcrypt)"; Gentoo Linux, Current packages; CONF; ago:polynomial-c
<@mgorny> Polynomial-C: i guess the first step would be to split Libs into Libs.private in pkg-config file
Comment 4 Larry the Git Cow gentoo-dev 2023-02-13 07:04:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8fe2b7fedf4372a89b3a11865c04a645a84c88

commit 7f8fe2b7fedf4372a89b3a11865c04a645a84c88
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-13 06:28:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 06:54:07 +0000

    dev-libs/apr: add 1.7.2
    
    Bug: https://bugs.gentoo.org/870004
    Bug: https://bugs.gentoo.org/875167
    Bug: https://bugs.gentoo.org/893406
    Closes: https://bugs.gentoo.org/811765
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/apr/Manifest                              |   1 +
 dev-libs/apr/apr-1.7.2.ebuild                      | 167 +++++++++++++++++++++
 .../apr/files/apr-1.7.2-fix-pkgconfig-libs.patch   |  35 +++++
 dev-libs/apr/files/apr-1.7.2-libtool.patch         |  16 ++
 dev-libs/apr/files/apr-1.7.2-respect-flags.patch   |  22 +++
 dev-libs/apr/files/apr-1.7.2-sysroot.patch         |  37 +++++
 dev-libs/apr/metadata.xml                          |   1 +
 7 files changed, 279 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75b2b9521e8558b0f0d15332839bbdb0e0406c23

commit 75b2b9521e8558b0f0d15332839bbdb0e0406c23
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-13 06:47:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 06:54:53 +0000

    dev-libs/apr-util: add 1.6.3
    
    Bug: https://bugs.gentoo.org/811765
    Bug: https://bugs.gentoo.org/870004
    Bug: https://bugs.gentoo.org/893406
    Closes: https://bugs.gentoo.org/875167
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/apr-util/Manifest                         |   1 +
 dev-libs/apr-util/apr-util-1.6.3.ebuild            | 147 +++++++++++++++++++++
 .../files/apr-util-1.6.3-fix-pkgconfig-libs.patch  |  29 ++++
 3 files changed, 177 insertions(+)