Opened 7 weeks ago

#1475 new Bug / Defect

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 (0)

Note: See TracTickets for help on using tickets.