On 6/8/22 14:53, Luca Ceresoli wrote:
Hi Paulo,
On Tue, 7 Jun 2022 17:11:22 +0200
"Paulo Neves" <[email protected]> wrote:
Make sure we do not stage any executable with a bigger shebang
than 128. Fixes [1]
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=11053
Signed-off-by: Paulo Neves <[email protected]>
This check seems to be working very well!! It triggered a huge amount
of build failures on the autobuilders due to libcheck having a shebang
too long in the checkmk script, e.g.:
#!
/home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/x86_64-linux/libcheck-native/0.15.2-r0/recipe-sysroot-native/usr/bin/gawk
-f
Here are a few logs:
https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5367/steps/14/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5367/steps/11/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/5689/steps/11/logs/errors
https://autobuilder.yoctoproject.org/typhoon/#/builders/37/builds/5340/steps/12/logs/errors
I am not seeing an immediate way to fix this optimally. The go-to
solution to this class of issues is to just make
the #!/usr/bin/env <interpreter>. The issue is that there is an extra
-f, which with /usr/bin/env, will not work. The awk manual also implies
this is not optional for standalone scripts. I think we can create a
wrapper, or maybe we already have such a wrapper?
It would be great if you could add another patch to your series to fix
libcheck, and also to do 'bitbake world' to test as many packages as
possible before discovering from the autobuilders.
It takes quite a while on my computer and often i get out of disk space.
I tried asking the linaro guys for a tuxsuite token but no answer yet.
If you have some way of getting resources to make builds let me know.
Thank you!
Thank you
Paulo Neves
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#166734):
https://lists.openembedded.org/g/openembedded-core/message/166734
Mute This Topic: https://lists.openembedded.org/mt/91602895/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-