Ah. A little more detail (maybe I'm on the way to debugging ... but really new to this code):
I find that the problem appears to be in the _tags file. Relevant section reproduced below:
# Executable foo_test
"foo_test.native": pkg_bitcoin
"foo_test.native": pkg_str
"foo_test.native": use_foolib
<*.ml{,i,y}>: pkg_bitcoin
<*.ml{,i,y}>: pkg_str
<*.ml{,i,y}>: use_foolib
# OASIS_STOP
the lines with "<*.ml{,i,y}>" and pkg_bitcoin, use_foolib are produced when the Executable is uncommented. And if I comment out those two lines, I get the expected (it seems to me, correct) behaviour (which is that when building
foo.ml, "-package bitcoin" should not be applied.
--chet--