Opened 4 years ago
Closed 4 years ago
#16419 closed enhancement (fixed)
libnl-3.6.0
| Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 11.2 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
New minor version.
Change History (7)
comment:1 by , 4 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 4 years ago
follow-up: 5 comment:4 by , 4 years ago
I ran into that and applied the patch manually. Still fails for me: Now:
FAIL: tests/check-all
=====================
{{{
Running suite(s): main
Abstract addresses
Netlink attributes
Clone ematch tree
netns
90%: Checks: 11, Failures: 1, Errors: 0
tests/nl-test-util.c:57:S:Core:cache_and_clone:0: assert(r == 0) failed (errno=22, Invalid argument)
FAIL tests/check-all (exit status: 1)
}}}
Seems similar to https://github.com/thom311/libnl/issues/308
Does not make a difference if I remove --disable-static.
Also, after running make, the terminal stops echoing keyboard input. stty sane fixes that.
I'm about to say that this package does not come with a working test suite.
comment:5 by , 4 years ago
Replying to Bruce Dubbs:
I'm about to say that this package does not come with a working test suite.
I agree.
comment:6 by , 4 years ago
I figured out why the tests/nl-test-util.c:57 failed. I needed to add CONFIG_IPC_NS=y to the kernel configuration. But now I have a new failure:
tests/nl-test-util.c:227:F:Core:cache_and_clone:0: Assertion 'r == 0' failed: r == -10, 0 == 0
The failing code starts at tests/nl-test-util.c and then lib/route/link.c, lib/nl.c, but I can't figure out what is causing the failure.
Until I learn more, I'll just say that one subtest is known to fail.
comment:7 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commit 60f67b9279.

See https://github.com/thom311/libnl/commits/main for the commit history. Too many changes to list here.