Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66840 - [openssh] inetutils needs to be installed for check()

Attached to Project: Arch Linux
Opened by Nicolas I. (IooNag) - Saturday, 30 May 2020, 18:15 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 30 May 2020, 18:33 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When building openssh package from source in a fresh virtual machine, check() fails with the following messages:

/tmp/makepkg/openssh/src/openssh-8.3p1/regress/percent.sh: line 13: hostname: command not found
/tmp/makepkg/openssh/src/openssh-8.3p1/regress/percent.sh: line 14: hostname: command not found
percent expansions matchexec
matchexec=%C expect 3bee5910f20f4caf5c3d6c70e5370d4b31faa435 got a1c4c054e43c1b01313189f2e37065094e0e26c7
matchexec=%L expect got archlinux
matchexec=%l expect got archlinux
...
remoteforward=%L expect / / got /archlinux /archlinux
remoteforward=%l expect / / got /archlinux /archlinux
remoteforward=%%/%C/%i/%h/%d/%L/%l/%n/%p/%r/%u expect /%/3bee5910f20f4caf5c3d6c70e5370d4b31faa435/1000/127.0.0.1//home/vagrant///somehost/4242/remuser/vagrant /%/3bee5910f20f4caf5c3d6c70e5370d4b31faa435/1000/127.0.0.1//home/vagrant///somehost/4242/remuser/vagrant got /%/a1c4c054e43c1b01313189f2e37065094e0e26c7/1000/127.0.0.1//home/vagrant/archlinux/archlinux/somehost/4242/remuser/vagrant /%/a1c4c054e43c1b01313189f2e37065094e0e26c7/1000/127.0.0.1//home/vagrant/archlinux/archlinux/somehost/4242/remuser/vagrant
failed percent expansions
make[1]: *** [Makefile:213: t-exec] Error 1
make[1]: Leaving directory '/tmp/makepkg/openssh/src/openssh-8.3p1/regress'
make: *** [Makefile:678: t-exec] Error 2
==> ERROR: A failure occurred in check().
Aborting...

This is due to command "hostname" not being installed. This command is provided by package inetutils. Installing this package fixed this issue.

Could you please add "checkdepends=('inetutils')", or something similar, to openssh's PKGBUILD?

Additional info:
* package version(s): openssh 8.3p1-1 (8.2p1-3 tests did not seem to require "hostname")
* config and/or log files etc: fresh virtual machine using Vagrant image https://app.vagrantup.com/archlinux/boxes/archlinux
* In the log I wrote, 3bee5910f20f4caf5c3d6c70e5370d4b31faa435 is the SHA1 digest of "127.0.0.14242remuser" and a1c4c054e43c1b01313189f2e37065094e0e26c7 the digest of "archlinux127.0.0.14242remuser"

Steps to reproduce:
* Create a fresh virtual machine, for example with "vagrant init archlinux/archlinux && vagrant up"
* Install base-devel and asp
* Get the latest openssh source using "asp checkout openssh && cd openssh/repos/core-x86_64"
* Run "makepkg"
This task depends upon

Closed by  Gaetan Bisson (vesath)
Saturday, 30 May 2020, 18:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  in SVN
Comment by Gaetan Bisson (vesath) - Saturday, 30 May 2020, 18:33 GMT
Thanks for spotting this!

Loading...