Bug 267021 - deskutils/remind: fix build on riscv64
Summary: deskutils/remind: fix build on riscv64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: riscv Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks: 267109
  Show dependency treegraph
 
Reported: 2022-10-13 15:20 UTC by Robert Clausecker
Modified: 2022-10-15 23:28 UTC (History)
2 users (show)

See Also:
fuz: merge-quarterly?


Attachments
deskutils/remind: fix build on riscv64 (1.87 KB, patch)
2022-10-13 15:20 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff
deskutils/remind: fix build on riscv64 (1.87 KB, patch)
2022-10-15 16:53 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-10-13 15:20:46 UTC
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.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2022-10-15 16:53:53 UTC
Created attachment 237341 [details]
deskutils/remind: fix build on riscv64

Replace patch with one that is well formed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-15 23:26:55 UTC
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(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-15 23:27:56 UTC
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(+)
Comment 4 Dima Panov freebsd_committer freebsd_triage 2022-10-15 23:28:27 UTC
Committed and MFHed, thanks!