To build your new recipe, use the following command:
devtool build bubblewrap
I get the following error :
configure: error: *** POSIX caps headers not found
| NOTE: The following config.log files may provide further information.
| NOTE: /home/sofiane/Desktop/linux_stuff/build-mine/tmp/work/core2-64-poky-linux/bubblewrap/0.4.1-r0/bubblewrap-0.4.1/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/sofiane/Desktop/linux_stuff/build-mine/tmp/work/core2-64-poky-linux/bubblewrap/0.4.1-r0/temp/run.do_configure.2828531' failed with exit code 1
ERROR: Task (/home/sofiane/Desktop/linux_stuff/build-mine/workspace/recipes/bubblewrap/bubblewrap_0.4.1.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 535 tasks of which 534 didn't need to be rerun and 1 failed.
it turns out I had to add
DEPENDS = "libcap bash-completion"
to bubblewrap0.4.1.bb.
And I later ran into another problem :
I had to replace FILES${PN} with FILES:${PN} :
source
it turns out I had to add DEPENDS = "libcap bash-completion" to bubblewrap0.4.1.bb. And I later ran into another problem : I had to replace FILES${PN} with FILES:${PN} : source
Thank you, @ssooffiiaannee. I will add this to the errata.
OS : Ubuntu 20.04
In "Capturing changes with devtool", page 219 :
I get the following error :
I already tried installing libcap :
And it seems I already have it :