Opened 5 months ago

Last modified 7 weeks ago

#5386 new defect

--enable-static-link cause unit tests to fail

Reported by: wlodekwencel Owned by:
Priority: medium Milestone: Kea1.4
Component: build system Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


after merging #5272 there are 21 failing tests in LeaseCmds? if --enable-static-link configure option is used
28 more tests failing after merging #5280

Tests are failing on Fedora 19, 25 and Ubuntu 14


Change History (5)

comment:1 Changed 5 months ago by fdupont

IMHO we should try to understand why some tests are failing with static link and if it is for a "good" reason disabling them. And this not only for new failing tests but for old src/lib/hooks/tests stuff too (with other words get Jenkins static link green).

comment:2 Changed 5 months ago by marcin

  • Milestone changed from Kea-proposed to Kea1.4

Per Kea call on October 12th, moving this to 1.4.

comment:3 Changed 2 months ago by fdupont

Does not work on macOS so I leave this to someone else (and I suggest to lower its priority too).

comment:4 Changed 8 weeks ago by fdupont

This ticket should address #5511: --enable-static-link not supported by macOS with this description:

There must be at least a line in the documentation and perhaps something in configure too?
and I can confirm you get:

checking OS X versions where destroying locked locks do not fail... OS X >= 10.9
checking for static glib libraries... no
configure: error: Building with --enable-static-link does not work. You appear to be missing glib static libraries. Check config.log for details.

and in config.log the error from ld is: ld: library not found for -lcrt0.o

comment:5 Changed 7 weeks ago by tomek

  • Component changed from Unclassified to build system
Note: See TracTickets for help on using tickets.