Project

General

Profile

Actions

Bug #5318

closed

Depends: in osmocom packages

Added by keith over 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
11/20/2021
Due date:
% Done:

100%

Spec Reference:

Description

After the recent release, doing something like

apt install osmo-sgsn

on a Debian system (with opensuse repos) will leave osmo-sgsn unexpectedly broken as libgtp6 will not be updated, leaving osmo-sgsn without required symbols.

pabs3 on IRC says:

see the dh_makeshlibs and deb-shlibs manual pages, 
basically put "libgtp 6 libgtp6 (>= 1.8.0)" in debian/libgtp6.shlibs in osmo-ggsn.git

also do the soname check using abipkgdiff/pkg-abidiff

shlibs is the older brute-force mechanism, there is also the newer one based on symbols, 
where things that use a library get a depends on the version of the library that has all
the symbols that they use. 
thats more complicated though and means maintaining a list of exported symbols and the
versions they appeared in

the symbols stuff has the advantage of more relaxed dependencies for most things using a library
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)