Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 169349

Summary: sys-cluster/cman-kernel-1.02.00-r1 and 1.03.00 compile error on 2.6.19-r5 2.6.20
Product: Gentoo Linux Reporter: Christian R <chris>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 156669    

Description Christian R 2007-03-04 19:38:35 UTC
it works on 2.6.18 but failed with 2.6.19 and 20

* Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.20-gentoo/build
 * Found sources for kernel version:
 *     2.6.20-gentoo
>>> Unpacking source...
>>> Unpacking cluster-1.02.00.tar.gz to /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work
>>> Unpacking cman-kernel-1.02.00-20060714-cvs.patch.gz to /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work
 * Applying cman-kernel-1.02.00-20060714-cvs.patch ...                                                                                                 [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel ...

Configuring Makefiles for your system...
------------------------------------------------
--------------------------------
Completed Makefile configuration

cd src && make all
make[1]: Entering directory `/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src'
rm -f cluster
ln -s . cluster
make -C /usr/src/linux M=/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src modules USING_KBUILD=yes
make[2]: Entering directory `/usr/src/linux-2.6.20-gentoo'
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.o
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/config.o
  CC [M]  /var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/membership.o
/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.c: In function 'do_ioctl_join_cluster':
/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.c:1751: error: 'system_utsname' undeclared (first use in this function)
/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.c:1751: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.c:1751: error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src/cnxman.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/work/cluster-1.02.00/cman-kernel/src'
make: *** [all] Error 2

!!! ERROR: sys-cluster/cman-kernel-1.02.00-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3983:   Called src_compile
  cman-kernel-1.02.00-r1.ebuild, line 46:   Called die

!!! compile error
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-cluster/cman-kernel-1.02.00-r1/temp/build.log'.

Reproducible: Always
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2007-03-10 11:32:06 UTC
fixed in CVS.