openafs-modules-dkms 1.6.7-1ubuntu1: openafs kernel module failed to build

Bug #1433411 reported by seth goldstein
88
This bug affects 16 people
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

What I expected to happen:

That I could install openafs

What happened:

The install dies with an error 'Error! Bad return status for module build on kernel: 3.16.0-31-generic (x86_64)'
(see entire transcript below)

Extra info:

system information below the transcript. I was trying to install openafs and it fails. Something similar was happening a few weeks ago and it seemed that the fix in -proposed worked, but I just got a new machine and tried to install openafs on it and it is now failing again.

Here is a transcript:

$ sudo apt-get install openafs-modules-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  dkms openafs-client
Suggested packages:
  dpkg-dev debhelper openafs-doc openafs-krb5
The following NEW packages will be installed:
  dkms openafs-client openafs-modules-dkms
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,791 kB of archives.
After this operation, 14.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04 [64.6 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe openafs-client amd64 1.6.7-1ubuntu1 [1,866 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe openafs-modules-dkms all 1.6.7-1ubuntu1 [861 kB]
Fetched 2,791 kB in 5s (491 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Selecting previously unselected package dkms.
(Reading database ... 243652 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Selecting previously unselected package openafs-client.
Preparing to unpack .../openafs-client_1.6.7-1ubuntu1_amd64.deb ...
Unpacking openafs-client (1.6.7-1ubuntu1) ...
Selecting previously unselected package openafs-modules-dkms.
Preparing to unpack .../openafs-modules-dkms_1.6.7-1ubuntu1_all.deb ...
Unpacking openafs-modules-dkms (1.6.7-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for cmucs-config (002) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04) ...
Setting up openafs-client (1.6.7-1ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
update-alternatives: using /usr/bin/pagsh.openafs to provide /usr/bin/pagsh (pagsh) in auto mode
update-alternatives: using /usr/bin/klog.afs to provide /usr/bin/klog (klog) in auto mode
Starting AFS services:
AFS module /lib/modules/3.16.0-31-generic/fs/openafs.ko does not exist.
Not starting AFS. Please consider building kernel modules using
instructions in /usr/share/doc/openafs-client/README.modules
Setting up openafs-modules-dkms (1.6.7-1ubuntu1) ...
Loading new openafs-1.6.7 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-31-generic
Building initial module for 3.16.0-31-generic
Error! Bad return status for module build on kernel: 3.16.0-31-generic (x86_64)
Consult /var/lib/dkms/openafs/1.6.7/build/make.log for more information.

I am attaching the entire make.log, but the key line is, I believe,

/var/lib/dkms/openafs/1.6.7/build/src/libafs/MODLOAD-3.16.0-31-generic-SP/osi_vnodeops.c:815:19: error: ‘generic_file_splice_write’ undeclared here (not in a function)
   .splice_write = generic_file_splice_write,
                   ^

FYI:

$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04

$ apt-cache policy openafs-modules-dkms
openafs-modules-dkms:
  Installed: 1.6.7-1ubuntu1
  Candidate: 1.6.7-1ubuntu1
  Version table:
 *** 1.6.7-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.6.7-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: openafs-modules-dkms 1.6.7-1ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-31.43~14.04.1-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
DKMSKernelVersion: 3.16.0-31-generic
Date: Tue Mar 17 23:33:50 2015
DuplicateSignature: dkms:openafs-modules-dkms:1.6.7-1ubuntu1:/var/lib/dkms/openafs/1.6.7/build/src/libafs/MODLOAD-3.16.0-31-generic-SP/osi_vnodeops.c:815:19: error: ‘generic_file_splice_write’ undeclared here (not in a function)
InstallationDate: Installed on 2015-03-17 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
PackageVersion: 1.6.7-1ubuntu1
SourcePackage: openafs
Title: openafs-modules-dkms 1.6.7-1ubuntu1: openafs kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
seth goldstein (seth-o) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openafs (Ubuntu):
status: New → Confirmed
Revision history for this message
Dennis Schridde (devurandom) wrote :

Same here:
/var/lib/dkms/openafs/1.6.7/build/src/libafs/MODLOAD-3.16.0-34-generic-SP/osi_vnodeops.c:815:19: error: ‘generic_file_splice_write’ undeclared here (not in a function)
   .splice_write = generic_file_splice_write,
                   ^

Revision history for this message
Dennis Schridde (devurandom) wrote :

Any news? This bug has been around for 3 months now…

Revision history for this message
Clément (clpi) wrote :

Same here.

Revision history for this message
nackenho (olaf-na) wrote :

Is there any news on this bug or a workaround? I have the same issue.

Revision history for this message
Matias (matiasb-0) wrote :

Same here. Any news, workaround?
Thanks!

Revision history for this message
Kevin Adler (zeke-t) wrote :

As a workaround, I use the OpenAFS stable PPA: https://launchpad.net/~openafs/+archive/ubuntu/stable

Revision history for this message
Dennis Schridde (devurandom) wrote :

I confirm: The version from the OpenAFS stable PPA (https://launchpad.net/~openafs/+archive/ubuntu/stable) works.

Revision history for this message
Par Kurlberg (kurlberg-gmail) wrote :

The bug still seems to be around, I just tried to build it on:

Linux thor 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

and I get the following errors:

Preparing to unpack .../openafs-modules-dkms_1.6.7-1ubuntu1.1_all.deb ...
Unpacking openafs-modules-dkms (1.6.7-1ubuntu1.1) ...
Setting up openafs-modules-dkms (1.6.7-1ubuntu1.1) ...
Loading new openafs-1.6.7 DKMS files...
First Installation: checking all kernels...
Building only for 3.19.0-32-generic
Building initial module for 3.19.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/openafs-modules-dkms.0.crash'
Error! Bad return status for module build on kernel: 3.19.0-32-generic (x86_64)
Consult /var/lib/dkms/openafs/1.6.7/build/make.log for more information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.