build-pkgs --reuse rebuilds some packages even without source changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Luis Sampaio |
Bug Description
Brief Description
-----------------
build-pkgs --reuse is rebuilding packages even though there are no source changes.
Severity
--------
Major: reuse feature
Steps to Reproduce
------------------
1 - Create "Source" environment
initialized the env
downloader
build-pkgs
build-image
copied the deb-local-build and deb-local-source to webserver
2 - Created another env to work as destination environment
initialized the env
downloader (it should download the same binaries as the source env)
build the packages:
export STX_SHARED_REPO="http://<URL>/deb-
export STX_SHARED_SOURCE="http://<URL>/deb-
build-pkgs --reuse
35 std packages were rebuilt but the source code is the same as the source env so I think there may be some issue.
All packages that were rebuilt have the log saying:
shared_cheksum for these shows as "None"
Expected Behavior
------------------
No packages should be rebuilt without source changes
Actual Behavior
----------------
Some packages are rebuilt
Reproducibility
---------------
Yes
Last Pass
---------
NA.
Timestamp/Logs
--------------
NA
Workaround
--------------
NO
Changed in starlingx: | |
importance: | Undecided → High |
tags: | added: stx.8.0 stx.build |
It looks like the checksum is correct in the file so it may be a problem with the code that loads the checksums and verifies if it matches (source vs dest)