Opened 8 months ago

Last modified 3 weeks ago

#5386 new defect

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

Reported by: wlodekwencel Owned by:
Priority: low Milestone: Kea1.4-final
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

Description

after merging #5272 there are 21 failing tests in LeaseCmds? if --enable-static-link configure option is used
https://jenkins.isc.org/job/Fedora_19_64-static-link/786/testReport/
and
28 more tests failing after merging #5280
https://jenkins.isc.org/job/Fedora_19_64-static-link/787/testReport/

Tests are failing on Fedora 19, 25 and Ubuntu 14

Subtickets

Change History (7)

comment:1 Changed 8 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 8 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 5 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 5 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?
Ref: https://developer.apple.com/library/content/qa/qa1118/_index.html
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 5 months ago by tomek

  • Component changed from Unclassified to build system

comment:6 Changed 7 weeks 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 3 weeks ago by tomek

  • Priority changed from medium to low
Note: See TracTickets for help on using tickets.