#30 — FTBFS / does not compile on debian etch
| State | Resolved |
|---|---|
| Version: | 0.6.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | nibbler |
| Submitted on | Feb 28, 2010 |
| Responsible | Seth Heeren |
| Target release: |
—
|
Last modified on
Feb 28, 2010
by
Seth Heeren
hello,
i am trying to compile zfs-fuse (0.6.0) on debian etch but i get the
following errors, on lenny all works fine but i still need debian
etch ;(
In file included from zfs-fuse/cmd_listener.c:34:
/usr/include/fuse/fuse.h:20:1: warning: this is the location of the
previous definition
gcc -o zfs-fuse/fuse_listener.o -c -pipe -Wall -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 -D_KERNEL -Ilib/libavl/
include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/
libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/
fuse_listener.c
zfs-fuse/fuse_listener.c: In function 'new_fs':
zfs-fuse/fuse_listener.c:168: error: too many arguments to function
'fuse_unmount'
zfs-fuse/fuse_listener.c: In function 'zfsfuse_listener_loop':
zfs-fuse/fuse_listener.c:249: warning: implicit declaration of
function 'fuse_chan_recv'
zfs-fuse/fuse_listener.c: In function 'zfsfuse_listener_start':
zfs-fuse/fuse_listener.c:321: error: too many arguments to function
'fuse_unmount'
scons: *** [zfs-fuse/fuse_listener.o] Error 1
scons: building terminated because of errors.
debian4:~/zfs-fuse-0.6.0/src#
ii fuse-utils
2.5.3-4.4+etch1 Filesystem in USErspace (utilities)
ii libfuse-dev
2.5.3-4.4+etch1 Filesystem in USErspace
(development files)
ii libfuse2
2.5.3-4.4+etch1 Filesystem in USErspace library
any hints?
best regards
i am trying to compile zfs-fuse (0.6.0) on debian etch but i get the
following errors, on lenny all works fine but i still need debian
etch ;(
In file included from zfs-fuse/cmd_listener.c:34:
/usr/include/fuse/fuse.h:20:1: warning: this is the location of the
previous definition
gcc -o zfs-fuse/fuse_listener.o -c -pipe -Wall -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 -D_KERNEL -Ilib/libavl/
include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/
libzfscommon/include -Ilib/libsolkerncompat/include zfs-fuse/
fuse_listener.c
zfs-fuse/fuse_listener.c: In function 'new_fs':
zfs-fuse/fuse_listener.c:168: error: too many arguments to function
'fuse_unmount'
zfs-fuse/fuse_listener.c: In function 'zfsfuse_listener_loop':
zfs-fuse/fuse_listener.c:249: warning: implicit declaration of
function 'fuse_chan_recv'
zfs-fuse/fuse_listener.c: In function 'zfsfuse_listener_start':
zfs-fuse/fuse_listener.c:321: error: too many arguments to function
'fuse_unmount'
scons: *** [zfs-fuse/fuse_listener.o] Error 1
scons: building terminated because of errors.
debian4:~/zfs-fuse-0.6.0/src#
ii fuse-utils
2.5.3-4.4+etch1 Filesystem in USErspace (utilities)
ii libfuse-dev
2.5.3-4.4+etch1 Filesystem in USErspace
(development files)
ii libfuse2
2.5.3-4.4+etch1 Filesystem in USErspace library
any hints?
best regards
- Steps to reproduce:
- apt-get update
apt-get install build-essential libaio-dev libattr1-dev libacl1-dev libz-dev libz-dev libfuse-dev libfuse2 scons libssl-dev git lvm2 nload htop vim screen xfsprogs cryptsetup -y git-core git-completion colormake pbzip2 pv
update-alternatives --set git /usr/bin/git-scm
########### START FIX/WORKAOUND FOR ANCIENT VERSIONS ON ETCH
echo deb http://www.backports.org/debian etch-backports main contrib non-free >> /etc/apt/sources.list
apt-get update
apt-get -t etch-backports install libc6 libfuse2 libfuse-dev fuse-utils
########### END OF FIX/WORKAOUND FOR ANCIENT VERSIONS ON ETCH
alias sudo=''
sudo mkdir -pv /mnt/work
sudo chown -Rc ubuntu: /mnt/work
cd /mnt/work
git clone git://zfs-fuse.sehe.nl/git/zfs-fuse
cd zfs-fuse
git checkout -b issue30 0.6.0
cd src
scons -j5 | /usr/share/colormake/colormake.pl #| less -SR
scons -j5 install | /usr/share/colormake/colormake.pl #| less -SR
Added by
Seth Heeren
on
Feb 28, 2010 05:44 PM
Issue state:
unconfirmed → open
Responsible manager:
(UNASSIGNED) → sgheeren
Confirmed. The issue is breaking changes in the fuse API (missing features in older version of it). Will post workaround after verification. In the meantime I've attached steps to reproduce on the following distros:
Distributor ID: Debian
Description: Debian GNU/Linux 4.0 (etch)
Release: 4.0
Codename: etch
Linux domU-12-31-39-0A-35-C1 2.6.21.7-2.fc8xen-ec2-v1.0 #1 SMP Tue Sep 1 10:25:30 EDT 2009 x86_64 GNU/Linux
or
Distributor ID: Debian
Description: Debian GNU/Linux 4.0 (etch)
Release: 4.0
Codename: etch
Linux domU-12-31-39-09-C2-23 2.6.21.7-2.fc8xen-ec2-v1.0 #2 SMP Tue Sep 1 10:04:29 EDT 2009 i686 GNU/Linux
As you can see I've been testing on both 32 bit and 64 bit.
Distributor ID: Debian
Description: Debian GNU/Linux 4.0 (etch)
Release: 4.0
Codename: etch
Linux domU-12-31-39-0A-35-C1 2.6.21.7-2.fc8xen-ec2-v1.0 #1 SMP Tue Sep 1 10:25:30 EDT 2009 x86_64 GNU/Linux
or
Distributor ID: Debian
Description: Debian GNU/Linux 4.0 (etch)
Release: 4.0
Codename: etch
Linux domU-12-31-39-09-C2-23 2.6.21.7-2.fc8xen-ec2-v1.0 #2 SMP Tue Sep 1 10:04:29 EDT 2009 i686 GNU/Linux
As you can see I've been testing on both 32 bit and 64 bit.
Added by
Seth Heeren
on
Feb 28, 2010 06:02 PM
Issue state:
open → resolved
The version of fuse on etch 'vanilla' is positively ancient.
domU-12-31-39-0A-35-C1:/mnt/work/zfs-fuse/src# fusermount -V
fusermount version: 2.5.3
You can install a newer version (2.7.1) of it from the backports repo. Steps:
echo deb http://www.backports.org/debian etch-backports main contrib non-free >> /etc/apt/sources.list
apt-get update
apt-get -t etch-backports install libc6 libfuse2 libfuse-dev fuse-utils
See for more info: note that the backports for etch are not supported (?) any more because of end of support terms for those versions (in other words: you should upgrade anyway)
# http://www.backports.org/dokuwiki/doku.php?id=instructions
After these steps, build is ok on both 32 bit and 64 bit, fuse version is 2.7.1. Note that with 2.8.* series, there can be considerable performance improvements running zfs-fuse.
domU-12-31-39-0A-35-C1:/mnt/work/zfs-fuse/src# fusermount -V
fusermount version: 2.5.3
You can install a newer version (2.7.1) of it from the backports repo. Steps:
echo deb http://www.backports.org/debian etch-backports main contrib non-free >> /etc/apt/sources.list
apt-get update
apt-get -t etch-backports install libc6 libfuse2 libfuse-dev fuse-utils
See for more info: note that the backports for etch are not supported (?) any more because of end of support terms for those versions (in other words: you should upgrade anyway)
# http://www.backports.org/dokuwiki/doku.php?id=instructions
After these steps, build is ok on both 32 bit and 64 bit, fuse version is 2.7.1. Note that with 2.8.* series, there can be considerable performance improvements running zfs-fuse.

