/usr/include/xf86drm.h

1,570 views
Skip to first unread message

funfool

unread,
Nov 23, 2012, 3:03:05 PM11/23/12
to funto...@googlegroups.com
For some reason on new install this file is not being created.
I have the file on older systems pre 1.0 profile, on new install with 1.0 profile it is not being created, I suspect a use flag but unsure why ... have done 2 fresh installs to duplicate issue.
For profile I have 3, 7, 9, 13, 21 set.
These profiles pull in xorg-server with a uavND world.
xorg-server fails with this error

In file included from /var/tmp/portage/x11-base/xorg-server-1.13.0-r1/work/xorg-server-1.13.0/hw/xfree86/os-support/linux/lnx_platform.c:7:0: /usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory compilation terminated

equery shows me this file is created by libdrm, I have libdrm installed x11-libs/libdrm
      Latest version available: 2.4.40
      Latest version installed: 2.4.40

I have re-installed it even, but /usr/include/xf86drm.h is not being created. I have this file on my older pre 1.0 profile machines.
But with a fresh install with my profile listed above, this file is not being created.

Complete build log and emerge --info here
http://bpaste.net/show/59951/
http://pastebin.com/98mWTEEn


Jean-Francis Roy

unread,
Nov 23, 2012, 3:18:26 PM11/23/12
to funto...@googlegroups.com
Hi!

I found the source of your problem given your emerge --info: it's the "minimal" USE flag.

See:



JF





--
To manage your subscription, visit this group at
http://groups.google.com/group/funtoo-dev?hl=en
---
Also be sure to check out:
Funtoo Forums: http://forums.funtoo.org
Planet Larry: http://larrythecow.org

funfool

unread,
Nov 23, 2012, 4:04:59 PM11/23/12
to funto...@googlegroups.com
So this gives us more info, If I remove minimal I get this.
Total: 22 packages (22 new), Size of downloads: 0 kB

 * Error: circular dependencies:

(media-libs/mesa-9.0.1::gentoo, ebuild scheduled for merge) depends on
 (x11-base/xorg-server-1.13.0-r1::gentoo, ebuild scheduled for merge) (buildtime)
  (media-libs/mesa-9.0.1::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying any of the following changes:
- x11-base/xorg-server-1.13.0-r1 (Change USE: +minimal)
- media-libs/mesa-9.0.1 (Change USE: -xorg)

Note that this change can be reverted, once the package has been installed.

So you see why I added minimal to USE="
Looking at the message above, makes no sense to me to add -xorg to a kde system

funfool

unread,
Nov 23, 2012, 4:06:13 PM11/23/12
to funto...@googlegroups.com


On Friday, November 23, 2012 1:03:05 PM UTC-7, funfool wrote:

Jean-Francis Roy

unread,
Nov 23, 2012, 4:13:06 PM11/23/12
to funto...@googlegroups.com

Hmm, I didn't get this kind of circular dependency on my latest desktop install (a month ago).

The solution in this case is :

# USE="-xorg" emerge -1 mesa
# emerge -1 xorg-server
# emerge -1 mesa

The xorg-server install (with USE="-minimal") will have its mesa dependency satisfied. The second mesa install will bring back the xorg USE flag, which will have its xorg-server dependency satisfied.


Generally, circular dependencies need this kind of temporary hack to be worked-around. However I never set a USE flag permanently to avoid this...


Daniel Robbins

unread,
Nov 23, 2012, 5:22:56 PM11/23/12
to funtoo development mailing list
Any use flag circular dependencies using standard profiles are a bug and should be reported on JIRA.
Reply all
Reply to author
Forward
0 new messages