[Bugs] [Bug 1330604] New: out-of-tree builds generate XDR headers and source files in the original directory

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 26 14:42:59 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1330604

            Bug ID: 1330604
           Summary: out-of-tree builds generate XDR headers and source
                    files in the original directory
           Product: GlusterFS
           Version: mainline
         Component: build
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, kkeithle at redhat.com



Description of problem:
out-of-tree builds are expected to not modify or add files in the original
source tree. Our rpc/xdr/src/Makefile.am and the xdrgen script generate files
in the wrong directory.

How reproducible:
100%

Steps to Reproduce:
1. checkout a git repository, say $SOURCES
2. run ./autogen.sh in $SOURCES (just like a 'make dist' tarball)
3. cd into a different directory, say $BUILD
4. run "$SOURCES/configure && make" from $BUILD
5. find newly generated files under $SOURCES/rpc/xdr/src

Actual results:
new generated files under $SOURCES/rpc/xdr/src

Expected results:
newly generated files should be created under $BUILD/rpc/xdr/src

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list