[MacPorts] #72030: e2fsprogs fails to build on Sequoia

MacPorts noreply at macports.org
Sat Feb 8 21:04:34 UTC 2025


#72030: e2fsprogs fails to build on Sequoia
--------------------+-----------------------
 Reporter:  hmeine  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  e2fsprogs
--------------------+-----------------------
 e2fsprogs @1.47.1_0 fails to build, obviously due to a compilation error
 w.r.t. op_getxattr:
 {{{
 :info:build In file included from fuse2fs.c:29:
 :info:build In file included from /opt/local/include/fuse.h:9:
 :info:build In file included from /opt/local/include/fuse/fuse.h:31:
 :info:build /opt/local/include/fuse/fuse_common.h:52:2: error: Please add
 -D_FILE_OFFSET_BITS=64 to your compile flags!
 :info:build    52 | #error Please add -D_FILE_OFFSET_BITS=64 to your
 compile flags!
 :info:build       |  ^
 :info:build /usr/bin/clang  -pthread -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -arch arm64   -o mke2fs mke2fs.o util.o default_profile.o mk_hugefiles.o
 create_inode.o create_inode_libarchive.o ../lib/libext2fs.dylib
 ../lib/libcom_err.dylib   -lintl -Wl,-framework -Wl,CoreFoundation
 ../lib/libsupport.a ../lib/libblkid.dylib  -L/opt/local/lib -luuid  \
 :info:build             -L/opt/local/lib -luuid  ../lib/libext2fs.dylib
 ../lib/libe2p.dylib -lintl -Wl,-framework -Wl,CoreFoundation \
 :info:build             -lpthread -ldl -ldl
 :info:build ld: warning: ignoring duplicate libraries: '-ldl', '-lintl',
 '-luuid'
 :info:build fuse2fs.c:3643:14: error: incompatible function pointer types
 initializing 'int (*)(const char *, const char *, const char *, size_t,
 int, uint32_t)' (aka 'int (*)(const char *, const char *, const char *,
 unsigned long, int, unsigned int)') with an expression of type 'int (const
 char *, const char *, const char *, size_t, int)' (aka 'int (const char *,
 const char *, const char *, unsigned long, int)') [-Wincompatible-
 function-pointer-types]
 :info:build  3643 |         .setxattr = op_setxattr,
 :info:build       |                     ^~~~~~~~~~~
 :info:build fuse2fs.c:3644:14: error: 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]
 :info:build  3644 |         .getxattr = op_getxattr,
 :info:build       |                     ^~~~~~~~~~~
 }}}
 I find the error message above also interesting: Please add
 -D_FILE_OFFSET_BITS=64 to your compile flags!

 (This is on macOS 15.3 (darwin/24.3.0) arch arm with MacPorts 2.10.5 and
 Xcode 16.2, CLT 16.2.0.0.1.1733547573.)

-- 
Ticket URL: <https://trac.macports.org/ticket/72030>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list