[Bug 635084] New: Kiwi: grub fails because of missing libncurses
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c0 Summary: Kiwi: grub fails because of missing libncurses Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: BuildService AssignedTo: ms@novell.com ReportedBy: kkaempf@novell.com QAContact: adrian@novell.com CC: adrian@novell.com, coolo@novell.com Found By: Development Blocker: --- Trying to build a 11.3 appliance with OBS and a .kiwi file. The build itself succeeds but the resulting image fails to boot. A closer look at the build.log reveals: Aug-27 13:33:57 <1> : GRUB: /tmp/kiwiboot.hcMWeQ/usr/sbin/grub: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory Aug-27 13:33:57 <1> : EXEC [head -n 10 /usr/src/packages/KIWI-vmx/Spacewalk_Testsuite.x86_64-0.0.2.raw | file - | grep -q 'boot sector'] head: write error: Broken pipe head: write error done Two bugs here 1. The dependency of grub to libncurses5 is not honored 2. Kiwi not exiting with an error -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c1 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ms@novell.com |adrian@novell.com --- Comment #1 from Marcus Schaefer <ms@novell.com> 2010-08-27 13:48:23 UTC --- I'm sorry but this is all related to the obs environment kiwi is called in and I don't have any influence on it. You won't have any of these problems when using kiwi on a real build machine. assigning to obs maintainer -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c3 --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2010-08-27 14:04:44 UTC --- Reminder: I'm building on x86_64, so libncurses5-32bit is required -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c4 --- Comment #4 from Klaus Kämpf <kkaempf@novell.com> 2010-08-27 14:12:07 UTC --- For now its work-arounded through OBS config, thanks mls ! The root cause seems to be the call to 'grub'. The binary installed below ..kiwiroot... is called without setting LD_LIBRARY_PATH resp. without chroot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2010-08-27 14:13:33 UTC --- Now booting works (still with a "/boot/message: file not found" error :-/) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c6 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |ms@novell.com --- Comment #6 from Michael Schröder <mls@novell.com> 2010-08-27 16:33:05 UTC --- Reassigning to Marcus. Basically you can't be sure that the grub binary used by kiwi (installed in some tmp dir) can work with the libraries from the outside system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c7 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Status|NEW |ASSIGNED Summary|Kiwi: grub fails because of |kiwi: grub fails because of |missing libncurses |missing libncurses --- Comment #7 from Marcus Schaefer <ms@novell.com> 2010-08-29 09:04:40 UTC --- you are right it was pure luck that this issue did not came up earlier I will fix it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c8 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Marcus Schaefer <ms@novell.com> 2010-08-30 09:09:23 UTC --- fixed in master (factory submission will be on Friday) and for Studio (cluster update on Thursday) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c9 --- Comment #9 from Klaus Kämpf <kkaempf@novell.com> 2010-09-06 08:42:27 UTC --- Will this also be deployed in the build service ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c10 --- Comment #10 from Michael Schröder <mls@novell.com> 2010-09-06 08:47:17 UTC --- What do you mean by "deployed"? The build service uses the kiwi from the configured repositories. There is no fixed kiwi version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635084 https://bugzilla.novell.com/show_bug.cgi?id=635084#c11 --- Comment #11 from Klaus Kämpf <kkaempf@novell.com> 2010-09-06 09:50:59 UTC --- Marcus, can you please submit a fixed Kiwi to 11.3 and SLES11 SP1 also ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com