Dear maintainer,
The libyang source package went through some renames throghout its
history (libyang -> libyang2 -> libyang3 -> back to libyang). While it
was src:libyang2, it had autopkgtests, but they were lost in libyang3.
A straight copy from src:libyang2 works, but you have to change the
libyang2-tools path/package to libyang3-tools. Something like this:
diff -uNr libyang2/libyang2/debian/tests/control
libyang/libyang/debian/tests/control
--- libyang2/libyang2/debian/tests/control 2025-06-13 11:53:35.894458198 -0300
+++ libyang/libyang/debian/tests/control 2025-08-12 11:03:07.022734985 -0300
@@ -1,6 +1,6 @@
Tests: yanglint
Depends: gzip,
- libyang2-tools
+ libyang3-tools
Tests: yangre
-Depends: libyang2-tools
+Depends: libyang3-tools
diff -uNr libyang2/libyang2/debian/tests/yanglint
libyang/libyang/debian/tests/yanglint
--- libyang2/libyang2/debian/tests/yanglint 2025-06-13 11:53:35.894999372 -0300
+++ libyang/libyang/debian/tests/yanglint 2025-08-12 11:03:07.024057008 -0300
@@ -8,10 +8,10 @@
TESTFILE="${TESTDIR}/ietf-interfaces.yang"
# Unpack or copy the test file
-if test -f /usr/share/doc/libyang2-tools/examples/ietf-interfaces.yang.gz; then
- gunzip -c < /usr/share/doc/libyang2-tools/examples/ietf-interfaces.yang.gz
+if test -f /usr/share/doc/libyang3-tools/examples/ietf-interfaces.yang.gz; then
+ gunzip -c < /usr/share/doc/libyang3-tools/examples/ietf-interfaces.yang.gz
else
- cp /usr/share/doc/libyang2-tools/examples/ietf-interfaces.yang "${TESTFILE}"
+ cp /usr/share/doc/libyang3-tools/examples/ietf-interfaces.yang "${TESTFILE}"
fi
# Lint the test file
We believe that the bug you reported is fixed in the latest version of
libyang, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1110926@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated libyang package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 12 Aug 2025 17:56:18 +0200
Source: libyang
Architecture: source
Version: 3.13.5-2
Distribution: sid
Urgency: medium
Maintainer: Daniel Baumann <daniel@debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Closes: 1110926
Changes:
libyang (3.13.5-2) sid; urgency=medium
.
* Adding back autopkgtests from libyang2, thanks to Andreas Hasenack
<andreas.hasenack@canonical.com> (Closes: #1110926).
Checksums-Sha1:
8d03747ce83522624cabbc9391c8bd43027db65b 1522 libyang_3.13.5-2.dsc
36756e19002907d9e6e16d5c1ed5e6d08fde7fc0 4456 libyang_3.13.5-2.debian.tar.xz
f5e5cf7ca88cab0dd7511b4c16178ff87081afa0 9710 libyang_3.13.5-2_amd64.buildinfo
Checksums-Sha256:
8bff6c9cbfe0fb0b17371134bc1bc00c0ebad3cd8d2227920da9ee5d6ca9f4af 1522 libyang_3.13.5-2.dsc
5572ca97eba40d963f284651d91c299d0cb985fcaddaa726d156b8e9497e02ad 4456 libyang_3.13.5-2.debian.tar.xz
ff699a0d1c6d46e0f14dab2730a99aab21ff3a838e927a6e4c46c38d83d141ea 9710 libyang_3.13.5-2_amd64.buildinfo
Files:
94579a0b6676ed7ec3162e2a37581565 1522 libs optional libyang_3.13.5-2.dsc
c6559d475733942fa0c251da6834a9c8 4456 libs optional libyang_3.13.5-2.debian.tar.xz
4d27813d9c053c31d6c201080bcb0fe1 9710 libs optional libyang_3.13.5-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQQmmGg4gLaoSj0ERgL7tPDoCoAiLwUCaJtpMwAKCRD7tPDoCoAi
L+LPAPoCLbafLf/FsFgDgbS+FDHzIB34VW+k8PyFy+hZjcbRsgD+Il5B9zj9D56j
ni6ImbV76zpX4FlIGp7p01rbgdw+PwU=
=5fgh
-----END PGP SIGNATURE-----