Bug 15581 - qemu_ppc_mpc8544ds_defconfig: Fails due to non-working patch
Summary: qemu_ppc_mpc8544ds_defconfig: Fails due to non-working patch
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 19:51 UTC by Jan-Benedict Glaw
Modified: 2023-05-25 09:14 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.