Public bug reported:

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)

** Affects: openafs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package trusty

** Attachment added: "make.log generated during the build from the install"
   https://bugs.launchpad.net/bugs/1433411/+attachment/4348649/+files/make.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433411

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/1433411/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to