Open dlech opened 3 years ago
To make it work, I have to run:
buildozer android p4a -- clean-recipe-build bleak --local-recipes=../../../../../../bleak/backends/p4android/recipes
It is inconvenient to have to add the extra argument and to remember to add ../../../../
to the path given in the spec file. It would be much nicer if the argument from the spec file was passed to this p4a
command like it is to other commands.
So much, "Ugh!" Ironically, I just hit this exact same issue while also attempting (but failing) to force Buildozer to acknowledge the exact same Bleak recipe. Incidentally, let's note that @dlech is the active maintainer for Bleak. Mad props, @dlech.
I can also confirm that this...
It would be much nicer if the argument from the spec file was passed to this
p4a
command like it is to other commands.
...doesn't actually appear to be the case. The buildozer android p4a
command always unconditionally ignores the p4a.local_recipes
setting in the top-level buildozer.spec
file. This applies to not merely the clean-recipe-build
subcommand but to all the other subcommands as well (e.g., buildozer android p4a -- recipes
).
This is probably thanks to the extreme caching performed by both Buildozer and p4a
. The buildozer android p4a
command probably reuses a previously synthesized dist, build, or bootstrap rather than re-reading the top-level buildozer.spec
file. Since internal and external documentation is scant on the subject, we're just left with bad assumptions. :face_exhaling:
Versions
Description
I'm trying to clean a local recipe to rebuild it without rebuilding everything else. I would expect the following command to work:
buildozer.spec
Command:
Spec file:
Logs