When I try to compile zfs-fuse-0.4.0_beta1-r1, it fails. It also produces a ton of access violations when sandbox is not disabled. gcc -o lib/libzpool/build-user/dmu.o -c -pipe -Wall -Werror -std=c99 -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include -Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/build-user/dmu.c cc1: warnings being treated as errors lib/libzpool/build-user/dmu.c: In function 'dmu_write': lib/libzpool/build-user/dmu.c:422: warning: passing argument 6 of 'dmu_buf_hold_array' discards qualifiers from pointer target type scons: *** [lib/libzpool/build-user/dmu.o] Error 1 scons: building terminated because of errors. * * ERROR: sys-fs/zfs-fuse-0.4.0_beta1-r1 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_compile * ebuild.sh, line 1020: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * zfs-fuse-0.4.0_beta1-r1.ebuild, line 35: Called die * The specific snippet of code: * scons || die "Make failed" * The die message: * Make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.4.0_beta1-r1/temp/build.log'. * --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-fs_-_zfs-fuse-0.4.0_beta1-r1-4817.log" unlink: /usr/lib/scons-0.97/SCons/__init__.pyc (symlink to /usr/lib64/scons-0.97/SCons/__init__.pyc) open_wr: /usr/lib/scons-0.97/SCons/__init__.pyc (symlink to /usr/lib64/scons-0.97/SCons/__init__.pyc) unlink: /usr/lib/scons-0.97/SCons/Script/__init__.pyc (symlink to /usr/lib64/scons-0.97/SCons/Script/__init__.pyc) open_wr: /usr/lib/scons-0.97/SCons/Script/__init__.pyc (symlink to /usr/lib64/scons-0.97/SCons/Script/__init__.pyc) unlink: /usr/lib/scons-0.97/SCons/Action.pyc (symlink to /usr/lib64/scons-0.97/SCons/Action.pyc) open_wr: /usr/lib/scons-0.97/SCons/Action.pyc (symlink to /usr/lib64/scons-0.97/SCons/Action.pyc) unlink: /usr/lib/scons-0.97/SCons/Debug.pyc (symlink to /usr/lib64/scons-0.97/SCons/Debug.pyc) open_wr: /usr/lib/scons-0.97/SCons/Debug.pyc (symlink to /usr/lib64/scons-0.97/SCons/Debug.pyc) unlink: /usr/lib/scons-0.97/SCons/Errors.pyc (symlink to /usr/lib64/scons-0.97/SCons/Errors.pyc) open_wr: /usr/lib/scons-0.97/SCons/Errors.pyc (symlink to /usr/lib64/scons-0.97/SCons/Errors.pyc) unlink: /usr/lib/scons-0.97/SCons/Executor.pyc (symlink to /usr/lib64/scons-0.97/SCons/Executor.pyc) open_wr: /usr/lib/scons-0.97/SCons/Executor.pyc (symlink to /usr/lib64/scons-0.97/SCons/Executor.pyc) ====================================================================== lots more of the same skipped here in the interests of brevity ====================================================================== unlink: /usr/lib/scons-0.97/SCons/Tool/yacc.pyc (symlink to /usr/lib64/scons-0.97/SCons/Tool/yacc.pyc) open_wr: /usr/lib/scons-0.97/SCons/Tool/yacc.pyc (symlink to /usr/lib64/scons-0.97/SCons/Tool/yacc.pyc) unlink: /usr/lib/scons-0.97/SCons/Tool/zip.pyc (symlink to /usr/lib64/scons-0.97/SCons/Tool/zip.pyc) open_wr: /usr/lib/scons-0.97/SCons/Tool/zip.pyc (symlink to /usr/lib64/scons-0.97/SCons/Tool/zip.pyc) -------------------------------------------------------------------------------- * Messages for package sys-fs/zfs-fuse-0.4.0_beta1-r1: * * ERROR: sys-fs/zfs-fuse-0.4.0_beta1-r1 failed. * Call stack: * ebuild.sh, line 1684: Called dyn_compile * ebuild.sh, line 1020: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * zfs-fuse-0.4.0_beta1-r1.ebuild, line 35: Called die * The specific snippet of code: * scons || die "Make failed" * The die message: * Make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.4.0_beta1-r1/temp/build.log'. * With FEATURES="-sandbox -usersandbox", I get the same error, just without the sandbox access violations. The previous version (zfs-fuse-0.4.0_beta1) installed fine, so I guess this is something new that happened in this version.
Upstream people hardcoding -Werror and similar into release tarballs deserve a cluebat.
Created attachment 133659 [details, diff] work around so it will compile
Also see http://bugs.gentoo.org/show_bug.cgi?id=213440
*** This bug has been marked as a duplicate of bug 213440 ***