Opened 5 months ago

Closed 3 weeks ago

#1475 closed Bug / Defect (wontfix)

cross-builds ubuntu/mingw depend on libcap-ng

Reported by: Gert Döring Owned by:
Priority: major Milestone:
Component: Building / Compiling Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: mingw, openvpn-build


commit 2e359a088226a adds a hard dependency on libcap-ng for linux builds.

openvpn-build does a "make dist" on a git snapshot to produce a tarball, to then do a cross build based on that tarball - so then requires this for the "host build" of make dist.

checking whether TUNSETPERSIST is declared... yes
checking for setcon in -lselinux... no
checking for pam_start in -lpam... yes
checking for PKCS11_HELPER... no
checking for LIBCAPNG... no
configure: error: libcap-ng package not found. Is the development package and pkg-config installed?
FATAL: openvpn.configure >&2

The whole approach to snapshot building in openvpn-build needs to be fixed - not building a tarball first saves one configure run, and quite a bit of build time.

Change History (1)

comment:1 Changed 3 weeks ago by Gert Döring

Resolution: wontfix
Status: newclosed

closing this ticket, as we have decided to remove the whole cross-build thing from openvpn-build (to be replaced by a more lightweight approach).

Note: See TracTickets for help on using tickets.