Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194575 - sys-fs/zfs-fuse-0.4.0_beta1-r1 compile fails (-Werror)
Summary: sys-fs/zfs-fuse-0.4.0_beta1-r1 compile fails (-Werror)
Status: RESOLVED DUPLICATE of bug 213440
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-03 07:01 UTC by Ravi Pinjala
Modified: 2008-03-15 06:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
work around so it will compile (werror.diff,798 bytes, patch)
2007-10-17 06:21 UTC, Steve Christman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Pinjala 2007-10-03 07:01:50 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-03 07:12:43 UTC
Upstream people hardcoding -Werror and similar into release tarballs deserve a cluebat.
Comment 2 Steve Christman 2007-10-17 06:21:10 UTC
Created attachment 133659 [details, diff]
work around so it will compile
Comment 3 larstobi 2008-03-14 20:32:08 UTC
Also see http://bugs.gentoo.org/show_bug.cgi?id=213440
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 06:49:44 UTC

*** This bug has been marked as a duplicate of bug 213440 ***