Package Details: libreswan 3.21-1

Git Clone URL: https://aur.archlinux.org/libreswan.git (read-only)
Package Base: libreswan
Description: IPsec implementation with IKEv1 and IKEv2 keying protocols
Upstream URL: https://libreswan.org/
Licenses: GPL, MPL
Conflicts: freeswan, ipsec-tools, openswan, strongswan
Submitter: abique
Maintainer: abique
Last Packager: abique
Votes: 16
Popularity: 0.291540
First Submitted: 2014-03-07 08:29
Last Updated: 2017-08-14 04:26

Latest Comments

snuffop commented on 2017-05-16 13:34

Same Build issue Here Fresh build over a month later . Maybe not the system!

cd ../../OBJ.linux.x86_64/lib/libipsecconf ; ar crvs libipsecconf.a confread.o confwrite.o starterwhack.o starterlog.o parser.tab.o lex.yy.o keywords.o interfaces.o
a - confread.o
a - confwrite.o
a - starterwhack.o
a - starterlog.o
a - parser.tab.o
a - lex.yy.o
a - keywords.o
a - interfaces.o

abique commented on 2017-02-23 16:10

Builds super fine here, fix your system.

snuffop commented on 2017-02-06 16:27

Build failure


cd ../../OBJ.linux.x86_64/lib/libipsecconf ; ar crvs libipsecconf.a confread.o confwrite.o starterwhack.o starterlog.o parser.tab.o lex.yy.o keywords.o interfaces.o
a - confread.o
a - confwrite.o
a - starterwhack.o
a - starterlog.o
a - parser.tab.o
a - lex.yy.o
a - keywords.o
a - interfaces.o
make[2]: Leaving directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/lib/libipsecconf'
make[1]: Leaving directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/lib'
make[1]: Entering directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/programs'
make[2]: Entering directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/programs/proc'
make -C ../../OBJ.linux.x86_64/programs/proc buildall
make[3]: Entering directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/OBJ.linux.x86_64/programs/proc'
make[3]: Nothing to be done for 'buildall'.
make[3]: Leaving directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/OBJ.linux.x86_64/programs/proc'
sed -e "s:@IPSECVERSION@:3.18:g" -e "/@linux_START@/,/@linux_END@/d" -e "s:@EXAMPLECONFDIR@:/usr/share/doc/libreswan:g" -e "s:@FINALBINDIR@:/usr/lib/ipsec:g" -e "s:@FINALCONFDDIR@:/etc/ipsec.d:g" -e "s:@FINALNSSDIR@:/etc/ipsec.d:g" -e "s:@FINALCONFDIR@:/etc:g" -e "s:@FINALCONFFILE@:/etc/ipsec.conf:g" -e "s:@FINALDOCDIR@:/usr/share/doc/libreswan:g" -e "s:@FINALEXAMPLECONFDIR@:/usr/share/doc/libreswan:g" -e "s:@FINALLIBEXECDIR@:/usr/lib/ipsec:g" -e "s:@FINALRCDIR@:/etc/rc.d/init.d:g" -e "s:@FINALSBINDIR@:/usr/bin:g" -e "s:@FINALSYSCONFDIR@:/etc:g" -e "s:@FINALVARDIR@:/var:g" -e "s:@IPSEC_CONF@:/etc/ipsec.conf:g" -e "s:@IPSEC_CONFDDIR@:/etc/ipsec.d:g" -e "s:@IPSEC_NSSDIR@:/etc/ipsec.d:g" -e "s:@IPSEC_DIR@:/usr/lib/ipsec:g" -e "s:@IPSEC_EXECDIR@:/usr/lib/ipsec:g" -e "s:@IPSEC_VARDIR@:/var:g" -e "s:@IPSEC_SBINDIR@:/usr/bin:g" -e "s:@IPSEC_SECRETS_FILE@:/etc/ipsec.secrets:g" -e "s:@MODPROBEBIN@:modprobe:g" -e "s:@MODPROBEARGS@:--quiet --use-blacklist:g" -e "s:@USE_DEFAULT_CONNS@::g" -e "s:@SD_TYPE@:notify:g" -e "s:@SD_RESTART_TYPE@:"always":g" -e "s:@SD_PLUTO_OPTIONS@:"--leak-detective":g" -e "s:@SD_WATCHDOGSEC@:200:g" < ipsec_version.5.xml > ../../OBJ.linux.x86_64/programs/proc/ipsec_version.5.tmp
: ignoring seemingly bogus xmlto exit status
cd ../../OBJ.linux.x86_64/programs/proc && xmlto man ipsec_version.5.tmp || true
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.rsbXhK line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
test -r ../../OBJ.linux.x86_64/programs/proc/ipsec_version.5
make[2]: *** [../../mk/manpages.mk:72: ipsec_version.5] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/programs/proc'
make[1]: *** [../mk/targets.mk:82: recursive-all] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-marty/aur-libreswan/src/libreswan-3.18/programs'
make: *** [mk/targets.mk:82: recursive-all] Error 2

abique commented on 2017-01-15 08:43

I disown

Muflone commented on 2016-11-06 13:06

confirmed the sign issue and the arcnmx fix

zinovyev commented on 2016-10-25 12:22

Can not build the 3.18 version:

```
../../OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c.tmp: In function ‘yy_get_next_buffer’:
../../OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c.tmp:994:18: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
../../OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c.tmp:1683:3: note: in expansion of macro ‘YY_INPUT’
../../OBJ.linux.x86_64/lib/libipsecconf/lex.yy.c.tmp:1708:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
```

while the 3.12 gets compiled just fine

dead10ck commented on 2016-08-23 16:57

Confirming this build issue on a 64-bit build

~ ∫ gcc --version
gcc (GCC) 6.1.1 20160802
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

~ ∫ file (which gcc)
/usr/bin/gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8620ae2ea71df5db4ca45d9a7d71dc99dce8ba3e, stripped

~ ∫ cat /etc/makepkg.conf | grep CFLAG
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong"

abique commented on 2016-08-23 04:16

are you building 32bits or 64bits?
I have no issues here, so what are you CFLAGS in /etc/makepkg.conf?

skiwi commented on 2016-08-22 16:28

confirming arcnmx's remark/fix works.

arcnmx commented on 2016-08-01 19:53

Fails to build due to error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]

Adding -Wno-error=sign-compare to the PKGBUILD alongside the existing bypass fixes it as expected.

All comments