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

Bug 694458

Summary: =dev-libs/boehm-gc-8.0.4 should RDEPEND on dev-libs/libatomic_ops
Product: Gentoo Linux Reporter: Bernd <waebbl-gentoo>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info-boehm-gc.txt

Description Bernd 2019-09-15 09:11:03 UTC
Created attachment 589872 [details]
emerge-info-boehm-gc.txt

After updating @world, which pulled in boehm-gc-8.0.4 and depcleaning after the update, I'm having preserved lib libatomic_ops.so.1. In the ebuild boehm-gc has dev-libs/libatomic_ops in DEPEND, when it looks like it should be in RDEPEND.

!!! existing preserved libs:
>>> package: dev-libs/libatomic_ops-7.6.10
 *  - /usr/lib64/libatomic_ops.so.1
 *  - /usr/lib64/libatomic_ops.so.1.1.1
 *      used by /usr/lib64/libgc.so.1.4.3 (dev-libs/boehm-gc-8.0.4)
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2019-09-15 17:39:10 UTC
Yeah, that makes sense. I wonder why my system does not depend on dynamic version of atomic ops.

Runtime dependency makes sense anyway because pkg-config's files refer atomic_ops:
  $ fgrep -R atomic_ops $(qlist dev-libs/boehm-gc)
  /usr/lib/pkgconfig/bdw-gc.pc:Libs: -L${libdir} -latomic_ops -lgc
  /usr/lib64/pkgconfig/bdw-gc.pc:Libs: -L${libdir} -latomic_ops -lgc
Comment 2 Larry the Git Cow gentoo-dev 2019-09-15 17:48:52 UTC
The bug has been closed via the following commit(s):

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

commit df31eee1bd22fcd07110ba668eb8ecd7e3db0205
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2019-09-15 17:48:30 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2019-09-15 17:48:46 +0000

    dev-libs/boehm-gc: add libatomic_ops to RDEPEND, bug #694458
    
    Reported-by: Bernd
    Closes: https://bugs.gentoo.org/694458
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)