Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 195551

Summary: x11-base/xorg-server-1.4 fails to build w/kdrive on amd64
Product: Gentoo Linux Reporter: Michael Gorse <mgorse>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: elio, zlin
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log with the failure
patch to xorg-server to combine lines that are modified by the ebuild
Ebuild patch as requested

Description Michael Gorse 2007-10-11 22:23:53 UTC
hw/kdrive/Makefile.am gets modified to disable drivers that are not being built.  The line containing VESA_SUBDIRS has a \ at the end.  There is code to remove the \ if certain drivers are not being built because of use flags, but drivers can also be disabled on non-x86 platforms regardless of use flags.  In the latter case, the continuation line can wind up being empty without the code to execute the \ being executed.  I would suggest patching Makefile.am to combine the two lines rather than trying to conditionally remove the \ in the ebuild; I just did this on my system and successfully got a build.

Reproducible: Always

Steps to Reproduce:
1. USE=kdrive emerge xorg-server (on non-x86 system)
2.
3.
Comment 1 Michael Gorse 2007-10-11 22:26:18 UTC
Created attachment 133212 [details]
build log with the failure
Comment 2 Michael Gorse 2007-10-11 22:28:48 UTC
Created attachment 133214 [details, diff]
patch to xorg-server to combine lines that are modified by the ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 22:29:19 UTC
*** Bug 184997 has been marked as a duplicate of this bug. ***
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-14 20:42:05 UTC
Sounds reasonable. Could you attach an ebuild patch too?
Comment 5 Michael Gorse 2007-10-15 00:10:58 UTC
Created attachment 133483 [details, diff]
Ebuild patch as requested
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2007-12-14 07:59:54 UTC
Should be fixed in 1.4.0.90, please reopen if it's not.