From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig-bin/
Date: Sun, 16 Feb 2025 16:29:27 +0000 (UTC) [thread overview]
Message-ID: <1739723292.58e7dab666a19cc4481f0ed3f570141efa286408.sam@gentoo> (raw)
commit: 58e7dab666a19cc4481f0ed3f570141efa286408
Author: Eric Joldasov <bratishkaerik <AT> landless-city <DOT> net>
AuthorDate: Sun Jan 19 20:18:49 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 16:28:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e7dab6
dev-lang/zig-bin: sync 0.10.1-r3 with 0.13.0 and update install message
Hopefully makes it more clear why this version is still in tree.
Signed-off-by: Eric Joldasov <bratishkaerik <AT> landless-city.net>
Closes: https://github.com/gentoo/gentoo/pull/40215
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild | 33 +++++++++++++++----------------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild b/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild
index d3bcaa24399a..4e0d582f7f85 100644
--- a/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild
+++ b/dev-lang/zig-bin/zig-bin-0.10.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,16 +43,15 @@ IUSE="doc"
BDEPEND="verify-sig? ( sec-keys/minisig-keys-zig-software-foundation )"
IDEPEND="app-eselect/eselect-zig"
-# Zig provides its standard library in source form "/opt/zig-bin-{PV}/lib/",
-# and all other Zig libraries are meant to be consumed in source form,
-# because they can use compile-time mechanics (and it is easier for distributions to patch them)
-# Here we use this feature for fixing programs that use standard library
-# Note: Zig build system is also part of standard library, so we can fix it too
+# Zig provides its standard library and some compiler code in source form "/opt/zig-bin-{PV}/lib/".
+# Here we use this feature to fix programs that use standard library.
+# Note: Zig build system is also part of standard library, so we can fix it too.
+# Don't remove this comment so that other contributors won't be misleaded by "-bin" suffix.
PATCHES=(
"${FILESDIR}/zig-0.10.1-musl-1.2.4-lfs64.patch"
)
-QA_PREBUILT="opt/${P}/zig"
+QA_PREBUILT="opt/zig-bin-${PV}/zig"
src_unpack() {
verify-sig_src_unpack
@@ -68,20 +67,20 @@ src_install() {
rm -r ./doc/ || die
doins -r "${S}"
- fperms 0755 "/opt/${P}/zig"
- dosym -r "/opt/${P}/zig" "/usr/bin/zig-bin-${PV}"
+ fperms 0755 /opt/zig-bin-${PV}/zig
+ dosym -r /opt/zig-bin-${PV}/zig /usr/bin/zig-bin-${PV}
}
pkg_postinst() {
- eselect zig update ifunset
+ eselect zig update ifunset || die
- elog "0.10.1 release uses self-hosted compiler by default and fixes some bugs from 0.10.0"
- elog "But your code still can be un-compilable since some features still not implemented or bugs not fixed"
- elog "Upstream recommends:"
- elog " * Using old compiler if experiencing such breakage (flag '-fstage1')"
- elog " * Waiting for release 0.11.0 with old compiler removed (these changes are already merged in 9999)"
- elog "Also see: https://ziglang.org/download/0.10.0/release-notes.html#Self-Hosted-Compiler"
- elog "and https://ziglang.org/download/0.10.0/release-notes.html#How-to-Upgrade"
+ elog "0.10.1 release uses self-hosted compiler by default and fixes some bugs from 0.10.0."
+ elog "If you wanted to try async/await syntax (which is still absent in newer versions),"
+ elog "use '-fstage1' flag to enable old C++-based compiler, since only stage1 supports this syntax."
+ elog ""
+ elog "See also: https://ziglang.org/download/0.10.0/release-notes.html#Falling-short-of-stage1 ,"
+ elog "https://github.com/ziglang/zig/wiki/FAQ#what-is-the-status-of-async-in-zig"
+ elog "and https://github.com/ziglang/zig/issues/6025"
}
pkg_postrm() {
next reply other threads:[~2025-02-16 16:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-16 16:29 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-05 11:40 [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig-bin/ Sam James
2025-02-16 16:29 Sam James
2024-08-07 3:16 Sam James
2024-05-24 19:27 Florian Schmaus
2024-05-20 7:49 Sam James
2023-08-25 3:58 Jakov Smolić
2023-05-13 3:28 Sam James
2023-03-17 9:44 Florian Schmaus
2023-03-09 10:54 Florian Schmaus
2023-03-09 10:54 Florian Schmaus
2023-01-20 3:54 Sam James
2023-01-20 1:17 Sam James
2022-11-07 6:52 Sam James
2022-09-11 18:13 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739723292.58e7dab666a19cc4481f0ed3f570141efa286408.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox