Closed thesamesam closed 2 years ago
hi. Thanks for the report, I just noticed too.
the problem is that check-direct
wants to statically link the the libs, and when configuring with --disable-static
, it fails.
the solution will be, that check-direct
only gets build, when static libraries are enabled...
fixed by fa7f97f8982544c4fcb403893bae6701230d5165.
Thank you!
well, such a plunder... I kept checking things before the release... turned out, immediately an issue can be found.
if it's too severe, we can do a 3.7.0 soon after (no need to wait another 2.5 years) :)
Thx .. indeed that commit fixed linking issue but now again test suite is failing in one unit 😄
===================================
libnl 3.6.0: ./test-suite.log
===================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
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:98:S:Core:cache_and_clone:0: assert(r == 0) failed (errno=1, Operation not permitted)
FAIL tests/check-all (exit status: 1)
============================================================================
Testsuite summary for libnl 3.6.0
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[2]: *** [Makefile:6799: test-suite.log] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libnl-3.6.0'
make[1]: *** [Makefile:6907: check-TESTS] Error 2
FYI I'm runnig my builds in LXC zones which have stripped down some capabilities.
Maybe the same as #308?
Hit this when packaging the new 3.6.0 for Gentoo:
I think the deal here is that
check-direct
is an external executable and_nltst_map_stat_id_from_IPSTATS_MIB_v2
is (rightly) a private symbol, so when followinglibnl-route-3.sym
, it's not going to be exported, and hence not available.Let me know if I can provide any other information. Full build.log here: build.log