Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
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:47:24
Message-Id: 66610767-b2ce-2433-1c5b-eea6de85c5f4@web.de
In Reply to: Re: [gentoo-user] slot conflict for the same package: how to add a USE flag? by "J. Roeleveld"
1 Good tip ... I was getting unconfortable that every time I tried one of
2 these attempts to update things, it would say that the target got added
3 to the world file.  You're saying, if I don't recognize it, I can remove
4 it from the list?
5
6
7 On 05/20/20 21:35, J. Roeleveld wrote:
8 > On 20 May 2020 21:24:36 CEST, Daniel Frey <djqfrey@×××××.com> wrote:
9 >> On 5/20/20 12:06 PM, n952162 wrote:
10 >>> The command was:
11 >>>
12 >>> emerge -vu dev-qt/qtgui dev-qt/qtx11extras dev-qt/qtopengl
13 >>> dev-qt/qtprintsupport dev-qt/qtwidgets dev-qt/qtxml
14 >>> dev-qt/linguist-tools dev-qt/qtnetwork dev-qt/qtsvg dev-qt/qtcore
15 >>>
16 >>> The output to that is attached.
17 >>>
18 >>> I tried just emerging zlib with the static-libs USE flag ... that log
19 >> is
20 >>> also attached.
21 >>>
22 >>> On 05/20/20 18:59, Ashley Dixon wrote:
23 >>>> On Wed, May 20, 2020 at 02:35:52PM +0200, n952162 wrote:
24 >>>>> I have a slot conflict for sys-libs/zlib, whereby both users want
25 >>>>> the same package.  Studying the USE variables shows that the new
26 >>>>> package wants, additionally, the "static-libs" USE flag.
27 >>>>>
28 >>>>> I thought, the way to handle this is to add the static-libs USE
29 >>>>> variable in /etc/portage/package.use and re-emerge with
30 >>>>> --changed-use.  Unfortunately, that gives me the same conflict.
31 >>>> Can you attach the full output of emerge ?
32 >>>>
33 >> This is most likely due to so many packages that need to be upgraded at
34 >>
35 >> the same time. You're only asking to update a few select packages and
36 >> it's borking because it's finding packages outside your request that
37 >> also need to be updated at the same time.
38 >>
39 >> Have you tried an `emerge -avuD world` to see if portage can backtrack
40 >> far enough to sort dependencies out?
41 >>
42 >> Dan
43 > 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.
44 >
45 > The file can be found at:
46 > /var/lib/portage/world
47 >
48 > Generally, only used applications, services and desktop environment packages should be listed.
49 > Libraries should only be in there if needed for own projects.
50 >
51 > --
52 > Joost

Replies

Subject Author
Re: [gentoo-user] slot conflict for the same package: how to add a USE flag? "Matt Connell (Gmail)" <matthewdconnell@×××××.com>
Re: [gentoo-user] slot conflict for the same package: how to add a USE flag? "J. Roeleveld" <joost@××××××××.org>