Bug 267020 - benchmarks/uica: fix build on riscv and in time zones west of Greenwich
Summary: benchmarks/uica: fix build on riscv and in time zones west of Greenwich
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:
 
Reported: 2022-10-13 15:09 UTC by Robert Clausecker
Modified: 2022-10-15 16:02 UTC (History)
2 users (show)

See Also:
fuz: merge-quarterly?


Attachments
benchmarks/uica: fix build on riscv and in time zones west of Greenwich (1.99 KB, patch)
2022-10-13 15:09 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:09:50 UTC
Created attachment 237266 [details]
benchmarks/uica: fix build on riscv and in time zones west of Greenwich

- inform mbuild CPU type detection script about the
   existence of this newfangled architecture.
 - pass TZ=UTC to date(1) while generating distfile name
   to avoid off by one error on the first day of the month
   in time zones west of Greenwich.

Tested with Poudriere on riscv armv7 arm64 FreeBSD 13.1.
Please MFH if possible.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-15 16:00:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56f224add65df796bf57c49ea782e00470a56885

commit 56f224add65df796bf57c49ea782e00470a56885
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-09-11 13:02:49 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-10-15 15:59:34 +0000

    benchmarks/uica: fix build on riscv and in UTC-... time zones

     - inform mbuild CPU type detection script about the
       existence of this newfangled architecture.
     - pass TZ=UTC to date(1) while generating distfile name
       to avoid off by one error on the first day of the month
       in time zones west of Greenwich.

    PR:             267020
    Submitted by:   maintainer
    MFH:            2022Q4

 benchmarks/uica/Makefile                         | 2 +-
 benchmarks/uica/files/patch-mbuild_mbuild_env.py | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-15 16:01:42 UTC
A commit in branch 2022Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7be261e9dcc7b2d3f7f39dc19a40c19c40e73618

commit 7be261e9dcc7b2d3f7f39dc19a40c19c40e73618
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-09-11 13:02:49 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-10-15 16:00:34 +0000

    benchmarks/uica: fix build on riscv and in UTC-... time zones

     - inform mbuild CPU type detection script about the
       existence of this newfangled architecture.
     - pass TZ=UTC to date(1) while generating distfile name
       to avoid off by one error on the first day of the month
       in time zones west of Greenwich.

    PR:             267020
    Submitted by:   maintainer
    MFH:            2022Q4

    (cherry picked from commit 56f224add65df796bf57c49ea782e00470a56885)

 benchmarks/uica/Makefile                         | 2 +-
 benchmarks/uica/files/patch-mbuild_mbuild_env.py | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 3 Dima Panov freebsd_committer freebsd_triage 2022-10-15 16:02:03 UTC
Committed and MFHed, thanks!