Package Details: zig-dev-bin 1:0.12.0_dev.3433.g640acf862-1

Git Clone URL: https://aur.archlinux.org/zig-dev-bin.git (read-only, click to copy)
Package Base: zig-dev-bin
Description: A general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software
Upstream URL: https://ziglang.org/
Keywords: zig
Licenses: MIT
Conflicts: zig
Provides: zig
Submitter: zhangkaizhao
Maintainer: Techcable (junckes)
Last Packager: Techcable
Votes: 16
Popularity: 0.73
First Submitted: 2020-09-20 08:29 (UTC)
Last Updated: 2024-03-24 07:50 (UTC)

Dependencies (4)

Required by (64)

Sources (1)

Latest Comments

1 2 3 Next › Last »

anagram3k commented on 2023-07-06 21:41 (UTC) (edited on 2023-07-06 21:44 (UTC) by anagram3k)

The messages about "local (...) is newer than AUR" are happening because the PKGBUILD always gets the last version on the Ziglang website and the AUR database uses the version information contained in the .SRCINFO file.

The only way to make this go away is by updating SRCINFO every time there is a new version on the site, but I don't think it is worth all the trouble. Just reinstall when you want to update the package.

EDIT: Maybe you should put a message saying "Because the new versions of the zig-lang-dev are released very frequently, is common to see the message informing the version you have installed is newer than the version on AUR" or something like that.

Techcable commented on 2023-06-26 07:28 (UTC)

I can not reproduce the issues people are having building the latest versions.

However, I've bumped the version to 0.11.0_dev.3803+7ad104227 in case that helps.

yingyi commented on 2023-04-13 18:22 (UTC)

If someone encounters a situation where the update detection does not have a new version, please delete the package and reinstall

Zdrobot commented on 2023-02-13 09:14 (UTC)

Getting this error when trying to install the package (removed it so that it installs the latest dev build when installing again):

Downloading Zig 0.11.0_dev.1606+3c2a43fdc from https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1606+3c2a43fdc.tar.xz
Downloading signature...

ERROR: Expected hash b7d30629a1883f177aa9a61b053d64b2d6d8c42cb113c830e531a4952fcd61a4 for zig-linux-x86_64-0.11.0_dev.1606+3c2a43fdc.tar.xz, but got f5bc0678c20779fad0c5cd3ddcf69acba80fe0453844634a69da8097acba9224
 -> error making: zig-dev-bin

Zdrobot commented on 2023-01-21 05:47 (UTC)

Unfortunately, the package is still not updating Zig. Instead, I get this message (from yay):

-> zig-dev-bin: local (1:0.11.0_dev.1366+c70a3d902-1) is newer than AUR (1:0.11.0_dev.1364+72c09b7b3-1)

Still have to remove the package, then install again, to update to the latest Zig dev build.

Techcable commented on 2023-01-19 07:06 (UTC)

Hi!

Zig has started signing the built binaries with minisign signatures.

I've updated this package to verify these signatures.

A lot of these recent errors seems to be due to missing checksums. For a while after adding the minisign signatures, Zig removed the SHA checksums. They recently added the checksums back in, so I suspect the error will be resolved.

Zdrobot commented on 2023-01-17 19:32 (UTC)

When updating packages with yay, I see this message:

:: Searching AUR for updates...
 -> zig-dev-bin: local (1:0.11.0_dev.1301+0e659042a-1) is newer than AUR (1:0.11.0_dev.681+f02073434-1)

And Zig is not updated, even though today current zig-dev is zig-linux-x86_64-0.11.0-dev.1329+37424fd11.tar.xz In order to update, I have to uninstall this package, then install it again.

But today it doesn't install, failing with

Downloading Zig 0.11.0_dev.1329+37424fd11 from https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1329+37424fd11.tar.xz

WARNING: No way to GPG/SHA verify the version ahead of time
See Zig issue https://github.com/ziglang/zig/issues/4945 for signed binaries

ERROR: Expected hash null for zig-linux-x86_64-0.11.0_dev.1329+37424fd11.tar.xz, but got 6523f53890904a694cfb2ef4e11e71b852497f185f6dbc34daa9e2c4d9210d7f
checking dependencies...

lyhokia commented on 2023-01-17 05:56 (UTC) (edited on 2023-01-17 05:56 (UTC) by lyhokia)

Right now there's no checksum in zig-version-index.json, so all checksum fails to match. I see the error:

ERROR: Expected hash null for zig-linux-x86_64-0.11.0_dev.1314+9856bea34.tar.xz, but got fd8ade16306421fb0806930b5feac9601497e9b056c17a47c0498aba78da8413

Zdrobot commented on 2023-01-08 14:59 (UTC) (edited on 2023-01-13 19:32 (UTC) by Zdrobot)

Update: installation worked today, installed zig-dev-bin 1:0.11.0_dev.1300+7cb2f9222-1 (Fri Jan 13 21:31:01 2023)

Failed to install:

Downloading Zig 0.11.0_dev.1247+87b223428 from https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.1247+87b223428.tar.xz

WARNING: No way to GPG/SHA verify the version ahead of time
See Zig issue https://github.com/ziglang/zig/issues/4945 for signed binaries

ERROR: Expected hash f22edbed5b0709e9f6c8efbbab4c1161c81dd3a3e09490a49db3a5a97072d902 for zig-linux-x86_64-0.11.0_dev.1247+87b223428.tar.xz, but got 0bc6133ef7f36d0aa4e1213b55eccc10101873db5513c7bfa45dc18818bd871c

Techcable commented on 2022-12-11 02:48 (UTC)

@anagram3k

You are correct. Someone else marked this as out of date, and I didn't have time to test it until recently. It seems to work fine both on x86_64 and ArchLinuxARM.

@dithpri I have added the changes you suggested.