From what I deciphered reading the line https://github.com/bitcoin/bitcoin/blob/master/contrib/macdeploy/macdeployqtplus#L390 is that qt translations are optional to have hence we should be able to build without it but the case where the flag translations_dir falls back to its default Null value it raises this error. I have moved the code which adds language files under the if statement that first checks if the value of the flag is not Null before referencing it. This PR assumes that having Qt translations is optional however this statement requires a second opinion. Build completes successfully post this change with default value of the flag.
contrib: fix for macOS deployment build failing on Qt translations even though it is optional. #33358
pull amishhaa wants to merge 0 commits into bitcoin:master from amishhaa:master changing 0 files +0 −0-
amishhaa commented at 4:32 pm on September 10, 2025: none
-
DrahtBot added the label Scripts and tools on Sep 10, 2025
-
DrahtBot commented at 4:32 pm on September 10, 2025: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33358.
Reviews
See the guideline for information on the review process. A summary of reviews will appear here.
-
fanquake commented at 8:19 pm on September 23, 2025: memberThanks. You’ll need to remove the merge commit here. Can you change the commit message to something more like:
contrib: fix using macdeploy script without translations
. -
amishhaa force-pushed on Sep 23, 2025
-
amishhaa force-pushed on Sep 23, 2025
-
amishhaa force-pushed on Sep 25, 2025
-
amishhaa force-pushed on Sep 25, 2025
-
amishhaa force-pushed on Sep 25, 2025
-
amishhaa commented at 1:10 pm on September 25, 2025: none@hebasto yes! So I was following the general steps to set up app on macos however I didn’t download any qt translations presuming it was optional from the comment linkedin in PR, so to reproduce if you have translation directories in place ull need to delete them and then try to build the file, otherwise don’t download it at all and try to build it. It should fail on that flag as translations dir was never downloaded.
-
amishhaa force-pushed on Sep 26, 2025
-
amishhaa closed this on Sep 26, 2025
-
amishhaa force-pushed on Sep 26, 2025
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: 2025-10-10 15:13 UTC
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: 2025-10-10 15:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me