[opensuse-packaging] Need help on a Evergreen kernel module
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@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Fri, 14 Jan 2011 23:52:00 -0500
Greg Freemyer
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
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 Hi Use gcc 4.3 your using 4.1? https://bugzilla.novell.com/show_bug.cgi?id=467218
-- Cheers Malcolm °¿° (Linux Counter #276890) SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.24-0.2-default up 1 day 3:22, 2 users, load average: 0.17, 0.10, 0.09 GPU GeForce 8600 GTS Silent - Driver Version: 260.19.29 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, Jan 15, 2011 at 12:36 AM, Malcolm
On Fri, 14 Jan 2011 23:52:00 -0500 Greg Freemyer
wrote: 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
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 Hi Use gcc 4.3 your using 4.1? https://bugzilla.novell.com/show_bug.cgi?id=467218
-- Cheers Malcolm °¿° (Linux Counter #276890)
Definitely gcc 4.1 is in use, but looking at the build log for virtualbox for the 11.1 release that's what it used, so I definitely don't want to change that. I diffed the build log for the original version in 11.1:updates and from my project which has the kernel updated to 2.6.32, but no other changes. I got 7,000 lines of diff, but I think the key area is: === < my project that fails to build
original 11.1:updates project that succeeds
7768,7771d7763 < kBuild: Installing tstInt => /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/tstInt < kmk_builtin_install -m 0755 -- /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/obj/tstInt/tstInt /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/tstInt < kBuild: Installing tstLow => /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/testcase/tstLow < kmk_builtin_install -m 0755 -- /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/obj/tstLow/tstLow /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/testcase/tstLow 7773a7766,7770
kBuild: Installing tstLow => /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/testcase/tstLow kmk_builtin_install -m 0755 -- /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/obj/tstLow/tstLow /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/testcase/tstLow /usr/lib64/gcc/x86_64-suse-linux/4.1.3/../../../../x86_64-suse-linux/bin/ld: error in /usr/lib64/gcc/x86_64-suse-linux/4.1.3/crtend.o(.eh_frame); no .eh_frame_hdr table will be created. kBuild: Installing tstInt => /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/tstInt kmk_builtin_install -m 0755 -- /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/obj/tstInt/tstInt /usr/src/packages/BUILD/VirtualBox-2.0.6/out/linux.amd64/release/bin/tstInt 7783,7788c7780,10326 < /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.amd64/release/obj/vboxdrv/linux/SUPDrv-linux.o] Error 1 < kmk[3]: *** Waiting for unfinished jobs....
The missing members in particular has me concerned. My feeling is that trying to get VirtualBox from 11.1 to compile with the 2.6.32 kernel may just be a bad idea for Evergreen. My thought is we need to either stick with the 2.6.27 kernel, or we need to start pulling packages like virtualbox that are dependant on kernel structures from SLE 11 SP1 Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Greg Freemyer
-
Malcolm