Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] slot conflict for the same package: how to add a USE flag?
Date: Wed, 20 May 2020 19:36:09
Message-Id: 3F03C118-7C94-45BD-BCA5-4DFE344AC8E8@antarean.org
In Reply to: Re: [gentoo-user] slot conflict for the same package: how to add a USE flag? by Daniel Frey
1 On 20 May 2020 21:24:36 CEST, Daniel Frey <djqfrey@×××××.com> wrote:
2 >On 5/20/20 12:06 PM, n952162 wrote:
3 >> The command was:
4 >>
5 >> emerge -vu dev-qt/qtgui dev-qt/qtx11extras dev-qt/qtopengl
6 >> dev-qt/qtprintsupport dev-qt/qtwidgets dev-qt/qtxml
7 >> dev-qt/linguist-tools dev-qt/qtnetwork dev-qt/qtsvg dev-qt/qtcore
8 >>
9 >> The output to that is attached.
10 >>
11 >> I tried just emerging zlib with the static-libs USE flag ... that log
12 >is
13 >> also attached.
14 >>
15 >> On 05/20/20 18:59, Ashley Dixon wrote:
16 >>> On Wed, May 20, 2020 at 02:35:52PM +0200, n952162 wrote:
17 >>>> I have a slot conflict for sys-libs/zlib, whereby both users want
18 >>>> the same package.  Studying the USE variables shows that the new
19 >>>> package wants, additionally, the "static-libs" USE flag.
20 >>>>
21 >>>> I thought, the way to handle this is to add the static-libs USE
22 >>>> variable in /etc/portage/package.use and re-emerge with
23 >>>> --changed-use.  Unfortunately, that gives me the same conflict.
24 >>> Can you attach the full output of emerge ?
25 >>>
26 >>
27 >
28 >This is most likely due to so many packages that need to be upgraded at
29 >
30 >the same time. You're only asking to update a few select packages and
31 >it's borking because it's finding packages outside your request that
32 >also need to be updated at the same time.
33 >
34 >Have you tried an `emerge -avuD world` to see if portage can backtrack
35 >far enough to sort dependencies out?
36 >
37 >Dan
38
39 I would also suggest a cleanup of the world-file as that command will add all that to the world file as well. Making updates where libraries are replaced impossible to negotiate by portage.
40
41 The file can be found at:
42 /var/lib/portage/world
43
44 Generally, only used applications, services and desktop environment packages should be listed.
45 Libraries should only be in there if needed for own projects.
46
47 --
48 Joost
49 --
50 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies