Your message dated Sun, 18 Apr 2021 23:18:51 +0000
with message-id <e1lyggl-000hg5...@fasolo.debian.org>
and subject line Bug#984862: fixed in iptables-netflow 2.5.1-2
has caused the Debian Bug report #984862,
regarding iptables-netflow-dkms: module wants to build with gcc instead of 
kernel's compiler
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
984862: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984862
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: iptables-netflow-dkms
Version: 2.5.1-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Setting up iptables-netflow-dkms (2.5.1-1) ...
  Loading new ipt-netflow-2.5.1 DKMS files...
  It is likely that 4.19.0-9-amd64 belongs to a chroot's host
  Building for 5.10.0-4-amd64
  Building initial module for 5.10.0-4-amd64
  Error! Bad return status for module build on kernel: 5.10.0-4-amd64 (x86_64)
  Consult /var/lib/dkms/ipt-netflow/2.5.1/build/make.log for more information.
  dpkg: error processing package iptables-netflow-dkms (--configure):
   installed iptables-netflow-dkms package post-installation script subprocess 
returned error exit status 10
  Processing triggers for libc-bin (2.31-9) ...
  Errors were encountered while processing:
   iptables-netflow-dkms

/var/lib/dkms/zfs/0.8.2/build/make.log contains:

DKMS make.log for ipt-netflow-2.5.1 for kernel 5.10.0-4-amd64 (x86_64)
Tue Mar  9 11:02:15 UTC 2021
make: *** No rule to make target 'ipt_NETFLOW.ko'.  Stop.

That error is very cryptic ... so let's run dkms manually

# dkms build -k 5.10.0-4-amd64 ipt-netflow/2.5.1

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:
Module version: 2.5.1
Kernel version: 4.19.118 (proc)
Kernel sources: /lib/modules/5.10.0-4-amd64/build (dkms)
! Warning: proc kernel version (4.19.118) and dkms version of kernel source 
(5.10.19) doesn't match!
!   You may try to specify only kernel source tree with 
--kdir=/lib/modules/5.10.0-4-amd64/build
!   and configure will pick up version properly.
! Assuming you want to build for 5.10.19
Checking for presence of include/linux/netfilter.h... No
Checking for presence of include/linux/llist.h... No
Checking for presence of include/linux/grsecurity.h... No
Iptables binary version: no iptables binary found
Xtables version: 1.8.7 (detected from /usr/bin/pkg-config)
Check for working gcc: No
! You need gcc to install module from source
! 
! Under Debian GNU/Linux try to run this:
!   root# apt-get install gcc
! 

Building module:
cleaning build area...(bad exit status: 2)
make -j16 KERNELRELEASE=5.10.0-4-amd64 ipt_NETFLOW.ko...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.0-4-amd64 (x86_64)
Consult /var/lib/dkms/ipt-netflow/2.5.1/build/make.log for more information.


Oh, your package insists on building the kernel module with gcc instead of
getting the correct compiler (i.e. the same versioned gcc-X that was used to
build the kernel and that is depended upon by the kernel header package used)
from kbuild. A kernel module built with a different compiler version than the
kernel itself may not work. The kernel is not neccessarily built with the
same compiler version as gcc points to.

Please depend on gcc if you cannot find a way to use the kernel
compiler. You cannot expect build-essential to be available.

There are more dkms packages looking for a proper solution for this problem:
  openafs-modules-dkms (#945506)
  zfs-dkms (#946497)


cheers,

Andreas

Attachment: iptables-netflow-dkms_2.5.1-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: iptables-netflow
Source-Version: 2.5.1-2
Done: Axel Beckert <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
iptables-netflow, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 984...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated iptables-netflow package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 18 Apr 2021 18:29:53 +0200
Source: iptables-netflow
Architecture: source
Version: 2.5.1-2
Distribution: unstable
Urgency: low
Maintainer: Axel Beckert <a...@debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Closes: 984862
Changes:
 iptables-netflow (2.5.1-2) unstable; urgency=low
 .
   [ Andreas Beckmann ]
   * iptables-netflow-dkms: Bump dkms dependency to ensure CC/CXX are set to
     the kernel's compiler.  (Closes: #984862)
Checksums-Sha1:
 07eac8f96efc1cfc8d58dac7ae7fea9a2c015367 2018 iptables-netflow_2.5.1-2.dsc
 d8af74875953d4f8148040b079d78ad3ba77fd71 9272 
iptables-netflow_2.5.1-2.debian.tar.xz
 4e0d74a431f9b3aa6c80afa5d579e3eb45505870 6929 
iptables-netflow_2.5.1-2_source.buildinfo
Checksums-Sha256:
 5c5193f873b22aea87bd775db435589bf54b6023d49403697787242da9bead6d 2018 
iptables-netflow_2.5.1-2.dsc
 6163a02caa0719536dbbf8d7ae8785d993e239aa156c36179954efeee0e8f6b7 9272 
iptables-netflow_2.5.1-2.debian.tar.xz
 85fbe26fcf35db69929caabf9bd7620443c0c3c2d2e05ca5955e305e688967f2 6929 
iptables-netflow_2.5.1-2_source.buildinfo
Files:
 7eea9d45a3ebcd8e59d46057f746ca11 2018 kernel optional 
iptables-netflow_2.5.1-2.dsc
 5bf441ff21c92f1d54627964c7a47f00 9272 kernel optional 
iptables-netflow_2.5.1-2.debian.tar.xz
 b0290d262b4acf1807f319d5c3809185 6929 kernel optional 
iptables-netflow_2.5.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmB8g2IACgkQa+Zjx1o1
yXVN8RAArYuWMGgn93zLjr/E48eTFPS4F2h559bLGy1GF/Rotzihe9wtl45STF+u
fLpkUbdHrvOrUOfuECFL354CoRp6tIwydoAtmcObV305zKxcu1xQ3nFEay3lw5uB
kgRF2WX2RwTFKjrodd5dL0BPBpBRGzHNZfpY+arsz7cnO03xCggXNnZ7E2RiLnTV
P4WVfaHTraXTjMas0oQoP56RDsffwf4rIzmopBDVU7FFKfL8DsofZIUBmxIJ+vBy
1Z8lvFbML4bTXgWmijZYjw7nzLiSBZAsk1wqKq//sQCWPu061HnJwMEEHXlXESEj
l75WP50gkZMolFE2ptOGS3D5nq2To/IZh7iMC7rpTWXiFKrwEAbvATiUEdDvbkpJ
exRbMRs90hO0b2uJQJvcAYTFHksfva+if0TKxsanRhtpyJo2XMoHGfwAbLs0FDKY
goQ8xFFCP18YajG3SupOV5MhiBOvLUJpniXPDi16WQLjIW6bAexd/gy2poUHD7QF
WltbPTp4zTG3NbWZdQ8fzU99LOw8lgI5TdVdXNY+3xMVmegQbHEc8HD3SXv/VuUf
cTYcHVYb+PLcOpHHZBfXWQnnJsdML/kzZBm5no4doPBEsNp/huOM/2/z2Jv4gXdR
50PeDIEVjg1r/ASzYfPxTM7VgJrUtYNZgliPbZDuzqVlXrjH8fU=
=LSTc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to