From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
Date: Fri, 24 Jan 2025 15:45:46 +0000 (UTC) [thread overview]
Message-ID: <1737733527.4083057b3ceb1801c46a6675811a91edeba37d35.sam@gentoo> (raw)
commit: 4083057b3ceb1801c46a6675811a91edeba37d35
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 15:43:48 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 15:45:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4083057b
dev-util/rr: add 9999
rr doesn't have releases that often and fixes are often needed for new
hardware.
Closes: https://bugs.gentoo.org/946211
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/rr/rr-9999.ebuild | 94 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 94 insertions(+)
diff --git a/dev-util/rr/rr-9999.ebuild b/dev-util/rr/rr-9999.ebuild
new file mode 100644
index 000000000000..9da8ebac1116
--- /dev/null
+++ b/dev-util/rr/rr-9999.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+CMAKE_BUILD_TYPE=Release
+
+inherit cmake linux-info python-single-r1
+
+DESCRIPTION="Record and Replay Framework"
+HOMEPAGE="https://rr-project.org/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/rr-debugger/rr"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+# rr itself is MIT and BSD-2, but there's various bits under third-party too.
+LICENSE="MIT BSD-2 GPL-2 ZLIB"
+SLOT="0"
+IUSE="multilib test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/capnproto:=
+ sys-libs/zlib:=
+"
+RDEPEND="
+ ${DEPEND}
+ dev-debug/gdb[xml]
+"
+# Add all the deps needed only at build/test time.
+DEPEND+="
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ ')
+ dev-debug/gdb[xml]
+ )"
+
+QA_FLAGS_IGNORED="
+ usr/lib.*/rr/librrpage.so
+ usr/lib.*/rr/librrpage_32.so
+"
+
+RESTRICT="test" # toolchain and kernel version dependent
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.7.0-no-force-lto.patch
+)
+
+pkg_setup() {
+ if use kernel_linux; then
+ CONFIG_CHECK="SECCOMP"
+ linux-info_pkg_setup
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i 's:-Werror::' CMakeLists.txt || die #609192
+}
+
+src_test() {
+ if has usersandbox ${FEATURES} ; then
+ ewarn "Test suite fails under FEATURES=usersandbox (bug #632394). Skipping."
+ return 0
+ fi
+
+ cmake_src_test
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ -Ddisable32bit=$(usex !multilib) #636786
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ python_fix_shebang "${ED}"/usr/bin/rr-collect-symbols.py
+ python_newscript scripts/zen_workaround.py rr-zen_workaround.py
+}
next reply other threads:[~2025-01-24 15:45 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-24 15:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-13 13:27 [gentoo-commits] repo/gentoo:master commit in: dev-util/rr/ Sam James
2025-01-25 5:37 Sam James
2024-10-03 10:05 Sam James
2024-10-03 10:00 Sam James
2024-05-25 7:35 Sam James
2024-04-29 21:48 Sam James
2023-10-03 23:38 Sam James
2023-04-25 19:49 Sam James
2023-01-10 4:32 Sam James
2023-01-10 4:32 Sam James
2022-10-17 21:45 Sam James
2022-10-17 21:45 Sam James
2022-08-20 13:29 Luca Barbato
2022-08-14 8:04 Luca Barbato
2021-09-27 8:55 Luca Barbato
2021-05-15 13:58 Sergei Trofimovich
2021-02-01 16:32 Sam James
2020-11-10 23:49 Sergei Trofimovich
2020-11-02 10:21 Sergei Trofimovich
2020-10-30 23:19 Sergei Trofimovich
2020-10-01 21:49 Sergei Trofimovich
2020-10-01 21:49 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-02-09 16:25 Michał Górny
2019-12-19 22:25 Sergei Trofimovich
2019-11-12 22:52 Sergei Trofimovich
2019-11-12 22:45 Sergei Trofimovich
2019-11-10 21:00 Sergei Trofimovich
2019-05-09 22:37 Sergei Trofimovich
2019-05-09 22:26 Sergei Trofimovich
2018-09-28 14:46 Luca Barbato
2018-06-10 16:29 Sergei Trofimovich
2018-03-12 16:50 Ettore Di Giacinto
2017-10-24 11:29 Luca Barbato
2017-04-20 20:48 David Seifert
2017-02-13 21:51 Mike Frysinger
2017-02-13 21:19 Mike Frysinger
2017-02-13 21:19 Mike Frysinger
2017-02-13 21:19 Mike Frysinger
2017-02-12 18:39 Ettore Di Giacinto
2017-02-12 18:15 Luca Barbato
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=1737733527.4083057b3ceb1801c46a6675811a91edeba37d35.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