Closed olivierpichon closed 4 years ago
Try INSANE_SKIP_${PN} += "staticdev"
. Probably an acceptable workaround in this scenario.
Thanks a lot for such a quick feedback @jan-kiszka , we're getting further, now the error is:
ERROR: Nothing RPROVIDES 'echo' (but /home/user/yocto/iot2000-enspara/meta-iot2000-enspara/recipes-node/node-red-contrib-msg-queue/node-red-contrib-msg-queue_1.0.2.bb RDEPENDS on or otherwise requires it)
I tried to add
RDEPENDS_${PN} += "echo"
But it is apparently not a thing 👎
Hmm, never had that before. Maybe that thing just want a shell (RDEPENDS_${PN} += "bash"
)?
Unfortunately that did not work, I got away with it using:
INSANE_SKIP_${PN} += "file-rdeps"
which I bet is pretty unclean...
But anyway you put us on the right track by advising INSANE_SKIP_${PN} += "staticdev"
Thanks a lot for your help @jan-kiszka !
Hi there,
we followed the process described here to pre-install some node modules to our base image: https://github.node-red-contrib-msg-queuecom/siemens/meta-iot2000/blob/67920485d67829ab02f96297db8e5d8c3b1ebc73/meta-iot2000-example/classes/npm-ng.bbclass#L6
That worked well until now. Trying to do the same to install
node-red-contrib-msg-queue
is failing though with the following error:It is worth noting that installing the package directly on the IoT 2040 works. It downloads and compiles a version of sqlite. This process takes more than 45 minutes though and so would be way better for us to pre-build the module in our image. But we have been unsuccessful for now. Any thoughts on how to get that working?
Thanks a lot!