When building this with aurutils
the build fails with:
==> Starting prepare()...
rm: cannot remove '/logdest/logpipe.K4ZsD575': No such file or directory
==> ERROR: A failure occurred in prepare().
This seems to be an issue somewhere in the build toolchain (see https://github.com/AladW/aurutils/issues/19) but since I never had the issue with any other package I suggest just working around it by changing:
while IFS= read file; do
sed -i "s#$MATCH#\\1python2#" "$file"
done < <( find ${srcdir} -name "*" -type f -exec grep -le "$MATCH" \{\} + )
to:
find ${srcdir} -name "*" -type f -exec grep -le "$MATCH" \{\} + | \
while IFS= read file; do
sed -i "s#$MATCH#\\1python2#" "$file"
done
(that works for me)
Pinned Comments
MartinDiehl commented on 2022-10-06 10:26 (UTC)
@jrohwer
When building PETSc (more specifically, petsc4py), one test (ex100 from ksp) will fail if a previous (major) version is installed. I could not figure out why this happens. The solution would be to build in a clean root (which is a little bit complicated due to dependency on other AUR packages) or simply uninstall the old version before.
Any help to solve this issue is welcomed.