depends build fails due to OpenBSD touch incompatibility with -h option #36519

issue Nitya-003 opened this issue on October 14, 2026
  1. Nitya-003 commented at 4:04 AM on October 14, 2026: none

    While trying to cross-compile / build Bitcoin Core on an OpenBSD host or using the OpenBSD dependency builder (depends/builders/openbsd.mk), the build process encounters an incompatibility with the touch utility.

    Specifically, OpenBSD's native touch command does not recognize or support the -h flag (which is typically used to change the timestamps of symbolic links rather than the files they point to on other Unix variants like GNU coreutils/Linux).

    The openbsd.mk file currently defines specific command overrides for OpenBSD tools (e.g., setting build_openbsd_TOUCH = touch -m -t 200001011200). However, anywhere the -h flag is being passed to touch during the OpenBSD build workflow, it needs to be adjusted or stripped since OpenBSD's touch doesn't support modifying symlink timestamps via -h.

  2. hebasto commented at 5:21 AM on October 14, 2026: member

    Which OpenBSD release exactly?

    FWIW, releases 7.9 and 7.8 build fine: https://github.com/hebasto/bitcoin-core-nightly/actions/runs/38359240744.

  3. hebasto added the label Build system on Oct 14, 2026
  4. Nitya-003 commented at 8:21 AM on October 14, 2026: none

    I am trying with 7.8 systemlibs succeeded depends aint

  5. hebasto commented at 8:24 AM on October 14, 2026: member

    Could you please provide the exact steps to reproduce the issue with command outputs and error messages?

  6. maflcko commented at 10:03 AM on October 14, 2026: member

    Also, the exact version of Bitcoin Core (git log -1, git status, git diff)

  7. Nitya-003 commented at 4:01 PM on October 16, 2026: none

    @hebasto Thanks for support! The issue got resolved...It was due to version mismatch of git log -1

  8. Nitya-003 closed this on Oct 16, 2026


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-10-26 15:51 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me