On 11 Nov 2024, at 16:20, Robert Yang via lists.openembedded.org 
<liezhi.yang=windriver....@lists.openembedded.org> wrote:
> 
> From: Robert Yang <liezhi.y...@windriver.com>
> 
> Fixed:
> $ bitbake bootchart2-native
> gzip: 
> /path/to/bootchart2-native/0.14.9/recipe-sysroot-native/usr/share/man/man1/*.gz:
>  No such file or directory

The question is why does the manpage not exist in native builds, when there’s 
nothing in the makefile or recipe to disable the manpage.

/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9
$ find image/ -type f
image/etc/bootchartd.conf
image/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9/recipe-sysroot-native/etc/bootchartd.conf
image/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9/recipe-sysroot-native/etc/init.d/bootchartd_stop.sh
image/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9/recipe-sysroot-native/sbin/bootchartd
…
image/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9/recipe-sysroot-native/usr/lib/python3.13/site-packages/pybootchartgui/__init__.py
image/work/ross/build/tmp/work/aarch64-linux/bootchart2-native/0.14.9/recipe-sysroot-native/usr/lib/python3.13/site-packages/pybootchartgui/gui.py
image/usr/share/docs/bootchart/README
image/usr/share/docs/bootchart/README.pybootchart
image/usr/share/man/man1/bootchart2.1.gz
image/usr/share/man/man1/bootchartd.1.gz
image/usr/share/man/man1/pybootchartgui.1.gz

It’s because the install is broken, more paths need to be given to the 
makefile.  Fix the cause, don’t work around the symptoms.

Also adding -n to the gzip calls in the Makefile would make the resulting files 
reproducible, so we don’t need to decompress them.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207042): 
https://lists.openembedded.org/g/openembedded-core/message/207042
Mute This Topic: https://lists.openembedded.org/mt/109517754/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to