Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348228 - [x11 overlay/xorg-server] TOP_SRCDIR build failure
Summary: [x11 overlay/xorg-server] TOP_SRCDIR build failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 01:29 UTC by Ben Widawsky
Modified: 2015-02-22 02:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
export TOP_SRCDIR=${S} (xorg-server-9999.ebuild.patch,457 bytes, patch)
2010-12-09 01:45 UTC, Ben Widawsky
Details | Diff
Similar fix with newer overlay ebuild (xorg-server-9999.ebuild-2.patch,556 bytes, patch)
2010-12-10 20:49 UTC, Ben Widawsky
Details | Diff
emerge --info (emergeinfo.txt,4.86 KB, text/plain)
2010-12-10 20:51 UTC, Ben Widawsky
Details
emerge -pqv (emergepqv.txt,117 bytes, text/plain)
2010-12-10 20:52 UTC, Ben Widawsky
Details
build.log (build.log,45.63 KB, text/plain)
2010-12-10 20:53 UTC, Ben Widawsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Widawsky 2010-12-09 01:29:23 UTC
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.
Comment 1 Ben Widawsky 2010-12-09 01:45:49 UTC
Created attachment 256700 [details, diff]
export TOP_SRCDIR=${S}
Comment 2 Ben Widawsky 2010-12-10 19:45:40 UTC
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.
Comment 3 Ben Widawsky 2010-12-10 20:01:20 UTC
Ok, this was all my bad with my layman setup. 
Comment 4 Ben Widawsky 2010-12-10 20:49:23 UTC
Created attachment 256853 [details, diff]
Similar fix with newer overlay ebuild
Comment 5 Ben Widawsky 2010-12-10 20:50:56 UTC
I've fixed my setup, and believe this is still an issue.

Attaching relevant files as well
Comment 6 Ben Widawsky 2010-12-10 20:51:26 UTC
Created attachment 256855 [details]
emerge --info
Comment 7 Ben Widawsky 2010-12-10 20:52:26 UTC
Created attachment 256857 [details]
emerge -pqv
Comment 8 Ben Widawsky 2010-12-10 20:53:08 UTC
Created attachment 256858 [details]
build.log
Comment 9 Ben Widawsky 2010-12-10 20:54:05 UTC
 * 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'
Comment 10 Matt Turner gentoo-dev 2015-02-22 02:10:16 UTC
Wow, you *did* use to use Gentoo. :)