[Bug 700036] Re: package blcr-dkms 0.8.2-15ubuntu1 failed to install/upgrade: blcr kernel module failed to build - error: ‘struct signal_struct’ has no member named ‘count’

Fayer Michael 700036 at bugs.launchpad.net
Sat Sep 24 17:20:32 UTC 2011


When upgrading this package, I had this error too. I saw some dialog
(maybe error dialog) when upgrading but couldn't find it later by
pressing Alt-Tab (this also seems to be a bug). But I rebooted anyway. I
tried to reinstall it in synaptic after reboot, failed again (even after
cleaning apt-get downloads). I'm in Ubuntu 11.04. The package is blcr-
dkms (0.8.2-15ubuntu1). I copied the details in the terminal window
below the installation progress indicator (the moving percentage bar).
They are:

(Reading database ... 280789 files and directories currently installed.)
Preparing to replace blcr-dkms 0.8.2-15ubuntu1 (using .../blcr-dkms_0.8.2-15ubuntu1_all.deb) ...

------------------------------
Deleting module version: 0.8.2
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement blcr-dkms ...
Setting up blcr-dkms (0.8.2-15ubuntu1) ...

Creating symlink /var/lib/dkms/blcr/0.8.2/source ->
                 /usr/src/blcr-0.8.2

DKMS: add Completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.38-11-generic -C /lib/modules/2.6.38-11-generic/build M=/var/lib/dkms/blcr/0.8.2/build....................(bad exit status: 2)

Error! Bad return status for module build on kernel: 2.6.38-11-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/blcr/0.8.2/build/ for more information.
0
0

(end of the installation details)


Below is the make.log file:

DKMS make.log for blcr-0.8.2 for kernel 2.6.38-11-generic (i686)
Sun Sep 25 01:13:20 CST 2011
make: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
/var/lib/dkms/blcr/0.8.2/build/Kbuild:19: /var/lib/dkms/blcr/0.8.2/build/module_files: No such file or directory
cd /var/lib/dkms/blcr/0.8.2/build && env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/lib/dkms ./configure --disable-maintainer-mode --with-linux=2.6.38-11-generic --with-installed-libcr --with-installed-util --with-components=modules --prefix=/usr && touch /var/lib/dkms/blcr/0.8.2/build/config-stamp
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... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... no
checking for pwd... /bin/pwd
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for perl5... no
checking for perl... /usr/bin/perl
checking for gmake... no
checking for make... /usr/bin/make
checking if /usr/bin/make is GNU make... yes (3.81)
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for style of include used by /usr/bin/make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for rpmbuild... no
checking for rpmb... no
checking for rpm... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking size of void *... 4
checking whether CXX='g++' acts like a C++ compiler... yes
checking whether CXX='g++' matches wordsize of CC... yes
checking for value of CR_SIGNUM... 64
checking size of void *... (cached) 4
checking compiler to build kernel modules... gcc (default)
checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm
checking for Linux kernel build in /lib/modules/2.6.38-11-generic/build... found version 2.6.38-11-generic
checking for Linux kernel source in /lib/modules/2.6.38-11-generic/build... found version 2.6.38
checking directory to install kernel modules... ${exec_prefix}/lib/blcr/2.6.38-11-generic (default)
checking for parameters to interface GNU automake with Linux kbuild... KBUILD_EXTMOD=$(builddir)
checking for flags to compile Linux kernel probes...  -nostdinc -isystem /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include -I/usr/src/linux-headers-2.6.38-11-generic/arch/x86/include -I/lib/modules/2.6.38-11-generic/build/include -include /lib/modules/2.6.38-11-generic/build/include/generated/autoconf.h -I/lib/modules/2.6.38-11-generic/build/ubuntu/include -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(conftest) -DKBUILD_MODNAME=KBUILD_STR(conftest)
checking if autoconf.h is included implicitly... yes
checking for Linux kernel symbol table... /boot/System.map-2.6.38-11-generic
checking for SMP kernel source... yes
checking for SMP kernel symbol table... yes
configure: Testing if KARCH is the same as ARCH
configure: Not touching KARCH
checking kernel for linux/syscalls.h... yes
checking kernel for linux/pspace.h... no
checking kernel for linux/pid_namespace.h... yes
checking kernel for linux/lockdep.h... yes
checking kernel for linux/compile.h... no
checking kernel for linux/fdtable.h... yes
checking kernel for linux/utrace.h... no
checking kernel for linux/perf_event.h... yes
checking kernel for asm/elf.h... yes
checking kernel for asm/desc.h... yes
checking kernel for asm/vsyscall32.h... no
checking kernel for asm/i387.h... yes
checking kernel for linux/utsrelease.h... no
checking kernel for generated/utsrelease.h... yes
checking kernel symbol table for timeval_to_jiffies... exported
checking kernel symbol table for jiffies_to_timeval... exported
checking kernel for struct fdtable... yes
checking kernel for files_struct.next_fd... yes
checking kernel for fdtable.next_fd... no
checking kernel for files_struct.max_fdset... no
checking kernel for struct path... yes
checking kernel for nameidata.path... yes
checking kernel for nameidata.dentry... no
checking kernel for __putname... yes
checking kernel for struct delayed_work... yes
checking kernel for do_each_pid_task... yes
checking kernel for do_each_task_pid... no
checking kernel for for_each_task_pid... no
checking kernel for 2.6.0 task ids... no
checking kernel for 2.6.6 task ids... no
checking kernel for 2.6.20 task ids... no
checking kernel for 2.6.24 task ids... yes
checking kernel for set_task_pgrp... no
checking kernel for set_task_session... no
checking kernel for valid_signal... yes
checking kernel for REMOVE_LINKS... no
checking kernel for task.pids pid_link... yes
checking kernel for task.pids pid... no
checking kernel symbol table for __put_task_struct... c104db00
checking kernel symbol table for __put_task_struct_cb... not found
checking kernel for mm.task_size... yes
checking kernel for PageAnon... yes
checking kernel for thread.vdso_base... no
checking kernel for mm.context.vdso_base... no
checking kernel for mm.context.vdso... yes
checking kernel for thread_info.sysenter_return... yes
checking kernel for VSYSCALL_BASE... no
checking kernel for 2-arg arch_setup_additional_pages... yes
checking kernel for 4-arg arch_setup_additional_pages... no
checking kernel symbol table for arch_setup_additional_pages... c10352a0
checking kernel for map_vsyscall... no
checking kernel symbol table for arch_pick_mmap_layout... c10307e0
checking kernel symbol table for arch_get_unmaped_area... not found
checking kernel symbol table for arch_unmap_area... c1103530
checking kernel for mm.mmap_base... yes
checking kernel for mm.cached_hole_size... yes
checking kernel for CONFIG_HUGETLBFS... yes
checking kernel symbol table for hugetlbfs_file_operations... c152ed20
checking kernel symbol table for is_file_shm_hugepages... c1211650
checking kernel symbol table for hugepage_vma... not found
checking kernel symbol table for pmd_huge... c1033240
checking kernel symbol table for follow_huge_pmd... c1033280
checking kernel symbol table for follow_huge_addr... c1033230
checking kernel for 3-arg follow_huge_addr... yes
checking kernel for 4-arg follow_huge_addr... no
checking kernel symbol table for empty_zero_page... exported
checking kernel for inode_permission... yes
checking kernel for permission... no
checking kernel symbol table for copy_siginfo_to_user... c10623e0
checking kernel symbol table for group_send_sig_info... c10615d0
checking kernel symbol table for do_sigaltstack... c1062c20
checking kernel for struct n_desc_struct... no
checking kernel for cpu_gdt_descr... no
checking kernel symbol table for cpu_gdt_table... not found
checking kernel symbol table for per_cpu__cpu_gdt_descr... not found
checking kernel for thread.sp0... yes
checking kernel for thread.esp0... no
checking kernel for thread.rsp0... no
checking kernel for thread.usersp... no
checking kernel for thread.userrsp... no
checking kernel for thread.debugreg0... no
checking kernel for thread.debugregs... no
checking kernel for thread.ptrace_bps... yes
checking kernel for thread.i387... no
checking kernel for thread.xstate... no
checking kernel for pt_regs.eflags... no
checking kernel for pt_regs.flags... yes
checking kernel symbol table for init_fpu... exported
checking kernel symbol table for xstate_size... exported
checking kernel for restore_fpu_checking... yes
checking kernel for 2.6.0 restore_fpu_checking... no
checking kernel for 2.6.28 restore_fpu_checking... yes
checking kernel for pt_regs.xcs... no
checking kernel for pt_regs.xfs... no
checking kernel for pt_regs.xgs... no
checking kernel for pt_regs.cs... yes
checking kernel for pt_regs.fs... yes
checking kernel for pt_regs.gs... yes
checking kernel for inode sem... no
checking kernel for inode mutex... yes
checking kernel for mm.dumpable... no
checking kernel symbol table for get_dumpable... c112dfa0
checking kernel for task.rlim... no
checking kernel for signal.rlim... yes
checking kernel for task.cred... yes
checking kernel for task.group_info... no
checking kernel for suid_dumpable... yes
checking kernel symbol table for suid_dumpable... c190491c
checking kernel for set_dumpable... yes
checking kernel symbol table for set_dumpable... c112dd00
checking kernel symbol table for groups_search... c1075f00
checking kernel symbol table for supplemental_group_member... not found
checking kernel for PIDTYPE_TGID... no
checking kernel for task.thread_group... yes
checking kernel symbol table for detach_pid... c106a5d0
checking kernel symbol table for attach_pid... c106a570
checking kernel symbol table for change_pid... c106a640
checking kernel symbol table for find_pid... not found
checking kernel symbol table for link_pid... not found
checking kernel for 1-arg find_pid... no
checking kernel for 2-arg find_pid... no
checking kernel for find_pid_ns... yes
checking kernel for find_task_by_pid... no
checking kernel for find_task_by_pid_ns... yes
checking kernel for find_task_by_pid_type... no
checking kernel for find_task_by_pid_type_ns... no
checking kernel symbol table for find_task_by_pid_ns... c106a790
checking kernel for alloc_pid... yes
checking kernel for 0-arg alloc_pid... no
checking kernel for 1-arg alloc_pid... yes
checking kernel symbol table for free_pid... c106a370
checking kernel symbol table for pid_hash... c187224c
checking kernel symbol table for pidhash_shift... c17410a8
checking kernel for pid_namespace.pid_cachep... yes
checking kernel symbol table for pid_cachep... not found
checking kernel symbol table for init_pid_ns... exported
checking kernel for 2.6.0 attach_pid... no
checking kernel for 2.6.22 attach_pid... no
checking kernel for 2.6.26 attach_pid... yes
checking kernel for change_pid... yes
checking kernel for struct pidmap... yes
checking kernel symbol table for pidmap_array... not found
checking kernel symbol table for pidmap_lock... c1731a80
checking kernel for kill_pid... yes
checking kernel for kill_proc... no
checking kernel for child_reaper... no
checking kernel for task_child_reaper... no
checking kernel symbol table for child_reaper... not found
checking kernel for task.parent... yes
checking kernel for task.real_parent... yes
checking kernel for kmem_cache_t... no
checking kernel for gfp_t... yes
checking kernel for kzalloc... yes
checking kernel for kmem_cache_zalloc... yes
checking kernel for kmemdup... yes
checking kernel for pipe_inode_info.base... no
checking kernel for pipe_buf_operations.pin... no
checking kernel for 2-arg pipe_ops.unmap... no
checking kernel for 3-arg pipe_ops.unmap... yes
checking kernel symbol table for anon_pipe_buf_ops... c1524e00
checking kernel for file_operations.check_flags... yes
checking kernel for inode.i_mapping... yes
checking kernel for file.f_mapping... yes
checking kernel for 4-arg do_generic_file_read... no
checking kernel for 5-arg do_generic_file_read... no
checking kernel for read_descriptor_t.arg.data... yes
checking kernel for read_descriptor_t.buf... no
checking kernel for splice_direct_to_actor... yes
checking kernel for 4-arg vfs_mknod... yes
checking kernel for 5-arg vfs_mknod... no
checking kernel for 2-arg vfs_unlink... yes
checking kernel for 3-arg vfs_unlink... no
checking kernel for 2-arg notify_change... yes
checking kernel for 3-arg notify_change... no
checking kernel for task.ptrace... yes
checking kernel for task.ptracees... no
checking kernel for task.ptraced... yes
checking kernel for proc_root... no
checking kernel for maximum kmalloc() allocation... 131072
checking kernel symbol table for tasklist_lock... c1731980
checking kernel symbol table for shmem_file_operations... c1522160
checking kernel symbol table for ramfs_file_operations... c152ebe0
checking kernel symbol table for HPAGE_SHIFT... not found
checking kernel symbol table for phys_base... not found
checking kernel symbol table for do_pipe... not found
checking kernel symbol table for do_pipe_flags... c112fa50
checking kernel symbol table for sys_munmap... c1105f10
checking kernel symbol table for sys_dup2... c1135570
checking kernel symbol table for sys_lseek... c1126e80
checking kernel symbol table for sys_ftruncate... c1125c90
checking kernel symbol table for sys_mprotect... c1106ab0
checking kernel symbol table for sys_setitimer... c1054890
checking kernel symbol table for sys_prctl... c1065580
checking kernel symbol table for copy_fs_struct... c114d450
checking kernel symbol table for put_fs_struct... not found
checking kernel symbol table for free_fs_struct... c114d380
checking kernel symbol table for set_fs_pwd... c114d190
checking kernel symbol table for sys_mremap... c11077a0
checking kernel symbol table for do_sigaction... c1062a60
checking kernel symbol table for expand_files... c113f550
checking kernel symbol table for __flush_icache_range... not found
checking kernel symbol table for sys_link... c1134d60
checking kernel symbol table for lookup_create... exported
checking kernel symbol table for exported register_chrdev... not found
checking kernel symbol table for exported __register_chrdev... c112a8d0
checking kernel symbol table for exported register_blkdev... c12642d0
checking kernel for init_utsname... yes
checking kernel for system_utsname... no
configure: creating ./config.status
config.status: creating cr_module/Makefile
config.status: creating cr_module/kbuild/Makefile
config.status: creating vmadump4/Makefile
config.status: creating include/blcr_imports.h
config.status: creating blcr_imports/imports.c
config.status: creating blcr_imports/Makefile
config.status: creating blcr_imports/kbuild/Makefile
config.status: creating config/kbuild.mak
config.status: creating Makefile
config.status: creating etc/Makefile
config.status: creating rpm/Makefile
config.status: creating rpm/specfile
config.status: creating include/Makefile
config.status: creating include/blcr_common.h
config.status: creating doc/Makefile
config.status: creating blcr_config.h
config.status: executing depfiles commands
config.status: executing libtool commands

======================================================================
Please review the following configuration information:
  Kernel source directory = /lib/modules/2.6.38-11-generic/build
  Kernel build directory = /lib/modules/2.6.38-11-generic/build
  Kernel symbol table = /boot/System.map-2.6.38-11-generic
  Kernel version probed from kernel build = 2.6.38-11-generic
  Kernel running currently = 2.6.38-11-generic
======================================================================
cd /var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/ && env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/lib/dkms make prepare
cd /var/lib/dkms/blcr/0.8.2/build/blcr_imports/kbuild/ && env -i PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/lib/dkms make prepare
touch /var/lib/dkms/blcr/0.8.2/build/prepare-stamp
echo "BLCR_IMPORT_SOURCES := blcr_imports/kbuild/" > /var/lib/dkms/blcr/0.8.2/build/module_files
echo "BLCR_SOURCES := cr_module/kbuild/" >> /var/lib/dkms/blcr/0.8.2/build/module_files
  LD      /var/lib/dkms/blcr/0.8.2/build/built-in.o
  LD      /var/lib/dkms/blcr/0.8.2/build/blcr_imports/kbuild/built-in.o
  CC [M]  /var/lib/dkms/blcr/0.8.2/build/blcr_imports/kbuild/imports.o
  CC [M]  /var/lib/dkms/blcr/0.8.2/build/blcr_imports/kbuild/module.o
  LD [M]  /var/lib/dkms/blcr/0.8.2/build/blcr_imports/kbuild/blcr_imports.o
  LD      /var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/built-in.o
  CC [M]  /var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.o
/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.c: In function ‘vmadump_thaw_proc’:
/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.c:1092:38: error: ‘struct signal_struct’ has no member named ‘count’
/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.c: In function ‘vmadump_freeze_proc’:
/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.c:1999:38: error: ‘struct signal_struct’ has no member named ‘count’
make[2]: *** [/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild/vmadump_common.o] Error 1
make[1]: *** [/var/lib/dkms/blcr/0.8.2/build/cr_module/kbuild] Error 2
make: *** [_module_/var/lib/dkms/blcr/0.8.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'

(end of make.log)

-- 
You received this bug notification because you are a member of MOTU,
which is a bug assignee.
https://bugs.launchpad.net/bugs/700036

Title:
  package blcr-dkms 0.8.2-15ubuntu1 failed to install/upgrade: blcr
  kernel module failed to build - error: ‘struct signal_struct’ has no
  member named ‘count’

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




More information about the universe-bugs mailing list