Opened 2 years ago

Closed 2 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: normal Keywords:
Cc:

Description

New minor version.

Change History (7)

comment:1 by Bruce Dubbs, 2 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 2 years ago

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

comment:4 by Bruce Dubbs, 2 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.

in reply to:  4 comment:5 by Xi Ruoyao, 2 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 Bruce Dubbs, 2 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 Bruce Dubbs, 2 years ago

Resolution: fixed
Status: assignedclosed

Fixed at commit 60f67b9279.

Note: See TracTickets for help on using tickets.