Commit 2416255f7e3fd9190a9e01bda57c992932de4bd9 added a new variable to the build called TOP_SRCDIR. I do not fully understand how this works when compiling directly from git (using autogen.sh), but in any case it does not work in my portage environment. TOP_SRCDIR doesn't get defined, and the following error is seen Reproducible: Always Steps to Reproduce: 1. layman -a x11 2. unmask relevant packages 3. emerge xorg-server Actual Results: Making all in parser make[4]: Entering directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/xfree86/parser' make[4]: *** No rule to make target `/os/xprintf.c', needed by `libxf86config_a-xprintf.o'. Stop. Expected Results: Clean build A hacky patch will be attached shortly.
Created attachment 256700 [details, diff] export TOP_SRCDIR=${S}
As pointed out to me in bug 348224, I had, and perhaps still have an issue with layman not syncing my overlays. However I have manually synced this one and still hit the same problem. I apologize in advance if this is user error.
Ok, this was all my bad with my layman setup.
Created attachment 256853 [details, diff] Similar fix with newer overlay ebuild
I've fixed my setup, and believe this is still an issue. Attaching relevant files as well
Created attachment 256855 [details] emerge --info
Created attachment 256857 [details] emerge -pqv
Created attachment 256858 [details] build.log
* Messages for package x11-base/xorg-server-9999: * GIT update --> * repository: git://anongit.freedesktop.org/git/xorg/xserver * at the commit: 2c70b650b342378898064cf27e2f95c4b2e53d24 * branch: master * storage directory: "/usr/portage/distfiles/git-src/xorg-server" * ERROR: x11-base/xorg-server-9999 failed: * died running emake, base_src_make * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4026: Called xorg-2_src_compile * environment, line 4964: Called base_src_compile * environment, line 762: Called base_src_make * environment, line 800: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =x11-base/xorg-server-9999', * the complete build log and the output of 'emerge -pqv =x11-base/xorg-server-9999'. * This ebuild is from an overlay named 'x11': '/var/lib/layman/x11/' * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-9999/temp/environment'. * S: '/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999'
Wow, you *did* use to use Gentoo. :)