openafs-modules-dkms 1.6.1-1+ubuntu0.2: openafs kernel module failed to build

Bug #1243139 reported by dherkes
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
New
Undecided
Unassigned

Bug Description

DKMS maor openafs-1.6.1 for kernel 3.8.0-32-generic (x86_64)
Tue Oct 22 04:50:22 CDT 2013
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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 for style of include used by make... GNU
checking dependency style of gcc... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for flex... no
checking for lex... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxslt... no
checking for saxon... no
checking for xalan-j... no
checking for xsltproc... no
checking for docbook2pdf... no
checking for dblatex... no
checking for library containing strerror... none required
checking for pid_t... yes
checking for size_t... yes
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking if lex is flex... no
checking whether byte order is known at compile time... yes
checking whether byte ordering is bigendian... no
checking whether printf understands the %z length modifier... yes
checking your OS... linux
checking your AFS sysname... amd64_linux26
checking if gcc accepts -march=pentium... yes
checking if gcc needs -fno-strength-reduce... yes
checking if gcc needs -fno-strict-aliasing... yes
checking if gcc supports -fno-common... yes
checking if gcc supports -pipe... yes
checking if linux kbuild requires EXTRA_CFLAGS... yes
checking for linux kernel module build works... yes
checking for linux/config.h... no
checking for linux/completion.h... yes
checking for linux/exportfs.h... yes
checking for linux/freezer.h... yes
checking for linux/key-type.h... yes
checking for linux/semaphore.h... yes
checking for linux/seq_file.h... yes
checking for write_begin in struct address_space_operations... yes
checking for name in struct backing_dev_info... yes
checking for ctl_name in struct ctl_table... no
checking for i_alloc_sem in struct inode... no
checking for i_blkbits in struct inode... yes
checking for i_blksize in struct inode... no
checking for i_mutex in struct inode... yes
checking for i_security in struct inode... yes
checking for flock in struct file_operations... yes
checking for sendfile in struct file_operations... no
checking for mount in struct file_system_type... yes
checking for path in struct nameidata... yes
checking for owner in struct proc_dir_entry... no
checking for s_bdi in struct super_block... yes
checking for s_d_op in struct super_block... yes
checking for alloc_inode in struct super_operations... yes
checking for evict_inode in struct super_operations... yes
checking for cred in struct task_struct... yes
checking for exit_state in struct task_struct... yes
checking for parent in struct task_struct... yes
checking for real_parent in struct task_struct... yes
checking for rlim in struct task_struct... no
checking for sig in struct task_struct... no
checking for sighand in struct task_struct... yes
checking for sigmask_lock in struct task_struct... no
checking for tgid in struct task_struct... yes
checking for thread_info in struct task_struct... no
checking for signal->rlim in struct task_struct... yes
checking for buf in read_descriptor_t... no
checking for bdi_init... yes
checking for PageChecked... yes
checking for PageFsMisc... no
checking for clear_inode... yes
checking for current_kernel_time... yes
checking for d_alloc_anon... no
checking for d_make_root... yes
checking for do_sync_read... yes
checking for find_task_by_pid... no
checking for generic_file_aio_read... yes
checking for grab_cache_page_write_begin... yes
checking for hlist_unhashed... yes
checking for i_size_read... yes
checking for inode_setattr... no
checking for kernel_setsockopt... yes
checking for page_follow_link... no
checking for page_offset... yes
checking for pagevec_lru_add_file... yes
checking for path_lookup... no
checking for rcu_read_lock... yes
checking for set_nlink... yes
checking for splice_direct_to_actor... yes
checking for svc_addr_in... yes
checking for zero_user_segments... yes
checking for noop_fsync... yes
checking if proc_root_fs is defined and exported... no
checking for new kmem_cache init function parameters... no
checking whether kmem_cache_t exists... no
checking whether kmem_cache_create takes a destructor argument... no
checking whether kmem_cache_create constructor takes a void pointer... yes
checking if d_path() takes a struct path argument... yes
checking if kernel uses new export ops... yes
checking for inode_setattr return type... no
checking whether inode_operations.create takes a nameidata... yes
checking whether inode_operations.lookup takes a nameidata... yes
checking whether inode_operations.permission takes flags... no
checking whether inode_operations.permission takes a nameidata... no
checking whether inode_operations.put_link takes an opaque cookie... yes
checking whether dentry.d_op->d_delete takes a const argument... yes
checking whether dentry_operations.d_revalidate takes a nameidata... yes
checking whether file_operations.flush takes a fl_owner_t... yes
checking whether file_operations.fsync takes a dentry argument... no
checking whether file_operations.fsync takes a range... yes
checking whether aop.writepage takes a writeback_control... yes
checking for splice_write and splice_read in struct file_operations... yes
checking for 3rd argument in posix_lock_file found in new kernels... yes
checking if posix_test_lock returns a struct file_lock... no
checking if posix_test_lock takes a conflict argument... no
checking for 5th argument in sock_create found in some SELinux kernels... no
checking for exported key_type_keyring... yes
checking for KEYCTL_SESSION_TO_PARENT... yes
checking for redhat kernel configuration... no
checking for recalc_sigpending arg type... yes
checking for exported tasklist_lock... yes
checking for struct vfsmount * in get_sb_nodev()... no
checking for dentry in statfs... yes
checking whether refrigerator takes PF_FREEZE... no
checking for try_to_freeze... yes
checking for linux kernel keyring support... yes
checking if key_alloc() takes a struct task *... no
checking if key_alloc() takes credentials... yes
checking whether INIT_WORK has a _data argument... no
checking whether register_sysctl_table has an insert_at_head argument... yes
checking for dcache_lock... no
checking if dentry->d_count is an int... yes
checking whether inode.i_op->mkdir takes a umode_t argument... yes
checking whether inode.i_op->create takes a umode_t argument... no
checking whether export operation encode_fh takes inode arguments... yes
checking if struct sockaddr has sa_len field... no
checking for library containing socket... none required
checking for library containing connect... none required
checking for library containing gethostbyname... none required
checking for the useability of arpa/nameser_compat.h... yes
checking for res_search... yes, in libresolv
checking for retransmit support in res_state... yes
checking for setsockopt(, SOL_IP, IP_RECVERR)... yes
checking for pthread_attr_init in -lpthread... yes
checking for tivoli tsm butc support... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mntent.h usability... no
checking sys/mntent.h presence... no
checking for sys/mntent.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking sys/fstyp.h usability... no
checking sys/fstyp.h presence... no
checking for sys/fstyp.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for strings.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/pag.h usability... no
checking sys/pag.h presence... no
checking for sys/pag.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking security/pam_modules.h usability... yes
checking security/pam_modules.h presence... yes
checking for security/pam_modules.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for linux/errqueue.h... yes
checking et/com_err.h usability... yes
checking et/com_err.h presence... yes
checking for et/com_err.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for fsblkcnt_t... yes
checking for struct stat.st_ctimespec... no
checking for struct stat.st_ctimensec... no
checking for setupterm in -lncurses... no
checking for setupterm in -lHcurses... no
checking for setupterm in -lcurses... no
checking for libintl... no
checking for snprintf... yes
checking for strlcat... no
checking for strlcpy... no
checking for flock... yes
checking for getrlimit... yes
checking for strnlen... yes
checking for tsearch... yes
checking for setprogname... no
checking for getprogname... no
checking for sigaction... yes
checking for mkstemp... yes
checking for vsnprintf... yes
checking for strerror... yes
checking for strcasestr... yes
checking for setvbuf... yes
checking for vsyslog... yes
checking for getcwd... yes
checking for regcomp... yes
checking for regexec... yes
checking for regerror... yes
checking for fseeko64... yes
checking for ftello64... yes
checking for pread... yes
checking for preadv... yes
checking for pwrite... yes
checking for pwritev... yes
checking for preadv64... yes
checking for pwritev64... yes
checking for setenv... yes
checking for unsetenv... yes
checking for positional I/O... yes
checking for vectored positional I/O... yes
checking for POSIX regex library... yes
checking return type of signal handlers... void
checking size of void *... 8
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned int... 4
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ssize_t... yes
checking for sig_atomic_t... yes
checking for socklen_t... yes
checking for off64_t... no
checking size of long... 8
checking whether PAM prefers const... yes
checking for timegm... yes
checking for daemon... yes
checking for ranlib... (cached) ranlib
checking for as... as
checking for ar... ar
checking for mv... mv
checking for rm... rm
checking for ld... ld
checking for cp... cp
checking for strip... strip
checking for lorder... lorder
checking for crypt in -lcrypt... yes
checking for label support in structs... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config/Makefile
config.status: creating src/config/Makefile.config
config.status: creating src/config/Makefile.version-CML
config.status: creating src/config/Makefile.version-NOCML
config.status: creating src/libafs/Makefile.common
config.status: creating src/libafs/MakefileProto
config.status: creating src/config/afsconfig.h
config.status: executing depfiles commands
cd src && cd config && make
make[1]: Entering directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
rm -f Makefile.version
if [ -r /var/lib/dkms/openafs/1.6.1/build/src/CML/state ] ; \
 then cp Makefile.version-CML Makefile.version ; \
 else cp Makefile.version-NOCML Makefile.version ; \
 fi
make -f Makefile.version AFS_component_version_number.c
make[2]: Entering directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
( VERSION=`/var/lib/dkms/openafs/1.6.1/build/build-tools/git-version /var/lib/dkms/openafs/1.6.1/build "1.6.1-1+ubuntu0.2-debian"` && \
 echo 'char cml_version_number[]="@(#) OpenAFS '$VERSION' built ' `date +"%Y-%m-%d"` '";' >AFS_component_version_number.c.NEW && \
 echo 'char* AFSVersion = "openafs '$VERSION'";' >>AFS_component_version_number.c.NEW && \
 if cmp AFS_component_version_number.c.NEW AFS_component_version_number.c > /dev/null 2>&1 ; then : ; else \
 mv AFS_component_version_number.c.NEW AFS_component_version_number.c ; fi )
rm -f AFS_component_version_number.c.NEW
make[2]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
gcc -O -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE -I. -c ./config.c
gcc -O -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE -I. -c ./mc.c
gcc -O -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE -o config config.o mc.o
gcc -O -I/var/lib/dkms/openafs/1.6.1/build/include -D_LARGEFILE64_SOURCE -o mkvers ./mkvers.c
if [ "Xparam.linux26.h" != "X" ] ; then \
  cat ./param.linux26.h ./param.amd64_linux26.h > param.h.new ; \
  rm -f /var/lib/dkms/openafs/1.6.1/build/include/afs/param.h; \
   cp param.h.new /var/lib/dkms/openafs/1.6.1/build/include/afs/param.h ; \
 else \
  rm -f /var/lib/dkms/openafs/1.6.1/build/include/afs/param.h; cp ./param.amd64_linux26.h /var/lib/dkms/openafs/1.6.1/build/include/afs/param.h ; \
 fi
make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/config'
src/config/config src/libafs/MakefileProto \
  src/libafs/Makefile amd64_linux26
Wrote new makefile 'src/libafs/Makefile'.
cd src && cd libafs && make
make[1]: Entering directory `/var/lib/dkms/openafs/1.6.1/build/src/libafs'
Makefile.common:50: warning: overriding commands for target `.c.o'
/var/lib/dkms/openafs/1.6.1/build/src/config/Makefile.config:140: warning: ignoring old commands for target `.c.o'
rm -f h net netinet sys rpc
ln -fs rx rpc
for m in SP ; do \
  KDIR=MODLOAD-3.8.0-32-generic-$m; \
  mkdir -p ${KDIR}; \
  ln -fs ../Makefile ${KDIR}/Makefile.afs ; \
  ln -fs ../Makefile.common ${KDIR}/Makefile.common; \
  ln -fs ../config ${KDIR}/config; \
 done
rm -f h
rm -f sys
rm -f netinet
if [ -d /lib/modules/3.8.0-32-generic/build/include2 ] ; then \
     ln -fs /lib/modules/3.8.0-32-generic/build/include2/asm/../linux h ; \
     ln -fs /lib/modules/3.8.0-32-generic/build/include2/asm/../linux sys ; \
     ln -fs /lib/modules/3.8.0-32-generic/build/include2/asm/../linux netinet ; \
 else \
     ln -fs /lib/modules/3.8.0-32-generic/build/include/linux h ; \
     ln -fs /lib/modules/3.8.0-32-generic/build/include/linux sys ; \
     ln -fs /lib/modules/3.8.0-32-generic/build/include/linux netinet ; \
 fi
rm -f linux
ln -fs /lib/modules/3.8.0-32-generic/build/include/linux linux
rm -f net
ln -fs /lib/modules/3.8.0-32-generic/build/include/net net
rm -f asm-generic
ln -fs /lib/modules/3.8.0-32-generic/build/include/asm-generic asm-generic
rm -f asm
ln -fs /lib/modules/3.8.0-32-generic/build/include/asm-x86_64 asm
if [ "yes" ] ; then \
     TARGPREFIX="pack_"; \
 fi ; \
 for m in SP ; do \
  KDIR=MODLOAD-3.8.0-32-generic-$m ; \
  echo Building in directory: ${KDIR} ; \
  if [ "$m" = "MP" ] ; then \
   SMP_DEF="-DAFS_SMP " ; \
   TARG="libafs.mp" ; \
  elif [ "$m" = "EP" ] ; then \
   SMP_DEF="-DAFS_SMP " ; \
   TARG="libafs.ep" ; \
  elif [ "$m" = "BM" ] ; then \
   SMP_DEF="-DAFS_SMP " ; \
   TARG="libafs.bm" ; \
  else \
   SMP_DEF=" " ; \
   TARG=libafs ; \
  fi ; \
  cd ${KDIR} ; \
  make -f Makefile.afs SMP_DEF="${SMP_DEF}" linux_compdirs_${TARGPREFIX}${TARG} CLIENT=3.8.0-32-generic KDIR=${KDIR} || exit $?; \
  cd ../ ; \
 done
Building in directory: MODLOAD-3.8.0-32-generic-SP
make[2]: Entering directory `/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP'
Makefile.common:50: warning: overriding commands for target `.c.o'
/var/lib/dkms/openafs/1.6.1/build/src/config/Makefile.config:140: warning: ignoring old commands for target `.c.o'
env EXTRA_CFLAGS="" /var/lib/dkms/openafs/1.6.1/build/src/libafs/make_kbuild_makefile.pl MODLOAD-3.8.0-32-generic-SP openafs.ko /var/lib/dkms/openafs/1.6.1/build/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="" make -C /lib/modules/3.8.0-32-generic/build M=/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP modules
make[3]: Entering directory `/usr/src/linux-headers-3.8.0-32-generic'
  CC [M] /var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP/afs_atomlist.o
  CC [M] /var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP/afs_error.o
In file included from /var/lib/dkms/openafs/1.6.1/build/src/rx/rx_clock.h:46:0,
                 from /var/lib/dkms/openafs/1.6.1/build/src/rx/rx.h:29,
                 from /var/lib/dkms/openafs/1.6.1/build/src/afs/afsincludes.h:30,
                 from /var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP/afs_error.c:34:
/var/lib/dkms/openafs/1.6.1/build/src/afs/afs_osi.h:14:21: fatal error: h/param.h: No such file or directory
compilation terminated.
make[4]: *** [/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP/afs_error.o] Error 1
make[3]: *** [_module_/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.8.0-32-generic'
make[2]: *** [openafs.ko] Error 2
make[2]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/libafs/MODLOAD-3.8.0-32-generic-SP'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory `/var/lib/dkms/openafs/1.6.1/build/src/libafs'
make: *** [all] Error 2ke.log f

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: openafs-modules-dkms 1.6.1-1+ubuntu0.2
ProcVersionSignature: Ubuntu 3.8.0-31.46~precise1-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
DKMSKernelVersion: 3.8.0-32-generic
Date: Tue Oct 22 04:53:13 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 1.6.1-1+ubuntu0.2
SourcePackage: openafs
Title: openafs-modules-dkms 1.6.1-1+ubuntu0.2: openafs kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dherkes (daniel-herkes) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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