I've published a fixed and simplified package as zig-master-bin
, if someone is interested.
Search Criteria
Package Details: zig-nightly-bin 0.15.0_dev.646.gef35c3d5f-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/zig-nightly-bin.git (read-only, click to copy) |
---|---|
Package Base: | zig-nightly-bin |
Description: | A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software (nightly build) |
Upstream URL: | https://ziglang.org/ |
Licenses: | MIT |
Conflicts: | zig |
Provides: | zig |
Submitter: | impulse |
Maintainer: | impulse |
Last Packager: | impulse |
Votes: | 8 |
Popularity: | 1.08 |
First Submitted: | 2024-07-06 08:31 (UTC) |
Last Updated: | 2025-05-28 09:47 (UTC) |
Dependencies (3)
Required by (90)
- allay-launcher-git (requires zig) (make)
- anyzig (requires zig) (make)
- awtfdb (requires zig) (make)
- bintools (requires zig) (make)
- brightnessztl (requires zig) (make)
- buongiorno-git (requires zig) (make)
- cargo-lambda-bin (requires zig)
- celeste-mod-cli (requires zig) (make)
- cmake-pkg (requires zig) (make)
- colorstorm (requires zig) (make)
- comlink (requires zig) (make)
- comlink-git (requires zig) (make)
- cyberscript (requires zig) (make)
- deshader-git (requires zig) (make)
- digisim-git (requires zig) (make)
- erasmus (requires zig) (make)
- flow-control (requires zig) (make)
- flow-control-git (requires zig) (make)
- gb-emu-zig-git (requires zig) (make)
- ghostty-git (requires zig) (make)
- ghostty-git-zen3 (requires zig) (make)
- ghostty-shell-integration-git (requires zig) (make)
- ghostty-terminfo-git (requires zig) (make)
- ghostty-x86_64-v3-git (requires zig) (make)
- glsl_analyzer (requires zig) (make)
- glyph (requires zig) (make)
- gmi2html (requires zig) (make)
- hevi (requires zig) (make)
- hevi-git (requires zig) (make)
- hr-zig (requires zig) (make)
- hsh (requires zig) (make)
- lifetch-git (requires zig) (make)
- linuxwave-git (requires zig) (make)
- lsr-iouring-git (requires zig) (make)
- luax-git (requires zig)
- ly-git (requires zig) (make)
- mepo (requires zig) (make)
- mepo (requires zig) (check)
- mepo-git (requires zig) (make)
- mepo-git (requires zig) (check)
- muzic (requires zig) (make)
- namedicon-git (requires zig) (make)
- ncdu-git (requires zig) (make)
- nfm-git (requires zig) (make)
- nixpacks (requires zig) (check)
- nixpacks (requires zig) (optional)
- nvim-zig-git (requires zig) (optional)
- outfieldr-git (requires zig) (make)
- passkeez (requires zig) (make)
- passphrase (requires zig) (make)
- passphrase-git (requires zig) (make)
- poop (requires zig) (make)
- randomutils (requires zig) (make)
- rhp-git (requires zig) (make)
- river-bedload-git (requires zig) (make)
- river-creek (requires zig) (make)
- river-creek-git (requires zig) (make)
- river-git (requires zig) (make)
- river-levee (requires zig) (make)
- river-levee-git (requires zig) (make)
- river-noxwayland-git (requires zig) (make)
- river-ultitile-git (requires zig)
- rivercarro (requires zig) (make)
- rivercarro-git (requires zig) (make)
- rockbox-zig (requires zig) (make)
- rustowl-git (requires zig) (make)
- spider (requires zig) (make)
- stacktile-git (requires zig) (make)
- superhtml (requires zig) (make)
- uwaka-git (requires zig) (make)
- vim-zig-git (requires zig) (optional)
- waveterm (requires zig) (make)
- waveterm-git (requires zig) (make)
- waylock-git (requires zig) (make)
- wayprompt (requires zig) (make)
- wayprompt-git (requires zig) (make)
- weighted-choice (requires zig) (make)
- yaksha (requires zig)
- yell (requires zig) (make)
- zclock-git (requires zig) (make)
- zf (requires zig) (make)
- zig-zvm (requires zig) (make)
- zig-zvm-git (requires zig) (make)
- zigenity (requires zig) (make)
- zigup (requires zig) (make)
- zine (requires zig) (make)
- zls-git (requires zig)
- zpotify (requires zig) (make)
- zur (requires zig) (make)
- zur-git (requires zig) (make)
Sources (1)
ckafi commented on 2025-06-22 11:23 (UTC)
fk29g commented on 2025-06-21 00:59 (UTC)
Still broken. Fix still down below.
fk29g commented on 2025-05-28 12:21 (UTC)
Just to be clear, the package is still broken as is. I posted the diff that should fix this down below.
impulse commented on 2025-05-28 09:30 (UTC) (edited on 2025-05-28 09:31 (UTC) by impulse)
IMPORTANT NOTICE: Ignore the listed package version.
This package is a nightly build that automatically pulls the latest builds from upstream, as such the listed package version and Last Updated
are not relevant as they are only tied to when the maintainer last updated the PKGBUILD/etc. (see more about this issue below in the comments, https://aur.archlinux.org/packages/zig-nightly-bin#comment-1026418)
Of course if the install breaks due to an upstream change, please let me know ASAP, i cannot promise i will get to it immediately, a patch from the community linked in the comments of this listing would be most appreciated if one wants to, additionally i am open if anyone wants to volunteer as a co-maintainer, should they wish to.
Many Thanks,
Impulse
impulse commented on 2025-05-28 09:21 (UTC)
<I just flagged the package out of date by mistake. Sorry about that. I was incredibly confused for a second.
No worries @fk29g.
It does raise important issues with the AUR itself though.
While the real version is correct, the publicly listed one stays at what it was when the PKGBUILD/info was last updated, its unfortunate the AUR doesn't have a way for it to auto update listed package versions itself. (Individual maintainers using automated scripts to push increment's every time, are not practical either, at least for long-term maintenance of packages here)
A suitable mitigation could be implemented on their end, potentially with additional benifits.
If you run makepkg --nobuild
it already updates the PKGBUILD version for you.
diff --git a/PKGBUILD b/PKGBUILD
index 7060fea..4ea1c86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: James David Clarke <james@jamesdavidclarke.com>
pkgname=zig-nightly-bin
-pkgver=0.14.0_dev.3062.ff551374a
-pkgrel=2
+pkgver=0.15.0_dev.646.gef35c3d5f
+pkgrel=1
pkgdesc="A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software (nightly build)"
arch=('x86_64' 'aarch64')
url="https://ziglang.org/"
This could indeed be done in some kind of way on their end, even if security is a concern for auto updating it using --nobuild
, one could simply omit the pkgversion field from the AURs webui (for nightly/git builds) as it doesn't really tell you anything other than what the version was when the PKGBUILD was last updated.
I have even heard about even better solutions, like adding fields to .SRCINFO
such that one can distinguish between when the PKGBUILD/related files, are updated, or when upstream source is (they would just need to check the calculated hash already available in the .SRCINFO
, and when the new one doesn't match, update the timestamp to today and then update the hash).
Anyways, will put a pinned comment to clarify as a band-aid for now.
fk29g commented on 2025-05-27 12:06 (UTC)
I just flagged the package out of date by mistake. Sorry about that. I was incredibly confused for a second.
fk29g commented on 2025-05-27 01:13 (UTC) (edited on 2025-05-27 01:23 (UTC) by fk29g)
==> Starting package()...
Error: Neither source directory found (/home/user/.cache/yay/zig-nightly-bin/src/zig-linux-x86_64-0.15.0-dev.646+ef35c3d5f or /home/user/.cache/yay/zig-nightly-bin/src/zig-linux-x86_64-0.15.0_dev.646.gef35c3d5f)
-> error making: zig-nightly-bin-exit status 1
-> Failed to install the following packages. Manual intervention is required:
zig-nightly-bin - exit status 1
The file names on https://ziglang.org/download/ have changed since zig 14.1
. They swapped linux
and the architecture in the file names.
This seems to solve the issue:
@@ -63,8 +63,8 @@
package() {
local latest_version=$(_get_latest_version)
- local srcdir1="$srcdir/zig-linux-$CARCH-$latest_version"
- local srcdir2="$srcdir/zig-linux-$CARCH-$pkgver"
+ local srcdir1="$srcdir/zig-$CARCH-linux-$latest_version"
+ local srcdir2="$srcdir/zig-$CARCH-linux-$pkgver"
if [ -d "$srcdir1" ]; then
cd "$srcdir1"
elif [ -d "$srcdir2" ]; then
steffeno commented on 2025-04-08 23:36 (UTC)
Hey, some packages (may) need the latest zig version, and this won't pass the check. Would you mind expliciting the version this package provides in the provides
array?
ckafi commented on 2025-03-08 20:36 (UTC) (edited on 2025-03-08 20:52 (UTC) by ckafi)
Hi James,
I did some bug fixing and simplifying, and also added a minisign
check to your PKGBUILD. You can find it here:
https://gist.github.com/ckafi/174216a82aa0e5a350dede6f704d60c4
Ahryman40k commented on 2025-02-16 20:40 (UTC) (edited on 2025-02-16 20:41 (UTC) by Ahryman40k)
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
fetching devel info...
==> Making package: zig-nightly-bin 0.14.0_dev.3062.ff551374a-2 (Sun 16 Feb 2025 03:32:56 PM EST)
==> Retrieving sources...
-> Found zig-0.14.0_dev.3062.ff551374a-x86_64-linux.tar.xz
==> Validating source files with sha256sums...
zig-0.14.0_dev.3062.ff551374a-x86_64-linux.tar.xz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'zig-nightly-bin-0.14.0_dev.3062.ff551374a-2':
error: packages failed to build: zig-nightly-bin-0.14.0_dev.3062.ff551374a-2
Pinned Comments
impulse commented on 2025-05-28 09:30 (UTC) (edited on 2025-05-28 09:31 (UTC) by impulse)
IMPORTANT NOTICE: Ignore the listed package version. This package is a nightly build that automatically pulls the latest builds from upstream, as such the listed package version and
Last Updated
are not relevant as they are only tied to when the maintainer last updated the PKGBUILD/etc. (see more about this issue below in the comments, https://aur.archlinux.org/packages/zig-nightly-bin#comment-1026418)Of course if the install breaks due to an upstream change, please let me know ASAP, i cannot promise i will get to it immediately, a patch from the community linked in the comments of this listing would be most appreciated if one wants to, additionally i am open if anyone wants to volunteer as a co-maintainer, should they wish to.
Many Thanks,
Impulse