On Mon, 2022-05-16 at 18:42 +0800, Changqing Li wrote: > From: Changqing Li <[email protected]> > > When other feature enabled, and involve help2man into squashfs-tools's > recipe-sysroot-native, install-manpages.sh will run target binary on > build host, eg: mksquashfs --help, which will cause error. > Eg: > ../squashfs-tools/mksquashfs: /lib/x86_64-linux-gnu/libc.so.6: version > `GLIBC_2.34' not found (required by ../squashfs-tools/mksquashfs) > > help2man: can't get `--help' info from /tmp/tmp.pEG5R8COVb/mksquashfs.sh > > Try `--no-discard-stderr' if option outputs to stderr > > ./mksquashfs-manpage.sh: help2man returned error. Aborting > > ../generate-manpages/install-manpages.sh: Failed to generate manpage. > > Aborting > > Fixed by always install prebuilt manpage, avoid running target binary on > build host > > Signed-off-by: Changqing Li <[email protected]>
I'd much prefer not to carry a patch doing this. Which "other feature enabled" trigger this to happen? We might want to talk to upstream about making this configurable rather than carrying a patch, or we make sure help2man is never accessible to this recipe in some other way. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#165675): https://lists.openembedded.org/g/openembedded-core/message/165675 Mute This Topic: https://lists.openembedded.org/mt/91136794/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
