rt kernel 4.18 build-pkgs --edit is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
chendongqi |
Bug Description
First clean:
build-pkgs --rt --edit --clean kernel
Then attempt to extract the source with patches applied:
build-pkgs --rt --edit kernel
It fails, but this worked before the upgrade to CentOS 8 kernel. It does work for the CentOS 8 std kernel, although the end of the command reports error, but it does all unpack and have the patches applied.
Note that this all worked cleanly for both the std and rt kernels before the upgrade to CentOS 8. It's a regression.
Workaround: Unpack and apply patches manually. So severity is minor. Not bothering with the rest of the template.
End of the output showing the error:
2:57:25 b1: tools/perf/
12:57:25 b1: tools/perf/
12:57:25 b1: ++ '[' -L configs ']'
12:57:25 b1: ++ rm -f configs
12:57:25 b1: ++ rm -f configs
12:57:25 b1: ++ mkdir configs -p
12:57:25 b1: ++ cd configs
12:57:25 b1: ++ cp /localdisk/
12:57:25 b1: ++ cp /localdisk/
12:57:25 b1: ++ VERSION=4.18.0
12:57:25 b1: ++ ./generate_
12:57:25 b1: ++ cp /localdisk/
12:57:25 b1: ++ ./process_
12:57:25 b1: head: cannot open ‘/localdisk/
12:57:25 b1: cat: /localdisk/
12:57:25 b1: Processing /localdisk/
12:57:25 b1: make: *** No rule to make target `arch//Makefile'. Stop.
12:57:25 b1: ERROR: Failed in script '/localdisk/
12:57:25 b1: ERROR: srpm_extract_to_git (2486): tarball_extract failed while extracting '/localdisk/
12:57:25 b1: ERROR: build_dir_srpm (759): failed to extract srpm '/localdisk/
12:57:26 ERROR: reaper (1322): Failed to edit src.rpm from source at 'b1'
12:57:26 ============ Build failed =============
Changed in starlingx: | |
assignee: | Austin Sun (sunausti) → chendongqi (chen-dq) |
Changed in starlingx: | |
status: | Triaged → In Progress |
stx.4.0 / medium priority - appears to be introduced by the centos 8 kernel upversion