alperakcan / fuse-ext2

Fuse-ext2 is a multi OS FUSE module to mount ext2, ext3 and ext4 file system devices and/or images with read write support.
GNU General Public License v2.0
804 stars 130 forks source link

Multiple errors when running ./configure on M1 (Aarch64) with Monterrey 12.3 #129

Open hilga007 opened 2 years ago

hilga007 commented 2 years ago

Please see below for everything which occurs after ./configure. System is using latest MacFuse for Apple Silicon

checking build system type... aarch64-apple-darwin21.3.0
checking host system type... aarch64-apple-darwin21.3.0
checking target system type... aarch64-apple-darwin21.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... gawk
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 the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gawk... (cached) gawk
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... gcc
checking whether the compiler supports GNU Objective C... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin21.3.0 file names to aarch64-apple-darwin21.3.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin21.3.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for utime.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin21.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking for chmod... /bin/chmod
checking for size_t... yes
checking for off_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for egrep... (cached) /usr/bin/grep -E
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... no
checking for fcntl.h... yes
checking for malloc.h... no
checking for mntent.h... no
checking for netinet/in.h... yes
checking for paths.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for linux/fd.h... no
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/mount.h... yes
checking for sys/param.h... (cached) yes
checking for sys/statvfs.h... yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mkdev.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/syscall.h... yes
checking for sys/resource.h... yes
checking for sys/mman.h... yes
checking for sys/prctl.h... no
checking for sys/disklabel.h... no
checking for sys/queue.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/un.h... yes
checking for sys/sockio.h... yes
checking for net/if.h... yes
checking for netinet/in.h... (cached) yes
checking for net/if_dl.h... yes
checking for errno.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... (cached) yes
checking for getopt.h... yes
checking for inttypes.h... (cached) yes
checking for sys/disk.h... yes
checking for sys/mount.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for ssize_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether llseek is declared... no
checking whether lseek64 is declared... no
checking for ssize_t... (cached) yes
checking for vprintf... yes
checking for getpagesize... yes
checking how to run the C preprocessor... gcc -E
checking for uid_t in sys/types.h... yes
checking for working chown... yes
checking whether closedir returns void... no
checking for library containing getmntent... no
checking whether gcc needs -traditional... no
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for working mmap... yes
checking for GNU libc compatible realloc... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... no
checking whether utime accepts a null argument... yes
checking for ftruncate... yes
checking for getmntent... (cached) no
checking for getmntinfo... yes
checking for getpagesize... (cached) yes
checking for hasmntopt... no
checking for memmove... yes
checking for memset... yes
checking for munmap... yes
checking for random... yes
checking for select... yes
checking for srand... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strtol... yes
checking for strtoul... yes
checking for strtoull... yes
checking for uname... yes
checking for utime... yes
checking for llseek... no
checking for lseek64... no
checking for library containing sem_post... none required
checking for library containing fuse_main... -lfuse
checking for library containing com_err... -lcom_err
checking for library containing ext2fs_open... -lext2fs
checking if FUSE on this system is too new for us... yes
Disabling debug support by default
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fuse-ext2.pc
config.status: creating Makefile
config.status: creating fuse-ext2/Makefile
config.status: creating tools/Makefile
config.status: creating tools/macosx/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
erichilgart@Erics-MacBook-Air fuse-ext2 % make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in fuse-ext2
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-fuse-ext2.o -MD -MP -MF .deps/fuse_ext2-fuse-ext2.Tpo -c -o fuse_ext2-fuse-ext2.o `test -f 'fuse-ext2.c' || echo './'`fuse-ext2.c
fuse-ext2.c:301:20: warning: incompatible function pointer types initializing 'int (*)(const char *, const char *, char *, size_t, uint32_t)' (aka 'int (*)(const char *, const char *, char *, unsigned long, unsigned int)') with an expression of type 'int (const char *, const char *, char *, size_t)' (aka 'int (const char *, const char *, char *, unsigned long)') [-Wincompatible-function-pointer-types]
        .getxattr       = op_getxattr,
                          ^~~~~~~~~~~
1 warning generated.
mv -f .deps/fuse_ext2-fuse-ext2.Tpo .deps/fuse_ext2-fuse-ext2.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_probe.o -MD -MP -MF .deps/fuse_ext2-do_probe.Tpo -c -o fuse_ext2-do_probe.o `test -f 'do_probe.c' || echo './'`do_probe.c
do_probe.c:49:27: warning: passing '__u8 [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy(opts->volname, e2fs->super->s_volume_name, VOLNAME_SIZE_MAX);
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy'
                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                               ^~~~~~~~~~~
1 warning generated.
mv -f .deps/fuse_ext2-do_probe.Tpo .deps/fuse_ext2-do_probe.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_check.o -MD -MP -MF .deps/fuse_ext2-do_check.Tpo -c -o fuse_ext2-do_check.o `test -f 'do_check.c' || echo './'`do_check.c
mv -f .deps/fuse_ext2-do_check.Tpo .deps/fuse_ext2-do_check.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_fillstatbuf.o -MD -MP -MF .deps/fuse_ext2-do_fillstatbuf.Tpo -c -o fuse_ext2-do_fillstatbuf.o `test -f 'do_fillstatbuf.c' || echo './'`do_fillstatbuf.c
mv -f .deps/fuse_ext2-do_fillstatbuf.Tpo .deps/fuse_ext2-do_fillstatbuf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_readinode.o -MD -MP -MF .deps/fuse_ext2-do_readinode.Tpo -c -o fuse_ext2-do_readinode.o `test -f 'do_readinode.c' || echo './'`do_readinode.c
mv -f .deps/fuse_ext2-do_readinode.Tpo .deps/fuse_ext2-do_readinode.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_writeinode.o -MD -MP -MF .deps/fuse_ext2-do_writeinode.Tpo -c -o fuse_ext2-do_writeinode.o `test -f 'do_writeinode.c' || echo './'`do_writeinode.c
mv -f .deps/fuse_ext2-do_writeinode.Tpo .deps/fuse_ext2-do_writeinode.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-do_killfilebyinode.o -MD -MP -MF .deps/fuse_ext2-do_killfilebyinode.Tpo -c -o fuse_ext2-do_killfilebyinode.o `test -f 'do_killfilebyinode.c' || echo './'`do_killfilebyinode.c
mv -f .deps/fuse_ext2-do_killfilebyinode.Tpo .deps/fuse_ext2-do_killfilebyinode.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_init.o -MD -MP -MF .deps/fuse_ext2-op_init.Tpo -c -o fuse_ext2-op_init.o `test -f 'op_init.c' || echo './'`op_init.c
mv -f .deps/fuse_ext2-op_init.Tpo .deps/fuse_ext2-op_init.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_destroy.o -MD -MP -MF .deps/fuse_ext2-op_destroy.Tpo -c -o fuse_ext2-op_destroy.o `test -f 'op_destroy.c' || echo './'`op_destroy.c
mv -f .deps/fuse_ext2-op_destroy.Tpo .deps/fuse_ext2-op_destroy.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_access.o -MD -MP -MF .deps/fuse_ext2-op_access.Tpo -c -o fuse_ext2-op_access.o `test -f 'op_access.c' || echo './'`op_access.c
mv -f .deps/fuse_ext2-op_access.Tpo .deps/fuse_ext2-op_access.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_fgetattr.o -MD -MP -MF .deps/fuse_ext2-op_fgetattr.Tpo -c -o fuse_ext2-op_fgetattr.o `test -f 'op_fgetattr.c' || echo './'`op_fgetattr.c
mv -f .deps/fuse_ext2-op_fgetattr.Tpo .deps/fuse_ext2-op_fgetattr.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_getattr.o -MD -MP -MF .deps/fuse_ext2-op_getattr.Tpo -c -o fuse_ext2-op_getattr.o `test -f 'op_getattr.c' || echo './'`op_getattr.c
mv -f .deps/fuse_ext2-op_getattr.Tpo .deps/fuse_ext2-op_getattr.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_getxattr.o -MD -MP -MF .deps/fuse_ext2-op_getxattr.Tpo -c -o fuse_ext2-op_getxattr.o `test -f 'op_getxattr.c' || echo './'`op_getxattr.c
mv -f .deps/fuse_ext2-op_getxattr.Tpo .deps/fuse_ext2-op_getxattr.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_open.o -MD -MP -MF .deps/fuse_ext2-op_open.Tpo -c -o fuse_ext2-op_open.o `test -f 'op_open.c' || echo './'`op_open.c
mv -f .deps/fuse_ext2-op_open.Tpo .deps/fuse_ext2-op_open.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_read.o -MD -MP -MF .deps/fuse_ext2-op_read.Tpo -c -o fuse_ext2-op_read.o `test -f 'op_read.c' || echo './'`op_read.c
mv -f .deps/fuse_ext2-op_read.Tpo .deps/fuse_ext2-op_read.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_readdir.o -MD -MP -MF .deps/fuse_ext2-op_readdir.Tpo -c -o fuse_ext2-op_readdir.o `test -f 'op_readdir.c' || echo './'`op_readdir.c
mv -f .deps/fuse_ext2-op_readdir.Tpo .deps/fuse_ext2-op_readdir.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_readlink.o -MD -MP -MF .deps/fuse_ext2-op_readlink.Tpo -c -o fuse_ext2-op_readlink.o `test -f 'op_readlink.c' || echo './'`op_readlink.c
mv -f .deps/fuse_ext2-op_readlink.Tpo .deps/fuse_ext2-op_readlink.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_release.o -MD -MP -MF .deps/fuse_ext2-op_release.Tpo -c -o fuse_ext2-op_release.o `test -f 'op_release.c' || echo './'`op_release.c
mv -f .deps/fuse_ext2-op_release.Tpo .deps/fuse_ext2-op_release.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_statfs.o -MD -MP -MF .deps/fuse_ext2-op_statfs.Tpo -c -o fuse_ext2-op_statfs.o `test -f 'op_statfs.c' || echo './'`op_statfs.c
mv -f .deps/fuse_ext2-op_statfs.Tpo .deps/fuse_ext2-op_statfs.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_chown.o -MD -MP -MF .deps/fuse_ext2-op_chown.Tpo -c -o fuse_ext2-op_chown.o `test -f 'op_chown.c' || echo './'`op_chown.c
mv -f .deps/fuse_ext2-op_chown.Tpo .deps/fuse_ext2-op_chown.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_chmod.o -MD -MP -MF .deps/fuse_ext2-op_chmod.Tpo -c -o fuse_ext2-op_chmod.o `test -f 'op_chmod.c' || echo './'`op_chmod.c
mv -f .deps/fuse_ext2-op_chmod.Tpo .deps/fuse_ext2-op_chmod.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_create.o -MD -MP -MF .deps/fuse_ext2-op_create.Tpo -c -o fuse_ext2-op_create.o `test -f 'op_create.c' || echo './'`op_create.c
mv -f .deps/fuse_ext2-op_create.Tpo .deps/fuse_ext2-op_create.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_flush.o -MD -MP -MF .deps/fuse_ext2-op_flush.Tpo -c -o fuse_ext2-op_flush.o `test -f 'op_flush.c' || echo './'`op_flush.c
mv -f .deps/fuse_ext2-op_flush.Tpo .deps/fuse_ext2-op_flush.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_fsync.o -MD -MP -MF .deps/fuse_ext2-op_fsync.Tpo -c -o fuse_ext2-op_fsync.o `test -f 'op_fsync.c' || echo './'`op_fsync.c
mv -f .deps/fuse_ext2-op_fsync.Tpo .deps/fuse_ext2-op_fsync.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_mkdir.o -MD -MP -MF .deps/fuse_ext2-op_mkdir.Tpo -c -o fuse_ext2-op_mkdir.o `test -f 'op_mkdir.c' || echo './'`op_mkdir.c
mv -f .deps/fuse_ext2-op_mkdir.Tpo .deps/fuse_ext2-op_mkdir.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_rmdir.o -MD -MP -MF .deps/fuse_ext2-op_rmdir.Tpo -c -o fuse_ext2-op_rmdir.o `test -f 'op_rmdir.c' || echo './'`op_rmdir.c
mv -f .deps/fuse_ext2-op_rmdir.Tpo .deps/fuse_ext2-op_rmdir.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_unlink.o -MD -MP -MF .deps/fuse_ext2-op_unlink.Tpo -c -o fuse_ext2-op_unlink.o `test -f 'op_unlink.c' || echo './'`op_unlink.c
mv -f .deps/fuse_ext2-op_unlink.Tpo .deps/fuse_ext2-op_unlink.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_utimens.o -MD -MP -MF .deps/fuse_ext2-op_utimens.Tpo -c -o fuse_ext2-op_utimens.o `test -f 'op_utimens.c' || echo './'`op_utimens.c
mv -f .deps/fuse_ext2-op_utimens.Tpo .deps/fuse_ext2-op_utimens.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_write.o -MD -MP -MF .deps/fuse_ext2-op_write.Tpo -c -o fuse_ext2-op_write.o `test -f 'op_write.c' || echo './'`op_write.c
mv -f .deps/fuse_ext2-op_write.Tpo .deps/fuse_ext2-op_write.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_mknod.o -MD -MP -MF .deps/fuse_ext2-op_mknod.Tpo -c -o fuse_ext2-op_mknod.o `test -f 'op_mknod.c' || echo './'`op_mknod.c
mv -f .deps/fuse_ext2-op_mknod.Tpo .deps/fuse_ext2-op_mknod.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_symlink.o -MD -MP -MF .deps/fuse_ext2-op_symlink.Tpo -c -o fuse_ext2-op_symlink.o `test -f 'op_symlink.c' || echo './'`op_symlink.c
mv -f .deps/fuse_ext2-op_symlink.Tpo .deps/fuse_ext2-op_symlink.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_truncate.o -MD -MP -MF .deps/fuse_ext2-op_truncate.Tpo -c -o fuse_ext2-op_truncate.o `test -f 'op_truncate.c' || echo './'`op_truncate.c
mv -f .deps/fuse_ext2-op_truncate.Tpo .deps/fuse_ext2-op_truncate.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_link.o -MD -MP -MF .deps/fuse_ext2-op_link.Tpo -c -o fuse_ext2-op_link.o `test -f 'op_link.c' || echo './'`op_link.c
mv -f .deps/fuse_ext2-op_link.Tpo .deps/fuse_ext2-op_link.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2-op_rename.o -MD -MP -MF .deps/fuse_ext2-op_rename.Tpo -c -o fuse_ext2-op_rename.o `test -f 'op_rename.c' || echo './'`op_rename.c
mv -f .deps/fuse_ext2-op_rename.Tpo .deps/fuse_ext2-op_rename.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2  -L/opt/homebrew/opt/e2fsprogs/lib -o fuse-ext2 fuse_ext2-fuse-ext2.o fuse_ext2-do_probe.o fuse_ext2-do_check.o fuse_ext2-do_fillstatbuf.o fuse_ext2-do_readinode.o fuse_ext2-do_writeinode.o fuse_ext2-do_killfilebyinode.o fuse_ext2-op_init.o fuse_ext2-op_destroy.o fuse_ext2-op_access.o fuse_ext2-op_fgetattr.o fuse_ext2-op_getattr.o fuse_ext2-op_getxattr.o fuse_ext2-op_open.o fuse_ext2-op_read.o fuse_ext2-op_readdir.o fuse_ext2-op_readlink.o fuse_ext2-op_release.o fuse_ext2-op_statfs.o fuse_ext2-op_chown.o fuse_ext2-op_chmod.o fuse_ext2-op_create.o fuse_ext2-op_flush.o fuse_ext2-op_fsync.o fuse_ext2-op_mkdir.o fuse_ext2-op_rmdir.o fuse_ext2-op_unlink.o fuse_ext2-op_utimens.o fuse_ext2-op_write.o fuse_ext2-op_mknod.o fuse_ext2-op_symlink.o fuse_ext2-op_truncate.o fuse_ext2-op_link.o fuse_ext2-op_rename.o  -lext2fs -lcom_err -lfuse 
libtool: link: gcc -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -o fuse-ext2 fuse_ext2-fuse-ext2.o fuse_ext2-do_probe.o fuse_ext2-do_check.o fuse_ext2-do_fillstatbuf.o fuse_ext2-do_readinode.o fuse_ext2-do_writeinode.o fuse_ext2-do_killfilebyinode.o fuse_ext2-op_init.o fuse_ext2-op_destroy.o fuse_ext2-op_access.o fuse_ext2-op_fgetattr.o fuse_ext2-op_getattr.o fuse_ext2-op_getxattr.o fuse_ext2-op_open.o fuse_ext2-op_read.o fuse_ext2-op_readdir.o fuse_ext2-op_readlink.o fuse_ext2-op_release.o fuse_ext2-op_statfs.o fuse_ext2-op_chown.o fuse_ext2-op_chmod.o fuse_ext2-op_create.o fuse_ext2-op_flush.o fuse_ext2-op_fsync.o fuse_ext2-op_mkdir.o fuse_ext2-op_rmdir.o fuse_ext2-op_unlink.o fuse_ext2-op_utimens.o fuse_ext2-op_write.o fuse_ext2-op_mknod.o fuse_ext2-op_symlink.o fuse_ext2-op_truncate.o fuse_ext2-op_link.o fuse_ext2-op_rename.o  -L/opt/homebrew/opt/e2fsprogs/lib -lext2fs -lcom_err /usr/local/lib/libfuse.dylib -liconv -framework DiskArbitration -framework CoreFoundation -pthread
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2_probe-fuse-ext2.probe.o -MD -MP -MF .deps/fuse_ext2_probe-fuse-ext2.probe.Tpo -c -o fuse_ext2_probe-fuse-ext2.probe.o `test -f 'fuse-ext2.probe.c' || echo './'`fuse-ext2.probe.c
mv -f .deps/fuse_ext2_probe-fuse-ext2.probe.Tpo .deps/fuse_ext2_probe-fuse-ext2.probe.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -MT fuse_ext2_probe-do_probe.o -MD -MP -MF .deps/fuse_ext2_probe-do_probe.Tpo -c -o fuse_ext2_probe-do_probe.o `test -f 'do_probe.c' || echo './'`do_probe.c
do_probe.c:49:27: warning: passing '__u8 [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy(opts->volname, e2fs->super->s_volume_name, VOLNAME_SIZE_MAX);
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:34: note: expanded from macro 'strncpy'
                __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
                                               ^~~~~~~~~~~
1 warning generated.
mv -f .deps/fuse_ext2_probe-do_probe.Tpo .deps/fuse_ext2_probe-do_probe.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2  -L/opt/homebrew/opt/e2fsprogs/lib -o fuse-ext2.probe fuse_ext2_probe-fuse-ext2.probe.o fuse_ext2_probe-do_probe.o  -lext2fs -lcom_err -lfuse 
libtool: link: gcc -Wall -DHAVE_CONFIG_H -I/usr/local/include -D__FreeBSD__=10 -g -O2 -o fuse-ext2.probe fuse_ext2_probe-fuse-ext2.probe.o fuse_ext2_probe-do_probe.o  -L/opt/homebrew/opt/e2fsprogs/lib -lext2fs -lcom_err /usr/local/lib/libfuse.dylib -liconv -framework DiskArbitration -framework CoreFoundation -pthread
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include  -g -O2 -MT fuse-ext2.wait.o -MD -MP -MF .deps/fuse-ext2.wait.Tpo -c -o fuse-ext2.wait.o fuse-ext2.wait.m
mv -f .deps/fuse-ext2.wait.Tpo .deps/fuse-ext2.wait.Po
/bin/sh ../libtool    --mode=link gcc  -g -O2 -framework CoreFoundation -L/opt/homebrew/opt/e2fsprogs/lib -o fuse-ext2.wait fuse-ext2.wait.o  -lext2fs -lcom_err -lfuse 
libtool: link: gcc -g -O2 -o fuse-ext2.wait fuse-ext2.wait.o  -L/opt/homebrew/opt/e2fsprogs/lib -lext2fs -lcom_err /usr/local/lib/libfuse.dylib -liconv -framework DiskArbitration -framework CoreFoundation -pthread
gcc -DHAVE_CONFIG_H -I. -I..   -I/opt/homebrew/opt/e2fsprogs/include  -g -O2 -MT fuse-ext2.install.o -MD -MP -MF .deps/fuse-ext2.install.Tpo -c -o fuse-ext2.install.o fuse-ext2.install.m
In file included from fuse-ext2.install.m:55:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:91:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:794:2: error: unknown type name 'uuid_string_t'; did you mean 'io_string_t'?
        uuid_string_t   ext_jnl_uuid;
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/device/device_types.h:89:33: note: 'io_string_t' declared here
typedef char                    io_string_t[512];
                                ^
In file included from fuse-ext2.install.m:55:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:91:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:208:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/HFSVolumes.h:25:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:796:20: error: use of undeclared identifier 'uuid_string_t'
        char            reserved[JIB_RESERVED_SIZE];
                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/hfs/hfs_format.h:787:61: note: expanded from macro 'JIB_RESERVED_SIZE'
#define JIB_RESERVED_SIZE  ((32*sizeof(u_int32_t)) - sizeof(uuid_string_t) - 48)
                                                            ^
fuse-ext2.install.m:121:34: warning: 'NSErrorFailingURLStringKey' is deprecated: first deprecated in macOS 10.6 - Use NSURLErrorFailingURLStringErrorKey instead [-Wdeprecated-declarations]
                [[error userInfo] objectForKey:NSErrorFailingURLStringKey]);
                                               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:49:36: note: 'NSErrorFailingURLStringKey' has been explicitly marked deprecated here
FOUNDATION_EXPORT NSString * const NSErrorFailingURLStringKey API_DEPRECATED("Use NSURLErrorFailingURLStringErrorKey instead", macos(10.0,10.6), ios(2.0,4.0), watchos(2.0,2.0), tvos(9.0,9.0));
                                   ^
fuse-ext2.install.m:163:39: warning: 'initWithRequest:delegate:' is deprecated: first deprecated in macOS 10.11 - Use NSURLSession downloadTask (see NSURLSession.h) [-Wdeprecated-declarations]
        urlDownload = [[NSURLDownload alloc] initWithRequest:urlRequest delegate:self];
                                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLDownload.h:55:1: note: 'initWithRequest:delegate:' has been explicitly marked deprecated here
- (instancetype)initWithRequest:(NSURLRequest *)request delegate:(nullable id <NSURLDownloadDelegate>)delegate API_DEPRECATED("Use NSURLSession downloadTask (see NSURLSession.h)", macos(10.3,10.11), ios(2.0,9.0), watchos(2.0,2.0), tvos(9.0,9.0));
^
fuse-ext2.install.m:163:75: warning: sending 'Installer *' to parameter of incompatible type 'id<NSURLDownloadDelegate> _Nullable'
        urlDownload = [[NSURLDownload alloc] initWithRequest:urlRequest delegate:self];
                                                                                 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLDownload.h:55:103: note: passing argument to parameter 'delegate' here
- (instancetype)initWithRequest:(NSURLRequest *)request delegate:(nullable id <NSURLDownloadDelegate>)delegate API_DEPRECATED("Use NSURLSession downloadTask (see NSURLSession.h)", macos(10.3,10.11), ios(2.0,9.0), watchos(2.0,2.0), tvos(9.0,9.0));

fuse-ext2.install.m:196:26: warning: 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in macOS 10.11 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h [-Wdeprecated-declarations]
        data = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h:405:1: note: 'sendSynchronousRequest:returningResponse:error:' has been explicitly marked deprecated here
+ (nullable NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse * _Nullable * _Nullable)response error:(NSError **)error API_DEPRECATED("Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h", macos(10.3,10.11), ios(2.0,9.0), tvos(9.0,9.0)) API_UNAVAILABLE(watchos);
^
fuse-ext2.install.m:314:90: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
        ret = [self runTaskForPath:@"/usr/local/bin/fuse-ext2.uninstall" withArguments:[NSArray arrayWithObjects:nil] output:nil];
rxaviers commented 2 years ago

FWIW, It worked fine for me on MacBookPro 16", 2021 Apple M1 Pro. I installed Fuse for macOS, then installed XCode, enabled Command Line, then followed https://github.com/alperakcan/fuse-ext2/blob/899f17c982dadcea13aa447c3a83c53b9431435a/README.md