build-pkgs --edit does not work for kernel modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
M. Vefa Bicakci |
Bug Description
Brief Description
-----------------
I noticed last week that 'build-pkgs --edit' does not work for any kernel modules in the StarlingX kernel repository. Here is an example for a failure involving the i40e kernel module:
===
raw_create_
EXTRACT_
++ umask 022
++ cd .../std/
++ source scl_source enable devtoolset-8
+++ _scl_source_
Don'\''t use this script outside of SCL scriptlets!
Options:
-h, --help display this help and exit'
+++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']'
+++ '[' -z '' ']'
+++ _recursion=false
+++ '[' -z '' ']'
+++ _scl_scriptlet_
+++ shift 1
+++ '[' -z '' ']'
+++ _scl_dir=
+++ '[' '!' -e /etc/scl/conf ']'
+++ for arg in '"$@"'
+++ _scl_prefix_
++++ cat /etc/scl/
+++ _scl_prefix=
ERROR: Failed in script '.../std/
ERROR: tar_and_
===
Further debugging indicates that this functionality was broken with the following commit:
https:/
I have a patch that resolves this issue almost ready for publication, and I am opening this bug report as a placeholder.
Severity
--------
Major: build-pkgs --edit does not work, preventing proper modification of kernel modules.
Steps to Reproduce
------------------
build-pkgs --edit --clean i40e-kmod
build-pkgs --edit i40e-kmod
Expected Behavior
------------------
build-pkgs --edit should work.
Actual Behavior
----------------
build-pkgs --edit reports the errors quoted in the description and exits.
Reproducibility
---------------
Reproducible.
System Configuration
-------
Not applicable. This is a build issue.
Branch/Pull Time/Commit
-------
StarlingX master as of this writing is affected.
Last Pass
---------
Prior to the merge of the aforementioned commit, build-pkgs was working.
Timestamp/Logs
--------------
(Please see the description.)
Test Activity
-------------
Developer testing and normal use.
Workaround
----------
None, to the best of my knowledge.
Changed in starlingx: | |
status: | New → Confirmed |
assignee: | nobody → M. Vefa Bicakci (vbicakci) |
tags: | added: stx.build stx.distro.other |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.7.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /kernel/ +/825333
Review: https:/