acoustic-book-58772
05/22/2019, 6:17 PMFAILURE: Failed to fetch binary bin/thrift/mac/10.14/0.9.2/thrift from any source: (Failed to fetch binary from <https://binaries.pantsbuild.org/bin/thrift/mac/10.14/0.9.2/thrift>: Fetch of <https://binaries.pantsbuild.org/bin/thrift/mac/10.14/0.9.2/thrift> failed with status code 404)
Was the file removed because of the 1.14 update? We upgraded to 1.14
a few weeks ago but pinned thrift to 0.9.2
because we are still working through some kinks in the thrift upgrade itself.aloof-angle-91616
05/22/2019, 6:18 PMacoustic-book-58772
05/22/2019, 6:19 PMaloof-angle-91616
05/22/2019, 6:20 PMaloof-angle-91616
05/22/2019, 6:20 PMaloof-angle-91616
05/22/2019, 6:21 PMbinaries_path_by_id
globally in pants.ini or sets PANTS_BINARIES_PATH_BY_ID
in the env (possibly to work around a previous version of this issue), that could be causing italoof-angle-91616
05/22/2019, 6:22 PM> ./pants options | grep binaries_path_by_id
would be usefulacoustic-book-58772
05/22/2019, 6:27 PMFAILURE: Unable to find binary thrift version 0.9.2. Update --binaries-path-by-id to find binaries for (u'darwin', u'18')
, which they tried to work around by adding:
[binaries]
path_by_id: {('darwin', '18'): ('mac', '10.14')}
For context, I also have under the [DEFAULT]
section
path_by_id: {('darwin', '18'): ('mac', '10.13')}
aloof-angle-91616
05/22/2019, 6:29 PM[binaries]
is a deprecated scope (which pants should be creating a warning about -- is it doing that?) -- the new option is global, just binaries_path_by_id
(it's confusing, and there's an options parsing bug in https://github.com/pantsbuild/pants/issues/5282 making it more confusing -- sorry about that!).aloof-angle-91616
05/22/2019, 6:30 PMPANTS_BINARIES_PATH_BY_ID
acoustic-book-58772
05/22/2019, 6:30 PM[binary]
and under [DEFAULT]
yeah?aloof-angle-91616
05/22/2019, 6:30 PMaloof-angle-91616
05/22/2019, 6:32 PMunset PANTS_BINARIES_PATH_BY_ID
), and it continues to fail, then adding binaries_path_by_id: {('darwin', '18'): ('mac', '10.14')}
in [GLOBAL]
should solve the problem -- but i would ask you to make an issue if you can with any repro info you have at hand, since this is supposed to be fixed. it's possible we could do something more complex to detect if the option is being overridden, but it's not clear what the right behavior would necessarily be thereacoustic-book-58772
05/22/2019, 6:36 PMbinaries_path_by_id = {(u’darwin’, u'18'): (u’mac’, u'10.14')} (from CONFIG in pants.ini)
aloof-angle-91616
05/22/2019, 6:36 PMaloof-angle-91616
05/22/2019, 6:37 PMacoustic-book-58772
05/22/2019, 6:41 PMacoustic-book-58772
05/22/2019, 6:45 PM1.4
derp. Really should have done all the fundamental checks first my bad.acoustic-book-58772
05/22/2019, 6:45 PMaloof-angle-91616
05/22/2019, 9:10 PM1.4
though!aloof-angle-91616
05/22/2019, 9:10 PMaloof-angle-91616
05/22/2019, 9:10 PM