From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/tboot/
Date: Wed, 9 Feb 2022 11:25:10 +0000 (UTC) [thread overview]
Message-ID: <1644405816.5872ad7b37126df3e8897f3db41e3853e6840d99.sam@gentoo> (raw)
commit: 5872ad7b37126df3e8897f3db41e3853e6840d99
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Feb 7 20:17:58 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 9 11:23:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5872ad7b
sys-boot/tboot: Die if tc-is-clang. Requires VLAIS which is gcc-only.
Closes: https://bugs.gentoo.org/832020
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24119
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-boot/tboot/tboot-1.10.3.ebuild | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/sys-boot/tboot/tboot-1.10.3.ebuild b/sys-boot/tboot/tboot-1.10.3.ebuild
index cdb682a949ff..4cedba3fabfc 100644
--- a/sys-boot/tboot/tboot-1.10.3.ebuild
+++ b/sys-boot/tboot/tboot-1.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,6 +28,16 @@ PATCHES=( "${FILESDIR}/${PN}-1.10.3-disable-Werror.patch"
"${FILESDIR}/${PN}-1.10.3-disable-strip.patch"
"${FILESDIR}/${PN}-1.10.3-dont-call-toolchain-directly.patch" )
+pkg_setup() {
+ if tc-is-clang; then
+ eerror "tboot is a freestanding application that uses gcc"
+ eerror "extensions in fundemental ways, include VLAIS"
+ eerror "(Variable Length Arrays in Structs) and will not"
+ eerror "compile with clang witout upstream action"
+ die "Cannot compile with clang. See bug #832020"
+ fi
+}
+
src_configure() {
tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP STRIP
next reply other threads:[~2022-02-09 11:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 11:25 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-11 23:21 [gentoo-commits] repo/gentoo:master commit in: sys-boot/tboot/ Jason Zaman
2024-08-11 23:21 Jason Zaman
2022-03-21 23:52 Sam James
2022-02-26 2:30 Sam James
2022-02-26 2:30 Sam James
2021-06-17 22:18 Thomas Deutschmann
2021-06-17 20:32 Thomas Deutschmann
2021-05-02 19:31 Mikle Kolyada
2019-12-13 22:34 Ulrich Müller
2017-11-18 8:53 Jason Zaman
2017-11-18 8:53 Jason Zaman
2017-08-02 16:22 Jason Zaman
2017-08-02 15:41 Jason Zaman
2016-11-06 11:23 Jason Zaman
2016-08-29 1:24 Jason Zaman
2016-06-01 12:59 Jason Zaman
2016-03-27 2:36 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1644405816.5872ad7b37126df3e8897f3db41e3853e6840d99.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox