Summary: | dev-libs/userspace-rcu - Recent versions causing revdep build failures on ARM + MIPS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Le Cuirot <chewi> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mips, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
URL: | https://github.com/gluster/glusterfs/issues/2979 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
James Le Cuirot
2021-11-30 21:45:10 UTC
Confirmed on big-endian mips64 for xfsprogs. Seems the fault is in xfsprogs itself and not in userspace-rcu. I am testing a patch off of the linux-xfs mailing list[1] that should fix the xfsprogs case. It might serve as a guide for any other packages having similar issues. 1. https://www.spinics.net/lists/linux-xfs/msg57311.html (In reply to Joshua Kinard from comment #1) > Confirmed on big-endian mips64 for xfsprogs. Seems the fault is in xfsprogs > itself and not in userspace-rcu. > > I am testing a patch off of the linux-xfs mailing list[1] that should fix > the xfsprogs case. It might serve as a guide for any other packages having > similar issues. > > 1. https://www.spinics.net/lists/linux-xfs/msg57311.html Patch fixes the issue for MIPS for xfsprogs. Should also fix the issue on ARM as well. Do we want a new bug specific for xfsprogs and link it to this bug? (In reply to Joshua Kinard from comment #2) > (In reply to Joshua Kinard from comment #1) > > Confirmed on big-endian mips64 for xfsprogs. Seems the fault is in xfsprogs > > itself and not in userspace-rcu. > > > > I am testing a patch off of the linux-xfs mailing list[1] that should fix > > the xfsprogs case. It might serve as a guide for any other packages having > > similar issues. > > > > 1. https://www.spinics.net/lists/linux-xfs/msg57311.html > > Patch fixes the issue for MIPS for xfsprogs. Should also fix the issue on > ARM as well. > > Do we want a new bug specific for xfsprogs and link it to this bug? So it doesn't appear to fix the issue for MIPS, at least not completely. Causes a new build error: In file included from linux.c:7: linux.c: In function 'platform_check_mount': linux.c:59:64: error: '_PATH_MOUNTED' undeclared (first use in this function); did you mean 'PROC_MOUNTED'? 59 | strcpy(mounts, (!access(PROC_MOUNTED, R_OK)) ? PROC_MOUNTED : MOUNTED); | ^~~~~~~ linux.c:59:64: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [../include/buildrules:75: linux.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from ../include/xfs/linux.h:23, from ../include/xfs.h:9, from ../libfrog/projects.h:10, from ../include/input.h:12, from paths.c:16: paths.c: In function 'fs_table_initialise_mounts': paths.c:380:16: error: '_PATH_MOUNTED' undeclared (first use in this function) 380 | mtab_file = MOUNTED; | ^~~~~~~ paths.c:380:16: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [../include/buildrules:75: paths.lo] Error 1 gmake[1]: *** [include/buildrules:36: libfrog] Error 2 make: *** [Makefile:92: default] Error 2 This appears to be a musl-related error, but I am building against glibc, so probably something wrong with the includes in the patch. I'll keep looking for a solution that compiles on MIPS and passes runtime testing. I can't reproduce this any more with any current version of xfsprogs or userspace-rcu. matoro said they couldn't reproduce it either. I guess it's fixed now. I'll assume this is also fixed for MIPS, but please reopen if that's not the case. |