gnu: Rename valgrind-next to valgrind.

* gnu/packages/valgrind.scm (valgrind/pinned): Make public.
(valgrind): Delete.
(valgrind-next): Rename to valgrind.
(valgrind/interactive): Inherit from valgrind.
* gnu/packages/audio.scm (codec2),
* gnu/packages/bootloaders.scm (dtc),
* gnu/packages/chromium.scm (ungoogled-chromium),
* gnu/packages/crates-io.scm (rust-crabgrind-0.1),
* gnu/packages/crates-tls.scm (rust-rustls-pki-types-1),
* gnu/packages/file-systems.scm (bindfs),
* gnu/packages/gnome.scm (libratbag, gnome-software),
* gnu/packages/high-availability.scm (pacemaker),
* gnu/packages/linux.scm (multipath-tools),
* gnu/packages/machine-learning.scm (python-pytorch),
* gnu/packages/mpi.scm (openmpi-4),
* gnu/packages/music.scm (stargate),
* gnu/packages/perl-check.scm (perl-test-runvalgrind),
* gnu/packages/prolog.scm (trealla),
* gnu/packages/qt.scm (qtwebengine-5, qt-creator),
* gnu/packages/robotics.scm (aseba),
* gnu/packages/ruby.scm (ruby-ruby-memcheck),
* gnu/packages/spreadsheet.scm (sc-im),
* gnu/packages/web.scm (jq): Rename valgrind to valgrind/pinned.

Change-Id: I9dec25abce643ef6d815a2cc50414c4f65f1e8d3
This commit is contained in:
Greg Hogan 2025-05-05 17:15:14 +00:00
parent 8e0bab93e5
commit 56f940e72f
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3
20 changed files with 28 additions and 30 deletions

View file

@ -6541,7 +6541,7 @@ currently operate on IEEE-754 single-precision floating-point numbers.")
(base32 "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba")))) (base32 "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
(list bc octave valgrind)) (list bc octave valgrind/pinned))
(arguments (arguments
`(#:tests? #f ; TODO: Fix tests (paths, graphic toolkit, octave modules). `(#:tests? #f ; TODO: Fix tests (paths, graphic toolkit, octave modules).
#:phases #:phases

View file

@ -742,8 +742,8 @@ The SUBDIR argument defaults to \"efi/Guix\", as it is also the case for
python-setuptools-scm python-setuptools-scm
swig swig
which) which)
(if (member (%current-system) (package-supported-systems valgrind)) (if (member (%current-system) (package-supported-systems valgrind/pinned))
(list valgrind) (list valgrind/pinned)
'()))) '())))
(inputs (inputs
(list python)) (list python))

View file

@ -924,7 +924,7 @@
snappy snappy
speech-dispatcher speech-dispatcher
eudev eudev
valgrind valgrind/pinned
vulkan-headers vulkan-headers
vulkan-loader vulkan-loader
wayland wayland

View file

@ -16325,7 +16325,7 @@ to the @code{is_x86_feature_detected!} macro.")
"--skip=tests::test_run_mode_under_valgrind" "--skip=tests::test_run_mode_under_valgrind"
"--skip=tests::wrong_monitor_command") "--skip=tests::wrong_monitor_command")
#:cargo-inputs (("rust-cc" ,rust-cc-1)))) #:cargo-inputs (("rust-cc" ,rust-cc-1))))
(inputs (list valgrind)) (inputs (list valgrind/pinned))
(home-page "https://github.com/2dav/crabgrind") (home-page "https://github.com/2dav/crabgrind")
(synopsis "Rust bindings to \"Valgrind Client Request\" interface") (synopsis "Rust bindings to \"Valgrind Client Request\" interface")
(description (description

View file

@ -1763,7 +1763,7 @@ PEM-encodings commonly used to store keys and certificates at rest.")
(arguments (arguments
`(#:cargo-inputs (("rust-web-time" ,rust-web-time-1)) `(#:cargo-inputs (("rust-web-time" ,rust-web-time-1))
#:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1)))) #:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1))))
(native-inputs (list valgrind)) (native-inputs (list valgrind/pinned))
(home-page "https://github.com/rustls/pki-types") (home-page "https://github.com/rustls/pki-types")
(synopsis "Shared types for the rustls PKI ecosystem") (synopsis "Shared types for the rustls PKI ecosystem")
(description (description

View file

@ -219,7 +219,7 @@ large and/or frequently changing (network) environment.")
(native-inputs (native-inputs
;; Native inputs to run the tests ;; Native inputs to run the tests
;; ("ruby" ,ruby) ;; ("ruby" ,ruby)
;; ("valgrind" ,valgrind) ;; ("valgrind" ,valgrind/pinned)
;; ("which" ,which) ;; ("which" ,which)
(list pkg-config)) (list pkg-config))
(inputs (inputs

View file

@ -13292,8 +13292,8 @@ It uses pandoc as back-end for parsing Markdown.")
(native-inputs (native-inputs
(append (append
(list check pkg-config swig) (list check pkg-config swig)
(if (member (%current-system) (package-supported-systems valgrind)) (if (member (%current-system) (package-supported-systems valgrind/pinned))
(list valgrind) (list valgrind/pinned)
'()))) '())))
(inputs (inputs
`(("bash" ,bash-minimal) ; for wrap-program `(("bash" ,bash-minimal) ; for wrap-program
@ -14627,7 +14627,7 @@ GNU Privacy Guard built with libadwaita.")
libxslt ;for xsltproc libxslt ;for xsltproc
pkg-config pkg-config
sysprof sysprof
valgrind)) valgrind/pinned))
(inputs (inputs
(list appstream (list appstream
flatpak flatpak

View file

@ -414,7 +414,7 @@ lost.
pkg-config pkg-config
rsync rsync
util-linux util-linux
valgrind)) valgrind/pinned))
(inputs (list dbus (inputs (list dbus
corosync corosync
glib glib

View file

@ -6444,7 +6444,7 @@ arrays when needed.")
(string-append "-Wl,-rpath=" #$output "/lib"))))))) (string-append "-Wl,-rpath=" #$output "/lib")))))))
(native-inputs (native-inputs
(list perl pkg-config valgrind (list perl pkg-config valgrind/pinned
;; For tests. ;; For tests.
cmocka)) cmocka))
(inputs (inputs

View file

@ -5244,7 +5244,7 @@ PyTorch.")
python-hypothesis python-hypothesis
python-types-dataclasses python-types-dataclasses
shaderc shaderc
valgrind)) valgrind/pinned))
(inputs (inputs
(append (append
(list asmjit (list asmjit

View file

@ -231,7 +231,7 @@ bind processes, and much more.")
(if-supported psm) (if-supported psm)
(if-supported psm2) (if-supported psm2)
(if-supported ucx) (if-supported ucx)
(if-supported valgrind) (if-supported valgrind/pinned)
(list rdma-core (list rdma-core
slurm)))) ;for PMI support (launching via "srun") slurm)))) ;for PMI support (launching via "srun")
(native-inputs (native-inputs

View file

@ -5370,7 +5370,7 @@ can receive input from a MIDI keyboard.")
python-wavefile python-wavefile
python-yq python-yq
rubberband rubberband
valgrind valgrind/pinned
stargate-sbsms stargate-sbsms
stargate-soundtouch)) stargate-soundtouch))

View file

@ -1409,7 +1409,7 @@ reported, and the tests skipped.")
(native-inputs (native-inputs
(list perl-module-build)) (list perl-module-build))
(propagated-inputs (propagated-inputs
(list perl-path-tiny perl-test-trap valgrind)) (list perl-path-tiny perl-test-trap valgrind/pinned))
(home-page "https://metacpan.org/release/Test-RunValgrind") (home-page "https://metacpan.org/release/Test-RunValgrind")
(synopsis "Tests that an external program is valgrind-clean") (synopsis "Tests that an external program is valgrind-clean")
(description "Test::RunValgind checks weather Valgrind does not detect (description "Test::RunValgind checks weather Valgrind does not detect

View file

@ -196,8 +196,8 @@ it.")
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
(append (append
(if (supported-package? valgrind) (if (supported-package? valgrind/pinned)
(list valgrind) (list valgrind/pinned)
'()) '())
(list xxd))) (list xxd)))
(inputs (inputs

View file

@ -3390,7 +3390,7 @@ linux/libcurl_wrapper.h")
re2 re2
snappy snappy
eudev eudev
valgrind valgrind/pinned
vulkan-headers vulkan-headers
xcb-util)) xcb-util))
(propagated-inputs (propagated-inputs
@ -6164,7 +6164,7 @@ including @i{fix-its} for automatic refactoring.")
qtshadertools qtshadertools
qtsvg qtsvg
yaml-cpp yaml-cpp
valgrind valgrind/pinned
vulkan-loader vulkan-loader
`(,zstd "lib")) `(,zstd "lib"))
(if (supported-package? rust-rustc-demangle-capi-0.1) (if (supported-package? rust-rustc-demangle-capi-0.1)

View file

@ -111,7 +111,7 @@ hundred times faster than real-time.")
debug " " flag))))))))) debug " " flag)))))))))
(native-inputs (native-inputs
(list pkg-config (list pkg-config
valgrind ;for tests valgrind/pinned ;for tests
`(,(canonical-package glibc) "debug"))) `(,(canonical-package glibc) "debug")))
(inputs (inputs
(list dashel (list dashel

View file

@ -10209,7 +10209,7 @@ Profiling multiple threads simultaneously is supported.
(("%x\\(git ls-files -z)") (("%x\\(git ls-files -z)")
"`git ls-files -z`"))))))) "`git ls-files -z`")))))))
(native-inputs (list ruby-rake-compiler ruby-rspec)) (native-inputs (list ruby-rake-compiler ruby-rspec))
(inputs (list valgrind)) (inputs (list valgrind/pinned))
(propagated-inputs (list ruby-nokogiri)) (propagated-inputs (list ruby-nokogiri))
(synopsis "Valgrind memcheck tool for Ruby") (synopsis "Valgrind memcheck tool for Ruby")
(description "The @code{ruby_memcheck} gem provides a sane way to use (description "The @code{ruby_memcheck} gem provides a sane way to use

View file

@ -87,7 +87,7 @@
(list bash-minimal (list bash-minimal
bison bison
pkg-config pkg-config
valgrind valgrind/pinned
which)) which))
(synopsis "Spreadsheet program with vim-like keybindings") (synopsis "Spreadsheet program with vim-like keybindings")
(description (description

View file

@ -37,7 +37,7 @@
#:use-module (gnu packages gdb) #:use-module (gnu packages gdb)
#:use-module (gnu packages perl)) #:use-module (gnu packages perl))
(define valgrind/pinned (define-public valgrind/pinned
(package (package
(name "valgrind") (name "valgrind")
(version "3.22.0") (version "3.22.0")
@ -93,7 +93,7 @@ also use Valgrind to build new tools.")
;; Hide this variant so end users get the "interactive" Valgrind below. ;; Hide this variant so end users get the "interactive" Valgrind below.
(properties '((hidden? . #t))))) (properties '((hidden? . #t)))))
(define-public valgrind-next (define-public valgrind
(package (package
(inherit valgrind/pinned) (inherit valgrind/pinned)
(version "3.25.0") (version "3.25.0")
@ -110,10 +110,8 @@ also use Valgrind to build new tools.")
'("i586-gnu" "x86_64-gnu" '("i586-gnu" "x86_64-gnu"
"armhf-linux"))))) "armhf-linux")))))
(define-public valgrind valgrind/pinned)
(define-public valgrind/interactive (define-public valgrind/interactive
(package/inherit valgrind-next (package/inherit valgrind
(inputs (inputs
;; GDB is needed to provide a sane default for `--db-command'. ;; GDB is needed to provide a sane default for `--db-command'.
(list gdb `(,(canonical-package (libc-for-target)) "debug"))) (list gdb `(,(canonical-package (libc-for-target)) "debug")))

View file

@ -5597,8 +5597,8 @@ It uses the uwsgi protocol for all the networking/interprocess communications.")
;(list ruby bundler) ;(list ruby bundler)
'() '()
(if (member (%current-system) (if (member (%current-system)
(package-supported-systems valgrind)) (package-supported-systems valgrind/pinned))
(list valgrind) (list valgrind/pinned)
'()))) '())))
(build-system gnu-build-system) (build-system gnu-build-system)
(home-page "https://jqlang.github.io/jq/") (home-page "https://jqlang.github.io/jq/")