1 |
On 22/04/2017 12:47, Frank Steinmetzger wrote: |
2 |
> Hello group, |
3 |
> |
4 |
> after years of reading of other people’s dependency stupefications here, it |
5 |
> is finally my turn. Looking over the output of emerge --depclean after a |
6 |
> world update, I found that portage wants to remove my X11 video driver. o.O |
7 |
> From my point of view, it should not want to do so, because all requirements |
8 |
> seem to be in order for the package to be kept. Can you enlighten me, please? |
9 |
> |
10 |
> Here’s how far I got: |
11 |
> |
12 |
> $ emerge --depclean -pv xf86-video-intel |
13 |
> |
14 |
> Calculating dependencies... done! |
15 |
>>>> Calculating removal order... |
16 |
> |
17 |
>>>> These are the packages that would be unmerged: |
18 |
> |
19 |
> x11-drivers/xf86-video-intel |
20 |
> selected: 2.99.917_p20170216 |
21 |
> protected: none |
22 |
> omitted: none |
23 |
> |
24 |
> |
25 |
> $ equery d xf86-video-intel |
26 |
> * These packages depend on xf86-video-intel: |
27 |
> x11-base/xorg-drivers-1.19 (video_cards_i915 ? x11-drivers/xf86-video-intel) |
28 |
> (!video_cards_i965 ? x11-drivers/xf86-video-intel) |
29 |
|
30 |
Read it carefully. It says |
31 |
If you specify i915 then use xf86-video-intel |
32 |
and |
33 |
use xf86-video-intel if you did not specify i965 |
34 |
|
35 |
> |
36 |
> |
37 |
> $ grep VIDEO_CARDS /etc/portage/make.conf |
38 |
> VIDEO_CARDS="intel i965" |
39 |
|
40 |
You specified i965, so per the above xf86-video-intel will go away |
41 |
|
42 |
> |
43 |
> |
44 |
> $ LC_ALL=C eix xorg-drivers |
45 |
> [I] x11-base/xorg-drivers |
46 |
> Available versions: 1.12 1.15 1.18-r1 1.19 **9999 |
47 |
> Installed versions: 1.19(19:52:33 03/10/17)(INPUT_DEVICES="evdev synaptics -acecad ..." VIDEO_CARDS="i965 intel -amdgpu -apm ...") |
48 |
> Homepage: https://www.gentoo.org/ |
49 |
> Description: Meta package containing deps on all xorg drivers |
50 |
> |
51 |
> |
52 |
> Cheers. |
53 |
> |
54 |
|
55 |
The ebuild's DEPEND: |
56 |
|
57 |
video_cards_i915? ( x11-drivers/xf86-video-intel ) |
58 |
video_cards_i965? ( >=x11-base/xorg-server-${PV}[glamor] ) |
59 |
video_cards_intel? ( !video_cards_i965? ( |
60 |
x11-drivers/xf86-video-intel ) ) |
61 |
|
62 |
So remove i965 from VIDEO_CARDS. "intel" will suffice. |
63 |
|
64 |
|
65 |
Do you have xorg-server built with USE=glamor ? |
66 |
|
67 |
|
68 |
|
69 |
-- |
70 |
Alan McKinnon |
71 |
alan.mckinnon@×××××.com |