libdrm build is trying to compile tests that require the libkms libraries even tho libkms USE flag is not set. This of course fails. Reproducible: Always Steps to Reproduce: emerge libdrm with these USE/VIDEO_CARDS: USE="-libkms -static-libs" VIDEO_CARDS="intel -nouveau -radeon -vmware"
emerge --info: Portage 2.1.9.45 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.0.2 Timestamp of tree: Mon, 04 Apr 2011 14:45:01 +0000 app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X accessibility acpi alsa amd64 bash-completion bzip2 cddb cleartype cli cracklib crypt cups curl dbus dell dri fam glib glx gtk iconv java6 jpeg laptop libnotify logrotate midi mmx multilib ncurses nls nptl nptlonly nsplugin ntp nvidia opengl pam pcf pcre perl pmu png python qt3support readline session sqlite sse sse2 ssl ssse3 startup-notification svg tcpd tiff truetype unicode vaapi xcomposite xinerama xorg xrender xscreensaver xulrunner zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev virtualbox" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="intel virtualbox" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
emerge -pqv =x11-libs/libdrm-2.4.24 [ebuild U ] x11-libs/libdrm-2.4.24 [2.4.23] USE="-libkms -static-libs" VIDEO_CARDS="intel -nouveau -radeon -vmware"
I am unable to add an attachment as it keeps demanding a description even tho one was entered. So here's a hopefully pertinent snippet of the build log: libdrm 2.4.24 will be compiled with: libkms no Intel API yes vmwgfx API no Radeon API no Nouveau API no make[3]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24_build/tests/modeprint' CC modeprint.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint -I../.. -I/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/include/drm -I/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24 -march=nocona -O2 -pipe -c /var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint/modeprint.c /var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint/modeprint.c: In function 'printProperty': /var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint/modeprint.c:104:4: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'uint64_t' /var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint/modeprint.c:119:4: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'uint64_t' /var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24/tests/modeprint/modeprint.c:135:4: warning: format '%lld' expects type 'long long int', but argument 2 has type 'uint64_t' CCLD modeprint make[3]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24_build/tests/modeprint' Making all in modetest make[3]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.4.24/work/libdrm-2.4.24_build/tests/modetest' make[3]: *** No rule to make target `../../libkms/libkms.la', needed by `modetest'. Stop. make[3]: *** Waiting for unfinished jobs....
Created attachment 268483 [details] build log
fight with it long enough and you win... Perhaps there's better error message than "a description is required" when the file cannot be read? permissions issue. Perhaps not having the build log have painful permissions to begin with?
This should be fixed. Not sure when though.