if "bitbake-layers" HOSTTOOLS fails check, does layer fail to add?
was just handed a sizable YP/WRL project and i *think* i can see
what the problem is, so i'll keep it short (he said, optimistlcally).
the symptom is that, of the dozens of layers that should end up in
bblayers.conf (all this running on a VM in a docker container), one layer is missing, and that's the one that defines all the distro config files, so the eventual error is:
DISTRO 'slartibartfast' not found ...
well, yeah, and that's pretty clearly because the corresponding layer is, for whatever reason, not being added to bblayers.conf. so why not?
look further into output and notice that, just above that, there is
an error that shows an essential tool cannot be found:
ERROR: THe following required tools (as specified by HOSTTOOLS) cannot be found ...
snafu
and, sure enough, the missing layer does insist in its layer.conf that:
HOSTTOOLS += "snafu"
so i am assuming that, because that layer was being added via "bitbake-layers" and that layer had a HOSTTOOLS requirement that was not satisfied, that's why the failure of the layer addition, yes?
just to bypass this issue, is there a bitbake-layers option that
bypasses that sanity checking? i can see "-F" but that claims to bypass recipe parse verification, which is not what this is.
this all depends on the assumption that that failed HOSTTOOLS test
is what caused the failure of the layer addition, which cascaded down to other errors.
rday
Quoted 31 lines · Robert P. J. Day
was just handed a sizable YP/WRL project and i *think* i can see
what the problem is, so i'll keep it short (he said, optimistlcally).the symptom is that, of the dozens of layers that should end up in
bblayers.conf (all this running on a VM in a docker container), one layer is missing, and that's the one that defines all the distro config files, so the eventual error is:DISTRO 'slartibartfast' not found ...
well, yeah, and that's pretty clearly because the corresponding layer is, for whatever reason, not being added to bblayers.conf. so why not?
look further into output and notice that, just above that, there is
an error that shows an essential tool cannot be found:ERROR: THe following required tools (as specified by HOSTTOOLS) cannot be found ...
snafuand, sure enough, the missing layer does insist in its layer.conf that:
HOSTTOOLS += "snafu"
so i am assuming that, because that layer was being added via "bitbake-layers" and that layer had a HOSTTOOLS requirement that was not satisfied, that's why the failure of the layer addition, yes?
Quoted 8 lines
just to bypass this issue, is there a bitbake-layers option that
bypasses that sanity checking? i can see "-F" but that claims to bypass recipe parse verification, which is not what this is.this all depends on the assumption that that failed HOSTTOOLS test
is what caused the failure of the layer addition, which cascaded down to other errors.
The layer is expressing that it can not work without that tool, maybe use HOSTTOOLS_NONFATAL but if it is really needed then it should be installed on host and prerequisite.
Quoted 10 lines
rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196680): https://lists.openembedded.org/g/openembedded-core/message/196680
Mute This Topic: https://lists.openembedded.org/mt/104766066/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-