Bug 15581

Summary: qemu_ppc_mpc8544ds_defconfig: Fails due to non-working patch
Product: buildroot Reporter: Jan-Benedict Glaw <jbglaw>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Jan-Benedict Glaw 2023-05-21 19:51:15 UTC
Hi!

I saw that the qemu_ppc_mpc8544ds_defconfig configuration doesn't work right now because an existing patch for the Linux kernel does no longer apply:

[build 2023-05-21 19:04:41] for p in board/qemu/ppc-mpc8544ds/patches/linux ; do if test -d $p ; then PATH=/var/lib/laminar/run/buildroot-qemu_ppc_mpc8544ds_defconfig/4/buildroot/output/host/bin:$PATH support/scripts/apply-patches.sh  /var/lib/laminar/run/buildroot-qemu_ppc_mpc8544ds_defconfig/4/buildroot/output/build/linux-headers-6.1.26 $p \*.patch || exit 1 ; else PATH=/var/lib/laminar/run/buildroot-qemu_ppc_mpc8544ds_defconfig/4/buildroot/output/host/bin:$PATH support/scripts/apply-patches.sh  /var/lib/laminar/run/buildroot-qemu_ppc_mpc8544ds_defconfig/4/buildroot/output/build/linux-headers-6.1.26 `dirname $p` `basename $p` || exit 1; fi done
[build 2023-05-21 19:04:41] 
[build 2023-05-21 19:04:41] Applying 0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch using patch: 
[build 2023-05-21 19:04:41] patching file arch/powerpc/Makefile
[build 2023-05-21 19:04:41] Hunk #1 succeeded at 10 (offset -2 lines).
[build 2023-05-21 19:04:41] Hunk #2 FAILED at 164.
[build 2023-05-21 19:04:41] Hunk #3 succeeded at 174 with fuzz 2 (offset -1 lines).
[build 2023-05-21 19:04:41] 1 out of 3 hunks FAILED -- saving rejects to file arch/powerpc/Makefile.rej
[build 2023-05-21 19:04:41] make: *** [package/pkg-generic.mk:252: /var/lib/laminar/run/buildroot-qemu_ppc_mpc8544ds_defconfig/4/buildroot/output/build/linux-headers-6.1.26/.stamp_patched] Error 1
Comment 1 Jan-Benedict Glaw 2023-05-24 19:19:47 UTC
Just got the mail that there was a patch applied. I queued a fresh build, but it'll take about a day until that's picked up, as some other long-running builds are already queued. Will keep you informed!
Comment 2 Jan-Benedict Glaw 2023-05-25 09:14:41 UTC
Confirmed: It's fixed.