[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: f32be099df1a2bd61efa9334a76e7b1718467324 Author: Sam James gentoo org> AuthorDate: Fri Mar 15 02:56:29 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 15 03:18:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f32be099 dev-util/rr: drop 5.6.0-r2, 5.6.0-r4 Signed-off-by: Sam James gentoo.org> dev-util/rr/Manifest | 1 - dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch | 222 - dev-util/rr/files/rr-5.6.0-gcc13.patch | 32 --- dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch | 62 -- dev-util/rr/files/rr-5.6.0-tests-clang16.patch | 19 -- dev-util/rr/rr-5.6.0-r2.ebuild | 87 dev-util/rr/rr-5.6.0-r4.ebuild | 88 7 files changed, 511 deletions(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 5908e870ed7e..a384f453eda3 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1 @@ -DIST mozilla-rr-5.6.0.tar.gz 1579320 BLAKE2B 14ea99c4486c72db844b5cad3f0c300d7bf5d49449e7080ed0484f89022be6d9b7f81b3808b65f59028a5256a6b3f6508729d5b7e8f3f45d8353ceb7ae2a577a SHA512 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7 DIST mozilla-rr-5.7.0.tar.gz 1688069 BLAKE2B 613196a441b8c384765403838d4c89248eeb85af203b596ff01610fe65c62650cbeb7f8bde4c97ac4bb65f2bdcf7caa605ca1b6cb2f8f36b0355d816ed39a4f1 SHA512 e0e45f47a5f1de9e0e3f982e9eb5565699189ed23c52de03bf68b8215e7b8ac267619c04495c19e75a55aa8e0face08b9bb6c7f325650384c10a719c17ecf576 diff --git a/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch b/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch deleted file mode 100644 index 30dad8d9fa20.. --- a/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch +++ /dev/null @@ -1,222 +0,0 @@ -https://bugs.gentoo.org/897874 -https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109420 -https://github.com/rr-debugger/rr/issues/3485 -https://github.com/rr-debugger/rr/commit/e32502d00b18a5225d3b7fbab75fb1e63cb367d2 - -From e32502d00b18a5225d3b7fbab75fb1e63cb367d2 Mon Sep 17 00:00:00 2001 -From: Robert O'Callahan -Date: Wed, 5 Apr 2023 08:15:23 +1200 -Subject: [PATCH] Avoid having type members and enum members of `Arch` with the - same name - -Resolves #3485 a/src/kernel_abi.h -+++ b/src/kernel_abi.h -@@ -1282,7 +1282,7 @@ struct BaseArch : public wordsize, - }; - RR_VERIFY_TYPE_EXPLICIT(struct ::timezone, timezone); - -- struct statfs { -+ struct statfs_t { - __statfs_word f_type; - __statfs_word f_bsize; - __statfs_word f_blocks; -@@ -1298,9 +1298,9 @@ struct BaseArch : public wordsize, - __statfs_word f_flags; - __statfs_word f_spare[4]; - }; -- RR_VERIFY_TYPE_EXPLICIT(struct ::statfs, statfs); -+ RR_VERIFY_TYPE_EXPLICIT(struct ::statfs, statfs_t); - -- struct statfs64 { -+ struct statfs64_t { - __statfs_word f_type; - __statfs_word f_bsize; - uint64_t f_blocks; -@@ -1316,7 +1316,7 @@ struct BaseArch : public wordsize, - __statfs_word f_flags; - __statfs_word f_spare[4]; - }; -- RR_VERIFY_TYPE_EXPLICIT(struct ::statfs64, statfs64); -+ RR_VERIFY_TYPE_EXPLICIT(struct ::statfs64, statfs64_t); - - struct itimerval { - timeval it_interval; -@@ -1338,7 +1338,7 @@ struct BaseArch : public wordsize, - } stack_t; - RR_VERIFY_TYPE(stack_t); - -- struct sysinfo { -+ struct sysinfo_t { - __kernel_long_t uptime; - __kernel_ulong_t loads[3]; - __kernel_ulong_t totalram; -@@ -1355,7 +1355,7 @@ struct BaseArch : public wordsize, - uint32_t mem_unit; - char _f[20 - 2 * sizeof(__kernel_ulong_t) - sizeof(uint32_t)]; - }; -- RR_VERIFY_TYPE_EXPLICIT(struct ::sysinfo, sysinfo); -+ RR_VERIFY_TYPE_EXPLICIT(struct ::sysinfo, sysinfo_t); - - static const ::size_t UTSNAME_LENGTH = 65; - struct utsname { -@@ -2093,7 +2093,7 @@ struct X64Arch : public BaseArch { - // Can't verify this one because glibc leaves out the last two members and the - // kernel header isn't available to userspace. - -- struct stat { -+ struct stat_t { - dev_t st_dev; - ino_t st_ino; - nlink_t st_nlink; -@@ -2110,10 +2110,10 @@ struct X64Arch : public BaseArch { - struct timespec st_ctim; - syscall_slong_t __rr_unused[3]; - }; -- RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, struct ::stat, struct stat); -+ RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, struct ::stat, struct stat_t); - -- struct stat64 : public stat {}; -- RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, struct ::stat64, struct stat64); -+ struct stat64_t : public stat_t {}; -+ RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, struct ::stat64, struct stat64_t); - - struct semid64_ds { - ipc64_perm sem_perm; -@@ -2291,7 +2291,7 @@ struct X86Arch : public BaseArch { - }; - RR_VERIFY_TYPE_X86_ARCH(SupportedArch::x86, ::user, user); - -- struct stat { -+ struct stat_t { -
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: afc02357cda0226f1ad0b9b1b3460a43166eeb85 Author: Sam James gentoo org> AuthorDate: Fri Mar 15 02:26:35 2024 + Commit: Sam James gentoo org> CommitDate: Fri Mar 15 02:26:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afc02357 dev-util/rr: don't force LTO We leave it up to users to set. (That said, this did help find a GCC bug: https://gcc.gnu.org/PR14232). Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.7.0-no-force-lto.patch | 23 +++ dev-util/rr/rr-5.7.0.ebuild | 4 2 files changed, 27 insertions(+) diff --git a/dev-util/rr/files/rr-5.7.0-no-force-lto.patch b/dev-util/rr/files/rr-5.7.0-no-force-lto.patch new file mode 100644 index ..f9665f435f4c --- /dev/null +++ b/dev-util/rr/files/rr-5.7.0-no-force-lto.patch @@ -0,0 +1,23 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -118,7 +118,6 @@ if(LOWERCASE_CMAKE_BUILD_TYPE STREQUAL "debug") + set(RR_FLAGS "${RR_FLAGS_DEBUG} -g3 ") + elseif(LOWERCASE_CMAKE_BUILD_TYPE STREQUAL "release") + # CMake itself will add optimization flags +- set(RR_FLAGS "${RR_FLAGS_RELEASE} -g3 -flto") + endif() + + set(LINKER_FLAGS "") +@@ -675,12 +674,6 @@ endif() + + # Add -flto option to linking step if release + if(LOWERCASE_CMAKE_BUILD_TYPE STREQUAL "release") +- CHECK_C_COMPILER_FLAG("-flto=auto" SUPPORTS_LTO_AUTO) +- if(SUPPORTS_LTO_AUTO) +-set(RR_MAIN_LINKER_FLAGS "${RR_MAIN_LINKER_FLAGS} -flto=auto") +- else() +-set(RR_MAIN_LINKER_FLAGS "${RR_MAIN_LINKER_FLAGS} -flto") +- endif() + endif() + + if(LIBRT) diff --git a/dev-util/rr/rr-5.7.0.ebuild b/dev-util/rr/rr-5.7.0.ebuild index d8ae5a3fd5c7..ab0fca41cd19 100644 --- a/dev-util/rr/rr-5.7.0.ebuild +++ b/dev-util/rr/rr-5.7.0.ebuild @@ -43,6 +43,10 @@ QA_FLAGS_IGNORED=" 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"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: a426cd2e901278ad058500420e912f996f8effe6 Author: Sam James gentoo org> AuthorDate: Tue Oct 3 23:36:41 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 3 23:36:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a426cd2e dev-util/rr: add 5.7.0 Signed-off-by: Sam James gentoo.org> dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.7.0.ebuild | 81 + 2 files changed, 82 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index a42888a658a6..5908e870ed7e 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-5.6.0.tar.gz 1579320 BLAKE2B 14ea99c4486c72db844b5cad3f0c300d7bf5d49449e7080ed0484f89022be6d9b7f81b3808b65f59028a5256a6b3f6508729d5b7e8f3f45d8353ceb7ae2a577a SHA512 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7 +DIST mozilla-rr-5.7.0.tar.gz 1688069 BLAKE2B 613196a441b8c384765403838d4c89248eeb85af203b596ff01610fe65c62650cbeb7f8bde4c97ac4bb65f2bdcf7caa605ca1b6cb2f8f36b0355d816ed39a4f1 SHA512 e0e45f47a5f1de9e0e3f982e9eb5565699189ed23c52de03bf68b8215e7b8ac267619c04495c19e75a55aa8e0face08b9bb6c7f325650384c10a719c17ecf576 diff --git a/dev-util/rr/rr-5.7.0.ebuild b/dev-util/rr/rr-5.7.0.ebuild new file mode 100644 index ..4cf7e880d27f --- /dev/null +++ b/dev-util/rr/rr-5.7.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + dev-libs/capnproto:= + sys-libs/zlib:= +" +RDEPEND=" + ${DEPEND} + sys-devel/gdb[xml] +" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + ') + sys-devel/gdb[xml] + )" + +QA_FLAGS_IGNORED=" + usr/lib.*/rr/librrpage.so + usr/lib.*/rr/librrpage_32.so +" + +RESTRICT="test" # toolchain and kernel version dependent + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 173e882690d8fc58ea0e2a455a47a3430526ce9a Author: Sam James gentoo org> AuthorDate: Tue Apr 25 19:48:31 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 19:48:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173e8826 dev-util/rr: Keyword 5.6.0-r4 arm64, #905050 Signed-off-by: Sam James gentoo.org> dev-util/rr/rr-5.6.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/rr-5.6.0-r4.ebuild b/dev-util/rr/rr-5.6.0-r4.ebuild index 559533e754a6..94f4fd0f66d1 100644 --- a/dev-util/rr/rr-5.6.0-r4.ebuild +++ b/dev-util/rr/rr-5.6.0-r4.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${ LICENSE="MIT BSD-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" IUSE="multilib test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: 42256835f74c6385d941e262dcdbfa816af5f01e Author: Sam James gentoo org> AuthorDate: Wed Apr 12 07:56:26 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 12 07:57:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42256835 dev-util/rr: drop epoll_pwait2 backport I only chucked it in because I (wrongly) thought it was needed for the GCC 13 workaround to cleanly apply, but it isn't. I was just confused by the spelling commit thing. We could keep this but as jubalh points out, there's a bunch of subsequent commits that fixup and enhance epoll_pwait2 support, so let's just leave it for now & drop it. I've also asked upstream if there's a release forthcoming & such, so let's see what happens with that. Bug: https://github.com/rr-debugger/rr/issues/3494 Fixes: f5e0ac5711c94279073106adf04977cb07db37c7 Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch | 78 -- .../rr/{rr-5.6.0-r3.ebuild => rr-5.6.0-r4.ebuild} | 1 - 2 files changed, 79 deletions(-) diff --git a/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch b/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch deleted file mode 100644 index 02d90d36e7dc.. --- a/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch +++ /dev/null @@ -1,78 +0,0 @@ -https://github.com/rr-debugger/rr/commit/7d1b31dd76d18e9e810455f4abd804e76b0a6c1f - -From 7d1b31dd76d18e9e810455f4abd804e76b0a6c1f Mon Sep 17 00:00:00 2001 -From: Robert O'Callahan -Date: Sun, 26 Mar 2023 23:52:44 +1300 -Subject: [PATCH] Support epoll_pwait2 - -Resolves #3462 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -933,6 +933,7 @@ set(BASIC_TESTS - epoll_edge - epoll_many - epoll_pwait_eintr_sigmask -+ epoll_pwait2 - eventfd - exec_flags - exec_no_env a/src/record_syscall.cc -+++ b/src/record_syscall.cc -@@ -4841,6 +4841,7 @@ static Switchable rec_prepare_syscall_arch(RecordTask* t, - sizeof(typename Arch::epoll_event))); - return ALLOW_SWITCH; - -+case Arch::epoll_pwait2: - case Arch::epoll_pwait: { - syscall_state.reg_parameter( - 2, ParamSize::from_syscall_result(sizeof(typename Arch::epoll_event) * regs.arg3_signed(), a/src/syscalls.py -+++ b/src/syscalls.py -@@ -1729,7 +1729,7 @@ def __init__(self, **kwargs): - openat2 = UnsupportedSyscall(x86=437, x64=437, generic=437) - pidfd_getfd = UnsupportedSyscall(x86=438, x64=438, generic=438) - process_madvise = UnsupportedSyscall(x86=440, x64=440, generic=440) --epoll_pwait2 = UnsupportedSyscall(x86=441, x64=441, generic=441) -+epoll_pwait2 = IrregularEmulatedSyscall(x86=441, x64=441, generic=441) - mount_setattr = UnsupportedSyscall(x86=442, x64=442, generic=442) - quotactl_fd = UnsupportedSyscall(x86=443, x64=443, generic=443) - landlock_create_ruleset = UnsupportedSyscall(x86=444, x64=444, generic=444) /dev/null -+++ b/src/test/epoll_pwait2.c -@@ -0,0 +1,35 @@ -+/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ -+ -+#include "util.h" -+ -+static void handle_sig(__attribute__((unused)) int sig) { -+ /* Don't do anything, just go through the signal handler motions */ -+} -+ -+int main(void) { -+ int pipe_fd[2]; -+ int epfd; -+ struct timespec ts = { 5, 0 }; -+ struct epoll_event ev; -+ sigset_t sigmask; -+ sigemptyset(); -+ sigaddset(, SIGCHLD); -+ -+ signal(SIGALRM, handle_sig); -+ -+ test_assert(0 == pipe(pipe_fd)); -+ test_assert(0 <= (epfd = epoll_create(1 /*num events*/))); -+ -+ ev.events = EPOLLIN; -+ ev.data.fd = pipe_fd[0]; -+ test_assert(0 == epoll_ctl(epfd, EPOLL_CTL_ADD, ev.data.fd, )); -+ -+ // Make sure something will wake us from the epoll_pwait2. -+ alarm(1); -+ // But also use the epoll_pwait to modify the signal mask. -+ epoll_pwait2(epfd, , 1, , ); -+ test_assert(errno == EINTR || errno == ENOSYS); -+ -+ atomic_puts("EXIT-SUCCESS"); -+ return 0; -+} - diff --git a/dev-util/rr/rr-5.6.0-r3.ebuild b/dev-util/rr/rr-5.6.0-r4.ebuild similarity index 97% rename from dev-util/rr/rr-5.6.0-r3.ebuild rename to dev-util/rr/rr-5.6.0-r4.ebuild index bdd724733aaa..559533e754a6 100644 --- a/dev-util/rr/rr-5.6.0-r3.ebuild +++ b/dev-util/rr/rr-5.6.0-r4.ebuild @@ -47,7 +47,6 @@ PATCHES=( "${FILESDIR}"/${P}-linux-headers-6.0.patch "${FILESDIR}"/${P}-tests-clang16.patch "${FILESDIR}"/${P}-gcc13.patch - "${FILESDIR}"/${P}-epoll_pwait2.patch "${FILESDIR}"/${P}-gcc13-workaround.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: f5e0ac5711c94279073106adf04977cb07db37c7 Author: Sam James gentoo org> AuthorDate: Wed Apr 12 06:25:18 2023 + Commit: Sam James gentoo org> CommitDate: Wed Apr 12 06:26:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e0ac57 dev-util/rr: backport gcc 13 workaround; add epoll_pwait2 support Only really doing the epoll_pwait2 bit because it touches the same files as the gcc 13 workaround. Closes: https://bugs.gentoo.org/897874 Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch | 78 dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch | 222 ++ dev-util/rr/rr-5.6.0-r3.ebuild| 89 + 3 files changed, 389 insertions(+) diff --git a/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch b/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch new file mode 100644 index ..02d90d36e7dc --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-epoll_pwait2.patch @@ -0,0 +1,78 @@ +https://github.com/rr-debugger/rr/commit/7d1b31dd76d18e9e810455f4abd804e76b0a6c1f + +From 7d1b31dd76d18e9e810455f4abd804e76b0a6c1f Mon Sep 17 00:00:00 2001 +From: Robert O'Callahan +Date: Sun, 26 Mar 2023 23:52:44 +1300 +Subject: [PATCH] Support epoll_pwait2 + +Resolves #3462 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -933,6 +933,7 @@ set(BASIC_TESTS + epoll_edge + epoll_many + epoll_pwait_eintr_sigmask ++ epoll_pwait2 + eventfd + exec_flags + exec_no_env +--- a/src/record_syscall.cc b/src/record_syscall.cc +@@ -4841,6 +4841,7 @@ static Switchable rec_prepare_syscall_arch(RecordTask* t, + sizeof(typename Arch::epoll_event))); + return ALLOW_SWITCH; + ++case Arch::epoll_pwait2: + case Arch::epoll_pwait: { + syscall_state.reg_parameter( + 2, ParamSize::from_syscall_result(sizeof(typename Arch::epoll_event) * regs.arg3_signed(), +--- a/src/syscalls.py b/src/syscalls.py +@@ -1729,7 +1729,7 @@ def __init__(self, **kwargs): + openat2 = UnsupportedSyscall(x86=437, x64=437, generic=437) + pidfd_getfd = UnsupportedSyscall(x86=438, x64=438, generic=438) + process_madvise = UnsupportedSyscall(x86=440, x64=440, generic=440) +-epoll_pwait2 = UnsupportedSyscall(x86=441, x64=441, generic=441) ++epoll_pwait2 = IrregularEmulatedSyscall(x86=441, x64=441, generic=441) + mount_setattr = UnsupportedSyscall(x86=442, x64=442, generic=442) + quotactl_fd = UnsupportedSyscall(x86=443, x64=443, generic=443) + landlock_create_ruleset = UnsupportedSyscall(x86=444, x64=444, generic=444) +--- /dev/null b/src/test/epoll_pwait2.c +@@ -0,0 +1,35 @@ ++/* -*- Mode: C; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ ++ ++#include "util.h" ++ ++static void handle_sig(__attribute__((unused)) int sig) { ++ /* Don't do anything, just go through the signal handler motions */ ++} ++ ++int main(void) { ++ int pipe_fd[2]; ++ int epfd; ++ struct timespec ts = { 5, 0 }; ++ struct epoll_event ev; ++ sigset_t sigmask; ++ sigemptyset(); ++ sigaddset(, SIGCHLD); ++ ++ signal(SIGALRM, handle_sig); ++ ++ test_assert(0 == pipe(pipe_fd)); ++ test_assert(0 <= (epfd = epoll_create(1 /*num events*/))); ++ ++ ev.events = EPOLLIN; ++ ev.data.fd = pipe_fd[0]; ++ test_assert(0 == epoll_ctl(epfd, EPOLL_CTL_ADD, ev.data.fd, )); ++ ++ // Make sure something will wake us from the epoll_pwait2. ++ alarm(1); ++ // But also use the epoll_pwait to modify the signal mask. ++ epoll_pwait2(epfd, , 1, , ); ++ test_assert(errno == EINTR || errno == ENOSYS); ++ ++ atomic_puts("EXIT-SUCCESS"); ++ return 0; ++} + diff --git a/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch b/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch new file mode 100644 index ..30dad8d9fa20 --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-gcc13-workaround.patch @@ -0,0 +1,222 @@ +https://bugs.gentoo.org/897874 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109420 +https://github.com/rr-debugger/rr/issues/3485 +https://github.com/rr-debugger/rr/commit/e32502d00b18a5225d3b7fbab75fb1e63cb367d2 + +From e32502d00b18a5225d3b7fbab75fb1e63cb367d2 Mon Sep 17 00:00:00 2001 +From: Robert O'Callahan +Date: Wed, 5 Apr 2023 08:15:23 +1200 +Subject: [PATCH] Avoid having type members and enum members of `Arch` with the + same name + +Resolves #3485 +--- a/src/kernel_abi.h b/src/kernel_abi.h +@@ -1282,7 +1282,7 @@ struct BaseArch : public wordsize, + }; + RR_VERIFY_TYPE_EXPLICIT(struct ::timezone, timezone); + +- struct statfs { ++ struct statfs_t { + __statfs_word f_type; + __statfs_word f_bsize; + __statfs_word f_blocks; +@@ -1298,9 +1298,9 @@ struct BaseArch : public wordsize, + __statfs_word f_flags; + __statfs_word f_spare[4]; + }; +- RR_VERIFY_TYPE_EXPLICIT(struct ::statfs, statfs); ++ RR_VERIFY_TYPE_EXPLICIT(struct ::statfs, statfs_t); + +- struct statfs64 { ++ struct statfs64_t { + __statfs_word f_type; + __statfs_word f_bsize; +
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: c475a15534e162c894808eabb0d5d7f85d1efd16 Author: Sam James gentoo org> AuthorDate: Sat Jan 21 18:24:17 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jan 21 20:41:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c475a155 dev-util/rr: fix build w/ gcc 13 Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.6.0-gcc13.patch | 32 dev-util/rr/rr-5.6.0-r2.ebuild | 1 + 2 files changed, 33 insertions(+) diff --git a/dev-util/rr/files/rr-5.6.0-gcc13.patch b/dev-util/rr/files/rr-5.6.0-gcc13.patch new file mode 100644 index ..41092a958dd7 --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-gcc13.patch @@ -0,0 +1,32 @@ +https://github.com/rr-debugger/rr/commit/2248c85c424e8c257ca88af2732782574d6a3544 + +From 2248c85c424e8c257ca88af2732782574d6a3544 Mon Sep 17 00:00:00 2001 +From: William Cohen +Date: Wed, 18 Jan 2023 12:15:04 -0500 +Subject: [PATCH] Explicitly include where required. + +The uint8_t and uintptr_t ptr types are from the header . +Earlier versions of gcc appear to declare them even if the header +is not included, but gcc-13 does not. Explicitly including the +header to allow compilations with gcc-13. +--- a/src/log.h b/src/log.h +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + /** + * Print siginfo on ostream. +--- a/src/remote_ptr.h b/src/remote_ptr.h +@@ -5,6 +5,7 @@ + + #include + #include ++#include + + namespace rr { + + diff --git a/dev-util/rr/rr-5.6.0-r2.ebuild b/dev-util/rr/rr-5.6.0-r2.ebuild index e8ea3b984e22..27ec0c68e8a2 100644 --- a/dev-util/rr/rr-5.6.0-r2.ebuild +++ b/dev-util/rr/rr-5.6.0-r2.ebuild @@ -46,6 +46,7 @@ RESTRICT="test" # toolchain and kernel version dependent PATCHES=( "${FILESDIR}"/${P}-linux-headers-6.0.patch "${FILESDIR}"/${P}-tests-clang16.patch + "${FILESDIR}"/${P}-gcc13.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: ca1e2cc59f189e2ec43a84c89788de843c9daf3c Author: Sam James gentoo org> AuthorDate: Tue Jan 10 04:28:31 2023 + Commit: Sam James gentoo org> CommitDate: Tue Jan 10 04:32:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1e2cc5 dev-util/rr: drop 5.6.0 Signed-off-by: Sam James gentoo.org> dev-util/rr/rr-5.6.0.ebuild | 73 - 1 file changed, 73 deletions(-) diff --git a/dev-util/rr/rr-5.6.0.ebuild b/dev-util/rr/rr-5.6.0.ebuild deleted file mode 100644 index 411c859c27a3.. --- a/dev-util/rr/rr-5.6.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) -CMAKE_BUILD_TYPE=Release - -inherit cmake linux-info python-single-r1 - -DESCRIPTION="Record and Replay Framework" -HOMEPAGE="https://rr-project.org/; -SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" - -LICENSE="MIT BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="multilib test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - sys-libs/zlib:= - dev-libs/capnproto:= - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-devel/gdb[xml]" -# Add all the deps needed only at build/test time. -DEPEND+=" - test? ( - $(python_gen_cond_dep ' - dev-python/pexpect[${PYTHON_USEDEP}] - ') - sys-devel/gdb[xml] - )" - -QA_FLAGS_IGNORED=" - usr/lib.*/rr/librrpage.so - usr/lib.*/rr/librrpage_32.so -" - -RESTRICT="test" # toolchain and kernel version dependent - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 00c44198aaa36a78b9f35f41d68baad8aea6caa8 Author: Sam James gentoo org> AuthorDate: Tue Jan 10 04:32:01 2023 + Commit: Sam James gentoo org> CommitDate: Tue Jan 10 04:32:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c44198 dev-util/rr: enable py3.11, fix rr-collect-symbols.py shebang Signed-off-by: Sam James gentoo.org> dev-util/rr/{rr-5.6.0-r1.ebuild => rr-5.6.0-r2.ebuild} | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dev-util/rr/rr-5.6.0-r1.ebuild b/dev-util/rr/rr-5.6.0-r2.ebuild similarity index 89% rename from dev-util/rr/rr-5.6.0-r1.ebuild rename to dev-util/rr/rr-5.6.0-r2.ebuild index 3092495a06e7..5b243d13e78c 100644 --- a/dev-util/rr/rr-5.6.0-r1.ebuild +++ b/dev-util/rr/rr-5.6.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8..11} ) CMAKE_BUILD_TYPE=Release inherit cmake linux-info python-single-r1 @@ -79,3 +79,8 @@ src_configure() { cmake_src_configure } + +src_install() { + cmake_src_install + python_fix_shebang "${ED}"/usr/bin/rr-collect-symbols.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: 8e01b6d92642b831beab864edaa9ca31ff49fdb7 Author: Sam James gentoo org> AuthorDate: Mon Dec 5 03:57:22 2022 + Commit: Sam James gentoo org> CommitDate: Mon Dec 5 03:57:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e01b6d9 dev-util/rr: fix tests w/ clang 16 Tests are restricted right now but I've seen the patch so I may as well throw it in, especially given upstream releases are infrequent. Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.6.0-tests-clang16.patch | 19 +++ dev-util/rr/rr-5.6.0-r1.ebuild | 1 + 2 files changed, 20 insertions(+) diff --git a/dev-util/rr/files/rr-5.6.0-tests-clang16.patch b/dev-util/rr/files/rr-5.6.0-tests-clang16.patch new file mode 100644 index ..8262b10817d4 --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-tests-clang16.patch @@ -0,0 +1,19 @@ +https://github.com/rr-debugger/rr/commit/548fab2071054cb7e906c53930b6fab19316dd61 + +From 548fab2071054cb7e906c53930b6fab19316dd61 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Sat, 3 Dec 2022 12:44:48 +0100 +Subject: [PATCH] test: Include in util.h + +The mount_ns_exec test needs it to call the mount function. +--- a/src/test/util.h b/src/test/util.h +@@ -80,6 +80,7 @@ + #include + #include + #include ++#include + #include + #include + #include + diff --git a/dev-util/rr/rr-5.6.0-r1.ebuild b/dev-util/rr/rr-5.6.0-r1.ebuild index 096ff7b1f8c8..3092495a06e7 100644 --- a/dev-util/rr/rr-5.6.0-r1.ebuild +++ b/dev-util/rr/rr-5.6.0-r1.ebuild @@ -45,6 +45,7 @@ RESTRICT="test" # toolchain and kernel version dependent PATCHES=( "${FILESDIR}"/${P}-linux-headers-6.0.patch + "${FILESDIR}"/${P}-tests-clang16.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: 68931941b28cdeebc2e0b6e9624584652b69ba92 Author: Sam James gentoo org> AuthorDate: Mon Oct 17 21:43:20 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 21:43:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68931941 dev-util/rr: fix build with linux-headers-6.0 Revbump given the nature of rr & possible runtime breakage. Closes: https://bugs.gentoo.org/877157 Signed-off-by: Sam James gentoo.org> dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch | 62 + dev-util/rr/rr-5.6.0-r1.ebuild | 80 ++ 2 files changed, 142 insertions(+) diff --git a/dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch b/dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch new file mode 100644 index ..36a911bcbece --- /dev/null +++ b/dev-util/rr/files/rr-5.6.0-linux-headers-6.0.patch @@ -0,0 +1,62 @@ +https://github.com/rr-debugger/rr/commit/2979c60ef8bbf7c940afd90172ddc5d8863f766e +https://github.com/rr-debugger/rr/issues/3369 +https://bugs.gentoo.org/877157 + +From 2979c60ef8bbf7c940afd90172ddc5d8863f766e Mon Sep 17 00:00:00 2001 +From: Robert O'Callahan +Date: Thu, 25 Aug 2022 20:40:59 +1200 +Subject: [PATCH] Avoid creating a struct with elements after + ethtool_sset_info's variable-length-array. + +Resolves #3369 +--- a/src/record_syscall.cc b/src/record_syscall.cc +@@ -1450,17 +1450,17 @@ template void get_ethtool_gstrings_arch(RecordTask* t) { + AutoRemoteSyscalls remote(t); + + // Do a ETHTOOL_GSSET_INFO to get the number of strings +- struct SingleStringSet { +-ethtool_sset_info et; +-uint32_t data; +- }; +- SingleStringSet sss; +- sss.et.cmd = ETHTOOL_GSSET_INFO; +- sss.et.reserved = 0; +- sss.et.sset_mask = 1 << et_gstrings.string_set; +- AutoRestoreMem sss_mem(remote, , sizeof(sss)); +- +- ifreq.ifr_ifru.ifru_data = sss_mem.get(); ++ ethtool_sset_info et; ++ et.cmd = ETHTOOL_GSSET_INFO; ++ et.reserved = 0; ++ et.sset_mask = 1 << et_gstrings.string_set; ++ std::vector buffer; ++ buffer.resize(sizeof(et) + sizeof(uint32_t)); ++ memcpy(buffer.data(), , sizeof(et)); ++ memset(buffer.data() + sizeof(et), 0, sizeof(uint32_t)); ++ AutoRestoreMem et_mem(remote, buffer.data(), buffer.size()); ++ ++ ifreq.ifr_ifru.ifru_data = et_mem.get(); + AutoRestoreMem ifr_mem(remote, , sizeof(ifreq)); + + long ret = remote.syscall(regs.original_syscallno(), regs.arg1(), +@@ -1470,8 +1470,7 @@ template void get_ethtool_gstrings_arch(RecordTask* t) { + return; + } + +- sss = t->read_mem(sss_mem.get().cast()); +- ++ uint32_t data = t->read_mem((et_mem.get() + sizeof(et)).cast()); + // Now do the ETHTOOL_GSTRINGS call + ret = remote.syscall(regs.original_syscallno(), regs.arg1(), SIOCETHTOOL, + regs.arg3()); +@@ -1479,7 +1478,7 @@ template void get_ethtool_gstrings_arch(RecordTask* t) { + if (ret < 0) { + return; + } +- t->record_remote(orig_gstrings, sizeof(ethtool_gstrings) + ETH_GSTRING_LEN*sss.data); ++ t->record_remote(orig_gstrings, sizeof(ethtool_gstrings) + ETH_GSTRING_LEN*data); + } + + static void get_ethtool_gstrings(RecordTask* t) { + diff --git a/dev-util/rr/rr-5.6.0-r1.ebuild b/dev-util/rr/rr-5.6.0-r1.ebuild new file mode 100644 index ..096ff7b1f8c8 --- /dev/null +++ b/dev-util/rr/rr-5.6.0-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + dev-libs/capnproto:= + sys-libs/zlib:= +" +RDEPEND=" + ${DEPEND} + sys-devel/gdb[xml] +" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + ') + sys-devel/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}"/${P}-linux-headers-6.0.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 + +
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: a9efb48120d9055abda7ec7fb89b59679f718714 Author: Sam James gentoo org> AuthorDate: Mon Oct 17 21:14:25 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 21:43:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9efb481 dev-util/rr: update upstream metadata Signed-off-by: Sam James gentoo.org> dev-util/rr/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/metadata.xml b/dev-util/rr/metadata.xml index 873579e9b8df..dc95c45f1987 100644 --- a/dev-util/rr/metadata.xml +++ b/dev-util/rr/metadata.xml @@ -10,6 +10,6 @@ Luca Barbato - mozilla/rr + rr-debugger/rr
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 398d04523712b2ee7a90c6f809d5ecf1f05be091 Author: Sam James gentoo org> AuthorDate: Mon Oct 17 21:14:06 2022 + Commit: Sam James gentoo org> CommitDate: Mon Oct 17 21:43:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398d0452 dev-util/rr: drop 5.5.0 Signed-off-by: Sam James gentoo.org> dev-util/rr/Manifest| 1 - dev-util/rr/rr-5.5.0.ebuild | 68 - 2 files changed, 69 deletions(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index fc0bd80be157..a42888a658a6 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1 @@ -DIST mozilla-rr-5.5.0.tar.gz 1477110 BLAKE2B d37162ef68b20f1ce7878c338f480e6e1ba1850e37d2c6728705b3ab8791897bfc238c950fd5f318dc2ba0be0df04571888092418b227e396c2c524121ad8345 SHA512 4101de8ccf46533e5fc8e72f99bff39253a40543510d9bc9a611ed0909efcd45a050244994a9ebc878d1c6d0af548ec7e2879d1e737f6455db732f75175ab497 DIST mozilla-rr-5.6.0.tar.gz 1579320 BLAKE2B 14ea99c4486c72db844b5cad3f0c300d7bf5d49449e7080ed0484f89022be6d9b7f81b3808b65f59028a5256a6b3f6508729d5b7e8f3f45d8353ceb7ae2a577a SHA512 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7 diff --git a/dev-util/rr/rr-5.5.0.ebuild b/dev-util/rr/rr-5.5.0.ebuild deleted file mode 100644 index 73cc6777d148.. --- a/dev-util/rr/rr-5.5.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) -CMAKE_BUILD_TYPE=Release - -inherit cmake linux-info python-single-r1 - -DESCRIPTION="Record and Replay Framework" -HOMEPAGE="https://rr-project.org/; -SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" - -LICENSE="MIT BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="multilib test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - sys-libs/zlib:= - dev-libs/capnproto:= - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-devel/gdb[xml]" -# Add all the deps needed only at build/test time. -DEPEND+=" - test? ( - $(python_gen_cond_dep ' - dev-python/pexpect[${PYTHON_USEDEP}] - ') - sys-devel/gdb[xml] - )" - -RESTRICT="test" # toolchain and kernel version dependent - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 1537505fa7f3949e465addce86b1e77af9075a2a Author: Luca Barbato gentoo org> AuthorDate: Sat Aug 20 13:25:53 2022 + Commit: Luca Barbato gentoo org> CommitDate: Sat Aug 20 13:29:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1537505f dev-util/rr: Mark librrpage as QA_FLAGS_IGNORED Closes: https://bugs.gentoo.org/815127 Signed-off-by: Luca Barbato gentoo.org> dev-util/rr/rr-5.6.0.ebuild | 5 + 1 file changed, 5 insertions(+) diff --git a/dev-util/rr/rr-5.6.0.ebuild b/dev-util/rr/rr-5.6.0.ebuild index 71b981ee54e2..411c859c27a3 100644 --- a/dev-util/rr/rr-5.6.0.ebuild +++ b/dev-util/rr/rr-5.6.0.ebuild @@ -33,6 +33,11 @@ DEPEND+=" sys-devel/gdb[xml] )" +QA_FLAGS_IGNORED=" + usr/lib.*/rr/librrpage.so + usr/lib.*/rr/librrpage_32.so +" + RESTRICT="test" # toolchain and kernel version dependent pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 519f92d8849d49ed7a6bd58e6f9e01bc1ca71d90 Author: Luca Barbato gentoo org> AuthorDate: Sun Aug 14 08:01:22 2022 + Commit: Luca Barbato gentoo org> CommitDate: Sun Aug 14 08:04:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519f92d8 dev-util/rr: add 5.6.0 Signed-off-by: Luca Barbato gentoo.org> dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.6.0.ebuild | 68 + 2 files changed, 69 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 58904e361e41..fc0bd80be157 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-5.5.0.tar.gz 1477110 BLAKE2B d37162ef68b20f1ce7878c338f480e6e1ba1850e37d2c6728705b3ab8791897bfc238c950fd5f318dc2ba0be0df04571888092418b227e396c2c524121ad8345 SHA512 4101de8ccf46533e5fc8e72f99bff39253a40543510d9bc9a611ed0909efcd45a050244994a9ebc878d1c6d0af548ec7e2879d1e737f6455db732f75175ab497 +DIST mozilla-rr-5.6.0.tar.gz 1579320 BLAKE2B 14ea99c4486c72db844b5cad3f0c300d7bf5d49449e7080ed0484f89022be6d9b7f81b3808b65f59028a5256a6b3f6508729d5b7e8f3f45d8353ceb7ae2a577a SHA512 4b5ef65b6c6a4b62fc72949b4541aaf608f6133ea0b6c2e529a8eed725e6a0b5186f20ed60b210821e6929410e1f21723840eacfdc85bf12c87703e7ebf5f9a7 diff --git a/dev-util/rr/rr-5.6.0.ebuild b/dev-util/rr/rr-5.6.0.ebuild new file mode 100644 index ..71b981ee54e2 --- /dev/null +++ b/dev-util/rr/rr-5.6.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/rr-debugger/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib:= + dev-libs/capnproto:= + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_USEDEP}] + ') + sys-devel/gdb[xml] + )" + +RESTRICT="test" # toolchain and kernel version dependent + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: e446106b37eda50346bc75b13b4df1152f238a4a Author: Luca Barbato gentoo org> AuthorDate: Mon Sep 27 08:31:22 2021 + Commit: Luca Barbato gentoo org> CommitDate: Mon Sep 27 08:54:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e446106b dev-util/rr: Version bump Lots of bugfixes, it might work on the most modern aarch64 and some more AMD cpus with some additional setup. Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Luca Barbato gentoo.org> dev-util/rr/Manifest | 2 +- dev-util/rr/{rr-5.4.0.ebuild => rr-5.5.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 1026fffd6ad..58904e361e4 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1 @@ -DIST mozilla-rr-5.4.0.tar.gz 1434820 BLAKE2B 8454304fa2ddf85fcd385d3d4e72b8963dc0f6804bf572db31654cdf5bfc8a3afd050380fe34d280264114467e9b973866384d75d6f8b7078affd51064e9f597 SHA512 69b029a29cf3c147f033ff4c1c67c6190f5163b4f7329306e5f0ccfe78cae4b6ae262602253772e83d5a55408c5a4d121e5a9b3530779de74adc34b81e2592c8 +DIST mozilla-rr-5.5.0.tar.gz 1477110 BLAKE2B d37162ef68b20f1ce7878c338f480e6e1ba1850e37d2c6728705b3ab8791897bfc238c950fd5f318dc2ba0be0df04571888092418b227e396c2c524121ad8345 SHA512 4101de8ccf46533e5fc8e72f99bff39253a40543510d9bc9a611ed0909efcd45a050244994a9ebc878d1c6d0af548ec7e2879d1e737f6455db732f75175ab497 diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.5.0.ebuild similarity index 100% rename from dev-util/rr/rr-5.4.0.ebuild rename to dev-util/rr/rr-5.5.0.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 2cc7884f83ce06890792c190c1e9c08588bb1c7e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat May 15 13:45:25 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 15 13:58:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc7884f dev-util/rr: allow python-3.10 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.4.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.4.0.ebuild index 7b2f866569b..1911dcc648a 100644 --- a/dev-util/rr/rr-5.4.0.ebuild +++ b/dev-util/rr/rr-5.4.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10} ) CMAKE_BUILD_TYPE=Release inherit cmake linux-info python-single-r1
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 93c91a3b1531745594b7c42ca02e06096227d9a3 Author: Sam James gentoo org> AuthorDate: Mon Feb 1 16:30:17 2021 + Commit: Sam James gentoo org> CommitDate: Mon Feb 1 16:32:14 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c91a3b dev-util/rr: retire mudler@ Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-util/rr/metadata.xml | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-util/rr/metadata.xml b/dev-util/rr/metadata.xml index 4c3360d0637..642ca0c4ef1 100644 --- a/dev-util/rr/metadata.xml +++ b/dev-util/rr/metadata.xml @@ -1,4 +1,4 @@ - + http://www.gentoo.org/dtd/metadata.dtd;> @@ -9,10 +9,6 @@ lu_z...@gentoo.org Luca Barbato - - mud...@gentoo.org - Ettore Di Giacinto - mozilla/rr
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 835b60c6c6428849db6b99ae04736feb367d5c43 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 10 23:40:34 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 10 23:48:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=835b60c6 dev-util/rr: allow python-3.9 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.4.0.ebuild index e46b29249fe..c6945c27887 100644 --- a/dev-util/rr/rr-5.4.0.ebuild +++ b/dev-util/rr/rr-5.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) CMAKE_BUILD_TYPE=Release inherit cmake linux-info python-single-r1
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 486be1c387158ab5b2d7733503991668c81718cc Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Nov 2 08:36:08 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Nov 2 10:20:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486be1c3 dev-util/rr: drop old Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/Manifest | 1 - dev-util/rr/rr-5.3.0-r2.ebuild | 68 -- 2 files changed, 69 deletions(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index e4a3bb12f97..1026fffd6ad 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1 @@ -DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad SHA512 6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b DIST mozilla-rr-5.4.0.tar.gz 1434820 BLAKE2B 8454304fa2ddf85fcd385d3d4e72b8963dc0f6804bf572db31654cdf5bfc8a3afd050380fe34d280264114467e9b973866384d75d6f8b7078affd51064e9f597 SHA512 69b029a29cf3c147f033ff4c1c67c6190f5163b4f7329306e5f0ccfe78cae4b6ae262602253772e83d5a55408c5a4d121e5a9b3530779de74adc34b81e2592c8 diff --git a/dev-util/rr/rr-5.3.0-r2.ebuild b/dev-util/rr/rr-5.3.0-r2.ebuild deleted file mode 100644 index e46b29249fe..000 --- a/dev-util/rr/rr-5.3.0-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -CMAKE_BUILD_TYPE=Release - -inherit cmake linux-info python-single-r1 - -DESCRIPTION="Record and Replay Framework" -HOMEPAGE="https://rr-project.org/; -SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" - -LICENSE="MIT BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="multilib test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - sys-libs/zlib:= - dev-libs/capnproto:= - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-devel/gdb[xml]" -# Add all the deps needed only at build/test time. -DEPEND+=" - test? ( - $(python_gen_cond_dep ' - dev-python/pexpect[${PYTHON_MULTI_USEDEP}] - ') - sys-devel/gdb[xml] - )" - -RESTRICT="test" # toolchain and kernel version dependent - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 98e1ae8d190da19e52676156d08596551a5603bd Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Oct 30 23:18:43 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Oct 30 23:19:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e1ae8d dev-util/rr: bump up to 5.4.0 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.4.0.ebuild | 68 + 2 files changed, 69 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 7d7681e7438..e4a3bb12f97 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad SHA512 6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b +DIST mozilla-rr-5.4.0.tar.gz 1434820 BLAKE2B 8454304fa2ddf85fcd385d3d4e72b8963dc0f6804bf572db31654cdf5bfc8a3afd050380fe34d280264114467e9b973866384d75d6f8b7078affd51064e9f597 SHA512 69b029a29cf3c147f033ff4c1c67c6190f5163b4f7329306e5f0ccfe78cae4b6ae262602253772e83d5a55408c5a4d121e5a9b3530779de74adc34b81e2592c8 diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.4.0.ebuild new file mode 100644 index 000..e46b29249fe --- /dev/null +++ b/dev-util/rr/rr-5.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib:= + dev-libs/capnproto:= + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_MULTI_USEDEP}] + ') + sys-devel/gdb[xml] + )" + +RESTRICT="test" # toolchain and kernel version dependent + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 8a2eeb2817801da65ef267eb67d44e6b9cd88491 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Oct 1 21:44:17 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Oct 1 21:49:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2eeb28 dev-util/rr: bind to library subslots Reported-by: Kent Fredric Closes: https://bugs.gentoo.org/745801 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/{rr-5.3.0-r1.ebuild => rr-5.3.0-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/rr/rr-5.3.0-r1.ebuild b/dev-util/rr/rr-5.3.0-r2.ebuild similarity index 97% rename from dev-util/rr/rr-5.3.0-r1.ebuild rename to dev-util/rr/rr-5.3.0-r2.ebuild index 792f4f9768e..a6c39d9625b 100644 --- a/dev-util/rr/rr-5.3.0-r1.ebuild +++ b/dev-util/rr/rr-5.3.0-r2.ebuild @@ -19,8 +19,8 @@ IUSE="multilib test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND=" - sys-libs/zlib - dev-libs/capnproto + sys-libs/zlib:= + dev-libs/capnproto:= ${PYTHON_DEPS}" RDEPEND="${DEPEND} sys-devel/gdb[xml]"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 41397061c6b11b25c2d2b812f290196c99506a51 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Oct 1 21:49:01 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Oct 1 21:49:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41397061 dev-util/rr: switch from cmake-utils to cmake Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.3.0-r2.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-util/rr/rr-5.3.0-r2.ebuild b/dev-util/rr/rr-5.3.0-r2.ebuild index a6c39d9625b..e46b29249fe 100644 --- a/dev-util/rr/rr-5.3.0-r2.ebuild +++ b/dev-util/rr/rr-5.3.0-r2.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) CMAKE_BUILD_TYPE=Release -inherit cmake-utils linux-info python-single-r1 +inherit cmake linux-info python-single-r1 DESCRIPTION="Record and Replay Framework" HOMEPAGE="https://rr-project.org/; @@ -44,7 +44,7 @@ pkg_setup() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare sed -i 's:-Werror::' CMakeLists.txt || die #609192 } @@ -55,7 +55,7 @@ src_test() { return 0 fi - cmake-utils_src_test + cmake_src_test } src_configure() { @@ -64,5 +64,5 @@ src_configure() { -Ddisable32bit=$(usex !multilib) #636786 ) - cmake-utils_src_configure + cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/
commit: 7ecb51009b5824d21c73caf7c62b48d46b651049 Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Apr 10 13:01:55 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 10 14:42:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecb5100 dev-util/rr: remove unused patch(es) Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15289 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/files/rr-5.2.0-c++14.patch | 13 - dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch | 35 dev-util/rr/files/rr-5.2.0-ucontext_t.patch| 65 -- 3 files changed, 113 deletions(-) diff --git a/dev-util/rr/files/rr-5.2.0-c++14.patch b/dev-util/rr/files/rr-5.2.0-c++14.patch deleted file mode 100644 index 8458de5f1e9..000 --- a/dev-util/rr/files/rr-5.2.0-c++14.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0d711f9..756a62e 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -42,7 +42,7 @@ set(FLAGS_COMMON "-msse2 -D__MMX__ -D__SSE__ -D__SSE2__ -D__USE_LARGEFILE64 -pth - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS_COMMON} -Wstrict-prototypes -std=gnu11") - # Define __STDC_LIMIT_MACROS so |#include | works as expected. - # Define __STDC_FORMAT_MACROS so |#include | works as expected. --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS_COMMON} -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -std=c++11") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS_COMMON} -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -std=c++14") - set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -g3") - - set(RR_FLAGS_DEBUG "-Wall -Wextra -O0 -DDEBUG -UNDEBUG") diff --git a/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch b/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch deleted file mode 100644 index 2a6e9daef2f..000 --- a/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://bugs.gentoo.org/699886 - -From 7044c5c6a8e64c737ba3cdb97187ff5c406e5162 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= -Date: Thu, 23 May 2019 23:18:26 +0200 -Subject: [PATCH] Fix build in newer glibc. - -Seems tgkill was added recently to glibc. - -build/32/tgkill.c:7:12: error: static declaration of 'tgkill' follows non-static declaration -static int tgkill(int tgid, int tid, int sig) { - ^ -/usr/include/bits/signal_ext.h:29:12: note: previous declaration is here -extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); - src/test/tgkill.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - a/src/test/tgkill.c -+++ b/src/test/tgkill.c -@@ -4,9 +4,8 @@ - - static int num_signals_caught; - --static int tgkill(int tgid, int tid, int sig) { -- return syscall(SYS_tgkill, tgid, tid, sig); --} -+#define tgkill(tgid, tid, sig) \ -+ syscall(SYS_tgkill, (int)(tgid), (int)(tid), (int)(sig)) - - static void sighandler(int sig) { - atomic_printf("Task %d got signal %d\n", sys_gettid(), sig); --- -2.24.0 - diff --git a/dev-util/rr/files/rr-5.2.0-ucontext_t.patch b/dev-util/rr/files/rr-5.2.0-ucontext_t.patch deleted file mode 100644 index 0015f0b150c..000 --- a/dev-util/rr/files/rr-5.2.0-ucontext_t.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 53c5bd72bae089616a3ca626b8af240481d70e6f Mon Sep 17 00:00:00 2001 -From: Robert O'Callahan -Date: Fri, 10 Aug 2018 15:17:55 +1200 -Subject: [PATCH] Remove ucontext_t/rt_sigframe from kernel-abi - -These were added in 18bb097736a1b728f1e5bfec972ca10f6e763d82 to help us determine -the sigmask effect of rt_sigreturn syscalls, but they're no longer needed -because we query the new mask via /proc instead. - -Resolves #2237 - src/kernel_abi.h | 33 - - 1 file changed, 33 deletions(-) - -diff --git a/src/kernel_abi.h b/src/kernel_abi.h -index e73e49933..29d3c9242 100644 a/src/kernel_abi.h -+++ b/src/kernel_abi.h -@@ -1609,23 +1609,6 @@ struct X86Arch : public BaseArch { - }; - RR_VERIFY_TYPE_ARCH(SupportedArch::x86, ::sigcontext, sigcontext); - -- struct ucontext_t { --uint32_t uc_flags; --uint32_t uc_link; --stack_t uc_stack; --sigcontext uc_mcontext; --kernel_sigset_t uc_sigmask; -- }; -- -- struct rt_sigframe { --uint32_t pretcode; --int sig; --uint32_t pinfo; --uint32_t puc; --siginfo_t info; --struct ucontext_t uc; -- }; -- - struct _fpstate_32 { - uint32_t cw, sw, tag, ipoff, cssel, dataoff, datasel; - uint16_t _st[40]; -@@ -1806,22 +1789,6 @@ struct X64Arch : public BaseArch { - RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, ::user_fpregs_struct, - user_fpregs_struct); - -- struct ucontext_t { --uint64_t ucflags; --ptr uc_link; --stack_t uc_stack; --struct sigcontext uc_mcontext; --sigset_t uc_sigmask; --
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: b022a611b53cc5273c48cc54d892a15a912cc201 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Mar 23 23:52:18 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Mar 23 23:57:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b022a611 dev-util/rr: drop old Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/Manifest | 1 - dev-util/rr/rr-5.2.0-r1.ebuild | 74 -- 2 files changed, 75 deletions(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index ebb74bf6e7c..7d7681e7438 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1 @@ -DIST mozilla-rr-5.2.0.tar.gz 1168734 BLAKE2B 2f15c4ec4a271f930334577e98b14e37d2a0eb7cd3443e7110d3562ac4ef30c310e6448a588f4e31f2943a6d4ff0af006cbbafc50722543436fcae3bdc8e453f SHA512 4465985f67e9812b62b91ac7942105a9f976faf0c0d7c352a99a638fe6bdfde024f939b3daa922d431c7fc87118ae4d9d039b00345760fb547c349e8737dc168 DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad SHA512 6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild deleted file mode 100644 index b60628ad4ee..000 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 ) -CMAKE_BUILD_TYPE=Release - -inherit cmake-utils linux-info python-single-r1 - -DESCRIPTION="Record and Replay Framework" -HOMEPAGE="https://rr-project.org/; -SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" - -LICENSE="MIT BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="multilib test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - sys-libs/zlib - dev-libs/capnproto - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-devel/gdb[xml]" -# Add all the deps needed only at build/test time. -DEPEND+=" - test? ( - $(python_gen_cond_dep ' - dev-python/pexpect[${PYTHON_MULTI_USEDEP}] - ') - sys-devel/gdb[xml] - )" - -RESTRICT="test" # toolchain and kernel version dependent - -PATCHES=( - "${FILESDIR}"/${P}-ucontext_t.patch - "${FILESDIR}"/${P}-c++14.patch - "${FILESDIR}"/${P}-tgkill-glibc-2.30.patch -) - -pkg_setup() { - if use kernel_linux; then - CONFIG_CHECK="SECCOMP" - linux-info_pkg_setup - fi - python-single-r1_pkg_setup -} - -src_prepare() { - cmake-utils_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-utils_src_test -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - -Ddisable32bit=$(usex !multilib) #636786 - ) - - cmake-utils_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 383400c5b2396095f227b0e95a2b0df8604dc8c6 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 7 13:16:16 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 9 16:21:47 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=383400c5 dev-util/rr: Switch to PYTHON_MULTI_USEDEP API Signed-off-by: Michał Górny gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 6 -- dev-util/rr/{rr-5.3.0.ebuild => rr-5.3.0-r1.ebuild} | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index b98223d5136..b60628ad4ee 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -27,7 +27,9 @@ RDEPEND="${DEPEND} # Add all the deps needed only at build/test time. DEPEND+=" test? ( - dev-python/pexpect[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_MULTI_USEDEP}] + ') sys-devel/gdb[xml] )" diff --git a/dev-util/rr/rr-5.3.0.ebuild b/dev-util/rr/rr-5.3.0-r1.ebuild similarity index 94% rename from dev-util/rr/rr-5.3.0.ebuild rename to dev-util/rr/rr-5.3.0-r1.ebuild index 10707860b4a..792f4f9768e 100644 --- a/dev-util/rr/rr-5.3.0.ebuild +++ b/dev-util/rr/rr-5.3.0-r1.ebuild @@ -27,7 +27,9 @@ RDEPEND="${DEPEND} # Add all the deps needed only at build/test time. DEPEND+=" test? ( - dev-python/pexpect[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pexpect[${PYTHON_MULTI_USEDEP}] + ') sys-devel/gdb[xml] )"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: f03398d46c6a338bed37b6f7d1172f7628d67a8b Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Dec 19 22:22:57 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Dec 19 22:25:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03398d4 dev-util/rr: bump up to 5.3.0 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.3.0.ebuild | 66 + 2 files changed, 67 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 34ad1590c2b..ebb74bf6e7c 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-5.2.0.tar.gz 1168734 BLAKE2B 2f15c4ec4a271f930334577e98b14e37d2a0eb7cd3443e7110d3562ac4ef30c310e6448a588f4e31f2943a6d4ff0af006cbbafc50722543436fcae3bdc8e453f SHA512 4465985f67e9812b62b91ac7942105a9f976faf0c0d7c352a99a638fe6bdfde024f939b3daa922d431c7fc87118ae4d9d039b00345760fb547c349e8737dc168 +DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad SHA512 6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b diff --git a/dev-util/rr/rr-5.3.0.ebuild b/dev-util/rr/rr-5.3.0.ebuild new file mode 100644 index 000..c749db45885 --- /dev/null +++ b/dev-util/rr/rr-5.3.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8} ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +RESTRICT="test" # toolchain and kernel version dependent + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_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-utils_src_test +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -Ddisable32bit=$(usex !multilib) #636786 + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: e015ba7525117156c1672ed8af667e242b4dec02 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 12 22:52:06 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 12 22:52:12 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e015ba75 dev-util/rr: RESTRICT=test, bug #632394 Too many tests fail due to specific kernel or toolchain version. Tests are still nice to run to see if anything works at all but are not very useful for regression testing. Closes: https://bugs.gentoo.org/632394 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index b673656cf02..b98223d5136 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -31,7 +31,7 @@ DEPEND+=" sys-devel/gdb[xml] )" -RESTRICT="!test? ( test )" +RESTRICT="test" # toolchain and kernel version dependent PATCHES=( "${FILESDIR}"/${P}-ucontext_t.patch
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 899e40469ea6be6d4b4202a6771ecdffd9264e5c Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 12 22:43:56 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 12 22:45:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899e4046 dev-util/rr: run tests only under FEATURE=-usersandbox rr extensively uses ptrace() to set memory up for replays. sandbox is also using ptrace() extensively. As a result 'rr' can't use ptrace() at all: ``` [FATAL rr-5.2.0-r1/work/rr-5.2.0/src/Task.cc:2239:write_bytes_helper() errno: EIO] (task 967940 (rec:967602) at time 18) -> Assertion `nwritten == buf_size' failed to hold. Should have written 144 bytes to 0x7fff573a98a0, but only wrote -1 ``` Similar to strace test suite allow running tests only under FEATURES=-usersandbox. This makes most tests to start passing for me. Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/632394 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 9 + 1 file changed, 9 insertions(+) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index b621d7b2009..b673656cf02 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -53,6 +53,15 @@ 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-utils_src_test +} + src_configure() { local mycmakeargs=( -DBUILD_TESTS=$(usex test)
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: 19ea6e50e8dfbdc76287fae73a75add53c08c391 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 12 07:53:07 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 12 07:53:21 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ea6e50 dev-util/rr: tweak build for glibc-2.30, bug #699886 The build failed as: ``` tgkill.c:7:12: error: static declaration of ‘tgkill’ follows non-static declaration 7 | static int tgkill(int tgid, int tid, int sig) { |^~ ``` Backport upstream glibc-2.30 fix as-is. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/699886 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch | 35 ++ dev-util/rr/rr-5.2.0-r1.ebuild | 1 + 2 files changed, 36 insertions(+) diff --git a/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch b/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch new file mode 100644 index 000..2a6e9daef2f --- /dev/null +++ b/dev-util/rr/files/rr-5.2.0-tgkill-glibc-2.30.patch @@ -0,0 +1,35 @@ +https://bugs.gentoo.org/699886 + +From 7044c5c6a8e64c737ba3cdb97187ff5c406e5162 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= +Date: Thu, 23 May 2019 23:18:26 +0200 +Subject: [PATCH] Fix build in newer glibc. + +Seems tgkill was added recently to glibc. + +build/32/tgkill.c:7:12: error: static declaration of 'tgkill' follows non-static declaration +static int tgkill(int tgid, int tid, int sig) { + ^ +/usr/include/bits/signal_ext.h:29:12: note: previous declaration is here +extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); +--- + src/test/tgkill.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +--- a/src/test/tgkill.c b/src/test/tgkill.c +@@ -4,9 +4,8 @@ + + static int num_signals_caught; + +-static int tgkill(int tgid, int tid, int sig) { +- return syscall(SYS_tgkill, tgid, tid, sig); +-} ++#define tgkill(tgid, tid, sig) \ ++ syscall(SYS_tgkill, (int)(tgid), (int)(tid), (int)(sig)) + + static void sighandler(int sig) { + atomic_printf("Task %d got signal %d\n", sys_gettid(), sig); +-- +2.24.0 + diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index aae1bb6569f..b621d7b2009 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -36,6 +36,7 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}"/${P}-ucontext_t.patch "${FILESDIR}"/${P}-c++14.patch + "${FILESDIR}"/${P}-tgkill-glibc-2.30.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: c96afd0fc3e8ef54dafa32ec75832c684fdccfcc Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Nov 10 20:57:14 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Nov 10 20:57:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96afd0f dev-util/rr: add RESTRICT="!test? ( test )" Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-4.5.0.ebuild| 4 +++- dev-util/rr/rr-5.0.0.ebuild| 4 +++- dev-util/rr/rr-5.1.0.ebuild| 4 +++- dev-util/rr/rr-5.2.0-r1.ebuild | 2 ++ dev-util/rr/rr-5.2.0.ebuild| 4 +++- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 32d5d5d6983..55b04f3fab3 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,8 @@ DEPEND+=" sys-devel/gdb[xml] )" +RESTRICT="!test? ( test )" + PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch ) diff --git a/dev-util/rr/rr-5.0.0.ebuild b/dev-util/rr/rr-5.0.0.ebuild index 330b1821df1..19ae612d07d 100644 --- a/dev-util/rr/rr-5.0.0.ebuild +++ b/dev-util/rr/rr-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,6 +31,8 @@ DEPEND+=" sys-devel/gdb[xml] )" +RESTRICT="!test? ( test )" + #PATCHES=( # "${FILESDIR}"/${P}-sysmacros.patch #) diff --git a/dev-util/rr/rr-5.1.0.ebuild b/dev-util/rr/rr-5.1.0.ebuild index 330b1821df1..19ae612d07d 100644 --- a/dev-util/rr/rr-5.1.0.ebuild +++ b/dev-util/rr/rr-5.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,6 +31,8 @@ DEPEND+=" sys-devel/gdb[xml] )" +RESTRICT="!test? ( test )" + #PATCHES=( # "${FILESDIR}"/${P}-sysmacros.patch #) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index b272d4c8faa..aae1bb6569f 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -31,6 +31,8 @@ DEPEND+=" sys-devel/gdb[xml] )" +RESTRICT="!test? ( test )" + PATCHES=( "${FILESDIR}"/${P}-ucontext_t.patch "${FILESDIR}"/${P}-c++14.patch diff --git a/dev-util/rr/rr-5.2.0.ebuild b/dev-util/rr/rr-5.2.0.ebuild index 8c74d592943..721384938a4 100644 --- a/dev-util/rr/rr-5.2.0.ebuild +++ b/dev-util/rr/rr-5.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,6 +31,8 @@ DEPEND+=" sys-devel/gdb[xml] )" +RESTRICT="!test? ( test )" + PATCHES=( "${FILESDIR}"/${P}-ucontext_t.patch "${FILESDIR}"/${P}-c++14.patch
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/, dev-util/rr/files/
commit: 1970c8483469a84eb94249f30b0423ee298d1bb5 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Nov 10 20:59:51 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Nov 10 20:59:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1970c848 dev-util/rr: drop old Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/Manifest | 3 -- dev-util/rr/files/rr-4.5.0-sysmacros.patch | 28 -- dev-util/rr/rr-4.5.0.ebuild| 59 - dev-util/rr/rr-5.0.0.ebuild| 60 - dev-util/rr/rr-5.1.0.ebuild| 60 - dev-util/rr/rr-5.2.0.ebuild| 61 -- 6 files changed, 271 deletions(-) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index a220ff84724..34ad1590c2b 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,4 +1 @@ -DIST mozilla-rr-4.5.0.tar.gz 683371 BLAKE2B 1654de3811be4eac40ed751b910aed0ddca2100147e47e2e068f625c607964f98d33033c38cdf3a2146284bc477b08299e3432389342e7b058e331f0b924686f SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 -DIST mozilla-rr-5.0.0.tar.gz 1143119 BLAKE2B b08f8ade8856b03fa94057a8c85cfacc0722090ac3f7d1c147a3c4e7c2bbfe58a740711495e88476d90eb02c6e9a5b85078dcb4fcf3ed107ad281dd3dcf8 SHA512 aaec0869e68290d5f7b752d02e89fc4f83dd2fce4abf91b36c006eeec97555b7adc69da311eadd48c9891599245305b585ed1a53580f7c616dba401f1592c5f2 -DIST mozilla-rr-5.1.0.tar.gz 1158274 BLAKE2B f150e9d05b0a6a32c818f968879d0a394beb6524469cad905a21024e0d79e229f261c766f17aecbacdb81cf8e7408e62d1fdf8677569de8ed4d882b91f93b83d SHA512 8cb7da20ddb2bfbeaf57d9bca76a3b5495d4bd74a00092c40c948570a2cda3dca6cb1e73ed65af099fe405a4d29ff1a852496baf0fcb6119258443649a65766a DIST mozilla-rr-5.2.0.tar.gz 1168734 BLAKE2B 2f15c4ec4a271f930334577e98b14e37d2a0eb7cd3443e7110d3562ac4ef30c310e6448a588f4e31f2943a6d4ff0af006cbbafc50722543436fcae3bdc8e453f SHA512 4465985f67e9812b62b91ac7942105a9f976faf0c0d7c352a99a638fe6bdfde024f939b3daa922d431c7fc87118ae4d9d039b00345760fb547c349e8737dc168 diff --git a/dev-util/rr/files/rr-4.5.0-sysmacros.patch b/dev-util/rr/files/rr-4.5.0-sysmacros.patch deleted file mode 100644 index 573d5956598..000 --- a/dev-util/rr/files/rr-4.5.0-sysmacros.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/mozilla/rr/pull/1981 - -From fefdb3b89e98192601dfdc98c8927c9a91f07f9f Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Mon, 13 Feb 2017 16:01:52 -0500 -Subject: [PATCH] tests: include sys/sysmacros.h for minor/major funcs - -Newer versions of glibc are deprecating the implicit sys/sysmacros.h -include via sys/types.h, so include it explicitly. - src/test/rrutil.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/test/rrutil.h b/src/test/rrutil.h -index 60de6e47a57b..bb5b527c4c9a 100644 a/src/test/rrutil.h -+++ b/src/test/rrutil.h -@@ -76,6 +76,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.11.0 - diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild deleted file mode 100644 index 55b04f3fab3..000 --- a/dev-util/rr/rr-4.5.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) -CMAKE_BUILD_TYPE=Release - -inherit cmake-utils linux-info python-single-r1 - -DESCRIPTION="Record and Replay Framework" -HOMEPAGE="https://rr-project.org/; -SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" - -LICENSE="MIT BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - sys-libs/zlib - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-devel/gdb[xml]" -# Add all the deps needed only at build/test time. -DEPEND+=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - sys-devel/gdb[xml] - )" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${P}-sysmacros.patch -) - -pkg_setup() { - if use kernel_linux; then - CONFIG_CHECK="SECCOMP" - linux-info_pkg_setup - fi - python-single-r1_pkg_setup -} - -src_prepare() { - cmake-utils_src_prepare - - sed -i 's:-Werror::' CMakeLists.txt || die #609192 -} - -src_configure() { - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - ) - - cmake-utils_src_configure -} diff --git a/dev-util/rr/rr-5.0.0.ebuild b/dev-util/rr/rr-5.0.0.ebuild deleted file mode 100644 index 19ae612d07d..000 --- a/dev-util/rr/rr-5.0.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 8614e881751fb95bf7f47fd000e963e086182e23 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu May 9 22:37:04 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu May 9 22:37:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8614e881 dev-util/rr: restore ~x86 keywords Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild index dd2d726b004..b272d4c8faa 100644 --- a/dev-util/rr/rr-5.2.0-r1.ebuild +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.t LICENSE="MIT BSD-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="multilib test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 711700db3988f31876e62f67fe2a5d6db0614d7c Author: Sergei Trofimovich gentoo org> AuthorDate: Thu May 9 22:25:54 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu May 9 22:26:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711700db dev-util/rr: ass IUSE=multilib, bug #636786 rr has a support to replay both 32-bit and 64-bit binaries on amd64. For that it probes toolchain with -m32 support. On non-multilib profiles -m32 does not work as we don't have 32-bit glibc anf libgcc. Guard the autodetection behing USE=multilib. Reported-by: Alexander Sergeyev Reported-by: Quentin Minster Closes: https://bugs.gentoo.org/636786 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/rr-5.2.0-r1.ebuild | 60 ++ 1 file changed, 60 insertions(+) diff --git a/dev-util/rr/rr-5.2.0-r1.ebuild b/dev-util/rr/rr-5.2.0-r1.ebuild new file mode 100644 index 000..dd2d726b004 --- /dev/null +++ b/dev-util/rr/rr-5.2.0-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="multilib test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +PATCHES=( + "${FILESDIR}"/${P}-ucontext_t.patch + "${FILESDIR}"/${P}-c++14.patch +) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -Ddisable32bit=$(usex !multilib) #636786 + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: f999637bb609dbedac15dfca4a608e7bb199ce59 Author: Dan Robertson dlrobertson com> AuthorDate: Thu Feb 14 15:53:18 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Feb 14 22:48:34 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f999637b dev-util/rr: enable c++14 to fix compilation dev-util/rr-5.2.0 fails to compile if c++14 is not enabled. Add a patch that ensures that c++14 is enabled Signed-off-by: Dan Robertson dlrobertson.com> Closes: https://github.com/gentoo/gentoo/pull/11051 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/files/rr-5.2.0-c++14.patch | 13 + dev-util/rr/rr-5.2.0.ebuild| 1 + 2 files changed, 14 insertions(+) diff --git a/dev-util/rr/files/rr-5.2.0-c++14.patch b/dev-util/rr/files/rr-5.2.0-c++14.patch new file mode 100644 index 000..8458de5f1e9 --- /dev/null +++ b/dev-util/rr/files/rr-5.2.0-c++14.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0d711f9..756a62e 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -42,7 +42,7 @@ set(FLAGS_COMMON "-msse2 -D__MMX__ -D__SSE__ -D__SSE2__ -D__USE_LARGEFILE64 -pth + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAGS_COMMON} -Wstrict-prototypes -std=gnu11") + # Define __STDC_LIMIT_MACROS so |#include | works as expected. + # Define __STDC_FORMAT_MACROS so |#include | works as expected. +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS_COMMON} -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -std=c++11") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${FLAGS_COMMON} -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -std=c++14") + set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -g3") + + set(RR_FLAGS_DEBUG "-Wall -Wextra -O0 -DDEBUG -UNDEBUG") diff --git a/dev-util/rr/rr-5.2.0.ebuild b/dev-util/rr/rr-5.2.0.ebuild index 8a48df5899c..8c74d592943 100644 --- a/dev-util/rr/rr-5.2.0.ebuild +++ b/dev-util/rr/rr-5.2.0.ebuild @@ -33,6 +33,7 @@ DEPEND+=" PATCHES=( "${FILESDIR}"/${P}-ucontext_t.patch + "${FILESDIR}"/${P}-c++14.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: 27bcacb0fe144c2de240365826d65c091c998c2c Author: Han Han gmail com> AuthorDate: Sun Jan 6 21:20:54 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 6 16:32:24 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27bcacb0 dev-util/rr-5.2.0: Fix error type ::ucontext_t not correctly defined Introduce rr commit: https://github.com/mozilla/rr/commit/53c5bd72bae089616a3ca626b8af240481d70e6f Closes: https://bugs.gentoo.org/669788 Signed-off-by: Han Han gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10756 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/rr/files/rr-5.2.0-ucontext_t.patch | 65 + dev-util/rr/rr-5.2.0.ebuild | 6 +-- 2 files changed, 68 insertions(+), 3 deletions(-) diff --git a/dev-util/rr/files/rr-5.2.0-ucontext_t.patch b/dev-util/rr/files/rr-5.2.0-ucontext_t.patch new file mode 100644 index 000..0015f0b150c --- /dev/null +++ b/dev-util/rr/files/rr-5.2.0-ucontext_t.patch @@ -0,0 +1,65 @@ +From 53c5bd72bae089616a3ca626b8af240481d70e6f Mon Sep 17 00:00:00 2001 +From: Robert O'Callahan +Date: Fri, 10 Aug 2018 15:17:55 +1200 +Subject: [PATCH] Remove ucontext_t/rt_sigframe from kernel-abi + +These were added in 18bb097736a1b728f1e5bfec972ca10f6e763d82 to help us determine +the sigmask effect of rt_sigreturn syscalls, but they're no longer needed +because we query the new mask via /proc instead. + +Resolves #2237 +--- + src/kernel_abi.h | 33 - + 1 file changed, 33 deletions(-) + +diff --git a/src/kernel_abi.h b/src/kernel_abi.h +index e73e49933..29d3c9242 100644 +--- a/src/kernel_abi.h b/src/kernel_abi.h +@@ -1609,23 +1609,6 @@ struct X86Arch : public BaseArch { + }; + RR_VERIFY_TYPE_ARCH(SupportedArch::x86, ::sigcontext, sigcontext); + +- struct ucontext_t { +-uint32_t uc_flags; +-uint32_t uc_link; +-stack_t uc_stack; +-sigcontext uc_mcontext; +-kernel_sigset_t uc_sigmask; +- }; +- +- struct rt_sigframe { +-uint32_t pretcode; +-int sig; +-uint32_t pinfo; +-uint32_t puc; +-siginfo_t info; +-struct ucontext_t uc; +- }; +- + struct _fpstate_32 { + uint32_t cw, sw, tag, ipoff, cssel, dataoff, datasel; + uint16_t _st[40]; +@@ -1806,22 +1789,6 @@ struct X64Arch : public BaseArch { + RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, ::user_fpregs_struct, + user_fpregs_struct); + +- struct ucontext_t { +-uint64_t ucflags; +-ptr uc_link; +-stack_t uc_stack; +-struct sigcontext uc_mcontext; +-sigset_t uc_sigmask; +-user_fpregs_struct uc_fpregs; +- }; +- RR_VERIFY_TYPE_ARCH(SupportedArch::x86_64, ::ucontext_t, ucontext_t); +- +- struct rt_sigframe { +-ptr pretcode; +-struct ucontext_t uc; +-siginfo_t info; +- }; +- + struct user { + struct user_regs_struct regs; + int u_fpvalid; diff --git a/dev-util/rr/rr-5.2.0.ebuild b/dev-util/rr/rr-5.2.0.ebuild index 330b1821df1..8a48df5899c 100644 --- a/dev-util/rr/rr-5.2.0.ebuild +++ b/dev-util/rr/rr-5.2.0.ebuild @@ -31,9 +31,9 @@ DEPEND+=" sys-devel/gdb[xml] )" -#PATCHES=( -# "${FILESDIR}"/${P}-sysmacros.patch -#) +PATCHES=( + "${FILESDIR}"/${P}-ucontext_t.patch +) pkg_setup() { if use kernel_linux; then
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 8f0617f2dd18ed58dfc5d9bff5ea91b481b3e210 Author: Luca Barbato gentoo org> AuthorDate: Fri Sep 28 14:45:39 2018 + Commit: Luca Barbato gentoo org> CommitDate: Fri Sep 28 14:46:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f0617f2 dev-util/rr: Version bump Package-Manager: Portage-2.3.48, Repoman-2.3.10 dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.2.0.ebuild | 58 + 2 files changed, 59 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 365895efb43..a220ff84724 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,3 +1,4 @@ DIST mozilla-rr-4.5.0.tar.gz 683371 BLAKE2B 1654de3811be4eac40ed751b910aed0ddca2100147e47e2e068f625c607964f98d33033c38cdf3a2146284bc477b08299e3432389342e7b058e331f0b924686f SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 DIST mozilla-rr-5.0.0.tar.gz 1143119 BLAKE2B b08f8ade8856b03fa94057a8c85cfacc0722090ac3f7d1c147a3c4e7c2bbfe58a740711495e88476d90eb02c6e9a5b85078dcb4fcf3ed107ad281dd3dcf8 SHA512 aaec0869e68290d5f7b752d02e89fc4f83dd2fce4abf91b36c006eeec97555b7adc69da311eadd48c9891599245305b585ed1a53580f7c616dba401f1592c5f2 DIST mozilla-rr-5.1.0.tar.gz 1158274 BLAKE2B f150e9d05b0a6a32c818f968879d0a394beb6524469cad905a21024e0d79e229f261c766f17aecbacdb81cf8e7408e62d1fdf8677569de8ed4d882b91f93b83d SHA512 8cb7da20ddb2bfbeaf57d9bca76a3b5495d4bd74a00092c40c948570a2cda3dca6cb1e73ed65af099fe405a4d29ff1a852496baf0fcb6119258443649a65766a +DIST mozilla-rr-5.2.0.tar.gz 1168734 BLAKE2B 2f15c4ec4a271f930334577e98b14e37d2a0eb7cd3443e7110d3562ac4ef30c310e6448a588f4e31f2943a6d4ff0af006cbbafc50722543436fcae3bdc8e453f SHA512 4465985f67e9812b62b91ac7942105a9f976faf0c0d7c352a99a638fe6bdfde024f939b3daa922d431c7fc87118ae4d9d039b00345760fb547c349e8737dc168 diff --git a/dev-util/rr/rr-5.2.0.ebuild b/dev-util/rr/rr-5.2.0.ebuild new file mode 100644 index 000..330b1821df1 --- /dev/null +++ b/dev-util/rr/rr-5.2.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="https://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +#PATCHES=( +# "${FILESDIR}"/${P}-sysmacros.patch +#) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 70126cf22e7a011963de009efcb7fb36d887d909 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sat Jun 9 19:32:15 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jun 10 16:29:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70126cf2 dev-util/rr: use HTTPs dev-util/rr/rr-4.5.0.ebuild | 4 ++-- dev-util/rr/rr-5.0.0.ebuild | 4 ++-- dev-util/rr/rr-5.1.0.ebuild | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index fd1d69c293d..32d5d5d6983 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ CMAKE_BUILD_TYPE=Release inherit cmake-utils linux-info python-single-r1 DESCRIPTION="Record and Replay Framework" -HOMEPAGE="http://rr-project.org/; +HOMEPAGE="https://rr-project.org/; SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" LICENSE="MIT BSD-2" diff --git a/dev-util/rr/rr-5.0.0.ebuild b/dev-util/rr/rr-5.0.0.ebuild index e2903c93af1..330b1821df1 100644 --- a/dev-util/rr/rr-5.0.0.ebuild +++ b/dev-util/rr/rr-5.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -9,7 +9,7 @@ CMAKE_BUILD_TYPE=Release inherit cmake-utils linux-info python-single-r1 DESCRIPTION="Record and Replay Framework" -HOMEPAGE="http://rr-project.org/; +HOMEPAGE="https://rr-project.org/; SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" LICENSE="MIT BSD-2" diff --git a/dev-util/rr/rr-5.1.0.ebuild b/dev-util/rr/rr-5.1.0.ebuild index 09b7822c977..330b1821df1 100644 --- a/dev-util/rr/rr-5.1.0.ebuild +++ b/dev-util/rr/rr-5.1.0.ebuild @@ -9,7 +9,7 @@ CMAKE_BUILD_TYPE=Release inherit cmake-utils linux-info python-single-r1 DESCRIPTION="Record and Replay Framework" -HOMEPAGE="http://rr-project.org/; +HOMEPAGE="https://rr-project.org/; SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" LICENSE="MIT BSD-2"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 4343eee983680d22a40fc8016ac6b0c1dd3dbd9e Author: Ettore Di Giacinto gentoo org> AuthorDate: Mon Mar 12 16:38:43 2018 + Commit: Ettore Di Giacinto gentoo org> CommitDate: Mon Mar 12 16:50:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4343eee9 dev-util/rr: Bump to 5.1.0 Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.1.0.ebuild | 58 + 2 files changed, 59 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 1092025e0ae..365895efb43 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1,3 @@ DIST mozilla-rr-4.5.0.tar.gz 683371 BLAKE2B 1654de3811be4eac40ed751b910aed0ddca2100147e47e2e068f625c607964f98d33033c38cdf3a2146284bc477b08299e3432389342e7b058e331f0b924686f SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 DIST mozilla-rr-5.0.0.tar.gz 1143119 BLAKE2B b08f8ade8856b03fa94057a8c85cfacc0722090ac3f7d1c147a3c4e7c2bbfe58a740711495e88476d90eb02c6e9a5b85078dcb4fcf3ed107ad281dd3dcf8 SHA512 aaec0869e68290d5f7b752d02e89fc4f83dd2fce4abf91b36c006eeec97555b7adc69da311eadd48c9891599245305b585ed1a53580f7c616dba401f1592c5f2 +DIST mozilla-rr-5.1.0.tar.gz 1158274 BLAKE2B f150e9d05b0a6a32c818f968879d0a394beb6524469cad905a21024e0d79e229f261c766f17aecbacdb81cf8e7408e62d1fdf8677569de8ed4d882b91f93b83d SHA512 8cb7da20ddb2bfbeaf57d9bca76a3b5495d4bd74a00092c40c948570a2cda3dca6cb1e73ed65af099fe405a4d29ff1a852496baf0fcb6119258443649a65766a diff --git a/dev-util/rr/rr-5.1.0.ebuild b/dev-util/rr/rr-5.1.0.ebuild new file mode 100644 index 000..09b7822c977 --- /dev/null +++ b/dev-util/rr/rr-5.1.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="http://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +#PATCHES=( +# "${FILESDIR}"/${P}-sysmacros.patch +#) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 160508199027f2aa8fe4755ee5c79ec34965a2ca Author: Luca Barbato gentoo org> AuthorDate: Tue Oct 24 11:28:52 2017 + Commit: Luca Barbato gentoo org> CommitDate: Tue Oct 24 11:28:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16050819 dev-util/rr: New version, depends on capnproto Thus it is amd64-only for now. Package-Manager: Portage-2.3.8, Repoman-2.3.2 dev-util/rr/Manifest| 1 + dev-util/rr/rr-5.0.0.ebuild | 58 + 2 files changed, 59 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 27f0230ad28..b4cb5cc0cd2 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1 +1,2 @@ DIST mozilla-rr-4.5.0.tar.gz 683371 SHA256 19f28259c0aa562c9518ae51207377fa93071a7dc270a0738d8d39e45ae2b1c0 SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 WHIRLPOOL d16e36da11d3ed0c0c4f8509abe890842fc95127a899e98800db93d407080ea796d1e8fd8545f17d84540a553f848b3985c9c139479d1a76fa31e418ad700e33 +DIST mozilla-rr-5.0.0.tar.gz 1143119 SHA256 95ab26671f39ffe58ed00a1bd3e211781804b010d73339d6ce7a4b1d0a6815ca SHA512 aaec0869e68290d5f7b752d02e89fc4f83dd2fce4abf91b36c006eeec97555b7adc69da311eadd48c9891599245305b585ed1a53580f7c616dba401f1592c5f2 WHIRLPOOL 5badd90ae0c602246706f613bf6c67f144046b13ccf53d7a18456afebeb34e6a318b0dcff85e9f250a9def8ee682e9c27f538aa7c345179a22bcecc577f74252 diff --git a/dev-util/rr/rr-5.0.0.ebuild b/dev-util/rr/rr-5.0.0.ebuild new file mode 100644 index 000..e2903c93af1 --- /dev/null +++ b/dev-util/rr/rr-5.0.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="http://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +#PATCHES=( +# "${FILESDIR}"/${P}-sysmacros.patch +#) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 1e702d05eff935b4e4cf11b805d5f06c746b0b96 Author: David Seifert gentoo org> AuthorDate: Thu Apr 20 20:24:22 2017 + Commit: David Seifert gentoo org> CommitDate: Thu Apr 20 20:47:35 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e702d05 dev-util/rr: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-util/rr/rr-4.5.0.ebuild | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 4c58f36c34f..fd1d69c293d 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -16,8 +16,11 @@ LICENSE="MIT BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DEPEND="sys-libs/zlib" +DEPEND=" + sys-libs/zlib + ${PYTHON_DEPS}" RDEPEND="${DEPEND} sys-devel/gdb[xml]" # Add all the deps needed only at build/test time. @@ -25,8 +28,7 @@ DEPEND+=" test? ( dev-python/pexpect[${PYTHON_USEDEP}] sys-devel/gdb[xml] - ) - ${PYTHON_DEPS}" + )" PATCHES=( "${FILESDIR}"/${P}-sysmacros.patch @@ -41,7 +43,7 @@ pkg_setup() { } src_prepare() { - default + cmake-utils_src_prepare sed -i 's:-Werror::' CMakeLists.txt || die #609192 }
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 0693ed56cf30537e8626aa79e80307d7c965b674 Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 13 21:51:12 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 13 21:51:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0693ed56 dev-util/rr: fix leading whitespace errors dev-util/rr/rr-4.5.0.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index f5fa4762e1..7ce3d96f00 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -48,9 +48,9 @@ src_prepare() { } src_configure() { - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - ) + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) - cmake-utils_src_configure + cmake-utils_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: cdf5b5392ca1f171e9a422b8206984f3b348a282 Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 13 21:09:39 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 13 21:19:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf5b539 dev-util/rr: clean up build/test deps We only need zlib & gdb at runtime. All the other deps in here are for building & testing only, so drop them from RDEPEND. dev-util/rr/rr-4.5.0.ebuild | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 6624a53814..b83875db0e 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -16,15 +16,18 @@ SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.t LICENSE="MIT BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-python/pexpect[${PYTHON_USEDEP}] - sys-libs/zlib - ${PYTHON_DEPS}" - -RDEPEND=" - sys-devel/gdb[xml] - ${DEPEND}" +IUSE="test" + +DEPEND="sys-libs/zlib" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + ) + ${PYTHON_DEPS}" pkg_setup() { if use kernel_linux; then @@ -39,3 +42,11 @@ src_prepare() { sed -i 's:-Werror::' CMakeLists.txt || die #609192 } + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/files/, dev-util/rr/
commit: 8a79f2bc55c8ae6ef33542d262430927e9954099 Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 13 21:11:47 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 13 21:19:13 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a79f2bc dev-util/rr: fix build w/newer glibc dev-util/rr/files/rr-4.5.0-sysmacros.patch | 28 dev-util/rr/rr-4.5.0.ebuild| 4 2 files changed, 32 insertions(+) diff --git a/dev-util/rr/files/rr-4.5.0-sysmacros.patch b/dev-util/rr/files/rr-4.5.0-sysmacros.patch new file mode 100644 index 00..573d595659 --- /dev/null +++ b/dev-util/rr/files/rr-4.5.0-sysmacros.patch @@ -0,0 +1,28 @@ +https://github.com/mozilla/rr/pull/1981 + +From fefdb3b89e98192601dfdc98c8927c9a91f07f9f Mon Sep 17 00:00:00 2001 +From: Mike Frysinger+Date: Mon, 13 Feb 2017 16:01:52 -0500 +Subject: [PATCH] tests: include sys/sysmacros.h for minor/major funcs + +Newer versions of glibc are deprecating the implicit sys/sysmacros.h +include via sys/types.h, so include it explicitly. +--- + src/test/rrutil.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/test/rrutil.h b/src/test/rrutil.h +index 60de6e47a57b..bb5b527c4c9a 100644 +--- a/src/test/rrutil.h b/src/test/rrutil.h +@@ -76,6 +76,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.11.0 + diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index b83875db0e..f5fa4762e1 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -29,6 +29,10 @@ DEPEND+=" ) ${PYTHON_DEPS}" +PATCHES=( + "${FILESDIR}"/${P}-sysmacros.patch +) + pkg_setup() { if use kernel_linux; then CONFIG_CHECK="SECCOMP"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 86d01d6e75d6b8b83854fa25b944c09830cec2fa Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 13 21:06:58 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 13 21:19:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d01d6e dev-util/rr: do not build w/-Werror #609192 dev-util/rr/rr-4.5.0.ebuild | 6 ++ 1 file changed, 6 insertions(+) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 4ad1d8612c..8cad69ab1c 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -34,3 +34,9 @@ pkg_setup() { fi python-single-r1_pkg_setup } + +src_prepare() { + default + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: a7baa0d8ef16de82615ec41c2580204a744af3ab Author: Mike Frysinger gentoo org> AuthorDate: Mon Feb 13 21:07:12 2017 + Commit: Mike Frysinger gentoo org> CommitDate: Mon Feb 13 21:19:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7baa0d8 dev-util/rr: drop libpfm dep Can't find any references in the source to this package (header or lib), and it builds fine w/out it. Drop the dep. dev-util/rr/rr-4.5.0.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 8cad69ab1c..6624a53814 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -19,7 +19,6 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-python/pexpect[${PYTHON_USEDEP}] - dev-libs/libpfm sys-libs/zlib ${PYTHON_DEPS}"
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 7530cbd74c782790395e8f627a94cdb0d2fac116 Author: Ettore Di Giacinto gentoo org> AuthorDate: Sun Feb 12 18:33:28 2017 + Commit: Ettore Di Giacinto gentoo org> CommitDate: Sun Feb 12 18:38:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7530cbd7 dev-util/rr: add seccomp requirement Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-util/rr/rr-4.5.0.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild index 0941335497..4ad1d8612c 100644 --- a/dev-util/rr/rr-4.5.0.ebuild +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -7,7 +7,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) CMAKE_BUILD_TYPE=Release -inherit cmake-utils python-single-r1 +inherit cmake-utils linux-info python-single-r1 DESCRIPTION="Record and Replay Framework" HOMEPAGE="http://rr-project.org/; @@ -28,5 +28,9 @@ RDEPEND=" ${DEPEND}" pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi python-single-r1_pkg_setup }
[gentoo-commits] repo/gentoo:master commit in: dev-util/rr/
commit: 539b6f2f8d4699aa3dc90d17c5e3e62dac246f49 Author: Luca Barbato gentoo org> AuthorDate: Sun Feb 12 18:14:30 2017 + Commit: Luca Barbato gentoo org> CommitDate: Sun Feb 12 18:14:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539b6f2f dev-util/rr: Initial import Package-Manager: portage-2.3.3 dev-util/rr/Manifest| 1 + dev-util/rr/metadata.xml| 16 dev-util/rr/rr-4.5.0.ebuild | 32 3 files changed, 49 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest new file mode 100644 index 00..27f0230ad2 --- /dev/null +++ b/dev-util/rr/Manifest @@ -0,0 +1 @@ +DIST mozilla-rr-4.5.0.tar.gz 683371 SHA256 19f28259c0aa562c9518ae51207377fa93071a7dc270a0738d8d39e45ae2b1c0 SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 WHIRLPOOL d16e36da11d3ed0c0c4f8509abe890842fc95127a899e98800db93d407080ea796d1e8fd8545f17d84540a553f848b3985c9c139479d1a76fa31e418ad700e33 diff --git a/dev-util/rr/metadata.xml b/dev-util/rr/metadata.xml new file mode 100644 index 00..5f1e857bbc --- /dev/null +++ b/dev-util/rr/metadata.xml @@ -0,0 +1,16 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + toolch...@gentoo.org + Gentoo Toolchain Project + + + lu_z...@gentoo.org + Luca Barbato + + + mud...@gentoo.org + Ettore Di Giacinto + + diff --git a/dev-util/rr/rr-4.5.0.ebuild b/dev-util/rr/rr-4.5.0.ebuild new file mode 100644 index 00..0941335497 --- /dev/null +++ b/dev-util/rr/rr-4.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="http://rr-project.org/; +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pexpect[${PYTHON_USEDEP}] + dev-libs/libpfm + sys-libs/zlib + ${PYTHON_DEPS}" + +RDEPEND=" + sys-devel/gdb[xml] + ${DEPEND}" + +pkg_setup() { + python-single-r1_pkg_setup +}