[Bug] makeshlibs generate shdeps with wrong version
Metadata
Current evaluation
Fixed by canonical/debcraft#173, merged as commit 4087480, which stops makeshlibs from always adding the Debian revision to shared-library versions.
Resolution: closed resolved
Reason: PR canonical/debcraft#173 was merged as commit 4087480 and explicitly resolves #150. It updates makeshlibs to prefer the upstream version and omit Debian revisions when appropriate.
Evaluated by: mr-cal-bot
No scores available.
Issue body
For Ubuntu Resolute, When I tried to build libvirt0 shared library package from libvirt;
The makeshdeps helper generates the **shdeps** file with these versions:
```
libvirt-qemu 0 libvirt0 (>= 12.0.0-1ubuntu5)
libvirt 0 libvirt0 (>= 12.0.0-1ubuntu5)
libvirt-lxc 0 libvirt0 (>= 12.0.0-1ubuntu5)
libvirt-admin 0 libvirt0 (>= 12.0.0-1ubuntu5)
```
The version is the full version but I would expect them to be only the upstream versions of the shared library
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by canonical/debcraft#173, merged as commit 4087480, which stops makeshlibs from always adding the Debian revision to shared-library versions. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in canonical/debcraft#173, merged as commit 4087480: makeshlibs no longer always adds the Debian revision to shared-library versions. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a public fix. The bug regarding makeshlibs generating incorrect Debian versions in shdeps files was synced to internal Jira ticket DEBCRAFT-76. No upstream resolution or patch was provided. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
20
Confidence:
85
Support Request:
10
|
keep open | Bug in makeshlibs generating shdeps with full Debian versions instead of upstream versions. Issue is triaged and synced to internal tracker, awaiting implementation. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/debcraft#173
(confidence 100%)
Merged fix for makeshlibs shared-library versioning, closing #150 in commit 4087480.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #173 fix(makeshlibs): don't always add revision to shlib versions | debcraft | merged | Merged PR canonical/debcraft#173 (commit 4087480) by maintainer bepri adds _get_shlibs_friendly_version, so makeshlibs no longer always appends the Debian revision to shlib versions, per Policy 8.6.4. Fixes #150, DEBCRAFT-76. |