Run of lintian-fixes for nstreams

Run Locally

git clone git+ssh://git@salsa.debian.org/debian/nstreams.git nstreams
cd nstreams
DEB_UPDATE_CHANGELOG=auto lintian-brush

Failure

build.log · stage Build, 227 lines starting at line 407
nstreams.c:100:34: error: ‘PACKAGE_VERSION’ undeclared (first use in this function)

View full build.log →


Unpack source
-------------

Format: 3.0 (quilt)
Source: nstreams
Binary: nstreams
Architecture: any
Version: 1.0.4+ds-0.2~jan+lint1
Maintainer: Joerg Jaspert <joerg@debian.org>
Homepage: https://web.archive.org/web/20161127160704/http://www.hsc.fr/ressources/outils/nstreams/
Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/debian/nstreams
Vcs-Git: https://salsa.debian.org/debian/nstreams.git
Build-Depends: debhelper-compat (= 13), libpcap-dev
Package-List:
 nstreams deb net optional arch=any
Checksums-Sha1:
 b4224411553d5a6186377a1ff39693ae5fd03cf3 24956 nstreams_1.0.4+ds.orig.tar.xz
 1274ea33c58423e6abaef7f3e5f78e275d5e4d1d 5264 nstreams_1.0.4+ds-0.2~jan+lint1.debian.tar.xz
Checksums-Sha256:
 794f1431409dc2e8007fb76b6d4fa118c9ac96194ea8857071a2c689a8f5a8b0 24956 nstreams_1.0.4+ds.orig.tar.xz
 0c95af3dfba5d6de7af3de779d34b2e900ee6dc498329aa2cdaf019bd9119a1a 5264 nstreams_1.0.4+ds-0.2~jan+lint1.debian.tar.xz
Files:
 92a3b2232fb2bfc92d46fefc531028cf 24956 nstreams_1.0.4+ds.orig.tar.xz
 9ff294944afd5c83cc8b460a28cf2633 5264 nstreams_1.0.4+ds-0.2~jan+lint1.debian.tar.xz

dpkg-source: warning: extracting unsigned source package (nstreams_1.0.4+ds-0.2~jan+lint1.dsc)
dpkg-source: info: extracting nstreams in /build/reproducible-path/nstreams-1.0.4+ds
dpkg-source: info: unpacking nstreams_1.0.4+ds.orig.tar.xz
dpkg-source: info: unpacking nstreams_1.0.4+ds-0.2~jan+lint1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying debian.patch
dpkg-source: info: applying define-int2proto.patch
dpkg-source: info: applying configure.in.patch
dpkg-source: info: applying gcc-14.patch
dpkg-source: info: applying 0005-Fix-configuration-error-maybe.patch
dpkg-source: info: applying 0006-Fix-non-UTF-8-encoding-in-src-nstreams.c.patch
dpkg-source: info: applying sysconfdir.patch

clean up apt cache
------------------


Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
SOURCE_DATE_EPOCH=1782825361
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc
dpkg-buildpackage: info: source package nstreams
dpkg-buildpackage: info: source version 1.0.4+ds-0.2~jan+lint1
dpkg-buildpackage: info: source distribution lintian-fixes
dpkg-buildpackage: info: source changed by Debian Janitor <janitor@jelmer.uk>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/reproducible-path/nstreams-1.0.4+ds'
[ ! -f nstreams.tmpl ] || dh_auto_clean
make[1]: Leaving directory '/build/reproducible-path/nstreams-1.0.4+ds'
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building nstreams using existing ../nstreams_1.0.4+ds.orig.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building nstreams in ../nstreams_1.0.4+ds-0.2~jan+lint1.debian.tar.xz
dpkg-source: info: building nstreams in ../nstreams_1.0.4+ds-0.2~jan+lint1.dsc
 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
autoreconf: configure.in: includes/config.h.in was not generated by autoheader
autoreconf: force update of includes/config.h.in with --replace-handwritten
autoreconf: configure.in: not using Automake
autoreconf: './config.sub' is created
autoreconf: './config.guess' is created
autoreconf: './install-sh' is updated
autoreconf: configure.in: not running make: --make not given
autoreconf: Leaving directory '.'
   dh_auto_configure
	./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
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... x86_64-linux-gnu-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 x86_64-linux-gnu-gcc accepts -g... yes
checking for x86_64-linux-gnu-gcc option to enable C23 features... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
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 errno.h... yes
checking for sys/types.h... (cached) yes
checking for netinet/in.h... yes
checking for sys/socket.h... yes
checking for netdb.h... yes
checking for arpa/inet.h... yes
checking for string.h... (cached) yes
checking for signal.h... yes
checking for netinet/in_systm.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ctype.h... yes
checking for getopt.h... yes
checking for pcap_open_live in -lpcap... yes
checking for bzero... yes
checking for inet_ntoa... yes
configure: creating ./config.status
config.status: creating nstreams.tmpl
config.status: WARNING:  'nstreams.tmpl.in' seems to ignore the --datarootdir setting
config.status: creating includes/config.h
   dh_auto_build
	make -j4
make[1]: Entering directory '/build/reproducible-path/nstreams-1.0.4+ds'
cd src && make
make[2]: Entering directory '/build/reproducible-path/nstreams-1.0.4+ds/src'
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nstreams-1.0.4+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/pcap  -I/usr/include -I/build/reproducible-path/nstreams-1.0.4+ds/includes  -c nstreams.c 
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nstreams-1.0.4+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/pcap  -I/usr/include -I/build/reproducible-path/nstreams-1.0.4+ds/includes -c parse_tcpdump.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nstreams-1.0.4+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/pcap  -I/usr/include -I/build/reproducible-path/nstreams-1.0.4+ds/includes -c config_rules.c
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nstreams-1.0.4+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/pcap  -I/usr/include -I/build/reproducible-path/nstreams-1.0.4+ds/includes -c ports.c
parse_tcpdump.c: In function ‘count_dots’:
config_rules.c: In function ‘get_rule’:
config_rules.c:45:1: warning: old-style function definition [-Wold-style-definition]
   45 | get_rule(cr, dump)
      | ^~~~~~~~
parse_tcpdump.c:37:12: warning: old-style function definition [-Wold-style-definition]
   37 | static int count_dots(str)
      |            ^~~~~~~~~~
parse_tcpdump.c: In function ‘ascaddr2intaddr’:
parse_tcpdump.c:51:23: warning: old-style function definition [-Wold-style-definition]
   51 | static struct in_addr ascaddr2intaddr(addr, port, proto)
      |                       ^~~~~~~~~~~~~~~
parse_tcpdump.c: In function ‘is_tcp_flag’:
parse_tcpdump.c:82:12: warning: old-style function definition [-Wold-style-definition]
   82 | static int is_tcp_flag(c)
      |            ^~~~~~~~~~~
ports.c: In function ‘rec_pip’:
ports.c:219:5: warning: old-style function definition [-Wold-style-definition]
  219 | int rec_pip(port, ports, s, e)
      |     ^~~~~~~
config_rules.c: In function ‘read_config’:
config_rules.c:127:1: warning: old-style function definition [-Wold-style-definition]
  127 | read_config(fd)
      | ^~~~~~~~~~~
parse_tcpdump.c: In function ‘tcp_flag’:
ports.c: In function ‘port_in_ports’:
parse_tcpdump.c:93:12: warning: old-style function definition [-Wold-style-definition]
   93 | static int tcp_flag(c)
      |            ^~~~~~~~
ports.c:241:5: warning: old-style function definition [-Wold-style-definition]
  241 | int port_in_ports(port, ports, len)
      |     ^~~~~~~~~~~~~
parse_tcpdump.c: In function ‘parse_tcpdump_line’:
parse_tcpdump.c:104:18: warning: old-style function definition [-Wold-style-definition]
  104 | struct tcpdump * parse_tcpdump_line(orig)
      |                  ^~~~~~~~~~~~~~~~~~
nstreams.c: In function ‘version’:
nstreams.c:100:34: error: ‘PACKAGE_VERSION’ undeclared (first use in this function)
  100 |  printf("This is nstreams %s\n", PACKAGE_VERSION);
      |                                  ^~~~~~~~~~~~~~~
nstreams.c:100:34: note: each undeclared identifier is reported only once for each function it appears in
nstreams.c: In function ‘output_function’:
nstreams.c:118:1: warning: old-style function definition [-Wold-style-definition]
  118 | output_function(name)
      | ^~~~~~~~~~~~~~~
nstreams.c: In function ‘main’:
nstreams.c:132:1: warning: old-style function definition [-Wold-style-definition]
  132 | main(argc, argv)
      | ^~~~
make[2]: *** [Makefile:14: nstreams.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/nstreams-1.0.4+ds/src'
make[1]: *** [Makefile:6: nstreams] Error 2
make[1]: Leaving directory '/build/reproducible-path/nstreams-1.0.4+ds'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Build finished at 2026-06-30T13:19:44Z

Finished
--------

Logs

Summary

Failed fixers:

  • initial-upload-closes-no-bugs
    Panic: either the `runtime-async-std` or `runtime-tokio` feature must be enabled
    Backtrace:
       0: <lintian_brush::builtin_fixers::BuiltinFixerWrapper as lintian_brush::Fixer>::run
       1: debian_analyzer::apply_or_revert
       2: lintian_brush::run_lintian_fixers
       3: lintian_brush::main
       4: std::sys::backtrace::__rust_begin_short_backtrace
       5: std::rt::lang_start::{{closure}}
       6: std::rt::lang_start_internal
       7: main
       8: <unknown>
       9: __libc_start_main
      10: _start
    

Publish Blockers

  • ☑ 0 publish attempts so far. not currently attempting to back off
  • ☒ change set 0963b55e-e156-4415-94a9-e062913ea708 is working
  • ☑ command has not changed
  • ☑ codebase is not inactive
  • ☑ no relevant previous merge proposals
  • ☑ proposals not currently being rate-limited for maintainer joerg@debian.org
  • ☒ run was rejected
  • ☒ run was not successful