11/18: busybox: Backport patches to support removal of __NR_clock_gettime
Hello All,
Le 15/02/2020 à 11:28, [email protected] a écrit :
Quoted 7 lines
busybox: Backport patches to support removal of
__NR_clock_gettimeThis helps compiling with musl on 32bit arches now that musl has switched to 64bit
time_tSigned-off-by Khem Raj<[email protected]>Signed-off-by Richard Purdie<[email protected]>
Quoted 7 lines
--- ...all-wrappers-around-clock_gettime-closes-.patch | 120 +++++++++++++++++++++ ...-date-Use-64-prefix-syscall-if-we-have-to.patch | 53 +++++++++ ...-time-Use-64-prefix-syscall-if-we-have-to.patch | 43 ++++++++ ...runsv-Use-64-prefix-syscall-if-we-have-to.patch | 46 ++++++++ meta/recipes-core/busybox/busybox_1.31.1.bb | 4 + 5 files changed, 266 insertions(+)
this commit causes the following build issue :
ERROR: busybox-1.31.1-r0 do_patch: Command Error: 'quilt --quiltrc/home/runner/work/kas-files/kas-files/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/busybox/1.31.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-Remove-syscall-wrappers-around-clock_gettime-closes-.patch
patching file Makefile.flags
patching file coreutils/date.c
Hunk #2 FAILED at 270.
1 out of 2 hunks FAILED -- rejects in file coreutils/date.c
patching file libbb/time.c
patching file runit/runsv.c
Patch 0001-Remove-syscall-wrappers-around-clock_gettime-closes-.patch does not apply (enforce with -f)
ERROR: Logfile of failure stored in: /home/runner/work/kas-files/kas-files/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/busybox/1.31.1-r0/temp/log.do_patch.62122
ERROR: Task (/home/runner/work/kas-files/kas-files/poky/meta/recipes-core/busybox/busybox_1.31.1.bb:do_patch) failed with exit code '1'
Tested on top of poky master (commit 7f2af8bd795ace46828952a7812f0bbdf26529a [1])
[1] - https://github.com/texierp/kas-files/runs/447729194
Thanks !
Regards
Signature · 3 lines
Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io
Isn't it caused by some other layer prepending some busybox patch causing this? Can you check with bitbake -e?
I'm not seeing this one in my builds (and I was just refreshing some of our webOS OSE patches to apply cleanly on 1.31.1)
Regards,
Quoted 62 lines · Pierre-Jean Texier via Openembedded-commits
Hello All,
Quoted 9 lines · Le 15/02/2020 à 11:28, [email protected] a écrit :
busybox: Backport patches to support removal of
__NR_clock_gettimeThis helps compiling with musl on 32bit arches now that musl has switched to 64bit
time_tSigned-off-by Khem Raj<[email protected]>Signed-off-by Richard Purdie<[email protected]>--- ...all-wrappers-around-clock_gettime-closes-.patch | 120+++++++++++++++++++++
Quoted 5 lines
...-date-Use-64-prefix-syscall-if-we-have-to.patch | 53 +++++++++ ...-time-Use-64-prefix-syscall-if-we-have-to.patch | 43 ++++++++ ...runsv-Use-64-prefix-syscall-if-we-have-to.patch | 46 ++++++++ meta/recipes-core/busybox/busybox_1.31.1.bb | 4 + 5 files changed, 266 insertions(+)this commit causes the following build issue :
ERROR: busybox-1.31.1-r0
do_patch: Command Error: 'quilt --quiltrc/home/runner/work/kas-files/kas-files/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/busybox/1.31.1-r0/recipe-sysroot-native/etc/quiltrcpush' exited with 0 Output:
Applying patch 0001-Remove-syscall-wrappers-around-clock_gettime-closes-.patch patching file Makefile.flags
patching filecoreutils/date.c
Hunk #2 FAILED at 270.
1 out of 2 hunks FAILED -- rejects in filecoreutils/date.cpatching filelibbb/time.c
patching filerunit/runsv.c
Patch 0001-Remove-syscall-wrappers-around-clock_gettime-closes-.patch does not apply (enforce with -f)
ERROR: Logfile of failure stored in:
/home/runner/work/kas-files/kas-files/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/busybox/1.31.1-r0/temp/log.do_patch.62122
ERROR: Task(/home/runner/work/kas-files/kas-files/poky/meta/recipes-core/busybox/busybox_1.31.1.bb:do_patch)
failed with exit code '1'
Tested on top of poky master (commit
7f2af8bd795ace46828952a7812f0bbdf26529a[1])[1] - https://github.com/texierp/kas-files/runs/447729194
Thanks !
Regards
--
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io
--
_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits
Martin,
Le 15/02/2020 à 17:38, Martin Jansa a écrit :
Quoted 5 lines
Isn't it caused by some other layer prepending some busybox patch causing this? Can you check with bitbake -e?
I'm not seeing this one in my builds (and I was just refreshing some of our webOS OSE patches to apply cleanly on 1.31.1)
You're indeed right :(, after a quick check, it seems the build failure comes from the meta-riscv.
Thanks, and sorry for the noise.
Regards,
Signature · 3 lines
Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io
Quoted 7 lines · Pierre-Jean Texier
Martin,
Quoted 3 lines · Martin Jansa
Isn't it caused by some other layer prepending some busybox patch causing this? Can you check with bitbake -e?
Quoted 8 lines
Quoted 2 lines
I'm not seeing this one in my builds (and I was just refreshing some of our webOS OSE patches to apply cleanly on 1.31.1)
You're indeed right :(, after a quick check, it seems the build failure comes from the meta-riscv.
Thanks, and sorry for the noise.
some of these patches were in meta-riscv which is fixed now.
Quoted 5 lines
Regards,
--
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io