Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953356 - Introduce virtual/zig
Summary: Introduce virtual/zig
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Eric Joldasov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-07 15:36 UTC by Filip Kobierski
Modified: 2025-04-07 16:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Kobierski 2025-04-07 15:36:33 UTC
Zig, like rust & openjdk can be installed via a binary package or compiled locally.
Adding a virtual would avoid doing `|| ( zig... zig-bin... )`
which would improve readability & version enforcement.

I would make the PR myself but currently we ship zig-bin to more
architectures than zig and I do not know what to do here.
It will be either keywording zig or unkeyworing the binary variant.
I feel like the latter would be better as it is less work for the arch teams.

Another thing is the maintainership.
I think it would make sense for one person to maintain the three packages.
Eric, would you be interested in also maintaining the virtual package?
Comment 1 Mike Gilbert gentoo-dev 2025-04-07 16:06:34 UTC
The keywords on the virtual package only need to be matched by one of the providers. I don't see why you would need to update keywords on either zig or zig-bin.
Comment 2 Filip Kobierski 2025-04-07 16:26:24 UTC
I did not know this. I'll make a PR then!