flashcache-dkms 1.0+git20130518-1: flashcache kernel module failed to build

Bug #1196505 reported by Timo Witte
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
flashcache (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

does not build for kernel 3.10.0-1-generic

probably because -Werror=implicit-function-declaration is set. (wasn´t set before?)

DKMS make.log for flashcache-1.0+git20130518 for kernel 3.10.0-1-generic (x86_64)
Mo 1. Jul 13:40:38 CEST 2013
make -C /lib/modules/3.10.0-1-generic/build M=/var/lib/dkms/flashcache/1.0+git20130518/build modules V=0
make[1]: Betrete Verzeichnis '/usr/src/linux-headers-3.10.0-1-generic'
  CC [M] /var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_conf.o
  CC [M] /var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_main.o
  CC [M] /var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_subr.o
  CC [M] /var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_ioctl.o
  CC [M] /var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.o
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_stats_open’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:823:2: error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]
  return single_open(file, &flashcache_stats_show, PDE(inode)->data);
  ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:823:61: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, &flashcache_stats_show, PDE(inode)->data);
                                                             ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_errors_open’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:852:62: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, &flashcache_errors_show, PDE(inode)->data);
                                                              ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_iosize_hist_open’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:877:67: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, &flashcache_iosize_hist_show, PDE(inode)->data);
                                                                   ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_pidlists_open’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:916:64: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, &flashcache_pidlists_show, PDE(inode)->data);
                                                                ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_version_open’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:941:63: error: invalid type argument of ‘->’ (have ‘int’)
  return single_open(file, &flashcache_version_show, PDE(inode)->data);
                                                               ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_module_procfs_init’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:958:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
   entry = create_proc_entry("flashcache/flashcache_version", 0, NULL);
   ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:958:9: warning: assignment makes pointer from integer without a cast [enabled by default]
   entry = create_proc_entry("flashcache/flashcache_version", 0, NULL);
         ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:960:9: error: dereferencing pointer to incomplete type
    entry->proc_fops = &flashcache_version_operations;
         ^
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c: In function ‘flashcache_ctr_procfs’:
/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:1032:8: warning: assignment makes pointer from integer without a cast [enabled by default]
  entry = create_proc_entry(s, 0, NULL);

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: flashcache-dkms 1.0+git20130518-1
ProcVersionSignature: Ubuntu 3.9.0-7.15-generic 3.9.7
Uname: Linux 3.9.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
DKMSKernelVersion: 3.10.0-1-generic
Date: Mon Jul 1 13:36:04 2013
DuplicateSignature: dkms:flashcache-dkms:1.0+git20130518-1:/var/lib/dkms/flashcache/1.0+git20130518/build/flashcache_procfs.c:823:2: error: implicit declaration of function ‘PDE’ [-Werror=implicit-function-declaration]
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 1.0+git20130518-1
SourcePackage: flashcache
Title: flashcache-dkms 1.0+git20130518-1: flashcache kernel module failed to build
UpgradeStatus: Upgraded to saucy on 2013-05-07 (55 days ago)

Revision history for this message
Timo Witte (spacefish) wrote :
Revision history for this message
Timo Witte (spacefish) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in flashcache (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Changed in flashcache (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
Stefan Bader (smb) wrote :

Closing as won't fix as this version of flashcache is no longer supported in any release.

Changed in flashcache (Ubuntu):
status: Triaged → Won't Fix
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.