Opened 2 years ago

Last modified 17 months ago

#5386 new defect

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

Reported by: wlodekwencel Owned by:
Priority: low Milestone: Outstanding Tasks
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 (8)

comment:1 Changed 2 years 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 2 years 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 22 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 22 months 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 22 months ago by tomek

  • Component changed from Unclassified to build system

comment:6 Changed 19 months ago by tomek

  • Milestone changed from Kea1.4 to Kea1.4-final

As discussed on 2018-04-26 call, moving low and some med priority tickets to 1.4-final.

comment:7 Changed 18 months ago by tomek

  • Priority changed from medium to low

comment:8 Changed 17 months ago by tomek

  • Milestone changed from Kea1.4-final to Outstanding Tasks

As discussed on 2018-06-20 call.

Note: See TracTickets for help on using tickets.