build: ensure release binaries don't contain `depends` references #36270

pull fanquake wants to merge 4 commits into bitcoin:master from fanquake:check_no_depends changing 7 files +11 −2
  1. fanquake commented at 10:53 AM on September 16, 2026: member

    It doesn't make sense for the release binaries to contain references to depends, either in debug symbols, or in relation to runtime functionality (i.e loading fonts, icons, keyboard configs), as it's unlikely that "depends" exists on a users system at runtime.

    There are a number of Qt (and sub dep) related changes here. Not completely sure what is the best approach for these. My current understanding is that most of these changes should be a no-op at runtime.

  2. DrahtBot added the label Build system on Sep 16, 2026
  3. DrahtBot commented at 10:54 AM on September 16, 2026: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    External sites

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline and AI policy for information on the review process. A summary of reviews will appear here.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #36593 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36593.svg"></sub> (depends: Update Qt to 6.12.0 by hebasto)
    • #25573 <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/25573.svg"></sub> (guix: produce a -static-pie bitcoind by fanquake)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  4. guix: map depends paths 18dea98ffd
  5. depends: set Qt -prefix to /usr
    Should avoid depends paths ending up in Guix binaries:
    
    /bitcoin/depends/x86_64-linux-gnu/share/X11/xkb
    ~/.local/share/icons:~/.icons:/bitcoin/depends/x86_64-linux-gnu/share/icons:/bitcoin/depends/x86_64-linux-gnu/share/pixmaps
    qt_prfxpath=/bitcoin/depends/x86_64-linux-gnu
    9afbee8396
  6. depends: patch out more Qt (dep) depends paths fff7ed379e
  7. contrib: check guix build doesn't have depends remnants 6b6f29b0da
  8. fanquake force-pushed on Nov 6, 2026
  9. fanquake marked this as ready for review on Nov 6, 2026
  10. fanquake commented at 1:18 PM on November 6, 2026: member

    @hebasto have you got any thoughts on the Qt (or sub dep) related changes here?

Contributors

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-11-15 02:51 UTC

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