You are not logged in.
When installing macaulay2 I come across the following problem:
Reset branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
patching file M2/Macaulay2/e/monoid.cpp
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file M2/Macaulay2/e/monoid.cpp.rej
==> ERROR: A failure occurred in build().
Aborting...What does it mean that there is a reversed (or previously applied) patch detected and how do I fix this problem?
Edit: I cannot find this file M2/Macaulay2/e/monoid.cpp. In fact, the directory Macaulay2 does not exist.
Last edited by fish_monster (2022-11-11 16:40:29)
Offline
As the error says, the patch is already applied. https://github.com/Macaulay2/M2/commit/ … 203be2b861
This is a -git package, even though it's not labeled as such. The source is changing under it all of the time, patches are risky and need watched.
Offline
Thanks. But it says that it does not build, so how can I fix this?
(Sorry, I'm still new to linux and github.)
Edit: the solution is to comment the line in PKGBUILD instructing the patch.
Last edited by fish_monster (2022-11-14 11:01:37)
Offline