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 C29381581D3 for ; Thu, 30 May 2024 15:52:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11A3DE2A71; Thu, 30 May 2024 15:52:54 +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 E17D1E2A71 for ; Thu, 30 May 2024 15:52:53 +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 D377533BE26 for ; Thu, 30 May 2024 15:52:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43EF9E21 for ; Thu, 30 May 2024 15:52:51 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1717084326.45c54345133147897f4ec949343b15a395d31e08.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/qbs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/qbs/qbs-2.3.1.ebuild X-VCS-Directories: dev-util/qbs/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 45c54345133147897f4ec949343b15a395d31e08 X-VCS-Branch: master Date: Thu, 30 May 2024 15:52:51 +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: f0bda870-8b04-4ab7-8627-2b299f961148 X-Archives-Hash: 11bcf34a0ccde1b0c0ac9db30d62ab0e commit: 45c54345133147897f4ec949343b15a395d31e08 Author: Ionen Wolkens gentoo org> AuthorDate: Thu May 30 15:20:11 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Thu May 30 15:52:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c54345 dev-util/qbs: add workaround for gcc:14 + -O3 build failure Exact cause unknown, but no harm in doing this for now. Does not seem needed for neither gcc:13 nor clang. For anyone trying to reproduce, don't forget to drop this. Bug: https://bugs.gentoo.org/933187 Signed-off-by: Ionen Wolkens gentoo.org> dev-util/qbs/qbs-2.3.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/qbs/qbs-2.3.1.ebuild b/dev-util/qbs/qbs-2.3.1.ebuild index 2e99070c6c0f..1eaaf83d9393 100644 --- a/dev-util/qbs/qbs-2.3.1.ebuild +++ b/dev-util/qbs/qbs-2.3.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit cmake flag-o-matic python-any-r1 +inherit cmake flag-o-matic python-any-r1 toolchain-funcs DESCRIPTION="Modern build tool for software projects" HOMEPAGE="https://doc.qt.io/qbs/" @@ -62,6 +62,10 @@ src_configure() { # needs fixing in qtbase as *64 usage comes from its headers' macros use elibc_musl && append-lfs-flags + # fails to build with gcc:14 and -O3 (bug #933187) + tc-is-gcc && [[ $(gcc-major-version) -ge 14 ]] && + replace-flags -O3 -O2 + local mycmakeargs=( -DQBS_DOC_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF} -DQBS_INSTALL_HTML_DOCS=$(usex doc)