Source: tcpxtract Version: 1.0.1-11 Severity: serious Tags: patch https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/tcpxtract.html
... gcc -D_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DDEFAULT_CONFIG_FILE=\"/etc/tcpxtract.conf\" -Wl,-z,relro -Wl,-z,now -o tcpxtract tcpxtract.o sessionlist.o util.o confy.o confl.o conf.o search.o extract.o -lpcap confl.o: In function `yylex': tcpxtract_1.0.1-11/confl.c:761: undefined reference to `yywrap' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:429: tcpxtract] Error 1 Fix is attached.
Description: AC_CHECK_LIB(fl, main) does not worh with shared libfl Linking with shared libfl fails due to yylex required by libfl. Author: Adrian Bunk <b...@debian.org> --- tcpxtract-1.0.1.orig/Makefile.am +++ tcpxtract-1.0.1/Makefile.am @@ -2,7 +2,7 @@ AM_CFLAGS = -D_OFFSET_BITS=64 -D_LARGEFI bin_PROGRAMS = tcpxtract tcpxtract_SOURCES = tcpxtract.c sessionlist.c sessionlist.h util.c util.h confy.y confl.l \ conf.c conf.h confy.h search.h search.c extract.h extract.c -#tcpxtract_LDADD = @LEXLIB@ +tcpxtract_LDADD = @LEXLIB@ sysconf_DATA = tcpxtract.conf --- tcpxtract-1.0.1.orig/configure.in +++ tcpxtract-1.0.1/configure.in @@ -11,7 +11,7 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET AC_PROG_RANLIB -AC_CHECK_LIB(fl, main) +AC_PROG_LEX AC_CHECK_LIB(pcap, pcap_open_offline) AC_HEADER_STDC