Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] zig: update to 0.12.0
@ 2024-04-20 16:14 OliveThePuffin
  2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

There is a new pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 2202 bytes --]

From 504d21387311ac63cab59ccce4b6eca7c5d2c4ca Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 09:49:13 -0600
Subject: [PATCH 1/2] Update zig to 0.12.0

---
 srcpkgs/zig/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..92080414220459 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
 configure_args="-DZIG_TARGET_MCPU=baseline"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

From a13cd446327dad9693f07810a70381964144276f Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:04:06 -0600
Subject: [PATCH 2/2] Add cmake flags

See https://github.com/ziglang/zig/issues/12069
---
 srcpkgs/zig/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 92080414220459..4c0778bf7e1567 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -4,7 +4,7 @@ version=0.12.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DCMAKE_BUILD_TYPE=Release -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] zig: update to 0.12.0
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
@ 2024-04-20 16:16 ` OliveThePuffin
  2024-04-20 16:25 ` OliveThePuffin
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

There is an updated pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 2994 bytes --]

From 504d21387311ac63cab59ccce4b6eca7c5d2c4ca Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 09:49:13 -0600
Subject: [PATCH 1/3] Update zig to 0.12.0

---
 srcpkgs/zig/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..92080414220459 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
 configure_args="-DZIG_TARGET_MCPU=baseline"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

From a13cd446327dad9693f07810a70381964144276f Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:04:06 -0600
Subject: [PATCH 2/3] Add cmake flags

See https://github.com/ziglang/zig/issues/12069
---
 srcpkgs/zig/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 92080414220459..4c0778bf7e1567 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -4,7 +4,7 @@ version=0.12.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DCMAKE_BUILD_TYPE=Release -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work

From c9ac1a245060d4ce081f2d42b5713b421d69ab55 Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:16:25 -0600
Subject: [PATCH 3/3] Remove release flag

---
 srcpkgs/zig/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 4c0778bf7e1567..8e905a65dd92fb 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -4,7 +4,7 @@ version=0.12.0
 revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline -DCMAKE_BUILD_TYPE=Release -DZIG_STATIC_ZLIB=on"
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
  2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
@ 2024-04-20 16:25 ` OliveThePuffin
  2024-04-20 16:27 ` OliveThePuffin
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There is an updated pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 1454 bytes --]

From 98503f5436a00a54729b7dbae2a051a20bb3edb8 Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:24:28 -0600
Subject: [PATCH] zig: update to 0.12.0.

---
 srcpkgs/zig/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..8e905a65dd92fb 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
  2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
  2024-04-20 16:25 ` OliveThePuffin
@ 2024-04-20 16:27 ` OliveThePuffin
  2024-04-20 16:34 ` [PR REVIEW] " OliveThePuffin
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2067722208

Comment:
This should close https://github.com/void-linux/void-packages/issues/45424

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR REVIEW] zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (2 preceding siblings ...)
  2024-04-20 16:27 ` OliveThePuffin
@ 2024-04-20 16:34 ` OliveThePuffin
  2024-04-20 18:23 ` dkwo
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 16:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New review comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#discussion_r1573336053

Comment:
Had to do this because of https://github.com/ziglang/zig/issues/12069

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (3 preceding siblings ...)
  2024-04-20 16:34 ` [PR REVIEW] " OliveThePuffin
@ 2024-04-20 18:23 ` dkwo
  2024-04-20 23:54 ` OliveThePuffin
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dkwo @ 2024-04-20 18:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2067749140

Comment:
Did you try building anything with it? Hopefully soon river or waylock will tag a release using zig 0.12..

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (4 preceding siblings ...)
  2024-04-20 18:23 ` dkwo
@ 2024-04-20 23:54 ` OliveThePuffin
  2024-04-21  8:21 ` icp1994
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-20 23:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2067817066

Comment:
Yeah. I built some of my advent of code stuff which works fine. I also built https://github.com/andrewrk/poop with it and it works without a hitch

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (5 preceding siblings ...)
  2024-04-20 23:54 ` OliveThePuffin
@ 2024-04-21  8:21 ` icp1994
  2024-04-21 15:59 ` OliveThePuffin
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: icp1994 @ 2024-04-21  8:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2067955876

Comment:
You need to rebuild (aka revbump) packages in the repo which which require zig for building and commit them within this PR. See https://github.com/void-linux/void-packages/pull/49436 as an example for how this workflow.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (6 preceding siblings ...)
  2024-04-21  8:21 ` icp1994
@ 2024-04-21 15:59 ` OliveThePuffin
  2024-04-21 19:13 ` tranzystorekk
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-21 15:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2068104591

Comment:
Oh, I see what you mean now.

So 
river, waylock, ncdu2, zls, and linuxwave (templates that use zig-build)
all must build in this repo before merging. Makes sense.

I'll try to bump them now and see, but due to the breaking nature of early zig, this may have to wait a while.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (7 preceding siblings ...)
  2024-04-21 15:59 ` OliveThePuffin
@ 2024-04-21 19:13 ` tranzystorekk
  2024-04-22  2:39 ` OliveThePuffin
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: tranzystorekk @ 2024-04-21 19:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2068170347

Comment:
Did some tests, our `zig-build` build_style needs to be ported to use `-Doptimize=ReleaseSafe` for setting profile, but ncdu2 2.4 also sets a preferred optimize level which replaces this flag with `-Drelease=<bool>` altogether :/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (8 preceding siblings ...)
  2024-04-21 19:13 ` tranzystorekk
@ 2024-04-22  2:39 ` OliveThePuffin
  2024-05-03 12:41 ` realcharmer
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-04-22  2:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2068381640

Comment:
I'm starting to think I bit off more than I could chew

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (9 preceding siblings ...)
  2024-04-22  2:39 ` OliveThePuffin
@ 2024-05-03 12:41 ` realcharmer
  2024-05-03 16:48 ` OliveThePuffin
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: realcharmer @ 2024-05-03 12:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

New comment by realcharmer on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2092939079

Comment:
@OliveThePuffin are you planning on finishing this up?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (10 preceding siblings ...)
  2024-05-03 12:41 ` realcharmer
@ 2024-05-03 16:48 ` OliveThePuffin
  2024-05-03 16:50 ` OliveThePuffin
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-03 16:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2093386964

Comment:
I did, but right now the repo/xbps-src is breaking on me saying that "neither git or git are available in your system!" which is just false. I zapped and binary-bootstrapped, but nothing is fixing this. If you want to, feel free to take it away.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (11 preceding siblings ...)
  2024-05-03 16:48 ` OliveThePuffin
@ 2024-05-03 16:50 ` OliveThePuffin
  2024-05-03 19:10 ` [PR PATCH] [Updated] " OliveThePuffin
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-03 16:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2093386964

Comment:
I did, but right now the repo/xbps-src is breaking on me saying that "neither git or chroot-git are available in your system!" which is just false. I zapped and binary-bootstrapped, but nothing is fixing this. If you want to, feel free to take it away.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (12 preceding siblings ...)
  2024-05-03 16:50 ` OliveThePuffin
@ 2024-05-03 19:10 ` OliveThePuffin
  2024-05-05 17:35 ` Luciogi
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-03 19:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There is an updated pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 1454 bytes --]

From 98503f5436a00a54729b7dbae2a051a20bb3edb8 Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Sat, 20 Apr 2024 10:24:28 -0600
Subject: [PATCH] zig: update to 0.12.0.

---
 srcpkgs/zig/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..8e905a65dd92fb 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_STATIC_ZLIB=on"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (13 preceding siblings ...)
  2024-05-03 19:10 ` [PR PATCH] [Updated] " OliveThePuffin
@ 2024-05-05 17:35 ` Luciogi
  2024-05-07 15:05 ` [PR PATCH] [Closed]: " OliveThePuffin
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Luciogi @ 2024-05-05 17:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2094888657

Comment:
> I did, but right now the repo/xbps-src is breaking on me saying that "neither git or chroot-git are available in your system!" which is just false. I zapped and binary-bootstrapped, but nothing is fixing this. If you want to, feel free to take it away.

update master branch, and rebase this branch against master

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Closed]: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (14 preceding siblings ...)
  2024-05-05 17:35 ` Luciogi
@ 2024-05-07 15:05 ` OliveThePuffin
  2024-05-07 15:05 ` [PR PATCH] [Updated] " OliveThePuffin
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-07 15:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

There's a closed pull request on the void-packages repository

zig: update to 0.12.0.
https://github.com/void-linux/void-packages/pull/49935

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (15 preceding siblings ...)
  2024-05-07 15:05 ` [PR PATCH] [Closed]: " OliveThePuffin
@ 2024-05-07 15:05 ` OliveThePuffin
  2024-05-07 15:11 ` OliveThePuffin
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-07 15:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There is an updated pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (16 preceding siblings ...)
  2024-05-07 15:05 ` [PR PATCH] [Updated] " OliveThePuffin
@ 2024-05-07 15:11 ` OliveThePuffin
  2024-05-07 15:48 ` OliveThePuffin
  2024-05-07 16:00 ` tranzystorekk
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-07 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There is an updated pull request by OliveThePuffin against master on the void-packages repository

https://github.com/OliveThePuffin/void-packages master
https://github.com/void-linux/void-packages/pull/49935

zig: update to 0.12.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC) x86_64-glibc

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for these architectures (if supported. mark crossbuilds): x86_64
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/49935.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-49935.patch --]
[-- Type: text/x-diff, Size: 1453 bytes --]

From e62ae6b9bf948ae85086574e25042d6facf92cbf Mon Sep 17 00:00:00 2001
From: rocketeer <samuel.clay99@proton.me>
Date: Tue, 7 May 2024 09:08:01 -0600
Subject: [PATCH] zig: update to 0.12.0.

---
 srcpkgs/zig/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/zig/template b/srcpkgs/zig/template
index 52cda7e8e0cee7..9cebec03ddb286 100644
--- a/srcpkgs/zig/template
+++ b/srcpkgs/zig/template
@@ -1,20 +1,20 @@
 # Template file for 'zig'
 pkgname=zig
-version=0.10.1
-revision=3
+version=0.12.0
+revision=1
 archs="x86_64* aarch64*"
 build_style=cmake
-configure_args="-DZIG_TARGET_MCPU=baseline"
+configure_args="-DZIG_TARGET_MCPU=baseline -DZIG_STATIC_ZLIB=ON"
 make_cmd=make
 # we add xml2, zstd, zlib and ncurses
 # because our lld is static-only and requires those to work
-makedepends="clang15 llvm15 lld15-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
+makedepends="clang17-devel llvm17-devel lld17-devel libxml2-devel libzstd-devel ncurses-devel zlib-devel"
 short_desc="Programming language designed for robustness, optimality, and clarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://ziglang.org"
 distfiles="https://ziglang.org/download/${version}/zig-${version}.tar.xz"
-checksum=69459bc804333df077d441ef052ffa143d53012b655a51f04cfef1414c04168c
+checksum=a6744ef84b6716f976dad923075b2f54dc4f785f200ae6c8ea07997bd9d9bd9a
 nopie=yes
 nocross=yes
 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (17 preceding siblings ...)
  2024-05-07 15:11 ` OliveThePuffin
@ 2024-05-07 15:48 ` OliveThePuffin
  2024-05-07 16:00 ` tranzystorekk
  19 siblings, 0 replies; 21+ messages in thread
From: OliveThePuffin @ 2024-05-07 15:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

New comment by OliveThePuffin on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2098777424

Comment:
@realcharmer I tried to build against the updates you made but it doesn't seem to be working. I'm getting these errors:

```
/builddir/river-0.3.0/build.zig:7:25: error: unable to load '/builddir/river-0.3.0/deps/zig-wayland/build.zig': FileNotFound
/builddir/river-0.3.0/build.zig:67:40: error: no field or member function named 'execAllowFail' in 'Build'
```
Is there anything you did to make it work?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: zig: update to 0.12.0.
  2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
                   ` (18 preceding siblings ...)
  2024-05-07 15:48 ` OliveThePuffin
@ 2024-05-07 16:00 ` tranzystorekk
  19 siblings, 0 replies; 21+ messages in thread
From: tranzystorekk @ 2024-05-07 16:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/49935#issuecomment-2098800802

Comment:
river 0.3.0 won't support zig 0.12, we need to wait for 0.4.0, there seems to be some [work being done](https://codeberg.org/river/river/commits/branch/next-zig)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-05-07 16:00 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-20 16:14 [PR PATCH] zig: update to 0.12.0 OliveThePuffin
2024-04-20 16:16 ` [PR PATCH] [Updated] " OliveThePuffin
2024-04-20 16:25 ` OliveThePuffin
2024-04-20 16:27 ` OliveThePuffin
2024-04-20 16:34 ` [PR REVIEW] " OliveThePuffin
2024-04-20 18:23 ` dkwo
2024-04-20 23:54 ` OliveThePuffin
2024-04-21  8:21 ` icp1994
2024-04-21 15:59 ` OliveThePuffin
2024-04-21 19:13 ` tranzystorekk
2024-04-22  2:39 ` OliveThePuffin
2024-05-03 12:41 ` realcharmer
2024-05-03 16:48 ` OliveThePuffin
2024-05-03 16:50 ` OliveThePuffin
2024-05-03 19:10 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-05 17:35 ` Luciogi
2024-05-07 15:05 ` [PR PATCH] [Closed]: " OliveThePuffin
2024-05-07 15:05 ` [PR PATCH] [Updated] " OliveThePuffin
2024-05-07 15:11 ` OliveThePuffin
2024-05-07 15:48 ` OliveThePuffin
2024-05-07 16:00 ` tranzystorekk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).