Created attachment 237268 [details] deskutils/remind: fix build on riscv64 The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. Tested with Poudriere on armv7 risc64 FreeBSD 13.1. Please MFH if possible.
Created attachment 237341 [details] deskutils/remind: fix build on riscv64 Replace patch with one that is well formed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f3d5006d3dc86ff052a735666f0d15da6fb8858a commit f3d5006d3dc86ff052a735666f0d15da6fb8858a Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-10-13 14:41:21 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-10-15 23:26:28 +0000 deskutils/remind: fix build on riscv64 (+) The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. PR: 267021 MFH: 2022Q4 deskutils/remind/Makefile | 6 ++++++ deskutils/remind/files/extra-patch-configure.in (new) | 10 ++++++++++ 2 files changed, 16 insertions(+)
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ebacba0188f872c64f84eaa157d99e2f558bc6e7 commit ebacba0188f872c64f84eaa157d99e2f558bc6e7 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-10-13 14:41:21 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-10-15 23:27:34 +0000 deskutils/remind: fix build on riscv64 (+) The LTO build fails on riscv64 due to a phony linker error about ABI incompatibility. Disable LTO on riscv64 to make the build succeed. PR: 267021 MFH: 2022Q4 (cherry picked from commit f3d5006d3dc86ff052a735666f0d15da6fb8858a) deskutils/remind/Makefile | 6 ++++++ deskutils/remind/files/extra-patch-configure.in (new) | 10 ++++++++++ 2 files changed, 16 insertions(+)
Committed and MFHed, thanks!