Commit Graph

56 Commits

Author SHA1 Message Date
Sid Kshatriya
dda6f61fd9 rr: remove redundant line in buildInputs from rr's derivation 2023-11-16 21:21:13 +05:30
Felix Bühler
245bad83a7
Merge pull request #263829 from charmoniumQ/update-rr
rr: 5.6.0 -> 5.7.0
2023-10-29 12:23:16 +01:00
Samuel Grayson
073fd77f8f rr: 5.6.0 -> 5.7.0 2023-10-27 13:15:53 -05:00
Kira Bruneau
e8e53c5c8c rr: encode gdb dep with wrapProgram instead of propagatedBuildInputs
Except in special wrapper environments like `python3.withPackages`,
where all "build" dependencies are also runtime dependencies,
`propagatedBuildInputs` doesn't actually encode runtime dependencies.

It's meant to propagate build dependencies to dependants, so the
dependants don't have to explicitly add them to their `buildInputs`.

With `wrapProgram`, you can now run rr without having gdb
installed (eg. `nix run nixpkgs#rr replay`).
2023-04-26 12:44:34 -04:00
Dominik Honnef
a4fc60cdef rr: don't overwrite all of its C and CXX flags
These CMake flags have been present ever since the package was added in
2014. There is no documentation on why these flags should be necessary.
During local testing, rr built just fine without them.

In fact, I stumbled upon this when rr from nixpkgs failed to record
applications that use OpenGL, such as glxinfo or glxgears, whereas a
manually built rr worked just fine. I tracked it down to these flags.

I wasn't able to determine the relevant differences between the two
builds of rr.
2023-02-24 04:00:08 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
6930b5bda8
lyx, rr, linuxPackgaes.systemtap: fixup build with gcc12 2023-02-01 16:53:31 +01:00
Vladimír Čunát
9cf461a645
rr: fix build with new linuxHeaders
/cc PR #194199 which updated linuxHeaders
2022-10-20 18:07:15 +02:00
Artturin
f4ea1208ec treewide: *Flags convert to list from str
*Flags implies a list

slightly relevant:
> stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172

the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so
it's not a breaking change
2022-10-10 15:30:59 +03:00
Sandro
d07c45feb5
Merge pull request #191808 from groves/rr-aarch64 2022-09-29 13:45:56 +02:00
Charlie Groves
b92bdaf21c rr: enable on aarch64-linux and disable on non-linux
According to https://github.com/rr-debugger/rr#system-requirements, rr only
works on Linux and works on aarch64 as of 5.6
2022-09-24 12:33:36 -04:00
Azat Bahawi
d6496a13ef
rr-unstable: remove 2022-09-17 15:51:17 +03:00
Vladimír Čunát
2ea1a7a7c9
rr: 5.5.0 -> 5.6.0
https://github.com/rr-debugger/rr/releases/tag/5.6.0

This fixes the build, probably after linuxHeaders update.  Probably via
https://github.com/rr-debugger/rr/commit/20e0c1531ea99eed85e0041ccfb638
but the release announcement seemed quite "safe" so I chose update.
2022-08-08 16:57:18 +02:00
Thomas Gerbet
363c5dc7f2 rr-unstable: unstable-2021-07-06 -> unstable-2022-05-12 2022-05-13 13:30:44 +02:00
Mauricio Collares
ad97a48855 rr: disable LTO and build with current stdenv 2022-04-24 11:36:35 +02:00
Alyssa Ross
7aa9186ae4 linuxPackages.rr-zen_workaround: mark x86_64-only
This will stop Hydra trying to build it for aarch64.
2021-11-06 11:41:30 -07:00
R. Ryantm
16fe79eaf6 rr: 5.4.0 -> 5.5.0 2021-10-29 02:19:10 +00:00
Vladimír Čunát
cd1b1ad03b
linuxPackages.rr-zen_workaround: set meta.broken
... on kernels that are too old for the code to build.
I could have thought of this straight away.
2021-10-26 13:29:49 +02:00
Vladimír Čunát
3ef942befe
linuxPackages.rr-zen_workaround: init at 2020-09-22 2021-09-20 17:28:26 +02:00
Scott Olson
2e9dd407b8 rr-unstable: 2020-10-04 -> 2021-07-06
It seems like the original reason for the rr-unstable package has gone
stale, and there has been a proper release (5.4.0) since it was made.
However, it has now been over 8 months since a release again, so I
figured I would repurpose rr-unstable.

I personally need the following unreleased commit to be able to use rr
at all on an AMD Ryzen 5900X CPU:

854b51effa
2021-07-06 23:58:53 +01:00
Ivan Jager
b60b4023d7 rr: Build with gcc9
To work around linking errors with gcc10

    src/AddressSpace.cc:1632: undefined reference to `rr_syscall_addr'

Fixes #110756
2021-01-26 06:21:19 -06:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
R. RyanTM
67a986a44a rr: 5.3.0 -> 5.4.0 2020-11-12 00:52:25 +00:00
deliciouslytyped
eaf756639f rr: 5.3.0 +> 9ff37581 add rr-unstable until a new rr release is made 2020-10-04 23:27:08 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
8045baf09d
rr: 5.2.0 -> 5.3.0, fix build w/glibc-2.30 2020-01-23 00:21:21 +01:00
Langston Barrett
e1456b291c rr: include gdb as a propagated input 2019-11-30 18:59:47 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Renaud
17c96ab275
rr: build according to C++14 standard
Avoid breaking the build with capnproto >= 0.7.0
2018-10-21 16:18:36 +02:00
Will Dietz
541d30a3a9 rr: enable on 32bit x86
Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).
2018-07-30 07:27:25 -05:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
R. RyanTM
d985d9d2d5 rr: 5.1.0 -> 5.2.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/rr/versions.

These checks were done:

- built on NixOS
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/signal-rr-recording.sh passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64_replay had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32_replay had a zero exit code or showed the expected version
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_exec_stub had a zero exit code or showed the expected version
- 2 of 7 passed binary check by having a zero exit code.
- 1 of 7 passed binary check by having the new version present in output.
- found 5.2.0 with grep in /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0
- directory tree listing: https://gist.github.com/74edbd75eb39af483431d15e9b4c34a8
- du listing: https://gist.github.com/a6983da3782900061246fd222ecc50f9
2018-05-30 10:51:48 +00:00
Austin Seipp
6aeee3790b nixpkgs: rr 5.0.0 -> 5.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-31 02:13:21 -06:00
Joerg Thalheim
14df60d0db rr: limit platforms to x86_64
related to #32326
2017-12-07 10:22:42 +00:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Will Dietz
b95dc6f7d6 rr: 4.5.0 -> 5.0.0 2017-09-07 12:05:09 -05:00
Aristid Breitkreuz
00517f1779 rr: 4.4.0 -> 4.5.0 2017-02-05 22:00:42 +01:00
Aneesh Agrawal
80ea1c0631 rr: 4.3.0 -> 4.4.0 2017-01-13 00:44:30 -05:00
Aneesh Agrawal
bb349421c1 rr: pin Python to Python 2
rr requires Python>=2.7, but does not support Python 3.
2016-09-24 15:05:42 +02:00
Robin Gloster
f222d98746 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-25 12:47:13 +00:00
Ivan Sorokin
844a029bab rr: 4.2.0 -> 4.3.0 2016-07-23 13:07:24 +03:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Vladimír Čunát
d133a168f0 rr: improve the parent commit 2016-06-13 10:15:48 +02:00
Vladimír Čunát
e9c612cdfe rr: fix build after gcc-5.4 bump
Discussion: https://github.com/NixOS/nixpkgs/commit/772c92ba5c60a
2016-06-13 10:12:18 +02:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Moritz Ulrich
29644950d4 rr: Only build native architecture.
rr wants to build itself with 32+64bit support on 64bit systems, but
this fails in recent NixOS versions as it can't find libstdc++.so.6 at
runtime.

This patch disables 32bit builds on 64bit. To debug 32bit binaries,
pkgsi686Linux.rr can be used.
2016-05-18 12:56:48 +02:00
Robin Gloster
4ee2b2ab7b rr: set Wno-error and turn off fortify hardening 2016-04-03 12:37:35 +00:00
Nicolas B. Pierron
1941c80610 rr: 4.0.3 -> 4.2.0 2016-03-18 16:01:14 +01:00
Moritz Ulrich
4ee173e011 rr: 4.0.0 -> 4.0.3 2016-01-29 12:28:08 +01:00