Subject: Re: bug#50756: [PATCH] gnu: Add lttng-tools.
From: Ludovic Courtès <[email-masked]>
To: Olivier Dion <[email-masked]>
Cc: [email-masked], Xinglu Chen <[email-masked]>
Date: Mon, 25 Oct 2021 14:02:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Olivier,

Olivier Dion <[email-masked]> skribis:

> * gnu/packages/linux.scm (lttng-tools): New variable.

Applied!

I noticed this:

--8<---------------cut here---------------start------------->8---
$ strace -f -o ,,s /gnu/store/dyx2cwfv85d02bdhbvi1l8wqrxya7gdk-lttng-tools-2.12.5/bin/lttng --help
Error: Cannot show --help for `lttng`
exec: No such file or directory
$ grep execve ,,s
39780 execve("/gnu/store/dyx2cwfv85d02bdhbvi1l8wqrxya7gdk-lttng-tools-2.12.5/bin/lttng", ["/gnu/store/dyx2cwfv85d02bdhbvi1l"..., "--help"], 0x7ffc335c9a50 /* 34 vars */) = 0
39780 execve("/usr/bin/man", ["man", "-M", "/gnu/store/dyx2cwfv85d02bdhbvi1l"..., "1", "lttng"], 0x7ffecb1adb50 /* 34 vars */) = -1 ENOENT (Aucun fichier ou dossier de ce type)
--8<---------------cut here---------------end--------------->8---

IWBN if you could follow up with a patch that changes /usr/bin/man to
the right absolute file name.

Thank you!

Ludo’.