Bug 19505 - VPATH build broken by 4f00423
Summary: VPATH build broken by 4f00423
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Blocks: xserver-1.6
  Show dependency treegraph
Reported: 2009-01-10 21:00 UTC by Julien Cristau
Modified: 2009-01-30 16:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Julien Cristau 2009-01-10 21:00:22 UTC
Building Xorg on master fails with:
make[6]: Entering directory `/whatever/xorg-server/build/hw/xfree86/utils/gtf'
gcc -DHAVE_CONFIG_H -I. -I../../../../../hw/xfree86/utils/gtf -I../../../../include    -DHAVE_XORG_CONFIG_H -fvisibility=hidden   -DXF86PM   -g -O2 -MT gtf-gtf.o -MD -MP -MF .deps/gtf-gtf.Tpo -c -o gtf-gtf.o `test -f 'gtf.c' || echo '../../../../../hw/xfree86/utils/gtf/'`gtf.c
rm -f gtf.1
ln -s gtf.man gtf.1
In file included from ../../../../include/xorg-config.h:13,
                 from ../../../../../hw/xfree86/utils/gtf/gtf.c:107:
../../../../include/dix-config.h:433:38: error: dix-config-post-verbatim.h: No such file or directory
make[6]: *** [gtf-gtf.o] Error 1

-I$(top_srcdir)/include seems to be missing, and the introduction of dix-config-post-verbatim.h breaks the build.
Comment 1 Julien Cristau 2009-01-12 11:39:37 UTC
Marking as blocker for 1.6 since the commit has been cherry-picked.
Comment 2 Eric Anholt 2009-01-30 16:58:45 UTC
Came up with a new version of this hack that should make everyone happy, and cherry-picked.

commit d6498ea62117cce6a00ac045ddeefb7268a70f5b
Author: Eric Anholt <eric@anholt.net>
Date:   Fri Jan 30 16:17:58 2009 -0800

    Move the apple fat binary hacks back to a header file, and make it apple-only.
    (cherry picked from commit dd098501d800571e71d06ffc936635a6c9d44e05)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.