Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687512 - app-portage/portage-utils-0.80_pre20190605[qmanifest] should have RDEPEND dependency on app-crypt/gpgme, app-crypt/libb2, sys-libs/zlib, dev-libs/openssl or dev-libs/libressl
Summary: app-portage/portage-utils-0.80_pre20190605[qmanifest] should have RDEPEND dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-06 12:46 UTC by Alex Xu (Hello71)
Modified: 2019-06-06 16:34 UTC (History)
0 users

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


Attachments
Patch (portage-utils.patch,3.57 KB, patch)
2019-06-06 16:17 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2019-06-06 12:46:01 UTC
!!! existing preserved libs:
>>> package: app-crypt/gpgme-1.13.0
 *  - /usr/lib64/libgpgme.so.11
 *  - /usr/lib64/libgpgme.so.11.22.0
 *      used by /usr/bin/q (app-portage/portage-utils-0.80_pre20190605)
>>> package: app-crypt/libb2-0.98.1
 *  - /usr/lib64/libb2.so.1
 *  - /usr/lib64/libb2.so.1.0.4
 *      used by /usr/bin/q (app-portage/portage-utils-0.80_pre20190605)
>>> package: dev-libs/libassuan-2.5.1-r1
 *  - /usr/lib64/libassuan.so.0
 *  - /usr/lib64/libassuan.so.0.8.1
 *      used by /usr/lib64/libgpgme.so.11 (preserved)
 *      used by /usr/lib64/libgpgme.so.11.22.0 (preserved)

come on...
Comment 1 Fabian Groffen gentoo-dev 2019-06-06 12:50:13 UTC
You don't like the fact that portage avoided portage-utils to be broken?  What is this bug about?

If you don't want ssl/b2/gpgme as deps, just disable the qmanifest USE-flag.
Comment 2 Alex Xu (Hello71) 2019-06-06 15:25:43 UTC
I did emerge --depclean --with-bdeps=n and it broke the installed package (or would have, if I had preserved-libs off).
Comment 3 Arfrever Frehtes Taifersar Arahesis 2019-06-06 16:15:44 UTC
# scanelf -qyF "%F: %n" $(qlist app-portage/portage-utils | sort)
/usr/bin/q: libiniparser.so.0,libcrypto.so.1.1,libb2.so.1,libz.so.1,libgpgme.so.11,libgomp.so.1,libpthread.so.0,libc.so.6


Beside this, "static" USE flag is no longer actually implemented in ebuild, so it should be dropped from IUSE and DEPEND.
toolchain-funcs.eclass is unused.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2019-06-06 16:17:46 UTC
Created attachment 578988 [details, diff]
Patch
Comment 5 Fabian Groffen gentoo-dev 2019-06-06 16:34:15 UTC
ok, thanks for the explanation/patch!
Comment 6 Larry the Git Cow gentoo-dev 2019-06-06 16:34:35 UTC
The bug has been closed via the following commit(s):

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

commit 57bda9c4f94cd43a2dd2e33faccadce256a0572d
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2019-06-06 16:34:16 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2019-06-06 16:34:28 +0000

    app-portage/portage-utils: fix USE=static, fix RDEPEND
    
    Closes: https://bugs.gentoo.org/687512
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 .../portage-utils-0.80_pre20190605.ebuild          | 36 ++++++++++++----------
 .../portage-utils/portage-utils-9999.ebuild        | 36 ++++++++++++----------
 2 files changed, 40 insertions(+), 32 deletions(-)