[Xcb] [Bug 90328] New: util-errors: out of tree builds do not work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 5 14:44:09 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90328

            Bug ID: 90328
           Summary: util-errors: out of tree builds do not work
           Product: XCB
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Utils
          Assignee: xcb at lists.freedesktop.org
          Reporter: daphnediane at mac.com
        QA Contact: xcb at lists.freedesktop.org

Attempting to build util-errors using an out of tree build process fails as it
tries to run src/extensions.py from the build directory instead of the source
directory.

I assume it should be something like:

index 746cde3..08bcf7b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,5 +36,5 @@ tests_test_LDADD = libxcb-errors.la $(XCB_LIBS)
 CLEANFILES = src/extensions.c

 src/extensions.c: src/extensions.py
-       $(AM_V_GEN)src/extensions.py $@.tmp ${XCBPROTO_XCBINCLUDEDIR}/*.xml &&
\
+       $(AM_V_GEN)$(srcdir)/src/extensions.py $@.tmp
${XCBPROTO_XCBINCLUDEDIR}/*.xml && \
        mv $@.tmp $@

Or better yet it configure search for python similar to how libxcb does and
then run something like:
$(AM_V_GEN)$(PYTHON) $(srcdir)/src/extensions.py

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150505/3f2a9fd9/attachment.html>


More information about the Xcb mailing list