>>> Failed to emerge sys-fs/zfs-fuse-0.5.0, Log file: >>> '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/temp/build.log' * CPV: sys-fs/zfs-fuse-0.5.0 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * Applying fix_zdb_path.patch ... [ ok ] * Applying fix_zfs-fuse_path.patch ... [ ok ] * Applying fix_ztest_path.patch ... [ ok ] scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o cmd/zdb/ptrace.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -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\" -DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c gcc -o cmd/zdb/zdb.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -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\" -DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb.c cc1: warnings being treated as errors cmd/zdb/zdb.c: In function 'zdb_dump_block_raw': cmd/zdb/zdb.c:2007: error: ignoring return value of 'write', declared with attribute warn_unused_result scons: *** [cmd/zdb/zdb.o] Error 1 scons: building terminated because of errors. * ERROR: sys-fs/zfs-fuse-0.5.0 failed: * Make failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2374: Called die * The specific snippet of code: * scons || die "Make failed" * * If you need support, post the output of 'emerge --info =sys-fs/zfs-fuse-0.5.0', * the complete build log and the output of 'emerge -pqv =sys-fs/zfs-fuse-0.5.0'. * The complete build log is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/temp/environment'. * S: '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0/src' * Messages for package sys-fs/zfs-fuse-0.5.0: * ERROR: sys-fs/zfs-fuse-0.5.0 failed: * Make failed * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2374: Called die * The specific snippet of code: * scons || die "Make failed" * * If you need support, post the output of 'emerge --info =sys-fs/zfs-fuse-0.5.0', * the complete build log and the output of 'emerge -pqv =sys-fs/zfs-fuse-0.5.0'. * The complete build log is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/temp/environment'. * S: '/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0/src' * GNU info directory index is up-to-date. Reproducible: Always
I too have this issue..
Oh and I found this.. http://zfs-on-fuse.blogspot.com/2008/09/zfs-fuse-050-released.html 'remove -Werror from CCFLAGS in the SConstruct file' but i dont know how to do this as the emerge unpacks...
(In reply to comment #2) > Oh and I found this.. > > http://zfs-on-fuse.blogspot.com/2008/09/zfs-fuse-050-released.html > > 'remove -Werror from CCFLAGS in the SConstruct file' > > but i dont know how to do this as the emerge unpacks... > ebuild /path/to/ebuild unpack edit the file ebuild /path/to/ebuild compile then install then qmerge
Duplicate of Bug 260941. (On that note, sticking -Werror into release code is stupid, plus the thing completely ignores user-set CFLAGS altogether apparently.)
*** This bug has been marked as a duplicate of bug 260941 ***