bbexample is a simple autotools sample project. It is used in a recipe tutorial on yocto project wiki. See https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles. This tutorial has a recipe with the line PARALLEL_MAKE = "" which allows the project to build. No explanation is given as to why this is necessary. If this entry is removed, build fails with error make[1]: *** No rule to make target '.libs/libbbexample.la', needed by 'bbexample'. Stop. If 'devtool add' is used to generate recipe it does not add the PARALLEL_MAKE so build fails. Expected behavior ----------------- run 'devtool add bbexample https://github.com/DynamicDevices/bbexample.git' run 'devtool build bbexample' and observe successful build Observed behavior ----------------- run 'devtool add bbexample https://github.com/DynamicDevices/bbexample.git' run 'devtool build bbexample' and observe above failure
Can someone that understands autotools explain *why* this is happening? Source is at https://github.com/DynamicDevices/bbexample
Stupid question on the *why* bit. Posted in a moment of weakness. Please ignore.
I tracked this down to a missing dependency statement in Makefile.am. This project was a poor choice for use in the "Building your own recipes from first principles" article in the yoctoproject wiki but is not a bitbake bug. I have forked bbexample and issued a pull request that fixes the problem, but I'm not sure if project is being maintained. If I don't get a response within a week or so, I'll change wiki to point to my fork. Please close as "not a bug".
Thanks for following through on this Henry. Resolving "NOTABUG" as requested.