Source: ipsec-tools
Version: 1:0.8.2+20140711-10
Severity: serious
Tags: patch

/bin/bash ../../libtool  --tag=CC   --mode=link x86_64-linux-gnu-gcc 
-D_GNU_SOURCE -include ../../src/include-glibc/glibc-bugs.h 
-I../../src/include-glibc -I../../src/include-glibc 
-DSYSCONFDIR=\"/etc/racoon\" -DADMINPORTDIR=\"/var/run/racoon\" -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security  -Wall -Werror 
-Wno-unused -lcrypto -Wl,-z,relro -o racoonctl racoonctl.o str2val.o ../libipsec/  -lldap -lpam -lutil -lcrypto  -lresolv 
-lcrypt -lcrypt -lpam -lldap -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,-z,relro 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
libtool: link: x86_64-linux-gnu-gcc -D_GNU_SOURCE -include 
../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc 
-I../../src/include-glibc -DSYSCONFDIR=\"/etc/racoon\" 
-DADMINPORTDIR=\"/var/run/racoon\" -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wall -Werror -Wno-unused -Wl,-z -Wl,relro -o 
.libs/racoonctl racoonctl.o str2val.o -Wl,-z -Wl,relro  ./.libs/ 
../libipsec/.libs/ -lutil -lcrypto -lresolv -lcrypt -lpam -lldap 
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-Wl,-rpath -Wl,/usr/lib/ipsec-tools
//usr/lib/x86_64-linux-gnu/ undefined reference to `yylex'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:681: racoonctl] Error 1

Fix attached.
Description: Remove unused libipsec linking with libfl
 Due to the yylex requirement this caused FTBFS
 when a shared libfl is provided.
Author: Adrian Bunk <>

--- ipsec-tools-0.8.2+20140711.orig/src/libipsec/
+++ ipsec-tools-0.8.2+20140711/src/libipsec/
@@ -26,7 +26,6 @@ libipsec_la_SOURCES = \
 # version is current:revision:age.
 # See:
 libipsec_la_LDFLAGS = -version-info 0:1:0
-libipsec_la_LIBADD = $(LEXLIB)
 noinst_HEADERS = ipsec_strerror.h

Reply via email to