bitcoin-qt has a tightly coupled dependency on Qt resources being initialized before
help text is generated (see the code. it's related to translations). This is problematic for
generating the manpages because it needs to run bitcoin-qt --help. We can get around this
for now using xvfb to spoof a DISPLAY. A longer term solution would be to decouple Qt from
the help text, but a lot more thought needs to be put into if this is acceptable and if the
deviate from Core would be worth it.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rSTAGING4826fc6251ad: Spoof DISPLAY on headless build servers when generating manpages for bitcoin-qt
rABC4826fc6251ad: Spoof DISPLAY on headless build servers when generating manpages for bitcoin-qt
COMMIT_TYPE=update-manpages ./automated-commits.sh # fails without xvfb installed sudo apt-get install xvfb COMMIT_TYPE=update-manpages ./automated-commits.sh # succeeds
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable