After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642456 - Errors compiling fuse daemon from git
Errors compiling fuse daemon from git
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: fuse
git master
Other Linux
: Normal normal
: ---
Assigned To: Tomas Bzatek
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-16 12:54 UTC by Gil Forcada
Modified: 2011-03-16 15:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gil Forcada 2011-02-16 12:54:43 UTC
Hi,

I was doing a jhbuild and it stopped right due to some non-declared identifiers:



make[2]: Entering directory `/opt/source/gvfs/client'
  CC     gdaemonvfs.lo
  CC     gdaemonmount.lo
  CC     gdaemonvolumemonitor.lo
  CC     gdaemonfile.lo
  CC     gdaemonfileinputstream.lo
  CC     gdaemonfileoutputstream.lo
  CC     gdaemonfileenumerator.lo
  CC     gdaemonfilemonitor.lo
  CC     gvfsdaemondbus.lo
  CC     gvfsiconloadable.lo
  CC     gvfsuriutils.lo
  CC     gvfsurimapper.lo
  CC     smburi.lo
  CC     httpuri.lo
  CCLD   libgvfsdbus.la
  CC     gvfs_fuse_daemon-gvfsfusedaemon.o
gvfsfusedaemon.c: In function ‘get_file_handle_from_info’:
gvfsfusedaemon.c:339: warning: cast to pointer from integer of different size
gvfsfusedaemon.c: In function ‘vfs_open’:
gvfsfusedaemon.c:1022: warning: cast from pointer to integer of different size
gvfsfusedaemon.c: In function ‘vfs_create’:
gvfsfusedaemon.c:1120: warning: cast from pointer to integer of different size
gvfsfusedaemon.c: In function ‘vfs_init’:
gvfsfusedaemon.c:2343: error: ‘struct fuse_conn_info’ has no member named ‘want’
gvfsfusedaemon.c:2343: error: ‘FUSE_CAP_ATOMIC_O_TRUNC’ undeclared (first use in this function)
gvfsfusedaemon.c:2343: error: (Each undeclared identifier is reported only once
gvfsfusedaemon.c:2343: error: for each function it appears in.)
make[2]: *** [gvfs_fuse_daemon-gvfsfusedaemon.o] Error 1
make[2]: Leaving directory `/opt/gnome-gil/source/gvfs/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gnome-gil/source/gvfs'
make: *** [all] Error 2
Comment 1 Tomas Bzatek 2011-02-21 13:06:15 UTC
Hmm, what is your system fuse version? We might need to bump a requirement, not sure which fuse version introduced the 'want' struct member.

According to ChangeLog, atomic trunc support was introduced 2008-02-08, which is 2.8.0-pre1
Comment 2 Gil Forcada 2011-02-21 14:11:07 UTC
It's 2.7.4 on a Gentoo system (if that matters at all). It seems that 2.8.5 is the new stable version, may i bump it to check if with that version works?
Comment 3 Tomas Bzatek 2011-02-21 14:19:12 UTC
(In reply to comment #2)
> It's 2.7.4 on a Gentoo system (if that matters at all). It seems that 2.8.5 is
> the new stable version, may i bump it to check if with that version works?
Yes, please do, I'll bump fuse requirements if it works.
Comment 4 Gil Forcada 2011-02-21 20:17:22 UTC
It worked with fuse 2.8.5 from Gentoo!
Comment 5 Tomas Bzatek 2011-03-16 15:39:50 UTC
Thanks for the confirmation.

commit f6b792cbbfdde70d201b3609d2eb67fd82fcccf2
Author: Tomas Bzatek <tbzatek@redhat.com>
Date:   Wed Mar 16 16:38:34 2011 +0100

    build: Bump fuse requirement for ATOMIC_O_TRUNC support
    
    https://bugzilla.gnome.org/show_bug.cgi?id=642456