witty-crayon-22786
11/03/2017, 9:22 PMwitty-crayon-22786
11/03/2017, 9:23 PM.cache
by default)prehistoric-advantage-59814
11/03/2017, 9:23 PMprehistoric-advantage-59814
11/03/2017, 9:25 PM--cache-compile-zinc-ignore
does what I want 🙂eager-raincoat-57702
11/03/2017, 9:58 PMwitty-crayon-22786
11/03/2017, 10:37 PMwitty-crayon-22786
11/03/2017, 10:38 PMwitty-crayon-22786
11/03/2017, 10:38 PMeager-raincoat-57702
11/03/2017, 11:28 PMwitty-crayon-22786
11/03/2017, 11:30 PM--cache-compile-zinc-ignore
was added in 1.4.0dev something.witty-crayon-22786
11/03/2017, 11:31 PM--no-cache-compile-zinc-read
has existed for a long time.witty-crayon-22786
11/03/2017, 11:31 PM./pants clean-all
and then build with --no-cache-compile-zinc-read
eager-raincoat-57702
11/03/2017, 11:45 PMeager-raincoat-57702
11/03/2017, 11:45 PMdazzling-plumber-90795
11/06/2017, 2:01 PMException message: Failed to fetch binary bin/native-engine/mac/10.13/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so from any source: (Failed to fetch binary from <https://s3.amazonaws.com/binaries.pantsbuild.org/bin/native-engine/mac/10.13/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so>: Fetch of <https://s3.amazonaws.com/binaries.pantsbuild.org/bin/native-engine/mac/10.13/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so> failed with status code 404)
I guess there's some missing overlap between https://github.com/pantsbuild/pants/pull/4894 and https://github.com/pantsbuild/pants/pull/4806. What's the best way to resolve this issue?enough-analyst-54434
11/06/2017, 2:43 PMdazzling-plumber-90795
11/06/2017, 2:58 PMException message: Failed to fetch binary bin/native-engine/mac/10.12/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so from any source: (Failed to fetch binary from <https://s3.amazonaws.com/binaries.pantsbuild.org/bin/native-engine/mac/10.12/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so>: Fetch of <https://s3.amazonaws.com/binaries.pantsbuild.org/bin/native-engine/mac/10.12/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so> failed with status code 404)
enough-analyst-54434
11/06/2017, 3:10 PMdazzling-plumber-90795
11/06/2017, 3:14 PMenough-analyst-54434
11/06/2017, 4:28 PM$ curl -sSL <https://binaries.pantsbuild.org/> | xmllint --format - | grep ab51a617f069641eb6b47e8713e51150ad0a6ab0
<Key>bin/native-engine/linux/x86_64/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.10/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.11/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.12/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.13/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.7/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.8/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
<Key>bin/native-engine/mac/10.9/ab51a617f069641eb6b47e8713e51150ad0a6ab0/native_engine.so</Key>
Filed https://github.com/pantsbuild/pants/issues/5061 to track a general fix for 1.3.X, releases of which which will continually run into this issue if left as-is.dazzling-plumber-90795
11/06/2017, 4:29 PMdazzling-plumber-90795
11/06/2017, 4:29 PMenough-analyst-54434
11/06/2017, 4:29 PMbulky-motorcycle-41302
11/06/2017, 5:46 PMbulky-motorcycle-41302
11/06/2017, 5:47 PMthousands-flower-10438
11/06/2017, 8:39 PMAt the next Pants major release version, BUILD files won't support arbitrary python code, they'll be purely declarative. So avoiding code if at all possible will help you in the long run.
you said @enough-analyst-54434 - and Kderr asked That include passing dictionary literals as arguments to targets?
I had the same question when you have time 🙂enough-analyst-54434
11/06/2017, 8:43 PMenough-analyst-54434
11/06/2017, 8:44 PMjava_library(**{'key': 'value', ...})
?thousands-flower-10438
11/06/2017, 8:49 PMcustom_target(
name=‘test1’,
tags=[‘foobar’],
extra_vars={
‘foo’: ‘bar',
‘baz’: {
‘baz’: ‘faz’,
'ref': ‘1234’,
'port': 4567
}
},
dependencies=[
‘dep1/foo,
‘dep2/bar’
]
)
thousands-flower-10438
11/06/2017, 8:51 PM