Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667882 - app-crypt/p11-kit: missing subslot operator dep on optional dev-libs/libffi dep
Summary: app-crypt/p11-kit: missing subslot operator dep on optional dev-libs/libffi dep
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-06 12:21 UTC by Mart Raudsepp
Modified: 2018-10-06 17:24 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 Mart Raudsepp gentoo-dev 2018-10-06 12:21:03 UTC
p11-kit needs to get rebuilt when libffi subslot changes:

!!! existing preserved libs:
>>> package: dev-libs/libffi-3.3_rc0
 *  - /usr/lib64/libffi.so.6
 *  - /usr/lib64/libffi.so.6.0.4
 *      used by /usr/lib64/libp11-kit.so.0.3.0 (app-crypt/p11-kit-0.23.12)
 *      used by /usr/lib64/pkcs11/p11-kit-client.so (app-crypt/p11-kit-0.23.12)

Might also want to consider depending on virtual/libffi instead of dev-libs/libffi, like everything else does. Apparently it's in case we ever need to switch back to gcc bundled libffi or something.

Please change at least
libffi? ( >=dev-libs/libffi-3.0.0[${MULTILIB_USEDEP}] )
to
libffi? ( >=dev-libs/libffi-3.0.0:=[${MULTILIB_USEDEP}] )
(or with virtual/libffi)
Comment 1 Larry the Git Cow gentoo-dev 2018-10-06 17:24:10 UTC
The bug has been closed via the following commit(s):

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

commit 32e1c2c1835ed274f1a8471be7e028d109a7f4ee
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-10-06 17:23:31 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-10-06 17:23:55 +0000

    app-crypt/p11-kit: dependency cleanup
    
    1. use subslot operator
    2. use virtual/libffi instead of explicit
    
    Thanks: leio
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=667882
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-crypt/p11-kit/p11-kit-0.23.12.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)