From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B5841582EF for ; Mon, 03 Mar 2025 19:27:17 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 725A23431AB for ; Mon, 03 Mar 2025 19:27:17 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3A34A11037D; Mon, 03 Mar 2025 19:27:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2F2F411037D for ; Mon, 03 Mar 2025 19:27:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA42134313E for ; Mon, 03 Mar 2025 19:27:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1303F2812 for ; Mon, 03 Mar 2025 19:27:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741029987.f68007349b216b75d31a7513e49b9813b24a993e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/zig.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f68007349b216b75d31a7513e49b9813b24a993e X-VCS-Branch: master Date: Mon, 03 Mar 2025 19:27:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 80aa2540-3f74-416f-9b9d-95a67dad8fc3 X-Archives-Hash: a89cd139d34638323a1a02a946ec383d commit: f68007349b216b75d31a7513e49b9813b24a993e Author: Eric Joldasov landless-city net> AuthorDate: Sat Jan 18 16:15:24 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 3 19:26:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6800734 zig.eclass: allow unset `my_zbs_args` Previously it was defined as empty string when not setting this variable, which caused error during building because Zig treat it as a name of non-existant step "". Also fix DEFAULT_UNSET comment on `BUILD_DIR` and `my_zbs_args`. Closes: https://bugs.gentoo.org/948168 Signed-off-by: Eric Joldasov landless-city.net> Signed-off-by: Sam James gentoo.org> eclass/zig.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eclass/zig.eclass b/eclass/zig.eclass index 2a0178e66d71..26b55bf05d7f 100644 --- a/eclass/zig.eclass +++ b/eclass/zig.eclass @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: zig.eclass @@ -152,6 +152,7 @@ _zig_set_zbs_uris() { _zig_set_zbs_uris # @ECLASS_VARIABLE: my_zbs_args +# @DEFAULT_UNSET # @DESCRIPTION: # Bash array with ebuild-specified arguments to pass to the # "zig build" after "src_configure". @@ -170,7 +171,6 @@ _zig_set_zbs_uris # zig_src_configure # } # @CODE -: "${my_zbs_args:=}" # @ECLASS_VARIABLE: ZBS_ARGS_EXTRA # @USER_VARIABLE @@ -203,7 +203,6 @@ _zig_set_zbs_uris : "${ZBS_VERBOSE:=ON}" # @ECLASS_VARIABLE: BUILD_DIR -# @DEFAULT_UNSET # @DESCRIPTION: # Directory where all "ezig build" calls will be proceeded. # Defaults to "${WORKDIR}/${P}-build" if not set.