After applying https://github.com/sahib/rmlint/pull/663 SCons.Conftest.CheckFunc(context, "lgetxattr", "#include <sys/types.h>\n#include <sys/xattr.h>") will generate following C code:
``` #include <assert.h> #include <sys/types.h> #include <sys/xattr.h> #if _MSC_VER && !__INTEL_COMPILER #pragma function(lgetxattr) #endif int main(void) { #if defined (__stub_lgetxattr) || defined (__stub___lgetxattr) #error "lgetxattr has a GNU stub, cannot check" #else lgetxattr(); #endif return 0; } ``` This will fail to compile on armhf on Ubuntu 24.04 (noble): ``` $ gcc -o test test.c test.c: In function ‘main’: test.c:13:11: error: too few arguments to function ‘lgetxattr’ 13 | lgetxattr(); | ^~~~~~~~~ In file included from test2.c:3: /usr/include/arm-linux-gnueabihf/sys/xattr.h:67:16: note: declared here 67 | extern ssize_t lgetxattr (const char *__path, const char *__name, | ^~~~~~~~~ ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066970 Title: rmlint: FTBFS on arm{el,hf}: undefined reference to `rm_xattr_is_deduplicated' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rmlint/+bug/2066970/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs