Package: src:ngrep
Version: 1.47+ds1-7
Severity: important
Tags: forky sid ftbfs
User: [email protected]
Usertags: autoconf-2.73

Dear maintainer:

During a rebuild of all packages in unstable using autoconf 2.73
(available in experimental), this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/autoconf-2.73/

This bug will be raised to serious once autoconf 2.73 is uploaded for unstable.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: no obvious need to run autopoint
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: configure.in: no need to run autopoint (confirmed)
autoreconf: running: /usr/bin/autoconf --force
configure.in:14: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete.
configure.in:14: You should run autoupdate.
./lib/autoconf/general.m4:2137: AC_CANONICAL_SYSTEM is expanded from...
configure.in:14: the top level
configure.in:16: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:16: You should run autoupdate.
./lib/autoconf/headers.m4:664: AC_HEADER_STDC is expanded from...
configure.in:16: the top level
autoreconf: configure.in: config.h.in was not generated by autoheader
autoreconf: force update of config.h.in with --replace-handwritten
autoreconf: configure.in: not using Automake
autoreconf: configure.in: not running make: --make not given
autoreconf: Leaving directory '.'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure --                            \
        --enable-pcre2                          \
        --enable-ipv6                           \
        --enable-tcpkill                        \
        --with-pcap-includes=/usr/include/pcap  \
        --disable-pcap-restart
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking --enable-pcre2 
--enable-ipv6 --enable-tcpkill --with-pcap-includes=/usr/include/pcap 
--disable-pcap-restart

Configuring System ...

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C23 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for libnet_init in -lnet... yes

Configuring Network Grep ...

checking for a complete set of pcap headers... checking how to run the C 
preprocessor... gcc -E
checking for egrep -e... (cached) /usr/bin/grep -E
found /usr/include/pcap
checking for pcap_open_live in -lpcap... yes
checking for BPF include path... pcap/bpf.h
checking for DLT_LINUX_SLL in pcap/bpf.h... yes
checking for DLT_LOOP in pcap/bpf.h... yes
checking for DLT_IEEE802_11 in pcap/bpf.h... yes
checking for DLT_IEEE802_11_RADIO in pcap/bpf.h... yes
checking for DLT_RAW in pcap/bpf.h... yes
checking for DLT_PFLOG in pcap/bpf.h... yes
checking for DLT_IPNET in pcap/bpf.h... yes

CONFIG: IPv6 support enabled
CONFIG: privilege dropping enabled (using nobody)
CONFIG: using PCRE2 regex library
CONFIG: tcpkill feature enabled
CONFIG: automatically including VLAN frames

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -DLINUX  -D_BSD_SOURCE -D_DEFAULT_SOURCE 
-DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/pcap -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -g -c ngrep.c
gcc -DHAVE_CONFIG_H -DLINUX  -D_BSD_SOURCE -D_DEFAULT_SOURCE 
-DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include/pcap -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -g -c tcpkill.c
ngrep.c: In function ‘setup_pcap_source’:
ngrep.c:461:13: warning: ‘pcap_lookupdev’ is deprecated: use 
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  461 |             pcap_lookupdev(pc_err);
      |             ^~~~~~~~~~~~~~
In file included from ngrep.c:83:
/usr/include/pcap/pcap.h:444:18: note: declared here
  444 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
tcpkill.c: In function ‘tcpkill_init’:
tcpkill.c:80:3: warning: ‘pcap_lookupdev’ is deprecated: use 
'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
   80 |   if ((intf = pcap_lookupdev(ebuf)) == NULL)
      |   ^~
In file included from tcpkill.c:19:
/usr/include/pcap/pcap.h:444:18: note: declared here
  444 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
ngrep.c: In function ‘setup_matcher’:
ngrep.c:655:29: error: ‘RE_CHAR_CLASSES’ undeclared (first use in this 
function)
  655 |         re_syntax_options = RE_CHAR_CLASSES | RE_NO_BK_PARENS | 
RE_NO_BK_VBAR |
      |                             ^~~~~~~~~~~~~~~
ngrep.c:655:29: note: each undeclared identifier is reported only once for each 
function it appears in
ngrep.c:655:47: error: ‘RE_NO_BK_PARENS’ undeclared (first use in this 
function)
  655 |         re_syntax_options = RE_CHAR_CLASSES | RE_NO_BK_PARENS | 
RE_NO_BK_VBAR |
      |                                               ^~~~~~~~~~~~~~~
ngrep.c:655:65: error: ‘RE_NO_BK_VBAR’ undeclared (first use in this 
function)
  655 |         re_syntax_options = RE_CHAR_CLASSES | RE_NO_BK_PARENS | 
RE_NO_BK_VBAR |
      |                                                                 
^~~~~~~~~~~~~
ngrep.c:656:13: error: ‘RE_CONTEXT_INDEP_ANCHORS’ undeclared (first use in 
this function)
  656 |             RE_CONTEXT_INDEP_ANCHORS | RE_CONTEXT_INDEP_OPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
ngrep.c:656:40: error: ‘RE_CONTEXT_INDEP_OPS’ undeclared (first use in this 
function)
  656 |             RE_CONTEXT_INDEP_ANCHORS | RE_CONTEXT_INDEP_OPS;
      |                                        ^~~~~~~~~~~~~~~~~~~~
ngrep.c:659:34: error: ‘RE_DOT_NEWLINE’ undeclared (first use in this 
function); did you mean ‘REG_NEWLINE’?
  659 |             re_syntax_options |= RE_DOT_NEWLINE;
      |                                  ^~~~~~~~~~~~~~
      |                                  REG_NEWLINE
ngrep.c:665:21: error: ‘struct re_pattern_buffer’ has no member named 
‘translate’; did you mean ‘__translate’?
  665 |             pattern.translate = (char*)malloc(256);
      |                     ^~~~~~~~~
      |                     __translate
ngrep.c:666:25: error: ‘struct re_pattern_buffer’ has no member named 
‘translate’; did you mean ‘__translate’?
  666 |             s = pattern.translate;
      |                         ^~~~~~~~~
      |                         __translate
ngrep.c:679:24: error: ‘struct re_pattern_buffer’ has no member named 
‘translate’; did you mean ‘__translate’?
  679 |         } else pattern.translate = NULL;
      |                        ^~~~~~~~~
      |                        __translate
ngrep.c:719:18: error: implicit declaration of function 
‘re_compile_pattern’ [-Wimplicit-function-declaration]
  719 |         re_err = re_compile_pattern(match_data, strlen(match_data), 
&pattern);
      |                  ^~~~~~~~~~~~~~~~~~
ngrep.c:719:16: error: assignment to ‘const char *’ from ‘int’ makes 
pointer from integer without a cast [-Wint-conversion]
  719 |         re_err = re_compile_pattern(match_data, strlen(match_data), 
&pattern);
      |                ^
ngrep.c:725:17: error: ‘struct re_pattern_buffer’ has no member named 
‘fastmap’; did you mean ‘__fastmap’?
  725 |         pattern.fastmap = (char*)malloc(256);
      |                 ^~~~~~~
      |                 __fastmap
ngrep.c:726:13: error: implicit declaration of function 
‘re_compile_fastmap’ [-Wimplicit-function-declaration]
  726 |         if (re_compile_fastmap(&pattern)) {
      |             ^~~~~~~~~~~~~~~~~~
ngrep.c: In function ‘re_match_func’:
ngrep.c:1052:32: error: storage size of ‘regs’ isn’t known
 1052 |     static struct re_registers regs;
      |                                ^~~~
ngrep.c:1053:13: error: implicit declaration of function ‘re_search’; did 
you mean ‘bsearch’? [-Wimplicit-function-declaration]
 1053 |     switch (re_search(&pattern, (char const *)data, (int32_t)len, 0, 
len, &regs)) {
      |             ^~~~~~~~~
      |             bsearch
ngrep.c: In function ‘clean_exit’:
ngrep.c:1522:17: error: ‘struct re_pattern_buffer’ has no member named 
‘translate’; did you mean ‘__translate’?
 1522 |     if (pattern.translate) free(pattern.translate);
      |                 ^~~~~~~~~
      |                 __translate
ngrep.c:1522:41: error: ‘struct re_pattern_buffer’ has no member named 
‘translate’; did you mean ‘__translate’?
 1522 |     if (pattern.translate) free(pattern.translate);
      |                                         ^~~~~~~~~
      |                                         __translate
ngrep.c:1523:17: error: ‘struct re_pattern_buffer’ has no member named 
‘fastmap’; did you mean ‘__fastmap’?
 1523 |     if (pattern.fastmap)   free(pattern.fastmap);
      |                 ^~~~~~~
      |                 __fastmap
ngrep.c:1523:41: error: ‘struct re_pattern_buffer’ has no member named 
‘fastmap’; did you mean ‘__fastmap’?
 1523 |     if (pattern.fastmap)   free(pattern.fastmap);
      |                                         ^~~~~~~
      |                                         __fastmap
make[1]: *** [Makefile:51: ngrep.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to