Your message dated Mon, 21 Feb 2022 09:19:02 +0000
with message-id <e1nm4qu-000gmy...@fasolo.debian.org>
and subject line Bug#1005404: fixed in openafs 1.8.8.1-1
has caused the Debian Bug report #1005404,
regarding Kernel modules fail to build with Linux 5.16 onward
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.)


-- 
1005404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005404
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openafs
Version: 1.8.2-1+deb10u1
Severity: grave
Tags: patch upstream

The openafs modules fail to build, with the compiler reporting that
"stdarg.h" is not found.

This is due to an intentional change in Linux 5.16 removing user-space
headers from the kernel include path:
<https://git.kernel.org/linus/04e85bbf71c9072dcf0ad9a7150495d72461105c>.

Kernel code must use <linux/stdarg.h> instead of <stdarg.h>.

The attached patch fixes this and allows the build to complete.

Ben.

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

Kernel: Linux 5.15.0-3-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
From: Ben Hutchings <b...@debian.org>
Date: Sat, 12 Feb 2022 22:25:47 +0100
Subject: openafs: Fix <stdarg.h> inclusion on Linux

There was an intentional change in Linux 5.16 removing user-space
headers from the kernel include path:
<https://git.kernel.org/linus/04e85bbf71c9072dcf0ad9a7150495d72461105c>.

Kernel code must use <linux/stdarg.h> instead of <stdarg.h>.
---
--- a/src/rx/rx_kcommon.h
+++ b/src/rx/rx_kcommon.h
@@ -145,6 +145,8 @@ typedef unsigned short etap_event_t;
 /* if sys/systm.h includes varargs.h some versions of solaris have conflicts */
 # if defined(AFS_FBSD_ENV)
 #  include "machine/stdarg.h"
+# elif defined(AFS_LINUX26_ENV) && LINUX_VERSION_CODE >= KERNEL_VERSION(5,16,0)
+#  include <linux/stdarg.h>
 # else
 #  include "stdarg.h"
 # endif

--- End Message ---
--- Begin Message ---
Source: openafs
Source-Version: 1.8.8.1-1
Done: Benjamin Kaduk <ka...@mit.edu>

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

Debian distribution maintenance software
pp.
Benjamin Kaduk <ka...@mit.edu> (supplier of updated openafs 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, 20 Feb 2022 20:15:56 -0800
Source: openafs
Architecture: source
Version: 1.8.8.1-1
Distribution: unstable
Urgency: high
Maintainer: Benjamin Kaduk <ka...@mit.edu>
Changed-By: Benjamin Kaduk <ka...@mit.edu>
Closes: 1005404
Changes:
 openafs (1.8.8.1-1) unstable; urgency=high
 .
   * New upstream release:
     - Support linux kernel 5.16 (Closes: #1005404)
     - Treat the Rx SACK table as bits, not bytes, in preparation for
       subsequent changes to expand the maximum window size.
Checksums-Sha1:
 b83d5f7085ef1a4adb347762fad74a3c96a16877 3585 openafs_1.8.8.1-1.dsc
 6e7560a4b43262b70e5d8ee55a173411ed475101 6730396 openafs_1.8.8.1.orig.tar.xz
 f727f69739d88912b214af1704c73e1d39a6b2e4 139660 openafs_1.8.8.1-1.debian.tar.xz
 f09aaaa5c2b670e2d3b44804cf10cbd43cfed528 16463 
openafs_1.8.8.1-1_amd64.buildinfo
Checksums-Sha256:
 093975f03fe60c6255e1a21af52db46f45c26a50bed3f7e476fba2e36917935e 3585 
openafs_1.8.8.1-1.dsc
 580a2af1312bf36c1edc08c40e4c15c99ce23a2d1ab84fd757f23d186a9f7fed 6730396 
openafs_1.8.8.1.orig.tar.xz
 46295df892b79e8353d066851255a0fcfaf1e78f379a1a802494182fa9e125b3 139660 
openafs_1.8.8.1-1.debian.tar.xz
 612857021726a576289070b0d330e515347026a690e8bf551678fe372ec4085b 16463 
openafs_1.8.8.1-1_amd64.buildinfo
Files:
 1543e942d772f5202593db0b777e4d8b 3585 net optional openafs_1.8.8.1-1.dsc
 cf03fea87ee852342465eabca770f8c6 6730396 net optional 
openafs_1.8.8.1.orig.tar.xz
 dd66f1542751a4540bfdbc4767b63857 139660 net optional 
openafs_1.8.8.1-1.debian.tar.xz
 0866e215f7608cc2131fb07600f32959 16463 net optional 
openafs_1.8.8.1-1_amd64.buildinfo

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

iQHGBAEBCgAsFiEE2WGV4E2ARf9BYP0XKNmm82TrdRIFAmITU2wOHGthZHVrQG1p
dC5lZHUACgkQKNmm82TrdRIanwwgw5UFSazXSxU5DvGGwAcNd2nrCNMZCD3/qVVQ
3cgOFh6ELKGS/VPu4Eub5ePjuS323fgIl18eHCeoHQyejoL/xK+XLjudccXTkpwg
Uq5mWi5R1/VmrPxEhCd5eEmpIY9RcYDwvHz0d48gACZ5KMF9ee2KObW71dNMbIY9
8Ox3copZGLDzSUeDxcTzdj/95HU6McbfKSpSXNBjoX6trkaaBC2A5ujEJMAk4uBz
63XQ0JCOBMGn0v+lR6zcvL94nCwvCV61/zL1z+LwUwpXTJ5b5w4xIInVFZGV7krP
3SxhwtrJF+g/oWexiOWZIGgmU4dy0YnY370a+wHwerW/xTqKmN8joeF8W0zAZL56
GFtlRCpPdqX1ldXOkzlcWEisSoWaQez+Q+Z7sRw+6qrkT4zTftOPmJk2Q+pcZjQW
wo2YwmKSx1kdttlI4WPIbD2FqN39pP3dYs+fnXSlSZX9I4Ks/huwhZnjtD1cB9we
X3JKo0fS0ZvSYAjLAb7Gazjk/bE6V1PDYQ==
=8+mv
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to