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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC27A158021 for ; Fri, 14 Oct 2022 19:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D957E0207; Fri, 14 Oct 2022 19:42:07 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8D24E0207 for ; Fri, 14 Oct 2022 19:42:06 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C05663411A0 for ; Fri, 14 Oct 2022 19:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3ACC05F6 for ; Fri, 14 Oct 2022 19:42:04 +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: <1665776516.9963a2ee398cef033169ab2969ea3773cb125a13.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/, www-client/seamonkey/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/mozcoreconf-v6.eclass www-client/seamonkey/seamonkey-2.53.14-r1.ebuild www-client/seamonkey/seamonkey-2.53.14.ebuild X-VCS-Directories: www-client/seamonkey/ eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9963a2ee398cef033169ab2969ea3773cb125a13 X-VCS-Branch: master Date: Fri, 14 Oct 2022 19:42:04 +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: 25d903db-7495-44e1-b3e6-d8484318e53e X-Archives-Hash: 9481a6bac3008cb084ad91844e6a480e commit: 9963a2ee398cef033169ab2969ea3773cb125a13 Author: Myckel Habets habets-dobben nl> AuthorDate: Fri Oct 14 19:24:08 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 14 19:41:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9963a2ee www-client/seamonkey: support dev-lang/rust-1.64 * dev-lang/rust-1.64 is supported by seamonkey-2.53.14, bump BDEPEND and check to allow this build. * Remove various cases of --disable-elf-hack handling and just pass --disable-elf-hack by default. Closes: https://bugs.gentoo.org/877005 Signed-off-by: Myckel Habets habets-dobben.nl> Closes: https://github.com/gentoo/gentoo/pull/27782 Signed-off-by: Sam James gentoo.org> eclass/mozcoreconf-v6.eclass | 9 ------ ...-2.53.14.ebuild => seamonkey-2.53.14-r1.ebuild} | 37 ++++++---------------- 2 files changed, 9 insertions(+), 37 deletions(-) diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 2d94be6baee4..450697773409 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -195,15 +195,6 @@ mozconfig_init() { # Strip optimization so it does not end up in compile string filter-flags '-O*' - # elf-hack is broken on x86 and disabled by default. - if is-flagq '-g*' ; then - case "${ARCH}" in - amd64 | arm) - mozconfig_annotate 'elf-hack is broken with -g* flags' --disable-elf-hack - ;; - esac - fi - # Strip over-aggressive CFLAGS use custom-cflags || strip-flags diff --git a/www-client/seamonkey/seamonkey-2.53.14.ebuild b/www-client/seamonkey/seamonkey-2.53.14-r1.ebuild similarity index 93% rename from www-client/seamonkey/seamonkey-2.53.14.ebuild rename to www-client/seamonkey/seamonkey-2.53.14-r1.ebuild index 57fc76cd3cb3..0ac462443e0f 100644 --- a/www-client/seamonkey/seamonkey-2.53.14.ebuild +++ b/www-client/seamonkey/seamonkey-2.53.14-r1.ebuild @@ -60,7 +60,7 @@ BDEPEND=" dev-util/cbindgen >=sys-devel/binutils-2.16.1 virtual/pkgconfig - <=virtual/rust-1.63.0 + =dev-lang/yasm-1.1 ) lto? ( sys-devel/binutils[gold] ) x86? ( >=dev-lang/yasm-1.1 ) @@ -147,11 +147,11 @@ pkg_setup() { ewarn "Those belong to upstream: https://bugzilla.mozilla.org" fi - if ver_test $(rustc -V | tr -cd '[0-9.]' | cut -d" " -f2) -ge "1.64"; then - ewarn "Rust-1.64 is currently unsupported for building ${P}." + if ver_test $(rustc -V | tr -cd '[0-9.]' | cut -d" " -f2) -ge "1.65"; then + ewarn "Rust-1.65 or newer is currently unsupported for building ${P}." ewarn "Please use 'eselect rust' to switch to a lower version, then resume" ewarn "building ${PN}." - die "Rust-1.64 detected. Use eselect rust to choose <1.64" + die "Rust-1.65 or newer detected. Use eselect rust to choose <1.65" fi moz_pkgsetup @@ -382,32 +382,13 @@ src_configure() { # use startup-cache for faster startup time mozconfig_annotate '' --enable-startupcache - # Elf-hack is known to be broken on x86 and arm64. + # Elf-hack is known to be broken on multiple archs. + # Disable it by default, because on the archs that still work, + # it also gives more problems than it solves. # https://bugs.gentoo.org/851933 # https://bugzilla.mozilla.org/show_bug.cgi?id=1706264 - if use x86 || use arm64 ; then - mozconfig_annotate 'elf-hack is broken on x86 and arm64' --disable-elf-hack - fi - - # Elf hack should be enabled by default on architectures that support it. - # On archs that don't support it, it should not be enabled by default. - # www-client/firefox says building with clang breaks elf hack on archs that - # support it, so they disable that. We assume this is the same for www-client/seamonkey. - # The code below is copied over from www-client/firefox. - if tc-is-clang ; then - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822 - # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64') - local disable_elf_hack= - if use amd64 ; then - disable_elf_hack=yes - elif use arm ; then - disable_elf_hack=yes - fi - - if [[ -n ${disable_elf_hack} ]] ; then - mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack - fi + if use x86 || use arm64 || use arm || use amd64 ; then + mozconfig_annotate 'elf-hack is broken' --disable-elf-hack fi # Disabled by default. See bug 836319 , comment 17.