libxkbcommon fails due to out-of-tree build. it seems like ylwrap (or the way it is invoked) breaks. >>> Working in BUILD_DIR: "/var/tmp/portage/x11-libs/libxkbcommon-9999/work/libxkbcommon-9999_build" make -j1 YACC src/xkbcomp/xkbparse.c /var/tmp/portage/x11-libs/libxkbcommon-9999/work/libxkbcommon-9999/ylwrap: line 182: ../src/xkbcomp/xkbparse.c: No such file or directory updating src/xkbcomp/xkbparse.h mv: cannot move ‘tmp-xkbparse.h’ to ‘../src/xkbcomp/xkbparse.h’: No such file or directory make: *** [src/xkbcomp/xkbparse.c] Error 1 way to reproduce in a "clean upstream tree": git clone http://anongit.freedesktop.org/git/xorg/lib/libxkbcommon.git && cd libxkbcommon && autoreconf -i -f && mkdir build && cd build && ../configure && make It will dies in the same fashion. $ emerge --info Portage 2.2.0_alpha101 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r1, 3.3.4-gentoo x86_64) ================================================================= System uname: Linux-3.3.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1 Timestamp of tree: Tue, 01 May 2012 23:30:01 +0000 ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p24-r1 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r1, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.5 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.15-r1 Repositories: gentoo gamerlay-stable x11 systemd xake-overlay Mine Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb -mtune=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb -mtune=native" DISTDIR="/var/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fail-clean fixlafiles metadata-transfer news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf-8" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu" LINGUAS="sv sv_SE en" MAKEOPTS="-j16 -l15" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/var/overlays/layman/gamerlay /var/overlays/layman/x11 /var/overlays/layman/systemd /var/overlays/layman/xake-overlay /var/overlays/mine" SYNC="rsync://liten.dodi/gentoo-portage" USE="10bit X a52 aac acl acpi action_modeswitch aio alsa amd64 amr amrnb amrwb apng applet archive aria2 ass asyncns autoipd avahi bash-completion berkdb bluetooth branding btrfs bzip2 bzr cairo call caps ccache cdaudio cdda cdr chromium cleartype cli clutter colord connection-sharing consolekit corefonts coverart cracklib crypt cups cxx dbus device-mapper devicekit devkit dhcpcd digitalradio djvu download dri dts dvd dvdr dvi edd eds enca encode epspdf equalizer eselect evo exif extensions fat fbcondecor fdt ffmpeg fftw flac fluidsynth fontconfig fuse gbm gcrypt gdbm gdm gdu geoip gif gimp gles1 gles2 glib gmp gnome gnome-keyring gnome-online-accounts gpg gphoto2 gpm grammar graphite grilo gsf gsm gstreamer gtk gtk3 gtkstyle gudev hardened hires-icons hpn hwdb ical iconv iconvacl icq icu id3tag idn ieee1394 iptc jabber jack java6 jingle jit jpeg jpeg2k justify kate kerberos keymap kvm lcms libffi libkms libnotify libsamplerate llvm lm_sensors logrotate lto lvm lzma lzo macvtap mad map maps math matroska md mdadm midi mms mmx mmxext mng mod moonlight mp2 mp3 mpeg mpfr mpi msn mtp mudflap multilib musepack musicbrainz natspec nautilus ncurses network-cron networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntfsprogs numa nut ocr offensive ogg openal opencore-amr opengl openmp openvg ots pam pango parted passiv pax_kernel pcap pcre pdf pdfimport pgo pidgin playlist plugins plymouth png policykit pppd pulseaudio qt3support quicktime quvi raw readline realtime romio rrdcgi rtmp samba scanner schroedinger seed sendto sensord session smp sms socialweb soundtouch speex spell spice sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification subversion svg sysfs systemd tcpd telepathy tex theora thesaurus threads tiff totem tracker truetype udev udisks unicode upnp urandom usb usbredir userlocales utp vala vcd vdpau vhook videos vim vim-syntax virt-network vorbis wayland webgl webkit webp wmf x264 xa xattr xcb xcomposite xinerama xml xmp xmpp xorg xps xrandr xscreensaver xulrunner xv xvfb xvid zeitgeist zeroconf zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs caps biosdevname plymouth syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sv_SE en" NETBEANS_MODULES="cnd profiler dlight harness ide java websvccommon apisupport nb" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="net niash snapscan" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 310625 [details] Build log
I just found out that the actual problem is ./configure --disable-dependency-tracking. So the way to reproduce in my first comment is wrong, and is rather: autoreconf -i -f && mkdir build && cd build && ../configure --disable-dependency-tracking && make This will always fail, the other will always work.
You should probably make upstream aware of this breakage as this is technically not a Gentoo bug.
send to freedesktop bugzilla as https://bugs.freedesktop.org/show_bug.cgi?id=50645
http://cgit.freedesktop.org/xorg/lib/libxkbcommon/commit/?id=734be500 should be fixed according to freedesktop bugzilla.
Marking as FIXED per comment 5.