Source: mailfilter Version: 0.8.6-2 Severity: serious Tags: buster sid patch
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mailfilter.html ... g++ -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mailfilter md5c.o rcfile.o rcparser.o rfc822.o rfc822parser.o mailfilter.o header.o weeder.o preferences.o feedback.o filter.o score.o account.o protocol.o socket.o pop3.o apop.o imap.o -lfl -lnsl -lssl -lcrypto /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libfl.so: undefined reference to `yylex' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:415: mailfilter] Error 1 For fixing this FTBFS, required are both the attached patch and running automake (e.g. dh compat 10).
Description: Remove unused linking with libfl Due to the yylex requirement this caused FTBFS when a shared libfl is provided. . libfl is not required due to noyywrap. Author: Adrian Bunk <b...@debian.org> --- mailfilter-0.8.6.orig/src/Makefile.am +++ mailfilter-0.8.6/src/Makefile.am @@ -79,5 +79,3 @@ AM_CPPFLAGS = -I$(includedir) -DLOCALEDIR=\"$(datadir)/locale\" \ -I$(top_srcdir)/intl \ -I$(top_builddir) -I$(top_builddir)/include -I. - -LIBS = @LEXLIB@ @LIBS@