Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage spokes again...
Date: Wed, 21 Dec 2016 19:33:49
Message-Id: 70619178-cea7-113e-3f6f-cb22896837ad@gmail.com
In Reply to: Re: [gentoo-user] Portage spokes again... by Meino.Cramer@gmx.de
1 On 21/12/2016 21:20, Meino.Cramer@×××.de wrote:
2 > Rich Freeman <rich0@g.o> [16-12-21 20:12]:
3 >> On Wed, Dec 21, 2016 at 1:44 PM, <Meino.Cramer@×××.de> wrote:
4 >>> Corbin Bird <corbinbird@×××××××.net> [16-12-21 17:12]:
5 >>> The first run of emerge tells me to add the systemd USE flag to dbus.
6 >>> I did that and ran into to problems I reported.
7 >>
8 >> Ok, I think you left that bit out...
9 >>
10 >> And this is why it is helpful to understand why portage is doing
11 >> something before just changing configuration settings. Adding the
12 >> systemd USE flag to packages is a really quick way to end up with
13 >> systemd getting installed. Generally speaking it shouldn't just
14 >> happen by default...
15 >>
16 >> Can you show the output when you add -t to the emerge command? I
17 >> think that will be helpful. However, I think an earlier poster was on
18 >> the right track when he pointed out that the tmpfiles virtual requires
19 >> an unstable version of openrc. I'm not sure why that was getting
20 >> pulled in in the first place, and -t should show that.
21 >>
22 >>>
23 >>> emerge: there are no ebuilds built with USE flags to satisfy "media-libs/mesa[egl,gbm,gles2?,wayland]".
24 >>> !!! One of the following packages is required to complete your request:
25 >>> - media-libs/mesa-11.2.2::gentoo (Change USE: +wayland)
26 >>> (dependency required by "kde-plasma/kwin-5.8.3::gentoo" [ebuild])
27 >>> (dependency required by "kde-plasma/plasma-workspace-5.8.3-r4::gentoo" [ebuild])
28 >>> (dependency required by "net-p2p/ktorrent-5.0.1::gentoo[shutdown]" [ebuild])
29 >>> (dependency required by "@selected" [set])
30 >>> (dependency required by "@world" [argument])
31 >>> [1] 20322 exit 1 emerge -t --update --newuse --deep --with-bdeps=y --tree --keep-going
32 >>>
33 >>> What?
34 >>>
35 >>> Now wayland shall be installed? IIIIIKKKKKSSSS!
36 >>> I want my UNIX back!
37 >>
38 >> Interesting. I just noticed that it pulled in wayland for me. I have
39 >> no idea why kwin requires wayland support in mesa. It obviously works
40 >> fine with xorg. I might do some looking into that.
41 >>
42 >> There isn't really anything non-UNIX about wayland, though I'm not
43 >> sure I'd be in a rush to use it just yet. It is just a replacement
44 >> for xorg (to say the least, it doesn't purport to be a
45 >> feature-complete replacement and may never be).
46 >>
47 >> Your wayland issues and your systemd issues are most likely entirely
48 >> unrelated...
49 >>
50 >> --
51 >> Rich
52 >>
53 > Hi Rich,
54 >
55 > to confess everything ... this time
56 > :)
57 >
58 > The following output is base on setting "-systemd" and "-wayland"
59 > in make.confs USE flag, "-t" was set also.
60 >
61 > And here the master portage spoke words:
62 >
63 > emerge -t --update --newuse --deep --with-bdeps=y --tree --keep-going --backtrack=30 --exclude media-video/nvidia-settings --exclude app-misc/screen --exclude app-misc/ytree --exclude dev-python/sip --exclude app-shells/bash @world -v
64 >
65 > These are the packages that would be merged, in reverse order:
66 >
67 > Calculating dependencies... done!
68 ...
69 > [ebuild R ] media-libs/mesa-12.0.1::gentoo USE="classic dri3 egl gallium gbm llvm nptl udev vaapi vdpau wayland* xvmc -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -valgrind -xa" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -vmware" 0 KiB
70
71 USE=wayland is off by default for mesa, so you have something switching
72 it on.
73
74 grep -r wayland /etc/portage
75 to find what
76
77 ...
78 > [nomerge ] virtual/tmpfiles-0::gentoo
79 > [nomerge ] sys-apps/systemd-226-r2:0/2::gentoo USE="acl kdbus kmod lz4 pam seccomp ssl (-apparmor) -audit -build -cryptsetup -curl -elfutils -gcrypt -gnuefi -http -idn -importd -lzma -nat -policykit -qrcode (-selinux) -sysv-utils {-test} -vanilla -xkb" ABI_X86="(64) -32 (-x32)"
80 > [ebuild N ] sys-apps/gentoo-systemd-integration-6::gentoo 63 KiB
81 > [ebuild R ] sys-apps/dbus-1.10.12::gentoo USE="X systemd* -debug -doc (-selinux) -static-libs {-test} -user-session" ABI_X86="(64) -32 (-x32)" 0 KiB
82
83 USE=systemd is of by default for dbus so yu have something switching it on.
84
85 grep -r systemd /etc/portage
86 to find what
87
88 Additionally, virtual/tmpfiles has this:
89
90 RDEPEND="
91 || (
92 sys-apps/opentmpfiles
93 sys-apps/systemd
94
95 Because you have systemd on somehow, portage is picking the second
96 chice. You have the first, so explicitly emerge opentmpfiles.
97
98 If both of those grep -r commands return nothing, then your next avenue
99 is your selected profile must be enabling wayland and systemd somehow.
100 But I don't see how profile [1] would do that ... so the greps will
101 likely reveal the true cause
102
103
104
105 --
106 Alan McKinnon
107 alan.mckinnon@×××××.com