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 5F65A1581B9 for ; Fri, 03 Oct 2025 16:27:49 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0407C342035 for ; Fri, 03 Oct 2025 16:27:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5C7D811057A; Fri, 03 Oct 2025 16:27:15 +0000 (UTC) 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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 56CC611057A for ; Fri, 03 Oct 2025 16:27:15 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23B74341FB8 for ; Fri, 03 Oct 2025 16:27:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6EE9A3AAB for ; Fri, 03 Oct 2025 16:27:09 +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: <1759508675.74969e04323ddb6034a3581b93ec292a9304e767.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/java-utils-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 74969e04323ddb6034a3581b93ec292a9304e767 X-VCS-Branch: master Date: Fri, 03 Oct 2025 16:27:09 +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: 77eebb1e-f8c6-4da8-b80e-a3bb1335f9b6 X-Archives-Hash: 252352b3a05097aea5f09d00cc6ee08b commit: 74969e04323ddb6034a3581b93ec292a9304e767 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun May 18 15:53:34 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 3 16:24:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74969e04 java-utils-2.eclass: re-enable PORTAGE_QUIET There are packages like javacup and jflex which cannot be built from source without using a pre-built runtime version of itself. Re-emerging these packages using the installed instead of the bundled pre-built version was causing the java-pkg_getjar() function to trigger java-pkg_ensure-dep() to issue a "QA Notice: java-pkg_ensure-dep:" message. This commit ports the PORTAGE_QUIET variable to java-pkg_getjar() so that it works again as it did in the past for ant-based ebuilds. Bug: https://bugs.gentoo.org/937047 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/44017 Signed-off-by: Sam James gentoo.org> eclass/java-utils-2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 3b2b9d6a5b24..20d189ff8cfd 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1305,7 +1305,7 @@ java-pkg_getjar() { classpath=$(java-config --classpath=${pkg}) [[ $? != 0 ]] && die ${error_msg} - java-pkg_ensure-dep "${build_only}" "${pkg}" + [[ -z ${PORTAGE_QUIET} ]] && java-pkg_ensure-dep "${build_only}" "${pkg}" # Record the package(Virtual) as a dependency and then set build_only # So that individual jars are not recorded. @@ -1325,7 +1325,7 @@ java-pkg_getjar() { if [[ "$(basename ${jar})" == "${target_jar}" ]] ; then # Only record jars that aren't build-only - if [[ -z "${record_jar}" ]]; then + if [[ -z "${record_jar}" && -z ${PORTAGE_QUIET} ]]; then if [[ -z "${build_only}" ]]; then java-pkg_record-jar_ "${pkg}" "${jar}" else