Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
In the course of the “Caching…” step of a depends build, the touch
command for creating determinstic package archive timestamps fails on OpenBSD. The reason is that the used option -h
option (introduced in PR #21995, commit 6ebe57622cb70df529879b15f291166177f2827c) doesn’t exist in OpenBSD’s version of touch (see https://man.openbsd.org/touch.1). E.g. for zeromq:
0[ ... ]
1Postprocessing zeromq...
2Caching zeromq...
3touch: unknown option -- h
4usage: touch [-acm] [-d ccyy-mm-ddTHH:MM:SS[.frac][Z]] [-r file]
5 [-t [[cc]yy]mmddHHMM[.SS]] file ...
Expected behaviour
Ideally, creating deterministic package archive timestamps should also work on OpenBSD. As an alternative, if that’s not easily possible, the touch command shouldn’t be executed at all on OpenBSD, do avoid the “unknown option” error message.
Steps to reproduce
Make a fresh depends build on OpenBSD, e.g. (for zeromq):
0$ gmake -C depends clean
1$ gmake -C depends NO_BDB=1 NO_BOOST=1 NO_LIBEVENT=1 NO_QT=1 NO_SQLITE=1 NO_NATPMP=1 NO_UPNP=1 NO_USDT=1
Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master branch (commit 6c24eb55e021991196003dc7f0a643e806b14295)
Operating system and version
OpenBSD 7.4 (amd64)
Machine specifications
No response