facebook / buck

A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
https://buck.build
Apache License 2.0
8.56k stars 1.16k forks source link

Build failing - When running <generate_resource_ids> #2670

Closed ronnie-o-sullivan closed 2 years ago

ronnie-o-sullivan commented 2 years ago

The following resources were not found when processing Pair(//module-trade/spot-internal:res_debug#resources-symlink-tree, buck-out/gen/module-trade/spot-internal/res_Debug#resources-symlink-tree/res): RDotTxtEntry{idType=int, type=string, name=buy, idValue=0x00000000, parent=buy} RDotTxtEntry{idType=int, type=string, name=title, idValue=0x00000000, parent=title} RDotTxtEntry{idType=int, type=color, name=color_999999, idValue=0x00000000, parent=color_999999}

Building: finished in 3.2 sec (100%) 147/156 jobs, 13 updated Total time: 3.3 sec Command failed with exit code 1. When running . When building rule //app/debug-do:res_debug.

ronnie-o-sullivan commented 2 years ago

I find that, A module references to resources who was defined in B module, but A not dependency B, it will lead to build failure. It is my fault.