Your message dated Wed, 25 Sep 2019 16:22:52 +0000
with message-id <e1ida44-000706...@fasolo.debian.org>
and subject line Bug#917905: fixed in xtables-addons 3.5-0.1
has caused the Debian Bug report #917905,
regarding Fails to build for non-current kernel version
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.)


-- 
917905: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917905
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xtables-addons-source
Version: 3.2-1
Severity: important

When running kernel version 4.18.0-3-amd64 and building for
4.19.0-1-amd64, the build fails:

/usr/bin/make -C /lib/modules/4.19.0-1-amd64/build M=/usr/src/modules/xtables-ad
dons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=/us
r/src/modules/xtables-addons DEPMOD=/bin/true clean
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-1-amd64'
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-1-amd64'
dh_prep
dh_clean
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/4.19.0-1-amd64/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu
les.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/4.19.0-1-amd64/g ;s/#KVERS#/4.19.0-1-amd64/g ; s/_KVERS_
/4.19.0-1-amd64/g ; s/##KDREV##/4.19.13-1/g ; s/#KDREV#/4.19.13-1/g ; s/_KDREV_/
4.19.13-1/g  ' < $templ > ${templ%.modules.in}; \
  done
dh binary-arch
...
checking kernel version that we will build against... make[2]: *** 
/lib/modules/4.18.0-3-amd64/build: No such file or directory.  Stop.
0.0.0.0 in /lib/modules/4.18.0-3-amd64/build
WARNING: That kernel version is not officially supported.
...
dh_auto_build -- -C /lib/modules/4.19.0-1-amd64/build M=/usr/src/modules/xtables
-addons/extensions XA_ABSTOPSRCDIR=/usr/src/modules/xtables-addons XA_TOPSRCDIR=
/usr/src/modules/xtables-addons DEPMOD=/bin/true
make[3]: Entering directory '/usr/src/linux-headers-4.19.0-1-amd64'
...
make[3]: Leaving directory '/usr/src/linux-headers-4.19.0-1-amd64'
make[2]: Leaving directory '/usr/src/modules/xtables-addons'
make[2]: Entering directory '/usr/src/modules/xtables-addons'
Making check in extensions
make[3]: Entering directory '/usr/src/modules/xtables-addons/extensions'
make -f ../Makefile.iptrules all;
Xtables-addons 3.2 - Linux make[4]: Entering directory 
'/usr/src/modules/xtables-addons/extensions'
make[4]: *** /lib/modules/4.18.0-3-amd64/build: No such file or directory.  
Stop.
make[4]: Leaving directory '/usr/src/modules/xtables-addons/extensions'
make[3]: *** [Makefile:465: modules] Error 2
...

So building the modules is actually successful, but the following
"make check" step fails and ./configure goes wrong because they are
defaulting to the currently running kernel version.

I think you need to add override_dh_auto_configure and
override_dh_auto_test targets to debian/rules that will pass the
target kernel version to the upstream build system.

Ben.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xtables-addons-source depends on:
ii  bzip2         1.0.6-9
ii  debhelper     12
pn  iptables-dev  <none>
ii  make          4.2.1-1.2
ii  pkg-config    0.29-4+b1

Versions of packages xtables-addons-source recommends:
ii  module-assistant  0.11.10

xtables-addons-source suggests no packages.

--- End Message ---
--- Begin Message ---
Source: xtables-addons
Source-Version: 3.5-0.1

We believe that the bug you reported is fixed in the latest version of
xtables-addons, 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 917...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aron Xu <a...@debian.org> (supplier of updated xtables-addons 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: SHA256

Format: 1.8
Date: Wed, 25 Sep 2019 14:25:38 +0000
Source: xtables-addons
Architecture: source
Version: 3.5-0.1
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Aron Xu <a...@debian.org>
Closes: 917905 934350
Changes:
 xtables-addons (3.5-0.1) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/copyright: Use https protocol in Format field
   * d/control: Deprecating priority extra as per policy 4.0.1
   * d/watch: Use https protocol
 .
   [ Aron Xu ]
   * Non-maintainer upload.
   * New upstream release (Closes: #917905, #934350)
   * Update xtables-addons-dkms.dkms.in accordingly
Checksums-Sha1:
 0eca4c89910eab8114906dc8f14051026aee4b5b 1804 xtables-addons_3.5-0.1.dsc
 97379e7e594af282d6acb962c17d81ccec5baac1 325044 xtables-addons_3.5.orig.tar.xz
 3322786f4cd445694c1a1a6e512147cb07135a00 11376 
xtables-addons_3.5-0.1.debian.tar.xz
 bfe17016e2e8f2572279077628b2368dacfebb60 4994 
xtables-addons_3.5-0.1_source.buildinfo
Checksums-Sha256:
 f038f4e1bcd8fb754e2759a3fa629c7d755d097d4ca275037b99e9c042492ce1 1804 
xtables-addons_3.5-0.1.dsc
 189ff57a0b8960969bd99141a6c79c345efa67e4461f450e2f162c9bd3d17da6 325044 
xtables-addons_3.5.orig.tar.xz
 465d86d1addd413e29c2017ba1cc1dbef1ba8301be68c3ef58f7b0f3b9b33c6b 11376 
xtables-addons_3.5-0.1.debian.tar.xz
 799b6c27c8107d3ea6d0faf1bb1f7be64cebab715bca95f3655e4b2e0014bf5b 4994 
xtables-addons_3.5-0.1_source.buildinfo
Files:
 e57c83fad4e4d1729b8fa8b288178e26 1804 admin optional xtables-addons_3.5-0.1.dsc
 d9fa406635a4a0ffa647d282b0f1191c 325044 admin optional 
xtables-addons_3.5.orig.tar.xz
 c01b2ddb99596060be3bc468158b0ba9 11376 admin optional 
xtables-addons_3.5-0.1.debian.tar.xz
 1ae84b488f4405c78bad01c881a4b91d 4994 admin optional 
xtables-addons_3.5-0.1_source.buildinfo

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

iQEzBAEBCAAdFiEEXraik9KLDk+VcqtJ3oyCGyc+2gsFAl2LiWoACgkQ3oyCGyc+
2gsvtAf9FThVfo+83t5FFJZZD38zkUlnUHlwKikfV7Nyx3F3XuDwKoQcNylTYXxQ
wxsxcVVYvs/chxRfETKV8uTBNTXm8NlymPSeqj82u3Cic93ouvUkpULnElKEfEoF
A794Sv/xElBnRR/CwlhElwr+xHaphAgCYWtvzleUiva4+EmQjl/AAJmGG0OASvVt
TKdiYOfJZvlJ7Pbmo9dqkbZmmOY1B9+hs/IK81rH17ardHjN4o4zOCD3b/K+ta5+
+T7/axxy4VbGgK5rR/Zfq2638gCbn/uF4U8uqoIvexMN+TgJgB6iPXudoksKcCvN
HeVlrlJ/aeYxwQn1QmuV1q0JQO+Eqw==
=vm2j
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to