https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/rr-5.5.0 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 767499 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: CMakeFiles/rraudit.dir/src/audit/rtld-audit.c.o FAILED: CMakeFiles/rraudit.dir/src/audit/stap-note-iter.c.o FAILED: CMakeFiles/rrpreload.dir/src/preload/overrides.c.o FAILED: CMakeFiles/rrpreload.dir/src/preload/syscallbuf.c.o fatal: not a git repository (or any parent up to mount point /var/tmp) /var/tmp/portage/dev-util/rr-5.5.0/work/rr-5.5.0/src/preload/overrides.c:31:8: error: 'pthread_mutex_t' has no member named '__data'
rr has no business in a private structure, pthread_mutex_t. musl's definition at the very least is very different not allowing the dirty modification done in overrides.c. Finally, PTHREAD_MUTEX_PRIO_INHERIT_NP is not in POSIX, so it probably just needs skipping when using musl?