pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54675: pkg_chk: hostname not found



Le 2019-11-08 12:38, Jonathan Perkin a écrit :
* On 2019-11-08 at 11:29 GMT, Frédéric Fauberteau wrote:

The inetutils package is not in the base set of Arch Linux and the hostname command is not available by default on a minimal system. pkgtools/pkg_chk
uses this command in its script and fails.

The patch provided fixes the issue by adding net/inetutils as a dependency if OPSYS is Arch. It works but there maybe is a more elegant/general way to solve it. I prefer requesting the opinion of the maintainer before savagely
committing.

Would it not be simpler to just call $(uname -n) instead?

Yes, /usr/bin/uname is in coreutils which is required by both base package set and linux.

No counter-argument to use $(uname -n) instead of $(hostname)?


Home | Main Index | Thread Index | Old Index