Bug 281259 - net/k6: Add ONLY_FOR_ARCHS
Summary: net/k6: Add ONLY_FOR_ARCHS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lewis Cook
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 02:47 UTC by Gabriel M. Dutra
Modified: 2025-05-03 13:44 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lcook)


Attachments
Add ONLY_FOR_ARCHS (937 bytes, patch)
2024-09-04 02:47 UTC, Gabriel M. Dutra
dutra: maintainer-approval? (lcook)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel M. Dutra freebsd_committer freebsd_triage 2024-09-04 02:47:22 UTC
Created attachment 253315 [details]
Add ONLY_FOR_ARCHS

Hi, lcook!

I saw on portsfallout that net/k6 doesn't compile on 32 bit processors.

error:

vendor/github.com/grafana/xk6-dashboard/dashboard/sse.go:69:31: cannot use maxSafeInteger (untyped int constant 9007199254740991) as int value in argument to strconv.Itoa (overflows)


Does the patch make sense for you?
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-05-03 13:44:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9c669aa5b0db6a9e8092f8dad52f7b78ec18ad4e

commit 9c669aa5b0db6a9e8092f8dad52f7b78ec18ad4e
Author:     Gabriel M. Dutra <dutra@FreeBSD.org>
AuthorDate: 2025-05-03 13:39:48 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2025-05-03 13:43:42 +0000

    net/k6: Update to 0.58.0

    - Broken on 32-bit processor
    - The committer is absent

    ChangeLog:
    https://github.com/grafana/k6/releases/tag/v0.58.0

    PR:             281259

 net/k6/Makefile |  9 +++++----
 net/k6/distinfo | 10 +++++-----
 2 files changed, 10 insertions(+), 9 deletions(-)