debian: build fails (libpq)

Bug #1981501 reported by Davlet Panech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Yue Tao

Bug Description

Brief Description
-----------------
StarlingX build fails while building fm-common:

libpq-dev : Depends: libpq5 (= 13.7-0+deb11u1) but 13.5-0+deb11u1 is to be installed

Severity
--------
Major

Steps to Reproduce
------------------
N/A (observed in Jenkins)

Expected Behavior
------------------
Build succeeds

Actual Behavior
----------------
Build fails

Reproducibility
---------------
Seen once. Other developers report similar problems.

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
master/2022-07-12

Last Pass
---------
master/2022-07-07

Timestamp/Logs
--------------
See this file: http://mirror.starlingx.cengn.ca/mirror/starlingx/master/debian/monolithic/20220712T100026Z/logs/std/fm-common/fm-common_1.0-1.stx.7_amd64.build

The build seems to reference upstream debian and gets a version of libpq-dev that is too new:

[...]
Hit:3 http://deb.debian.org/debian bullseye InRelease
[...]
The following packages have unmet dependencies:
 libpq-dev : Depends: libpq5 (= 13.7-0+deb11u1) but 13.5-0+deb11u1 is to be installed
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed

Test Activity
-------------
N/A

Workaround
----------
Unknown

Revision history for this message
Yue Tao (wrytao) wrote :

It is caused by Debian upstream 11.4 delivery. The default libpq5 is upgraded to 13.7-0+deb11u1 in Debian upstream. Now the pkgbuilder environment has disconnected with Debian upstream by

https://review.opendev.org/c/starlingx/tools/+/839126
https://review.opendev.org/c/starlingx/root/+/844816

So no such issue in upstream, please update your local repoes.

Changed in starlingx:
assignee: nobody → Yue Tao (wrytao)
status: New → Fix Committed
status: Fix Committed → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.7.0 stx.build stx.debian
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.