:: argv[8]: install :: CMake Error at /var/tmp/portage/dev-lang/zig-0.7.1/work/zig-0.7.1/cmake/install.cmake:36 (message): Call Stack (most recent call first): cmake_install.cmake:78 (include) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-20210327-175744 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.51.0 [2] rust-1.51.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.18.0 [icedtea-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Apr 6 10:50:12 UTC 2021 emerge -qpvO dev-lang/zig [ebuild N ] dev-lang/zig-0.7.1 USE="experimental"
Created attachment 697977 [details] emerge-info.txt
Created attachment 697980 [details] dev-lang:zig-0.7.1:20210406-110113.log
Created attachment 697983 [details] emerge-history.txt
Created attachment 697986 [details] environment
Created attachment 697989 [details] etc.portage.tar.bz2
Created attachment 697992 [details] logs.tar.bz2
Created attachment 697995 [details] temp.tar.bz2
Outdated?
It was fixed by upstream in 0.9.0 https://github.com/ziglang/zig/pull/10228 > If a partial read occurs past the halfway point, buf.len - i will be less than i, which is illegal. The end bound is also entirely unecessary in this case, so just remove it. > Thanks to sheeldotme for reporting this on IRC and providing this stack trace: https://gist.githubusercontent.com/sheeldotme/825d1c0414cb34ce2c2e35f49f866049/raw/90b7e7c0f371495b6a5f382e45581012ae07829a/log.txt Errors are identical.
There are similar bug https://bugs.gentoo.org/866374, I will backport patches for fixing both problems
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca3ca21d4b52133714be53407b18b04305f6358 commit 8ca3ca21d4b52133714be53407b18b04305f6358 Author: Eric Joldasov <bratishkaerik@getgoogleoff.me> AuthorDate: 2022-08-25 03:39:22 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-11 18:13:22 +0000 dev-lang/zig-bin: add patches for 0.9.1 Closes: https://bugs.gentoo.org/780612 Closes: https://bugs.gentoo.org/829959 Closes: https://bugs.gentoo.org/866374 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/zig-bin/Manifest | 1 + .../zig-bin-0.9.1-fix-bad-hostname-segfault.patch | 26 ++++++++++++++++++++++ .../files/zig-bin-0.9.1-fix-detecting-abi.patch | 19 ---------------- ...ig-bin-0.9.1.ebuild => zig-bin-0.9.1-r1.ebuild} | 7 +++++- 4 files changed, 33 insertions(+), 20 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2d75f3df3edee03055e7e3b50e30d1c0dd0984 commit 4d2d75f3df3edee03055e7e3b50e30d1c0dd0984 Author: Eric Joldasov <bratishkaerik@getgoogleoff.me> AuthorDate: 2022-08-24 10:08:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-11 18:13:22 +0000 dev-lang/zig: add patches for 0.9.1 Bug: https://bugs.gentoo.org/780612 Bug: https://bugs.gentoo.org/829959 Bug: https://bugs.gentoo.org/866374 Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/zig/Manifest | 1 + .../zig-0.9.1-fix-bad-hostname-segfault.patch | 26 ++++++++++++++++++++++ .../zig/{zig-0.9.1.ebuild => zig-0.9.1-r1.ebuild} | 3 +++ 3 files changed, 30 insertions(+)