[Swan] 3.14rc2 and 3.14rc3 do not compile under Ubuntu Precise
Tony Whyman
tony.whyman at mccallumwhyman.com
Sat Jul 4 15:43:27 EEST 2015
I have tried the new 3.14rc3 and 3.14rc2, trying to build each under
Ubuntu Precise (12.04 LTS) and Trusty (14.04 LTS).
Both compile under 14.04 but fail to compile under 12.04 with the
following error messages:
In function 'unbound_init':
<snip>/unbound.c:90:2: error: passing argument 2 of 'ub_ctx_add_ta'
discards 'const' qualifier from pointer target type [-Werror]
/usr/include/unbound.h:331:5: note: expected 'char *' but argument is of
type 'const char *'
<snip>/lib/libswan/unbound.c:101:2: error: passing argument 3 of
'ub_ctx_set_option' discards 'const' qualifier from pointer target type
[-Werror]
/usr/include/unbound.h:242:5: note: expected 'char *' but argument is of
type 'const char *'
rc3.14rc3 also fails to build the debian packages due to a corrupt
version string in debian/changelog. It will compile when changed to
libreswan (1:3.14~rc3-1) precise; urgency=low
Note: rather odd that the changelog specifies "precise" when it can't
compile under precise....
Tony Whyman
MWA
More information about the Swan
mailing list