package: chkrootkit
version: 0.57-2
severity: normal

This bug is a reminder of an issue that don't affect debian but seem
to show up on non-debian architectures.
I will look at this once bookworm is released

chkproc fails on hurd - i think the #endif on line 252 of patched
chkproc.c should be at the end -- this is matching the very first #if
on line 61 so there is no issue unless run on non-linux

See: https://buildd.debian.org/status/package.php?p=chkrootkit#problem-3

chkproc.c:443:11: note: include ‘<ctype.h>’ or provide a declaration
of ‘isdigit’
chkproc.c:454:7: error: ‘dirproc’ undeclared (first use in this
function); did you mean ‘proc’?
  454 |       dirproc[atol(tmp_d_name)] = 1;
      |       ^~~~~~~
      |       proc
chkproc.c:456:4: warning: implicit declaration of function ‘closedir’
[-Wimplicit-function-declaration]
  456 |    closedir(proc);
      |    ^~~~~~~~
chkproc.c:415:25: warning: unused parameter ‘verbose’ [-Wunused-parameter]
  415 | void populate_psdir(int verbose)
      |                     ~~~~^~~~~~~
make[1]: *** [Makefile:52: chkproc] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true"
returned exit code 2
make: *** [debian/rules:10: binary-arch] Error 255

Reply via email to