Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rmlint: fails to build on arm{el,hf}: undefined reference to `rm_xattr_is_deduplicated' #664

Open
bdrung opened this issue May 24, 2024 · 0 comments

Comments

@bdrung
Copy link

bdrung commented May 24, 2024

rmlint: fails to build on arm{el,hf}: undefined reference to rm_xattr_is_deduplicated:

gcc -o rmlint -Wl,-z,relro -Wl,-z,now -pthread src/rmlint.o librmlint.a -lblkid -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lelf -lm -lelf
/usr/bin/ld: librmlint.a(session.o): in function `rm_session_dedupe_main':
./lib/session.c:227:(.text+0x79c): undefined reference to `rm_xattr_is_deduplicated'
/usr/bin/ld: ./lib/session.c:345:(.text+0xaf4): undefined reference to `rm_xattr_mark_deduplicated'
collect2: error: ld returned 1 exit status
scons: *** [rmlint] Error 1

This happens for cases where xattr support is missing (i.e. HAVE_XATTR is not defined).

See https://buildd.debian.org/status/fetch.php?pkg=rmlint&arch=armel&ver=2.9.0-2.5%2Bb1&stamp=1710031282&raw=0

Bug-Debian: https://bugs.debian.org/1065947
Bug-Ubuntu: https://launchpad.net/bugs/2066970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant