Public bug reported:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001585

the DEP8 tests for libyang are failing:
https://ci.debian.net/packages/liby/libyang/

The reason is that d/t/control install libyang-tools, but there is a
transition going on and this line actually pulls in libyang2-tools.
The path to the test file differs in libyang2-tools., and the test
fails:

cp: cannot stat
'/usr/share/doc/libyang-tools/examples/ietf-interfaces.yang': No such
file or directory

I believe the correct fix is for d/t/control to use "@" to specify the
just-built packages, instead of the libyang-tools, which will come
from the archive and pick up the transitional package:

diff --git a/debian/tests/control b/debian/tests/control
index ca73c4a5..0da3e4ea 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Tests: yanglint
 Depends: gzip,
-         libyang-tools
+         @

** Affects: libyang (Ubuntu)
     Importance: Undecided
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress

** Changed in: libyang (Ubuntu)
     Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: libyang (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954594

Title:
  DEP8 failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libyang/+bug/1954594/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to