{"action":"closed","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/1082","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/1082/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/1082/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/1082/events","html_url":"https://github.com/zfsonlinux/zfs/issues/1082","id":8191724,"number":1082,"title":"Building out of tree results in build products in original source tree","user":{"login":"prakashsurya","id":658081,"avatar_url":"https://avatars.githubusercontent.com/u/658081?v=3","gravatar_id":"","url":"https://api.github.com/users/prakashsurya","html_url":"https://github.com/prakashsurya","followers_url":"https://api.github.com/users/prakashsurya/followers","following_url":"https://api.github.com/users/prakashsurya/following{/other_user}","gists_url":"https://api.github.com/users/prakashsurya/gists{/gist_id}","starred_url":"https://api.github.com/users/prakashsurya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prakashsurya/subscriptions","organizations_url":"https://api.github.com/users/prakashsurya/orgs","repos_url":"https://api.github.com/users/prakashsurya/repos","events_url":"https://api.github.com/users/prakashsurya/events{/privacy}","received_events_url":"https://api.github.com/users/prakashsurya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Build%20Issue","name":"Build Issue","color":"e102d8"},{"url":"https://api.github.com/repos/zfsonlinux/zfs/labels/Difficulty%20-%20Easy","name":"Difficulty - Easy","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/25","html_url":"https://github.com/zfsonlinux/zfs/milestones/0.6.5","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/25/labels","id":175736,"number":25,"title":"0.6.5","description":"ZFS on Linux v0.6.5 - Functionality / Integration","creator":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":58,"state":"open","created_at":"2012-09-16T18:38:32Z","updated_at":"2015-07-17T22:08:15Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2012-11-08T00:55:14Z","updated_at":"2015-07-17T22:08:15Z","closed_at":"2015-07-17T22:08:15Z","body":"Building the modules out of tree leaves the original source tree tainted with build products. For example:\r\n```\r\n# Run from within SPL source directory\r\n$ sh autogen.sh \r\n$ git ls-files -o\r\nMakefile.in\r\naclocal.m4\r\nautom4te.cache/output.0\r\nautom4te.cache/output.1\r\nautom4te.cache/requests\r\nautom4te.cache/traces.0\r\nautom4te.cache/traces.1\r\ncmd/Makefile.in\r\nconfig/config.guess\r\nconfig/config.sub\r\nconfig/depcomp\r\nconfig/install-sh\r\nconfig/ltmain.sh\r\nconfig/missing\r\nconfigure\r\ninclude/Makefile.in\r\nlib/Makefile.in\r\nscripts/Makefile.in\r\nspl_config.h.in\r\n\r\n# Run from temporary \"build\" directory outside of SPL source tree\r\n$ $SPL/configure && make\r\n\r\n# Run from within SPL source directory\r\n$ git ls-files -o\r\nMakefile.in\r\naclocal.m4\r\nautom4te.cache/output.0\r\nautom4te.cache/output.1\r\nautom4te.cache/requests\r\nautom4te.cache/traces.0\r\nautom4te.cache/traces.1\r\ncmd/Makefile.in\r\nconfig/config.guess\r\nconfig/config.sub\r\nconfig/depcomp\r\nconfig/install-sh\r\nconfig/ltmain.sh\r\nconfig/missing\r\nconfigure\r\ninclude/Makefile.in\r\nlib/Makefile.in\r\nmodule/spl/.spl-atomic.o.cmd\r\nmodule/spl/.spl-condvar.o.cmd\r\nmodule/spl/.spl-cred.o.cmd\r\nmodule/spl/.spl-debug.o.cmd\r\nmodule/spl/.spl-err.o.cmd\r\nmodule/spl/.spl-generic.o.cmd\r\nmodule/spl/.spl-kmem.o.cmd\r\nmodule/spl/.spl-kobj.o.cmd\r\nmodule/spl/.spl-kstat.o.cmd\r\nmodule/spl/.spl-mutex.o.cmd\r\nmodule/spl/.spl-proc.o.cmd\r\nmodule/spl/.spl-rwlock.o.cmd\r\nmodule/spl/.spl-taskq.o.cmd\r\nmodule/spl/.spl-thread.o.cmd\r\nmodule/spl/.spl-time.o.cmd\r\nmodule/spl/.spl-tsd.o.cmd\r\nmodule/spl/.spl-vnode.o.cmd\r\nmodule/spl/.spl-xdr.o.cmd\r\nmodule/spl/.spl-zlib.o.cmd\r\nmodule/spl/spl-atomic.o\r\nmodule/spl/spl-condvar.o\r\nmodule/spl/spl-cred.o\r\nmodule/spl/spl-debug.o\r\nmodule/spl/spl-err.o\r\nmodule/spl/spl-generic.o\r\nmodule/spl/spl-kmem.o\r\nmodule/spl/spl-kobj.o\r\nmodule/spl/spl-kstat.o\r\nmodule/spl/spl-mutex.o\r\nmodule/spl/spl-proc.o\r\nmodule/spl/spl-rwlock.o\r\nmodule/spl/spl-taskq.o\r\nmodule/spl/spl-thread.o\r\nmodule/spl/spl-time.o\r\nmodule/spl/spl-tsd.o\r\nmodule/spl/spl-vnode.o\r\nmodule/spl/spl-xdr.o\r\nmodule/spl/spl-zlib.o\r\nmodule/splat/.splat-atomic.o.cmd\r\nmodule/splat/.splat-condvar.o.cmd\r\nmodule/splat/.splat-cred.o.cmd\r\nmodule/splat/.splat-ctl.o.cmd\r\nmodule/splat/.splat-generic.o.cmd\r\nmodule/splat/.splat-kmem.o.cmd\r\nmodule/splat/.splat-kobj.o.cmd\r\nmodule/splat/.splat-linux.o.cmd\r\nmodule/splat/.splat-list.o.cmd\r\nmodule/splat/.splat-mutex.o.cmd\r\nmodule/splat/.splat-random.o.cmd\r\nmodule/splat/.splat-rwlock.o.cmd\r\nmodule/splat/.splat-taskq.o.cmd\r\nmodule/splat/.splat-thread.o.cmd\r\nmodule/splat/.splat-time.o.cmd\r\nmodule/splat/.splat-vnode.o.cmd\r\nmodule/splat/.splat-zlib.o.cmd\r\nmodule/splat/splat-atomic.o\r\nmodule/splat/splat-condvar.o\r\nmodule/splat/splat-cred.o\r\nmodule/splat/splat-ctl.o\r\nmodule/splat/splat-generic.o\r\nmodule/splat/splat-kmem.o\r\nmodule/splat/splat-kobj.o\r\nmodule/splat/splat-linux.o\r\nmodule/splat/splat-list.o\r\nmodule/splat/splat-mutex.o\r\nmodule/splat/splat-random.o\r\nmodule/splat/splat-rwlock.o\r\nmodule/splat/splat-taskq.o\r\nmodule/splat/splat-thread.o\r\nmodule/splat/splat-time.o\r\nmodule/splat/splat-vnode.o\r\nmodule/splat/splat-zlib.o\r\nscripts/Makefile.in\r\nspl_config.h.in\r\n```"}}