public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
@ 2007-02-19 13:33 Ralph Seichter
  2007-02-19 14:19 ` Peter Ruskin
  0 siblings, 1 reply; 7+ messages in thread
From: Ralph Seichter @ 2007-02-19 13:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

Has anybody successfully emerged "sys-fs/dazuko" on a machine using
kernel version 2.6.20? I tried dazuko-2.3.2-r3 and dazuko-2.3.3_pre1,
but emerge fails with errors like in the attached build log. I haven't
yet found anything about this on bugs.gentoo.org or MARC.

-R

[-- Attachment #2: build.log --]
[-- Type: text/plain, Size: 4548 bytes --]

 * Determining the location of the kernel source code
 * 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
 * Checking for suitable kernel configuration options...
  [ ok ]
>>> Unpacking source...
>>> Unpacking dazuko-2.3.3-pre1.tar.gz to /mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work
>>> Source unpacked.
>>> Compiling source in /mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1 ...
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel build source in /usr/src/linux... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.20)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
local __d_path() = no (using chroot events, see README.linux26)
module debug = no
library 1.x compatibility = yes

 * Converting Makefile to use M= instead of SUBDIRS= ...
  [ ok ]
 * Preparing dazuko module
make -C /usr/src/linux M="/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1" modules
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo'
  CC [M]  /mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_core.o
  CC [M]  /mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_transport.o
  CC [M]  /mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.o
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c: In function 'dazuko_security_xfrm_policy_alloc':
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1486: error: too many arguments to function 'dazuko_security_ops.xfrm_policy_alloc_security'
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1486: error: too many arguments to function 'dazuko_security_default_ops.xfrm_policy_alloc_security'
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c: In function 'dazuko_security_xfrm_state_alloc':
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1527: warning: passing argument 3 of 'dazuko_security_ops.xfrm_state_alloc_security' makes integer from pointer without a cast
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1527: error: too many arguments to function 'dazuko_security_ops.xfrm_state_alloc_security'
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1527: warning: passing argument 3 of 'dazuko_security_default_ops.xfrm_state_alloc_security' makes integer from pointer without a cast
/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1527: error: too many arguments to function 'dazuko_security_default_ops.xfrm_state_alloc_security'
make[2]: *** [/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.o] Error 1
make[1]: *** [_module_/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make: *** [dummy_rule] Error 2

!!! ERROR: sys-fs/dazuko-2.3.3_pre1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4190:   Called src_compile
  dazuko-2.3.3_pre1.ebuild, line 48:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make   dummy_rule.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/mnt/hda6/tmp/portage/sys-fs/dazuko-2.3.3_pre1/temp/build.log'.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-19 13:33 [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20 Ralph Seichter
@ 2007-02-19 14:19 ` Peter Ruskin
  2007-02-19 22:38   ` Ralph Seichter
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Ruskin @ 2007-02-19 14:19 UTC (permalink / raw
  To: gentoo-user

On Monday 19 February 2007, Ralph Seichter wrote:
> Has anybody successfully emerged "sys-fs/dazuko" on a machine
> using kernel version 2.6.20? I tried dazuko-2.3.2-r3 and
> dazuko-2.3.3_pre1, but emerge fails with errors like in the
> attached build log. I haven't yet found anything about this on
> bugs.gentoo.org or MARC.
>
2.3.3_pre1 works OK here.

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.1.2-r9		kernel-2.6.20-gentoo
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+	gcc(GCC): 4.1.2
KDE: 3.5.6					Qt: 3.3.6
========================================================================
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-19 14:19 ` Peter Ruskin
@ 2007-02-19 22:38   ` Ralph Seichter
  2007-02-19 23:24     ` Peter Ruskin
  0 siblings, 1 reply; 7+ messages in thread
From: Ralph Seichter @ 2007-02-19 22:38 UTC (permalink / raw
  To: gentoo-user

Peter Ruskin wrote:

> 2.3.3_pre1 works OK here.

So it is possible and there's hope left. ;-) I don't suppose that

  [...]/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1486: error: too many
  arguments to function 'dazuko_security_ops.xfrm_policy_alloc_security'

looks familiar to you? Did you modify or patch anything manually?

-R
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-19 22:38   ` Ralph Seichter
@ 2007-02-19 23:24     ` Peter Ruskin
  2007-02-20 15:01       ` Ralph Seichter
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Ruskin @ 2007-02-19 23:24 UTC (permalink / raw
  To: gentoo-user

On Monday 19 February 2007, Ralph Seichter wrote:
> Peter Ruskin wrote:
> > 2.3.3_pre1 works OK here.
>
> So it is possible and there's hope left. ;-) I don't suppose that
>
>   [...]/dazuko-2.3.3-pre1/dazuko_linux26_lsm.c:1486: error: too
> many arguments to function
> 'dazuko_security_ops.xfrm_policy_alloc_security'
>
> looks familiar to you? Did you modify or patch anything manually?
>
No, it doesn't look familiar - I had no problems at all:

# emerge -1va dazuko

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/dazuko-2.3.3_pre1  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Emerging (1 of 1) sys-fs/dazuko-2.3.3_pre1 to /
 * dazuko-2.3.3-pre1.tar.gz MD5 ;-) ...                                                                   
[ ok ]
 * dazuko-2.3.3-pre1.tar.gz RMD160 ;-) ...                                                                
[ ok ]
 * dazuko-2.3.3-pre1.tar.gz SHA1 ;-) ...                                                                  
[ ok ]
 * dazuko-2.3.3-pre1.tar.gz SHA256 ;-) ...                                                                
[ ok ]
 * dazuko-2.3.3-pre1.tar.gz size ;-) ...                                                                  
[ ok ]
 * Determining the location of the kernel source code
 * 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
 * Checking for suitable kernel configuration options...                                                  
[ ok ]
>>> Unpacking source...
>>> Unpacking dazuko-2.3.3-pre1.tar.gz 
to /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work
>>> Source unpacked.
>>> Compiling source 
in /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1 ...
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel build source in /usr/src/linux... yes
acquiring Linux kernel code configuration... ok
checking if Linux is RSBAC patched... no
checking if devfs is enabled... no
discovered host system... Linux (2.6.20)
checking if security module support is enabled... yes
verifying capabilities are not built-in... ok
locating LSM API header... ok
identifying LSM API (this can take a while)... ok
identifying device API... ok
inspecting class type... ok (class)
inspecting suspend function... ok (suspend2)
inspecting task_struct structure... ok (using parent)
disabling ON_CLOSE events (not available for Linux 2.6 LSM)
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_EXEC
devfs support = no
rsbac support = no
stacking support = yes
local __d_path() = no (using chroot events, see README.linux26)
module debug = no
library 1.x compatibility = yes

 * Converting Makefile to use M= instead of SUBDIRS= ...                                                  
[ ok ]
 * Preparing dazuko module
make -C /usr/src/linux 
M="/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1" 
modules
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo'
  CC 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_core.o
  CC 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_transport.o
  CC 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26_lsm.o
  CC 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko_linux26.o
  LD 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko.o
  Building modules, stage 2.
  MODPOST 1 modules
  
CC      /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko.mod.o
  LD 
[M]  /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/dazuko.ko
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
touch dummy_rule
make: Entering directory 
`/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/library'
i686-pc-linux-gnu-gcc -Wall -O -I.. -c ../dazukoio_core.c -o 
dazukoio_core.o
i686-pc-linux-gnu-gcc -Wall -O -I.. -c ../dazukoio_trusted_core.c -o 
dazukoio_trusted_core.o
i686-pc-linux-gnu-gcc -Wall -O -I.. -c ../dazuko_transport.c -o 
dazuko_transport.o
i686-pc-linux-gnu-gcc -Wall -O -I.. -c ../dazukoio_unix.c -o 
dazukoio_unix.o
i686-pc-linux-gnu-gcc -Wall -O -I.. -c ../dazukoio_linux_compat1.c -o 
dazukoio_linux_compat1.o
ar r libdazuko.a dazukoio_core.o dazukoio_trusted_core.o 
dazuko_transport.o dazukoio_unix.o dazukoio_linux_compat1.o
ar: creating libdazuko.a
ranlib libdazuko.a
make: Leaving directory 
`/var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/work/dazuko-2.3.3-pre1/library'
>>> Source compiled.
>>> Test phase [not enabled]: sys-fs/dazuko-2.3.3_pre1

>>> Install dazuko-2.3.3_pre1 
into /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/image/ category 
sys-fs
 * Installing dazuko module
>>> Completed installing dazuko-2.3.3_pre1 
into /var/tmp/portage/sys-fs/dazuko-2.3.3_pre1/image/

>>> Merging sys-fs/dazuko-2.3.3_pre1 to /
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.20-gentoo/
--- /lib/modules/2.6.20-gentoo/misc/
>>> /lib/modules/2.6.20-gentoo/misc/dazuko.ko
--- /usr/
--- /usr/lib/
>>> /usr/lib/libdazuko.a
--- /usr/include/
>>> /usr/include/dazukoio.h
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/dazuko-2.3.3_pre1/
>>> /usr/share/doc/dazuko-2.3.3_pre1/COPYING.bz2
>>> /usr/share/doc/dazuko-2.3.3_pre1/README.bz2
>>> /usr/share/doc/dazuko-2.3.3_pre1/README.linux26.bz2
>>> /usr/share/doc/dazuko-2.3.3_pre1/README.trusted.bz2
>>> Safely unmerging already-installed instance...
 * Determining the location of the kernel source code
 * 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
--- !mtime obj /usr/share/doc/dazuko-2.3.3_pre1/README.trusted.bz2
--- !mtime obj /usr/share/doc/dazuko-2.3.3_pre1/README.linux26.bz2
--- !mtime obj /usr/share/doc/dazuko-2.3.3_pre1/README.bz2
--- !mtime obj /usr/share/doc/dazuko-2.3.3_pre1/COPYING.bz2
--- !mtime obj /usr/lib/libdazuko.a
--- !mtime obj /usr/include/dazukoio.h
--- cfgpro obj /lib/modules/2.6.20-gentoo/misc/dazuko.ko
--- cfgpro dir /lib/modules/2.6.20-gentoo/misc
--- cfgpro dir /lib/modules/2.6.20-gentoo
--- !empty dir /usr/share/doc/dazuko-2.3.3_pre1
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib
--- !empty dir /usr/include
--- !empty dir /usr
--- !empty dir /lib/modules
--- !empty dir /lib
 * Removing sys-fs/dazuko-2.3.3_pre1 from moduledb.
 * Determining the location of the kernel source code
 * 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
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Updating module dependencies for 2.6.20-gentoo ...                                                     
[ ok ]
 * Adding module to moduledb.
 * Please note that chroot support is disabled due to 
incompatability
 * with SMP kernels
>>> Regenerating /etc/ld.so.cache...
>>> sys-fs/dazuko-2.3.3_pre1 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.1.2-r9		kernel-2.6.20-gentoo
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+	gcc(GCC): 4.1.2
KDE: 3.5.6					Qt: 3.3.6
========================================================================
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-19 23:24     ` Peter Ruskin
@ 2007-02-20 15:01       ` Ralph Seichter
  2007-02-20 15:39         ` Peter Ruskin
  0 siblings, 1 reply; 7+ messages in thread
From: Ralph Seichter @ 2007-02-20 15:01 UTC (permalink / raw
  To: gentoo-user

Peter Ruskin wrote:

> No, it doesn't look familiar - I had no problems at all

I wonder... Could you please check your kernel configuration?

  /usr/src/linux-2.6.20-gentoo # grep CONFIG_SECURITY .config
  CONFIG_SECURITY=y
  CONFIG_SECURITY_NETWORK=y
  CONFIG_SECURITY_NETWORK_XFRM=y
  CONFIG_SECURITY_CAPABILITIES=m
  CONFIG_SECURITY_ROOTPLUG=m
  # CONFIG_SECURITY_SELINUX is not set

I'd like to know if these settings are different on your machine.

-R

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-20 15:01       ` Ralph Seichter
@ 2007-02-20 15:39         ` Peter Ruskin
  2007-02-21 17:17           ` Ralph Seichter
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Ruskin @ 2007-02-20 15:39 UTC (permalink / raw
  To: gentoo-user

On Tuesday 20 February 2007, Ralph Seichter wrote:
> Peter Ruskin wrote:
> > No, it doesn't look familiar - I had no problems at all
>
> I wonder... Could you please check your kernel configuration?
>
>   /usr/src/linux-2.6.20-gentoo # grep CONFIG_SECURITY .config
>   CONFIG_SECURITY=y
>   CONFIG_SECURITY_NETWORK=y
>   CONFIG_SECURITY_NETWORK_XFRM=y
>   CONFIG_SECURITY_CAPABILITIES=m
>   CONFIG_SECURITY_ROOTPLUG=m
>   # CONFIG_SECURITY_SELINUX is not set
>
> I'd like to know if these settings are different on your machine.
>
[15:37 peter@mesh /usr/src/linux-2.6.20-gentoo]
$ grep CONFIG_SECURITY .config
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
# CONFIG_SECURITY_ROOTPLUG is not set

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.1.2-r10		kernel-2.6.20-gentoo
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+	gcc(GCC): 4.1.2
KDE: 3.5.6					Qt: 3.3.6
========================================================================
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20
  2007-02-20 15:39         ` Peter Ruskin
@ 2007-02-21 17:17           ` Ralph Seichter
  0 siblings, 0 replies; 7+ messages in thread
From: Ralph Seichter @ 2007-02-21 17:17 UTC (permalink / raw
  To: gentoo-user

Peter Ruskin wrote:

> CONFIG_SECURITY_NETWORK is not set

Thanks, I thought so. The compile error occurs in a sections encapsuled
in "#ifdef CONFIG_SECURITY_NETWORK_XFRM", and your kernel configuration
does not include XFRM Networking Security Hooks. I'll probably disable
this, because the machine doesn't need IPSec anyway.

-R
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-21 17:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-19 13:33 [gentoo-user] Can't emerge dazuko 2.3.x with kernel 2.6.20 Ralph Seichter
2007-02-19 14:19 ` Peter Ruskin
2007-02-19 22:38   ` Ralph Seichter
2007-02-19 23:24     ` Peter Ruskin
2007-02-20 15:01       ` Ralph Seichter
2007-02-20 15:39         ` Peter Ruskin
2007-02-21 17:17           ` Ralph Seichter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox