Package: flex Version: 2.6.4-2 Severity: serious Forwarded: https://github.com/westes/flex/issues/313 Control: affects -1 src:libreswan
https://buildd.debian.org/status/package.php?p=libreswan&suite=sid ... cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/<<PKGBUILDDIR>>/ports/linux/include -I../../OBJ.linux.aarch64/lib/libipsecconf -I. -I/<<PKGBUILDDIR>>/linux/net/ipsec -I/<<PKGBUILDDIR>>/linux/include -I/<<PKGBUILDDIR>>/include -I/usr/include/nss -I/usr/include/nspr -pthread -std=gnu99 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-aliasing -fPIE -DPIE -DUSE_DNSSEC -DDEFAULT_DNSSEC_ROOTKEY_FILE=\"/usr/share/dns/root.key\" -DUSE_NIC_OFFLOAD -DHAVE_LABELED_IPSEC -DLIBCURL -DUSE_LINUX_AUDIT -DUSE_SYSTEMD_WATCHDOG -DLIBLDAP -DHAVE_NM -DXAUTH_HAVE_PAM -DUSE_MD5 -DUSE_SHA2 -DUSE_SHA1 -DUSE_AES -DUSE_3DES -DUSE_CAMELLIA -DUSE_SERPENT -DUSE_TWOFISH -DUSE_CAST -DDEFAULT_RUNDIR=\"/run/pluto\" -DFIPSPRODUCTCHECK=\"/etc/system-fips\" -DIPSEC_CONF=\"/etc/ipsec.conf\" -DIPSEC_CONFDDIR=\"/etc/ipsec.d\" -DIPSEC_NSSDIR=\"/var/lib/ipsec/nss\" -DIPSEC_CONFDIR=\"/etc\" -DIPSEC_EXECDIR=\"/usr/lib/ipsec\" -DIPSEC_S BINDIR=\"/usr/sbin\" -DIPSEC_VARDIR=\"/var\" -DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" -DIPSEC_SECRETS_FILE=\"/etc/ipsec.secrets\" -DFORCE_PR_ASSERT -DUSE_FORK=1 -DUSE_VFORK=0 -DUSE_DAEMON=0 -DUSE_PTHREAD_SETSCHEDPRIO=1 -DGCC_LINT -DALLOW_MICROSOFT_BAD_PROPOSAL -Werror -Wall -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations -Wredundant-decls -Wnested-externs -I/<<PKGBUILDDIR>>/ports/linux/include -I../../OBJ.linux.aarch64/lib/libipsecconf -I. -I/<<PKGBUILDDIR>>/linux/net/ipsec -I/<<PKGBUILDDIR>>/linux/include -I/<<PKGBUILDDIR>>/include -I/usr/include/nss -I/usr/include/nspr -pthread -std=gnu99 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-aliasing -fPIE -DPIE -DUSE_DNSSEC -DDEFAULT_DNSSEC_ROOTKEY_FILE=\"/usr/share/dns/root.key\" -DUSE_NIC_OFFLOAD -DHAVE_LABELED_IPSEC -DLIBCURL -DUSE_LINUX_AUDIT -DUSE_SYSTEMD_WATCHDOG -DLIBLDAP -DHAVE_NM -DXAUTH_HAVE_PAM -DUSE_MD5 -DUSE_SHA2 -DUSE_SHA1 -DUSE_AES -DUSE_3DES -DUSE_ CAMELLIA -DUSE_SERPENT -DUSE_TWOFISH -DUSE_CAST -DDEFAULT_RUNDIR=\"/run/pluto\" -DFIPSPRODUCTCHECK=\"/etc/system-fips\" -DIPSEC_CONF=\"/etc/ipsec.conf\" -DIPSEC_CONFDDIR=\"/etc/ipsec.d\" -DIPSEC_NSSDIR=\"/var/lib/ipsec/nss\" -DIPSEC_CONFDIR=\"/etc\" -DIPSEC_EXECDIR=\"/usr/lib/ipsec\" -DIPSEC_SBINDIR=\"/usr/sbin\" -DIPSEC_VARDIR=\"/var\" -DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" -DIPSEC_SECRETS_FILE=\"/etc/ipsec.secrets\" -DFORCE_PR_ASSERT -DUSE_FORK=1 -DUSE_VFORK=0 -DUSE_DAEMON=0 -DUSE_PTHREAD_SETSCHEDPRIO=1 -DGCC_LINT -DALLOW_MICROSOFT_BAD_PROPOSAL -Werror -Wall -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wmissing-declarations -Wredundant-decls -Wnested-externs \ -MF ../../OBJ.linux.aarch64/lib/libipsecconf/lex.yy.d \ -MP -MMD -MT lex.yy.o \ -o ../../OBJ.linux.aarch64/lib/libipsecconf/lex.yy.o \ -c /<<PKGBUILDDIR>>/OBJ.linux.aarch64/lib/libipsecconf/lex.yy.c parser.l: In function 'parser_y_init': parser.l:104:33: error: implicit declaration of function 'strdup' [-Werror=implicit-function-declaration] ic_private.stack[0].filename = strdup(name); ^~~~~~ parser.l:104:33: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] parser.l: In function 'parser_y_nextglobfile': parser.l:155:18: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] iis->filename = strdup(iis->fileglob.gl_pathv[fcnt]); ^~~~~~ parser.l: In function 'yylex': parser.l:451:16: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] yylval.s = strdup(yytext); ^~~~~~ parser.l:467:16: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] yylval.s = strdup(s); ^~~~~~ parser.l:483:16: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] yylval.s = strdup(s); ^~~~~~ parser.l:490:16: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] yylval.s = strdup(yytext); ^~~~~~ parser.l:497:16: error: incompatible implicit declaration of built-in function 'strdup' [-Werror] yylval.s = strdup(yytext); ^~~~~~ cc1: all warnings being treated as errors ../../mk/depend.mk:34: recipe for target 'lex.yy.o' failed make[5]: *** [lex.yy.o] Error 1