Hi Team,


Thanks for the response. We need fuse 2.8 [ functions: poll() and ioctl ()] to 
install S3fs ( need to mount AWS s3 bucket on OI servers). Below error getting 
while trying to build S3fs (two versions 1.74 and 3.0) with Fuse 2.7.6.



Could you please suggest s3fs version compatible with fuse2.7.6?



Error 1: fuse2.7.6 with s3fs-1.74

++++++++++++++++++++++++++++++++++++++++++++++++++                              
                                                                                
                                        ^

common.h:122:35: note: in expansion of macro 'S3FS_LOW_LOGPRN2'

#define S3FS_PRN_INFO1(fmt, ...)  S3FS_LOW_LOGPRN2(S3FS_LOG_INFO, 1, fmt, 
##__VA_ARGS__, "")

                                   ^~~~~~~~~~~~~~~~

s3fs.cpp:1688:3: note: in expansion of macro 'S3FS_PRN_INFO1'

   S3FS_PRN_INFO1("[path=%s][mode=%04o]", path, mode);

   ^~~~~~~~~~~~~~

s3fs.cpp: In function 'void* s3fs_init(fuse_conn_info*)':

s3fs.cpp:3492:26: error: 'struct fuse_conn_info' has no member named 'capable'

   if((unsigned int)conn->capable & FUSE_CAP_ATOMIC_O_TRUNC){

                          ^~~~~~~

s3fs.cpp:3492:36: error: 'FUSE_CAP_ATOMIC_O_TRUNC' was not declared in this 
scope

   if((unsigned int)conn->capable & FUSE_CAP_ATOMIC_O_TRUNC){

                                    ^~~~~~~~~~~~~~~~~~~~~~~

s3fs.cpp:3493:12: error: 'struct fuse_conn_info' has no member named 'want'

      conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;

            ^~~~

s3fs.cpp:3497:26: error: 'struct fuse_conn_info' has no member named 'capable'

   if((unsigned int)conn->capable & FUSE_CAP_BIG_WRITES){

                          ^~~~~~~

s3fs.cpp:3497:36: error: 'FUSE_CAP_BIG_WRITES' was not declared in this scope

   if((unsigned int)conn->capable & FUSE_CAP_BIG_WRITES){

                                    ^~~~~~~~~~~~~~~~~~~

s3fs.cpp:3498:12: error: 'struct fuse_conn_info' has no member named 'want'

      conn->want |= FUSE_CAP_BIG_WRITES;

            ^~~~

In file included from s3fs.cpp:46:0:

s3fs.cpp: In function 'int set_mountpoint_attribute(stat&)':

common.h:90:150: warning: format '%o' expects argument of type 'unsigned int', 
but argument 12 has type 'mode_t {aka long unsigned int}' [-Wformat=]

            fprintf(stdout, "%s%s%s:%s(%d): " fmt "%s\n", 
S3FS_LOG_LEVEL_STRING(level), S3FS_LOG_NEST(nest), __FILE__, __func__, 
__LINE__, __VA_ARGS__); \

                                                                                
                                                                      ^

common.h:123:35: note: in expansion of macro 'S3FS_LOW_LOGPRN2'

#define S3FS_PRN_INFO2(fmt, ...)  S3FS_LOW_LOGPRN2(S3FS_LOG_INFO, 2, fmt, 
##__VA_ARGS__, "")

                                   ^~~~~~~~~~~~~~~~

s3fs.cpp:4335:3: note: in expansion of macro 'S3FS_PRN_INFO2'

   S3FS_PRN_INFO2("PROC(uid=%u, gid=%u) - MountPoint(uid=%u, gid=%u, 
mode=%04o)",

   ^~~~~~~~~~~~~~

s3fs.cpp: In function 'int main(int, char**)':

s3fs.cpp:5038:3: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]

   };

   ^

s3fs.cpp:5038:3: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]

s3fs.cpp:5038:3: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]

s3fs.cpp:5038:3: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]

s3fs.cpp:5038:3: warning: ISO C++ forbids converting a string constant to 
'char*' [-Wwrite-strings]

*** Error code 1

make: Fatal error: Command failed for target `s3fs.o'

Current working directory /var/tmp/s3fs-fuse/src

++++++++++++++++++++++++++++++++++++++++++++++++++



Error 2: Getting when tried with fuse2.7.6 with s3fs-fuse3.0

++++++++++++++++++++++++++++++++++++++++++++++++++

checking pkg-config is at least version 0.9.0... yes

checking for DEPS... configure: error: Package requirements (fuse >= 2.8.4 
libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met:



Requested 'fuse >= 2.8.4' but version of fuse is 2.7.6



Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.





++++++++++++++++++++++++++++++++++++++++++++++++++





Thanks,

Senthil

    ----------------------------------------------------------------------



    Message: 1

    Date: Sat, 13 Apr 2019 16:31:04 +0200

    From: Jean-Pierre Andr? <[email protected]>

    To: [email protected]

    Subject: Re: [OpenIndiana-discuss] S3fs and Fuse

    Message-ID: <[email protected]>

    Content-Type: text/plain; charset=windows-1252; format=flowed



    Senthilarasan Swamy wrote:

    > Hi All,

    >

    > Trying to mount AWS S3 on OI server using Fuse and S3fs. To compile and 
build S3fs, it need fuse 2.8.4 but able to install fuse library 2.7.6 on 
hipster repo.



    AFAIK fuse 2.8 implemented two new functions : poll() and ioctl(),

    but these are not triggered or called by the applications, not by

    the file system.



    These functions are currently not implemented in the fuse kernel,

    and they cannot be simply adapted from a Linux implementation.

    Do you really need them (in your application) ?



    > Where can I get latest Fuse lib?



    The fuse lib for Hipster is orphaned, and you are probably using

    the latest version.



    Does anyone successfully tried s3fs-1.74 and mounted S3 bucket? If so

    please advise the procedure.









    ------------------------------



    Message: 2

    Date: Sat, 13 Apr 2019 16:34:35 +0200

    From: Jean-Pierre Andr? <[email protected]>

    To: [email protected]

    Subject: Re: [OpenIndiana-discuss] S3fs and Fuse

    Message-ID: <[email protected]>

    Content-Type: text/plain; charset=windows-1252; format=flowed



    Jean-Pierre Andr? wrote:

    > Senthilarasan Swamy wrote:

    >> Hi All,

    >>

    >> Trying to mount AWS S3 on OI server using Fuse and S3fs. To compile

    >> and build S3fs, it need fuse 2.8.4 but able to install fuse library

    >> 2.7.6 on hipster repo.

    >

    > AFAIK fuse 2.8 implemented two new functions : poll() and ioctl(),

    > but these are not triggered or called by the applications, not by

    > the file system.



    Sorry. I meant "these are triggered or called by the applications,

    not by the file system."



    >

    > These functions are currently not implemented in the fuse kernel,

    > and they cannot be simply adapted from a Linux implementation.

    > Do you really need them (in your application) ?

    >

    >> Where can I get latest Fuse lib?

    >

    > The fuse lib for Hipster is orphaned, and you are probably using

    > the latest version.

    >

    > Does anyone successfully tried s3fs-1.74 and mounted S3 bucket? If so

    > please advise the procedure.













    ------------------------------



    Subject: Digest Footer



    _______________________________________________

    openindiana-discuss mailing list

    [email protected]

    https://openindiana.org/mailman/listinfo/openindiana-discuss





    ------------------------------



    End of openindiana-discuss Digest, Vol 105, Issue 17

    ****************************************************


_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to