Hi everyone,
running sxmo_build_all.sh [0] on a fresh postmarketOS edge install on
the pinephone currently gives me the following error while building
bonsai:
hare build -o bonsaid cmd/bonsaid/
Error resolving ev: Module not found
make: *** [Makefile:18: bonsaid] Error 255
I tried adding the libev-dev package.
"find / -name ev.h 2>/dev/null" returns "/usr/include/ev.h"
I removed the build-sxmo-dev directory and ran sxmo_build_all.sh again,
it still fails with the same error.
Manually running "make test" in the bonsai subfolder doesn't complain:
Running 10 tests:
bonsai::load_basic_transitions..................... OK
bonsai::write_basic_transitions.................... OK
bonsai::state_forward_context_changed_test......... OK
bonsai::state_forward_event_received_test.......... OK
bonsai::state_forward_check_exec_test.............. OK
bonsai::state_forward_check_delay_triggered_test... OK
bonsai::state_forward_check_returned_init_test..... OK
bonsai::state_forward_check_returned_init_test..... OK
bonsai::context_element_str_test................... OK
bonsai::str_context_element........................ OK
10 passed; 0 failed; 10 tests completed in 0.130s
Manually running make (as sxmo_build_all.sh does) results in the same
output as above:
hare build -o bonsaid cmd/bonsaid/
Error resolving ev: Module not found
make: *** [Makefile:18: bonsaid] Error 255
Searching for ev online mostly gives me the latest news about electric
vehicles. Searching "import ev hare" doesn't help.. What am I missing?
Thanks,
lcis
(After just using postmarketOS 22.12 with sxmo for a couple of weeks now
I'd like to have the latest sxmo pmOS setup in order to not test or fix
things that are already fixed and maybe participate in development.
Would sxmo_build_all.sh on top of a fresh pmbootstrap install .img be
the preferred way to get the current master, so to speak?)
[0] https://git.sr.ht/~mil/sxmo-build/tree/master/item/sxmo_build_all.sh
Hey,
Current master branch has been refactorised to use hare-ev :
https://git.sr.ht/~sircmpwn/hare-ev
This dependency isnt yet released nor packaged so you have to install it
yourself.
I'll have a look at the sxmo_build_all.sh because it is a mistake that
it tries to build bonsai instead of installing the packaged version.
Thanks for reporting this !
I just pushed on sxmo-build to add bonsai instead of building it. It
should be fine now.
> (After just using postmarketOS 22.12 with sxmo for a couple of weeks now > I'd like to have the latest sxmo pmOS setup in order to not test or fix > things that are already fixed and maybe participate in development. > Would sxmo_build_all.sh on top of a fresh pmbootstrap install .img be > the preferred way to get the current master, so to speak?)
If by "latest sxmo pmOS" you mean edge, then yes.
It is the best way to run updated things. But if you want to hack
and fix things, you should git clone the dependencies and use their
makefiles.
Feels free to ask on #sxmo if you need help