Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

xtables-addons-common fails to install #437

Description

@ObiWahn

» apt-get install xtables-addons-common Reading package lists... Done Building dependency tree... Done Reading state information... Done xtables-addons-common is already the newest version (3.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up xtables-addons-dkms (3.23-1) ... Removing old xtables-addons-3.23 DKMS files... Deleting module xtables-addons-3.23 completely from the DKMS tree. Loading new xtables-addons-3.23 DKMS files... Building for 6.12.34+rpt-rpi-2712 6.12.34+rpt-rpi-v8 Building initial module for 6.12.34+rpt-rpi-2712 Error! Build of xt_ACCOUNT.ko failed for: 6.12.34+rpt-rpi-2712 (aarch64) 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.23/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)

Fails during DKMS build

/var/lib/dkms/xtables-addons/3.23/build/extensions/xt_ipp2p.c:6:10: fatal error: asm/unaligned.h: No such file or directory 6 | #include <asm/unaligned.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [/usr/src/linux-headers-6.12.34+rpt-common-rpi/scripts/Makefile.build:249: /var/lib/dkms/xtables-addons/3.23/build/extensions/xt_ipp2p.o] Error 1

Header need to be changed to:

#include <linux/kernel.h>
#include <asm/byteorder.h>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions