Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anomalous error messages from libdrm on install [SOLVED].
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Wed Dec 25, 2013 11:05 pm    Post subject: Anomalous error messages from libdrm on install [SOLVED]. Reply with quote

After installing Gentoo on a Raspberry Pi using the latest kernel, tarball and Portage tree, I decided to follow the distcc docn and emerge it first. This resulted in error messages I've not seen before. Having failed to resolve them, I tried 'emerge -avuND' to update everything; this gave the same messages. I the tried 'emerge --depclean' with the same result. The messages are:

Code:
Calculating dependencies... done!

!!! The ebuild selected to satisfy ">=x11-libs/libdrm-2.4.42[video_cards_nouveau?,video_cards_vmware?]" has unmet requirements.
- x11-libs/libdrm-2.4.46::gentoo USE="-libkms -static-libs" VIDEO_CARDS="exynos omap -freedreno -intel -nouveau -radeon -vmware"

  The following REQUIRED_USE flag constraints are unsatisfied:
    video_cards_exynos? ( libkms )

(dependency required by "media-libs/mesa-9.1.6" [ebuild])
(dependency required by "x11-libs/cairo-1.12.14-r4[opengl]" [ebuild])
(dependency required by "dev-libs/gobject-introspection-1.34.2-r1" [ebuild])
(dependency required by "sys-fs/udev-208[introspection]" [ebuild])
(dependency required by "virtual/udev-208" [ebuild])
(dependency required by "sys-apps/util-linux-2.22.2[udev]" [ebuild])
(dependency required by "@system" [set])
(dependency required by "@world" [argument])


Five anomalies stand out:

1. The line following !!! usually contains a statement to be pasted into package.use or some such. Copying the line x11-libs/libdrm-2.4.46::gentoo USE="-libkms -static-libs" VIDEO_CARDS="exynos omap -freedreno -intel -nouveau -radeon -vmware" to package.use repeated the error, as did including the USE= and VIDEO_CARDS= statements in make.conf.

2. In addition, make.conf complained about a "non-incrementing variable" with the VIDEO_CARDS entry.

3. I've not seen ::gentoo on the end of an atom before, and emerge complained about this.

4. Neither have I seen query characters (?) in error statements before.

5. I can't find REQUIRED_USE flags mentioned in the documentation.

Edit I've now swapped to a backup SD card and ran the initial configuration WITHOUT emerging distcc, and the same problem occurs after emerge -avuND This suggests that it's a problem with libdrm.

Could anyone shed light on this problem? With thanks for any assistance.


Last edited by gentek on Thu Dec 26, 2013 5:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Thu Dec 26, 2013 2:07 am    Post subject: Reply with quote

The top hit on https://www.google.com/search?q=site%3Agentoo.org+%22REQUIRED_USE%22 is Gentoo Development Guide: EAPI Usage and Description, which describes the details. For what you want, it is sufficient to understand that the package manager is telling you that you have requested a disallowed configuration. If you want video_cards_exynos, then you are required to USE=libkms.
Back to top
View user's profile Send private message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 3:05 am    Post subject: Reply with quote

Ah, thanks. Hadn't understood that emerge uses such a cryptic demand syntax. I'll give it a go.

It seems that Exynos may be important for Gentoo Rpi users to know about:

http://en.wikipedia.org/wiki/Exynos

It hasn't apperaed in any of the docn I've read so far.
Back to top
View user's profile Send private message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 5:25 am    Post subject: Reply with quote

As always, absurdly simple when you know how, impenetrable when you don't:

VIDEO_CARDS="exynos" in make.conf

=x11-libs/libdrm-2.4.46 libkms in package.use

and the problem is solved. Thanks, Hu.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Thu Dec 26, 2013 9:07 pm    Post subject: Reply with quote

Unless this requirement is relaxed in later versions of libdrm, you probably do not want to use a version qualifier in package.use. The example you showed will work only so long as you do not upgrade or downgrade libdrm.
Back to top
View user's profile Send private message
gentek
n00b
n00b


Joined: 05 Mar 2007
Posts: 9
Location: Australia

PostPosted: Thu Dec 26, 2013 9:15 pm    Post subject: Reply with quote

> The example you showed will work only so long as you do not upgrade or downgrade libdrm.

Yes, thanks. I'm starting to feel more confident with Portage and its syntax, and at present I'm just getting things going with Rpi and ARM - a whole new experience, hence the specific rather than the general.

Perhaps for others still coming up the curve, I could suggest this following as a better, more general statement:

>=x11-libs/libdrm-2.4.46 libkms in package.use
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum