On 11/12/24 19:02, Ross Burton via lists.openembedded.org wrote:
On 11 Nov 2024, at 16:20, Robert Yang via lists.openembedded.org 
<[email protected]> wrote:

From: Robert Yang <[email protected]>

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.

You're right, I just fixed it by hand. I will send a V2 for it.

// Robert


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 (#207043): 
https://lists.openembedded.org/g/openembedded-core/message/207043
Mute This Topic: https://lists.openembedded.org/mt/109517754/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to