FS#65326 - [valgrind] Man pages are broken

Attached to Project: Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Thursday, 30 January 2020, 04:33 GMT
Last edited by Levente Polyak (anthraxx) - Thursday, 21 January 2021, 01:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No



$ man valgrind
The single most important option.

.PP --tool=<toolname> [default: memcheck]

Run the Valgrind tool called toolname, e.g. memcheck, cachegrind, callgrind, helgrind, drd, massif, dhat, lackey, none,
exp-sgcheck, exp-bbv, etc.


Here is a patch for PKGBUILD that fixes man pages:

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 7fd4544..0e0c4c3 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -33,7 +33,7 @@ pkgver() {
prepare() {
cd valgrind
patch -Np1 < ../valgrind-3.7.0-respect-flags.patch
- sed -i 's|sgml/docbook/xsl-stylesheets|xml/docbook/xsl-stylesheets-1.79.2|' docs/Makefile.am
+ sed -i 's|sgml/docbook/xsl-stylesheets|xml/docbook/xsl-stylesheets-1.79.2-nons|' docs/Makefile.am

autoreconf -ifv

Additional info:
extra/valgrind 3.15.0

Steps to reproduce:
Stated above
This task depends upon

Closed by  Levente Polyak (anthraxx)
Thursday, 21 January 2021, 01:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.16.1-2
Comment by (goeiecool9999) - Sunday, 29 November 2020, 10:27 GMT
Applying the patch at this URL fixes the MPI build error.

Combined with the patch in this bug report the valgrind package is fixed.