Closed danc closed 4 years ago
A fix for this has been merged in the s3fs master, but that seem to have happened after the release. I guess that the only thing to do is to wait for a 1.88. I guess it should be possible to cherry pick the changes from the commit into the tree, just for that version. But that seems like a whole lot of work for little gain. I am closing since it is off our hands.
`Cloning into 's3fs-fuse'... Note: switching to 'tags/v1.87'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 194262c Update ChangeLog and configure.ac for 1.87 --- Make commit hash file ------- --- Finished commit hash file --- --- Start autotools ------------- configure.ac:30: installing './compile' configure.ac:26: installing './config.guess' configure.ac:26: installing './config.sub' configure.ac:27: installing './install-sh' configure.ac:27: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' --- Finished autotools ---------- checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking target system type... x86_64-pc-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking sys/extattr.h usability... no checking sys/extattr.h presence... no checking for sys/extattr.h... no checking s3fs build with nettle(GnuTLS)... no checking s3fs build with OpenSSL... no checking s3fs build with GnuTLS... no checking s3fs build with NSS... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for common_lib_checking... yes checking compile s3fs with... OpenSSL checking for DEPS... yes checking for malloc_trim... no checking for library containing clock_gettime... none required checking for clock_gettime... yes checking pthread mutex recursive... PTHREAD_MUTEX_RECURSIVE checking checking CURLOPT_TCP_KEEPALIVE... yes checking checking CURLOPT_SSL_ENABLE_ALPN... yes checking checking CURLOPT_KEEP_SENDING_ON_ERROR... yes checking for git... yes checking github short commit hash... 194262c checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/s3fs-fuse' Making all in src make[2]: Entering directory '/s3fs-fuse/src' g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo -c -o s3fs.o s3fs.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT curl.o -MD -MP -MF .deps/curl.Tpo -c -o curl.o curl.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT string_util.o -MD -MP -MF .deps/string_util.Tpo -c -o string_util.o string_util.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT s3fs_util.o -MD -MP -MF .deps/s3fs_util.Tpo -c -o s3fs_util.o s3fs_util.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT fdcache.o -MD -MP -MF .deps/fdcache.Tpo -c -o fdcache.o fdcache.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT common_auth.o -MD -MP -MF .deps/common_auth.Tpo -c -o common_auth.o common_auth.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT addhead.o -MD -MP -MF .deps/addhead.Tpo -c -o addhead.o addhead.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT sighandlers.o -MD -MP -MF .deps/sighandlers.Tpo -c -o sighandlers.o sighandlers.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT openssl_auth.o -MD -MP -MF .deps/openssl_auth.Tpo -c -o openssl_auth.o openssl_auth.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -MT test_string_util.o -MD -MP -MF .deps/test_string_util.Tpo -c -o test_string_util.o test_string_util.cpp mv -f .deps/common_auth.Tpo .deps/common_auth.Po mv -f .deps/openssl_auth.Tpo .deps/openssl_auth.Po fdcache.cpp: In static member function 'static bool PageList::GetSparseFilePages(int, size_t, fdpage_list_t&)': fdcache.cpp:478:33: error: 'SEEK_HOLE' was not declared in this scope 478 | int hole_pos = lseek(fd, 0, SEEK_HOLE); | ^
~~~~ fdcache.cpp:479:33: error: 'SEEK_DATA' was not declared in this scope; did you mean 'SEEK_SET'? 479 | int data_pos = lseek(fd, 0, SEEK_DATA); | ^~~~~ | SEEK_SET mv -f .deps/sighandlers.Tpo .deps/sighandlers.Po make[2]: [Makefile:630: fdcache.o] Error 1 make[2]: Waiting for unfinished jobs.... mv -f .deps/string_util.Tpo .deps/string_util.Po mv -f .deps/addhead.Tpo .deps/addhead.Po mv -f .deps/test_string_util.Tpo .deps/test_string_util.Po mv -f .deps/s3fs_util.Tpo .deps/s3fs_util.Po mv -f .deps/cache.Tpo .deps/cache.Po mv -f .deps/s3fs.Tpo .deps/s3fs.Po mv -f .deps/curl.Tpo .deps/curl.Po make[2]: Leaving directory '/s3fs-fuse/src' make[1]: [Makefile:400: all-recursive] Error 1 make[1]: Leaving directory '/s3fs-fuse' make: [Makefile:341: all] Error 2 The command '/bin/sh -c apk --no-cache add ca-certificates build-base git alpine-sdk libcurl automake autoconf libxml2-dev libressl-dev fuse-dev curl-dev && git clone https://github.com/s3fs-fuse/s3fs-fuse.git && cd s3fs-fuse && git checkout tags/${S3FS_VERSION} && ./autogen.sh && ./configure --prefix=/usr && make -j && make install' returned a non-zero code: 2 make: *** [build] Error 2`