Mailinglist Archive: opensuse-packaging (206 mails)

< Previous Next >
[opensuse-packaging] Need help on a Evergreen kernel module
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Fri, 14 Jan 2011 23:52:00 -0500
  • Message-id: <AANLkTinNnzz0wFH=SAUgk18W4Z4g53e8fNrQKEKM-y8M@mail.gmail.com>
All,

The evergreen project is evaluating using the 2.6.32 kernel instead of
the 2.6.27 kernel that is currently in 11.1. I built a test repo in my
home project with the 2.6.32 kernel from SLES11 SP1.

I'm having issues with virtualbox-ose packaging with the 2.6.32 test
kernel. To be honest, my first thought is just grab virtualbox-ose
from SLES11 SP1 since we know it has the kernel modules tweaked to
work with this kernel.

Otherwise:

Packaging / OBS experts,

I branched virtualbox-ose from the new
DISCONTINUED:openSUSE_11.1:Update repo to my home evergreen test repo
which uses the same repo as its primary build repo (see
home:gregfreemyer:Evergreen-11.1).

The build log is here

https://build.opensuse.org/package/live_build_log?arch=x86_64&package=virtualbox-ose&project=home%3Agregfreemyer%3AEvergreen-11.1&repository=DISCONTINUED_openSUSE_11.1_Update_standard

But the build is failing with a couple of different errors:

First several like:
===
/usr/bin/g++-4.1                '-Wl,-rpath,/usr/lib/virtualbox'
'-Wl,-rpath,/usr/lib/virtualbox'   -Wl,-z,noexecstack -Wl,--as-needed
-m32   -o 
/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/obj/tstInit/tstInit

/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/obj/tstInit/tstInit.o
/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/bin/VBoxRT.so
-lpthread   -lm   -lrt   -ldl
/usr/lib/gcc/i586-suse-linux/4.1.3/../../../../i586-suse-linux/bin/ld:
error in /usr/lib/gcc/i586-suse-linux/4.1.3/crtend.o(.eh_frame); no
.eh_frame_hdr table will be created.
=== see the error towards the end

Then it ends with:
===
kmk_builtin_install  -m 0755 --
/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/obj/tstGetPagingMode/tstGetPagingMode

/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/bin/testcase/tstGetPagingMode
/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c:
In function 'VBoxDrvLinuxCreate':
/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c:650:
error: 'struct task_struct' has no member named 'euid'
/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c:663:
error: 'struct task_struct' has no member named 'uid'
/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c:664:
error: 'struct task_struct' has no member named 'gid'
kmk[3]: *** 
[/usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.x86/release/obj/vboxdrv/linux/SUPDrv-linux.o]
Error 1
kmk[3]: *** Waiting for unfinished jobs....
kmk[3]: Leaving directory
`/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox/HostDrivers'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/usr/src/packages/BUILD/VirtualBox-2.0.6/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/usr/src/packages/BUILD/VirtualBox-2.0.6/src'
kmk: *** [pass_binaries_before] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.50343 (%build)

RPM build errors:
cannot open Pubkeys index using db3 - No such file or directory (2)
Bad exit status from /var/tmp/rpm-tmp.50343 (%build)
[  574.400456] System halted.

Script_lightning
===

If anyone has any advice, I'd appreciate it.

Otherwise I will likely try virtualbox-ose from SLES11 SP1 this weekend.

Thanks
Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups