Bug#948307: openafs-modules-dkms: Compile of the module fails for kernel 5.3.15

2020-02-09 Thread Benjamin Kaduk
On Sun, Feb 09, 2020 at 09:53:26AM +, Witold Baryluk wrote:
> Package: openafs
> Followup-For: Bug #948307
> 
> Dear Maintainer,
> 
> The 1.8.5-1 fails to compile with kernel 5.3.0-2-amd64:
> 
> Setting up openafs-modules-dkms (1.8.5-1) ...
>   Loading new openafs-1.8.5 DKMS files...
>   It is likely that 4.19.0-6-amd64 belongs to a chroot's host
>   Building for 5.3.0-2-amd64
>   Building initial module for 5.3.0-2-amd64
>   Error! Bad return status for module build on kernel: 5.3.0-2-amd64 (x86_64)
>   Consult /var/lib/dkms/openafs/1.8.5/build/make.log for more information.
>   dpkg: error processing package openafs-modules-dkms (--configure):
>installed openafs-modules-dkms package post-installation script subprocess 
> returned error exit status 10

Can you post (a subset of) the dkms make.log somewhere?
As I have said previously, openafs-1.8.5-1 is working find with the
5.4.0-3-amd64 kernel for me locally.

Thanks,

Ben



Bug#948307: openafs-modules-dkms: Compile of the module fails for kernel 5.3.15

2020-02-09 Thread Witold Baryluk
Package: openafs
Followup-For: Bug #948307

Dear Maintainer,

The 1.8.5-1 fails to compile with kernel 5.3.0-2-amd64:

Setting up openafs-modules-dkms (1.8.5-1) ...
  Loading new openafs-1.8.5 DKMS files...
  It is likely that 4.19.0-6-amd64 belongs to a chroot's host
  Building for 5.3.0-2-amd64
  Building initial module for 5.3.0-2-amd64
  Error! Bad return status for module build on kernel: 5.3.0-2-amd64 (x86_64)
  Consult /var/lib/dkms/openafs/1.8.5/build/make.log for more information.
  dpkg: error processing package openafs-modules-dkms (--configure):
   installed openafs-modules-dkms package post-installation script subprocess 
returned error exit status 10



https://piuparts.debian.org/sid/bugged/openafs-modules-dkms_1.8.5-1.log




So, it doesn't solve the issue, and this is why it is not migrating to
testing automatically.

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

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#948307: openafs-modules-dkms: Compile of the module fails for kernel 5.3.15

2020-01-06 Thread Kai-Martin Knaak
Package: openafs-modules-dkms
Version: 1.8.4~pre1-1
Severity: important
Tags: newcomer

Dear Maintainer,
the openafs module fails to build for kernel 5.3.15 on my system.

   * What led up to the situation?
   apt upgrade

   * What was the outcome of this action?
   The openafs module failed to build for kernel 5.3.15.
   See the log in the attachment. 
   The module did build for kernel 5.2.17 , though.

   * What outcome did you expect instead?
   The openafs module builds and installs for kernel 5.3.15

The relevant portion of the log seems to be:


(...)
  CC [M]  
/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP/rx_kmutex.o
In file included from 
/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP/rx_kmutex.c:24:
/var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h: In function 
‘afs_linux_search_keyring’:
/var/lib/dkms/openafs/1.8.4pre1/build/src/afs/LINUX/osi_compat.h:225:12: error: 
too few arguments to function ‘keyring_search’
  225 |  key_ref = keyring_search(
  |^~
In file included from 
/usr/src/linux-headers-5.3.0-3-common/include/linux/cred.h:13,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/linux/seq_file.h:12,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/linux/seq_file_net.h:5,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/net/net_namespace.h:186,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/linux/netdevice.h:38,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/net/inet_sock.h:19,
 from 
/usr/src/linux-headers-5.3.0-3-common/include/linux/udp.h:16,
 from 
/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP/./netinet/udp.h:1,
 from 
/var/lib/dkms/openafs/1.8.4pre1/build/src/rx/rx_kcommon.h:110,
 from 
/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP/rx_kmutex.c:20:
/usr/src/linux-headers-5.3.0-3-common/include/linux/key.h:387:18: note: 
declared here
  387 | extern key_ref_t keyring_search(key_ref_t keyring,
  |  ^~
make[5]: *** [/usr/src/linux-headers-5.3.0-3-common/scripts/Makefile.build:286: 
/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP/rx_kmutex.o]
 Error 1
make[4]: *** [/usr/src/linux-headers-5.3.0-3-common/Makefile:1639: 
_module_/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP]
 Error 2
make[3]: *** [/usr/src/linux-headers-5.3.0-3-common/Makefile:179: sub-make] 
Error 2
make[3]: Leaving directory '/usr/src/linux-headers-5.3.0-3-amd64'
FAILURE: make exit code 2
make[2]: *** [Makefile.afs:280: openafs.ko] Error 1
make[2]: Leaving directory 
'/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs/MODLOAD-5.3.0-3-amd64-SP'
make[1]: *** [Makefile:187: linux_compdirs] Error 2
make[1]: Leaving directory '/var/lib/dkms/openafs/1.8.4pre1/build/src/libafs'
make: *** [Makefile:15: all] Error 2


Hope, this helps fix the problem. 

Best regards, 

---<)kaimartinknaak>---

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages openafs-modules-dkms depends on:
ii  dkms   2.8.1-4
ii  libc6-dev  2.29-7
ii  perl   5.30.0-9

Versions of packages openafs-modules-dkms recommends:
ii  openafs-client  1.8.4~pre1-1

openafs-modules-dkms suggests no packages.

-- no debconf information



-- 
Kai-Martin Knaak
kn...@iqo.uni-hannover.de Universität Hannover, Inst. f. Quantenoptik
 tel: +49-511-762-2895 Welfengarten 1, 30167 Hannover
  fax: +49-511-762-2211
https://keyserver.ubuntu.com/pks/lookup?op=get=0xC13AA4CC7B0F9882
DKMS make.log for openafs-1.8.4pre1 for kernel 5.3.0-3-amd64 (x86_64)
Mon  6 Jan 15:55:04 CET 2020
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header