build-pkgs --clean returns error due to invalid or undefined path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Lin Shuicheng |
Bug Description
Steps to reproduce
------------------
Running the following command:
build-pkgs --clean sysinv
Expected behavior
-----------------
The command should clean the sysinv package
Actual behavior
---------------
The command returns the following error:
CLEAN_FLAG=1
EDIT_FLAG=0
TARGETS_STD= sysinv
TARGETS_RT=
TARGETS_INSTALLER=
EXTRA_ARGS_
EXTRA_ARGS_SRPM=''
EXTRA_ARGS_RPM=''
TARGETS=' sysinv '
TARGETS_STD=' sysinv '
TARGETS_RT=' '
TARGETS_MISC=' '
/build-
/localdisk/
Looking into the code this line is executed:
$DIR/build-
It seems that $DIR doesn't get a proper value.
Reproducibility
---------------
100% of the times
Branch
------
master on commit b913f3ec3
tags: | added: stx.build |
Changed in starlingx: | |
assignee: | nobody → Lin Shuicheng (shuicheng) |
Changed in starlingx: | |
status: | New → Fix Committed |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
summary: |
- build-pkgs --clean returns error due to invalid or undefined path. + build-pkgs --clean returns error due to invalid or undefined path |
tags: | added: stx.2018.10 |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: |
added: stx.1.0 removed: stx.2018.10 |
I just noticed this issue. It is fixed with below patch which is already merged: /review. openstack. org/#/c/ 600363/
https:/