debrepack: got inconsistent debver from meta_data.yaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
hqbai |
Bug Description
Brief Description
-----------------
If the package version(debver field) that defined in meta_data.yaml has two digits before the decimal point, followed by a trailing zero after the decimal point, for example '23.10' or '10.10', the 'full_version' got by debrepack.py is '23.1' or '10.1', this cause the below errors during package building:
dpkg-source: error: can't build with format 3.0(quit): no upstream tar found at ....
Severity
--------
Minor
Steps to Reproduce
------------------
1. Create a package like mlnx-ofed-
2. The meta_data.yaml is like:
---
debver: 23.10
debname: mlnx-ofed-kernel
dl_path:
name: mlnx-ofa-
url: "https:/
23.
sha256sum: 9d0082bd7379098
revision:
dist: $STX_DIST
GITREVCOUNT:
BASE_SRCREV: 4937b3712f6ada5
SRC_DIR: ${MY_REPO}
3. downloader -s
4. build-pkgs -c -p mlnx-ofa_kernel
Expected Behavior
------------------
"mlnx-ofa_kernel" can be built ok
Actual Behavior
----------------
dpkg-source: error: can't build with format 3.0(quit): no upstream tar found at ....
Reproducibility
---------------
Reproducible
System Configuration
-------
NA
Branch/Pull Time/Commit
-------
NA
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
Test Activity
-------------
NA
Workaround
N
----------
Changed in starlingx: | |
assignee: | nobody → hqbai (hbai) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.build |
Fix proposed to branch: master /review. opendev. org/c/starlingx /root/+ /915251
Review: https:/