[Swan] Compiling on Ubuntu 16.04

Whit Blauvelt whit.swan at transpect.com
Sun Aug 12 15:44:07 UTC 2018


On Sat, Aug 11, 2018 at 11:06:11PM -0400, Paul Wouters wrote:

Trying from the tar again now:

> echo USE_XFRM_HEADER_COPY=false >> Makefile.inc.local

OK.

> The patch was removed from our debian patches directory, but the entry
> for the patch was not removed from the list in packaging/debian/patches/series
> (we since recreated the patch because it changes paths in the documentation)

> You can just remove the entry from packaging/debian/patches/series as it only
> patches a README file. (or grab the latest git master from github)

Copied the patch over from the git master, and ... same stopping place as
with "make deb" on the git master itself:

-----

/usr/src/libreswan/programs/pluto/kernel_pfkey.c:754:13: error: ‘pfkey_register_proto’ defined but not used [-Werror=unused-function]
 static void pfkey_register_proto(unsigned int sadb_register,
             ^
cc1: all warnings being treated as errors
../../mk/depend.mk:34: recipe for target 'kernel_pfkey.o' failed
make[5]: *** [kernel_pfkey.o] Error 1
../../mk/targets.mk:82: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/usr/src/libreswan/programs/pluto'
../mk/targets.mk:82: recipe for target 'recursive-all' failed
make[3]: *** [recursive-all] Error 2
make[3]: Leaving directory '/usr/src/libreswan/programs'
mk/targets.mk:82: recipe for target 'recursive-all' failed
make[2]: *** [recursive-all] Error 2
make[2]: Leaving directory '/usr/src/libreswan'
debian/rules:23: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/usr/src/libreswan'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed
Makefile:598: recipe for target 'deb' failed
make: *** [deb] Error 29

-----

Best,
Whit


More information about the Swan mailing list