debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #05298
[Bug 2120329] Re: MIR: libyang (previously known as src:libyang2 and src:libyang3)
Yes, this indeed is very much the same and qualifies for a fast path MIR based on the old case.
The old one even isn't too old, so no deeper re-review is needed IMHO.
Approving this with my MIR hat, it isn't in mismatches or anywhere yet.
We'd want to get only one in main, and AFAICS frr is already on the new
which could pull it to main (fine).
And AFAICS libnetconf2 is still depending on libyang, while that is only
in universe and therefore not a problem for the MIR it would be great to
only have one (the newer) libyang eventually.
** Changed in: libyang (Ubuntu)
Status: New => In Progress
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libyang in Ubuntu.
https://bugs.launchpad.net/bugs/2120329
Title:
MIR: libyang (previously known as src:libyang2 and src:libyang3)
Status in libyang package in Ubuntu:
In Progress
Bug description:
[Availability]
This is an MIR for src:libyang, which is a rename of src:libyang3, which also existed as src:libyang2 which had an MIR already in LP: #1958293
It's still the same project:
$ grep ^Homepage libyang2/debian/control libyang3/debian/control
libyang/debian/control
libyang2/debian/control:Homepage: https://github.com/CESNET/libyang
libyang3/debian/control:Homepage: https://github.com/CESNET/libyang
libyang/debian/control:Homepage: https://github.com/CESNET/libyang
Also look at the upstream releases:
https://github.com/CESNET/libyang/releases
We can still see it's a continuous release stream from version 2 to
version 3.
src:libyang2 is gone from debian (it only exists in oldstable at the
moment).
src:libyang3 was renamed to src:libyang here:
https://git.launchpad.net/ubuntu/+source/libyang/diff/debian/changelog?id=50985c9788dc3c613aab2b8efaa432f1408cd992
Ubuntu no longer has src:libyang3, and this is the situation in
questing:
$ rmadison -asource libyang libyang2 libyang3 | grep questing
libyang | 3.12.2-1 | questing/universe | source
libyang2 | 2.1.148-0.2 | questing | source
The only package depending on libyang2 is src:frr, and it can build
with libyang(3), as demonstrated in
https://launchpad.net/~ahasenack/+archive/ubuntu/frr-yang3/+packages.
autopkgtests are also green there:
Results: (from https://autopkgtest.ubuntu.com/results/autopkgtest-questing-ahasenack-frr-yang3/?format=plain)
frr @ arm64:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-ahasenack-frr-yang3/questing/arm64/f/frr/20250811_201306_03463@/log.gz
11.08.25 20:13:06 ✅ Triggers: frr/10.4.1-2ubuntu1~ppa1
frr @ armhf:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-ahasenack-frr-yang3/questing/armhf/f/frr/20250811_201430_7c41f@/log.gz
11.08.25 20:14:30 ✅ Triggers: frr/10.4.1-2ubuntu1~ppa1
frr @ ppc64el:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-ahasenack-frr-yang3/questing/ppc64el/f/frr/20250811_201157_b34c3@/log.gz
11.08.25 20:11:57 ✅ Triggers: frr/10.4.1-2ubuntu1~ppa1
frr @ s390x:
https://autopkgtest.ubuntu.com/results/autopkgtest-questing-ahasenack-frr-yang3/questing/s390x/f/frr/20250811_201118_158fd@/log.gz
11.08.25 20:11:18 ✅ Triggers: frr/10.4.1-2ubuntu1~ppa1
Running: (none)
Debian also has frr using src:libyang (version 3) since 10.2.1-4
(https://git.launchpad.net/ubuntu/+source/frr/commit/?h=import/10.2.1-4&id=902c428e7ee6251cc30508eeeb5017186d4beea0)
ubuntu@q:~$ reverse-depends libyang2t64
Reverse-Depends
===============
* frr
* libyang2-dev
* libyang2-tools
Packages without architectures listed are reverse-dependencies in:
amd64, arm64, armhf, ppc64el, riscv64, s390x
The package libyang is already in Ubuntu universe.
The package libyang builds for the architectures it is designed to work on.
It currently builds and works for architectures: amd64 arm64 armhf ppc64el riscv64 s390x
Link to package https://launchpad.net/ubuntu/+source/libyang
[Rationale]
The package src:libyang is required in Ubuntu main for src:frr. The src:frr package can still be built with src:libyang2, but maybe that will change in the future. Thinking ahead for the next ubuntu LTS, it makes sense to start using src:libyang (version 3) now.
Also, src:libyang2 is gone from debian (it only exists in oldstable at
the moment).
The MIR for libyang major version 2, when it was called src:libyang2,
is at LP: #1958293.
Following advice from "Additional notes" in https://canonical-ubuntu-
project.readthedocs-hosted.com/MIR/mir-roles-and-steps/#additional-
notes, I'm not completing the remaining of the MIR template.
Regarding autopkgtests, I see that the existing tests from
src:libyang2 were not copied or adapted to src:libyang.
I copied the tests from src:libyang2, adjusted the package name, and
they pass in src:libyang (v3):
autopkgtest [17:48:40]: @@@@@@@@@@@@@@@@@@@@ summary
yanglint PASS
yangre PASS
I can commit to doing that to src:libyang in the archive, and sending
it to debian.
Let me know if you need something else.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libyang/+bug/2120329/+subscriptions