[pkg-netfilter-team] Bug#1034704: xtables-addons-dkms fails to build

Bruce Mitchell xxdpplus at yahoo.com
Sat Apr 22 05:08:29 BST 2023


Package: xtables-addons-dkms
Version: 3.13-1+deb11u1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

On this Pogoplug (Kirkwood) system, xtables-addons-dkms fails
to build.  xtables-addons-common already installed.  Console log
attached below.

root at sondetracker:/etc/init.d# apt-get install xtables-addons-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Recommended packages:
  linux-headers
The following NEW packages will be installed:
  xtables-addons-dkms
0 upgraded, 1 newly installed, 0 to remove and 66 not upgraded.
Need to get 66.4 kB of archives.
After this operation, 316 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main armel xtables-addons-dkms all 3.13-1+deb11u1 [66.4 kB]
Fetched 66.4 kB in 0s (212 kB/s)
Selecting previously unselected package xtables-addons-dkms.
(Reading database ... 41444 files and directories currently installed.)
Preparing to unpack .../xtables-addons-dkms_3.13-1+deb11u1_all.deb ...
Unpacking xtables-addons-dkms (3.13-1+deb11u1) ...
Setting up xtables-addons-dkms (3.13-1+deb11u1) ...
Loading new xtables-addons-3.13 DKMS files...
Building for 6.2.7-kirkwood-tld-1
Building initial module for 6.2.7-kirkwood-tld-1
Error!  Build of xt_ACCOUNT.ko failed for: 6.2.7-kirkwood-tld-1 (armv5tel)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/xtables-addons/3.13/build/ for more information.
dpkg: error processing package xtables-addons-dkms (--configure):
 installed xtables-addons-dkms package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
 xtables-addons-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at sondetracker:/etc/init.d# cat /var/lib/dkms/xtables-addons/3.13/build/make.log
DKMS make.log for xtables-addons-3.13 for kernel 6.2.7-kirkwood-tld-1 (armv5tel)
Sat Apr 22 03:51:33 UTC 2023
make: Entering directory '/usr/src/linux-headers-6.2.7-kirkwood-tld-1'
make -f ./scripts/Makefile.build obj=/var/lib/dkms/xtables-addons/3.13/build/extensions need-builtin=1 need-modorder=1
make -f ./scripts/Makefile.build obj=/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT \
need-builtin= \
need-modorder=1 \

  gcc -Wp,-MMD,/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/.xt_ACCOUNT.o.d -nostdinc -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -D__LINUX_ARM_ARCH__=5 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -funsigned-char -std=gnu11 -fno-dwarf2-cfi-asm -mno-fdpic -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -march=armv5te -mtune=xscale -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -I/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/..  -DMODULE  -DKBUILD_BASENAME='"xt_ACCOUNT"' -DKBUILD_MODNAME='"xt_ACCOUNT"' -D__KBUILD_MODNAME=kmod_xt_ACCOUNT -c -o /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.o /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.c 
  ./scripts/check-local-export /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.o
  if nm /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/.xt_ACCOUNT.o.d -nostdinc -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -D__LINUX_ARM_ARCH__=5 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -funsigned-char -std=gnu11 -fno-dwarf2-cfi-asm -mno-fdpic -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -march=armv5te -mtune=xscale -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -I/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/..  -DMODULE  -DKBUILD_BASENAME='"xt_ACCOUNT"' -DKBUILD_MODNAME='"xt_ACCOUNT"' -D__KBUILD_MODNAME=kmod_xt_ACCOUNT /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.c | scripts/genksyms/genksyms   -r /dev/null >> /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/.xt_ACCOUNT.o.cmd; fi
  printf '%s
'   xt_ACCOUNT.o | awk '!x[$0]++ { print("/var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/"$0) }' > /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.mod
  {   echo /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/xt_ACCOUNT.o; :; } > /var/lib/dkms/xtables-addons/3.13/build/extensions/ACCOUNT/modules.order
make -f ./scripts/Makefile.build obj=/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock \
need-builtin= \
need-modorder=1 \

  gcc -Wp,-MMD,/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/.xt_pknock.o.d -nostdinc -I./arch/arm/include -I./arch/arm/include/generated  -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -D__LINUX_ARM_ARCH__=5 -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -funsigned-char -std=gnu11 -fno-dwarf2-cfi-asm -mno-fdpic -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -march=armv5te -mtune=xscale -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -Os -fno-allow-store-data-races -Wframe-larger-than=1024 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fomit-frame-pointer -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -I/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/..  -DMODULE  -DKBUILD_BASENAME='"xt_pknock"' -DKBUILD_MODNAME='"xt_pknock"' -D__KBUILD_MODNAME=kmod_xt_pknock -c -o /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.o /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c
In file included from ./include/linux/bitops.h:7,
                 from ./include/linux/log2.h:12,
                 from ./include/asm-generic/div64.h:55,
                 from ./arch/arm/include/asm/div64.h:107,
                 from ./include/linux/math.h:6,
                 from ./include/linux/math64.h:6,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:10:
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c: In function 'pknock_seq_show':
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:251:20: error: implicit declaration of function 'get_seconds' [-Werror=implicit-function-declaration]
  251 |    if (time_before(get_seconds(), peer->login_sec +
      |                    ^~~~~~~~~~~
./include/linux/typecheck.h:11:9: note: in definition of macro 'typecheck'
   11 |  typeof(x) __dummy2; \
      |         ^
./include/linux/jiffies.h:108:26: note: in expansion of macro 'time_after'
  108 | #define time_before(a,b) time_after(b,a)
      |                          ^~~~~~~~~~
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:251:8: note: in expansion of macro 'time_before'
  251 |    if (time_before(get_seconds(), peer->login_sec +
      |        ^~~~~~~~~~~
./include/linux/typecheck.h:12:18: warning: comparison of distinct pointer types lacks a cast
   12 |  (void)(&__dummy == &__dummy2); \
      |                  ^~
./include/linux/jiffies.h:106:3: note: in expansion of macro 'typecheck'
  106 |   typecheck(unsigned long, b) && \
      |   ^~~~~~~~~
./include/linux/jiffies.h:108:26: note: in expansion of macro 'time_after'
  108 | #define time_before(a,b) time_after(b,a)
      |                          ^~~~~~~~~~
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:251:8: note: in expansion of macro 'time_before'
  251 |    if (time_before(get_seconds(), peer->login_sec +
      |        ^~~~~~~~~~~
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c: In function 'pknock_proc_open':
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:281:17: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
  281 |   sf->private = PDE_DATA(inode);
      |                 ^~~~~~~~
      |                 NODE_DATA
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:281:15: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  281 |   sf->private = PDE_DATA(inode);
      |               ^
In file included from ./include/linux/bitops.h:7,
                 from ./include/linux/log2.h:12,
                 from ./include/asm-generic/div64.h:55,
                 from ./arch/arm/include/asm/div64.h:107,
                 from ./include/linux/math.h:6,
                 from ./include/linux/math64.h:6,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:10:
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c: In function 'autoclose_time_passed':
./include/linux/typecheck.h:12:18: warning: comparison of distinct pointer types lacks a cast
   12 |  (void)(&__dummy == &__dummy2); \
      |                  ^~
./include/linux/jiffies.h:105:3: note: in expansion of macro 'typecheck'
  105 |  (typecheck(unsigned long, a) && \
      |   ^~~~~~~~~
/var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.c:315:48: note: in expansion of macro 'time_after'
  315 |  return peer != NULL && autoclose_time != 0 && time_after(get_seconds(),
      |                                                ^~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock/xt_pknock.o] Error 1
make[1]: *** [scripts/Makefile.build:504: /var/lib/dkms/xtables-addons/3.13/build/extensions/pknock] Error 2
make: *** [Makefile:2021: /var/lib/dkms/xtables-addons/3.13/build/extensions] Error 2
make: Leaving directory '/usr/src/linux-headers-6.2.7-kirkwood-tld-1'
root at sondetracker:/etc/init.d# ^C
root at sondetracker:/etc/init.d#



-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 6.2.7-kirkwood-tld-1 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages xtables-addons-dkms depends on:
ii  dkms                   2.8.4-3
ii  make                   4.3-4.1
ii  xtables-addons-common  3.13-1+deb11u1

Versions of packages xtables-addons-dkms recommends:
pn  linux-headers  <none>

xtables-addons-dkms suggests no packages.

-- no debconf information



More information about the pkg-netfilter-team mailing list