Skip to content

Conversation

@D4nte
Copy link

@D4nte D4nte commented Oct 7, 2019

Resolves #16891.

bitcoinstrings.cpp is to be generated at release time. Hence,
it should not depend on whether the source files are younger as the
releaser may proceed from a fresh checkout.

More information on the investigation in the issue.

`bitcoinstrings.cpp` is to be generated at release time. Hence,
it should not depend on whether the source files are younger as the
releaser may proceed from a fresh checkout.
@D4nte D4nte changed the title Always generate bitcoinstrings.cpp on make translate qt: Always generate bitcoinstrings.cpp on make translate Oct 7, 2019
@laanwj
Copy link
Member

laanwj commented Oct 8, 2019

Concept ACK. Can you please test it on a Mac @fanquake ?

FORCE is generally a kludge, but for a sub-command that is explicitly called like make translate (whose result is meant to be checked in). I think it's fine.

@jonasschnelli
Copy link
Contributor

Tested master on macOS 10.14 and ran into the same issue #16891 (when changing bitcoinstrings.cpp).

Tested ACK c640ca2 - Tested master + this on macOS 10.14. With this PR, it always "runs" GEN qt/bitcoinstrings.cpp and GEN translate.

laanwj added a commit that referenced this pull request Oct 8, 2019
…late`

c640ca2 Always generate `bitcoinstrings.cpp` on `make translate` (Franck Royer)

Pull request description:

  Resolves #16891.

  `bitcoinstrings.cpp` is to be generated at release time. Hence,
  it should not depend on whether the source files are younger as the
  releaser may proceed from a fresh checkout.

  More information on the investigation in the issue.

ACKs for top commit:
  jonasschnelli:
    Tested ACK c640ca2 - Tested master + this on macOS 10.14. With this PR, it always "runs" `GEN      qt/bitcoinstrings.cpp` and `GEN      translate`.

Tree-SHA512: f799fdc3ad16a2a6a59704bc2c50f5179e6a7e064d8f43354592f11857cc901cac99b2b90f3319d25d49c9d78378b8d119cc5f59b48ea7f1008f33dd26700877
@laanwj laanwj merged commit c640ca2 into bitcoin:master Oct 8, 2019
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 8, 2019
…e translate`

c640ca2 Always generate `bitcoinstrings.cpp` on `make translate` (Franck Royer)

Pull request description:

  Resolves bitcoin#16891.

  `bitcoinstrings.cpp` is to be generated at release time. Hence,
  it should not depend on whether the source files are younger as the
  releaser may proceed from a fresh checkout.

  More information on the investigation in the issue.

ACKs for top commit:
  jonasschnelli:
    Tested ACK c640ca2 - Tested master + this on macOS 10.14. With this PR, it always "runs" `GEN      qt/bitcoinstrings.cpp` and `GEN      translate`.

Tree-SHA512: f799fdc3ad16a2a6a59704bc2c50f5179e6a7e064d8f43354592f11857cc901cac99b2b90f3319d25d49c9d78378b8d119cc5f59b48ea7f1008f33dd26700877
@D4nte D4nte deleted the 16891-gettext-mac branch October 9, 2019 05:13
MarkLTZ added a commit to litecoinz-core/litecoinz that referenced this pull request Nov 17, 2019
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Apr 21, 2020
…late`

Summary:
c640ca24f9d94f468ec6de023bf885813ac6c9a9 Always generate `bitcoinstrings.cpp` on `make translate` (Franck Royer)

Pull request description:

  Resolves #16891.

  `bitcoinstrings.cpp` is to be generated at release time. Hence,
  it should not depend on whether the source files are younger as the
  releaser may proceed from a fresh checkout.

  More information on the investigation in the issue.

ACKs for top commit:
  jonasschnelli:
    Tested ACK c640ca24f9d94f468ec6de023bf885813ac6c9a9 - Tested master + this on macOS 10.14. With this PR, it always "runs" `GEN      qt/bitcoinstrings.cpp` and `GEN      translate`.

Tree-SHA512: f799fdc3ad16a2a6a59704bc2c50f5179e6a7e064d8f43354592f11857cc901cac99b2b90f3319d25d49c9d78378b8d119cc5f59b48ea7f1008f33dd26700877

Backport of Core [[bitcoin/bitcoin#17068 | PR17068]]

According to the PR discussion, this issue may affect `make translate` on MacOS and Ubuntu.

Reviewer note: This is out of order, as [[bitcoin/bitcoin#16291 | PR16291]] should ideally come first. But I don't want to tackle that backport
at this time.

Depends on D5790 for the test plan.

Test Plan:
```
../configure
make -j8
cd src
make translate
arc lint
```
Not committed with this patch, but there should be some sane output in bitcoinstrings.cpp

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5791
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Mar 22, 2021
…make translate`

`bitcoinstrings.cpp` is to be generated at release time. Hence,
it should not depend on whether the source files are younger as the
releaser may proceed from a fresh checkout.
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: make translate not working correctly on macOS

4 participants