[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/32166] New: gprofn testsuite uses non-portable which
From: |
sam at gentoo dot org |
Subject: |
[Bug gprofng/32166] New: gprofn testsuite uses non-portable which |
Date: |
Wed, 11 Sep 2024 20:54:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32166
Bug ID: 32166
Summary: gprofn testsuite uses non-portable which
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gprofng
Assignee: vladimir.mezentsev at oracle dot com
Reporter: sam at gentoo dot org
Target Milestone: ---
The gprofng seems to use `which` in a few places.
`which` isn't portable. Debian as well as other distros like Gentoo are trying
to remove it from their base system. See https://lwn.net/Articles/874049/.
For bash scripts, `type -P foo` is a good replacement. For POSIX shell scripts,
`command -v foo` is fine.
testsuite/lib/Makefile.skel has:
```
JAVABIN = $(shell dirname `which java`)
```
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gprofng/32166] New: gprofn testsuite uses non-portable which,
sam at gentoo dot org <=
- [Bug gprofng/32166] gprofn testsuite uses non-portable which, sam at gentoo dot org, 2024/09/11
- [Bug gprofng/32166] gprofng testsuite uses non-portable which, sam at gentoo dot org, 2024/09/11
- [Bug gprofng/32166] gprofng testsuite uses non-portable which, cvs-commit at gcc dot gnu.org, 2024/09/12
- [Bug gprofng/32166] gprofng testsuite uses non-portable which, sam at gentoo dot org, 2024/09/12
- [Bug gprofng/32166] gprofng testsuite uses non-portable which, sam at gentoo dot org, 2024/09/12