From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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 finch.gentoo.org (Postfix) with ESMTPS id 9DD171580FD for ; Fri, 27 Dec 2024 18:40:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0BA5E07D1; Fri, 27 Dec 2024 18:40:21 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99EAAE07D1 for ; Fri, 27 Dec 2024 18:40:21 +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 959AF335DC7 for ; Fri, 27 Dec 2024 18:40:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 039B4FA7 for ; Fri, 27 Dec 2024 18:40:19 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1735322977.46ec58022ff2e8134a72e33b3f0644c20dc19ceb.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/emacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/emacs/emacs-28.2-r15.ebuild app-editors/emacs/emacs-29.4-r1.ebuild app-editors/emacs/emacs-30.0.91.ebuild app-editors/emacs/emacs-30.0.92.ebuild app-editors/emacs/emacs-30.0.93.ebuild app-editors/emacs/emacs-30.0.9999-r1.ebuild app-editors/emacs/emacs-31.0.9999.ebuild X-VCS-Directories: app-editors/emacs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 46ec58022ff2e8134a72e33b3f0644c20dc19ceb X-VCS-Branch: master Date: Fri, 27 Dec 2024 18:40:19 +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: 54bda3a9-e21c-42b2-aa57-6e380e554bb1 X-Archives-Hash: 1de42b8c983aa219d2a7dca1ab769e71 commit: 46ec58022ff2e8134a72e33b3f0644c20dc19ceb Author: Z. Liu gmail com> AuthorDate: Sat Dec 14 12:13:40 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Dec 27 18:09:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ec5802 app-editors/emacs: must be built with gcc[jit] if USE=jit Clang does not provide an analogue of libgccjit, see discussions at https://forums.gentoo.org/viewtopic-p-8738735.html Closes: https://bugs.gentoo.org/874657 Signed-off-by: Z. Liu gmail.com> Signed-off-by: Ulrich Müller gentoo.org> app-editors/emacs/emacs-28.2-r15.ebuild | 6 ++++++ app-editors/emacs/emacs-29.4-r1.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.91.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.92.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.93.ebuild | 6 ++++++ app-editors/emacs/emacs-30.0.9999-r1.ebuild | 6 ++++++ app-editors/emacs/emacs-31.0.9999.ebuild | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/app-editors/emacs/emacs-28.2-r15.ebuild b/app-editors/emacs/emacs-28.2-r15.ebuild index a9fefb16ffa8..bbc032cf7b63 100644 --- a/app-editors/emacs/emacs-28.2-r15.ebuild +++ b/app-editors/emacs/emacs-28.2-r15.ebuild @@ -142,6 +142,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-29.4-r1.ebuild b/app-editors/emacs/emacs-29.4-r1.ebuild index 986bb85573bf..67e94a869c12 100644 --- a/app-editors/emacs/emacs-29.4-r1.ebuild +++ b/app-editors/emacs/emacs-29.4-r1.ebuild @@ -170,6 +170,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-30.0.91.ebuild b/app-editors/emacs/emacs-30.0.91.ebuild index 115d3351a136..1806d63929bf 100644 --- a/app-editors/emacs/emacs-30.0.91.ebuild +++ b/app-editors/emacs/emacs-30.0.91.ebuild @@ -167,6 +167,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-30.0.92.ebuild b/app-editors/emacs/emacs-30.0.92.ebuild index 115d3351a136..1806d63929bf 100644 --- a/app-editors/emacs/emacs-30.0.92.ebuild +++ b/app-editors/emacs/emacs-30.0.92.ebuild @@ -167,6 +167,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-30.0.93.ebuild b/app-editors/emacs/emacs-30.0.93.ebuild index 115d3351a136..1806d63929bf 100644 --- a/app-editors/emacs/emacs-30.0.93.ebuild +++ b/app-editors/emacs/emacs-30.0.93.ebuild @@ -167,6 +167,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-30.0.9999-r1.ebuild b/app-editors/emacs/emacs-30.0.9999-r1.ebuild index 115d3351a136..1806d63929bf 100644 --- a/app-editors/emacs/emacs-30.0.9999-r1.ebuild +++ b/app-editors/emacs/emacs-30.0.9999-r1.ebuild @@ -167,6 +167,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \ diff --git a/app-editors/emacs/emacs-31.0.9999.ebuild b/app-editors/emacs/emacs-31.0.9999.ebuild index 207974933838..ebaeb7a948e3 100644 --- a/app-editors/emacs/emacs-31.0.9999.ebuild +++ b/app-editors/emacs/emacs-31.0.9999.ebuild @@ -167,6 +167,12 @@ QA_CONFIG_IMPL_DECL_SKIP=( statvfs64 re_set_syntax re_compile_pattern re_search re_match ) +pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && use jit && ! tc-is-gcc; then + die "Emacs must be built with gcc[jit] if USE=jit is enabled." + fi +} + src_prepare() { if [[ ${PV##*.} = 9999 ]]; then FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[^0-9.]*\([0-9.]*\).*/\1/p' \