Bug 6781

Summary: xcb-util fails to build with srcdir != builddir; breaks "make distcheck"
Product: XCB Reporter: Josh Triplett <josh>
Component: UtilsAssignee: Jamey Sharp <jamey>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: highest    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Josh Triplett 2006-04-29 15:13:57 UTC
xcb-util fails to build with srcdir != builddir.  This breaks "make distcheck".

make[1]: Entering directory `/home/josh/src/xcb/xcb/xcb-util/xcb-util-0.1/_build'
Making all in atom
make[2]: Entering directory
`/home/josh/src/xcb/xcb/xcb-util/xcb-util-0.1/_build/atom'
m4 ../../atom/atoms.gperf.m4 > atoms.gperf
../../atom/atoms.gperf.m4:8: m4: Cannot open atomlist.m4: No such file or directory
../../atom/atoms.gperf.m4:22: m4: Cannot open atomlist.m4: No such file or directory
../../atom/atoms.gperf.m4:26: m4: Cannot open atomlist.m4: No such file or directory
gperf --output-file atoms.c atoms.gperf
atoms.gperf: No keywords in input file!
make[2]: *** [atoms.c] Error 1
make[2]: Leaving directory
`/home/josh/src/xcb/xcb/xcb-util/xcb-util-0.1/_build/atom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/josh/src/xcb/xcb/xcb-util/xcb-util-0.1/_build'
make: *** [distcheck] Error 2
Comment 1 Bart Massey 2006-09-12 02:04:00 UTC
I've removed the GNU make dependencies in atom/Makefile.am.  Now I'll think hard
about the right way to fix the actual bug reported here.
Comment 2 Jamey Sharp 2006-11-12 17:57:03 UTC
I've just committed a couple of fixes. `make distcheck` now works for me in util.

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.