Following discussion in other projects affected by recent changes to linux headers, I was able to resolve the enum multiple definition
error with this sed hack:
## Do not include sys/mount.h
cd "${srcdir}"
for F in `grep 'sys/mount\.h' ./gcc-10.4.0 -Rl`
do
echo "${F}"
sed -i 's|sys/mount\.h|linux/fs.h|g' "${F}"
done
At the end of prepare.
Pinned Comments
jonathon commented on 2022-03-10 23:36 (UTC)
Please read the AUR wiki page before reporting issues.
If you are experiencing a build issue then ensure you are not using an AUR helper and are using a clean chroot.