[opensuse-packaging] openSUSE_Leap_15.0/x86_64: kernel panic due to bash missing readline

Hi *, https://build.opensuse.org/package/live_build_log/home:berny:branches:fromgi... my package fails to build on OBS right when "booting kvm": [ 5s] booting kvm... [ 5s] ### VM INTERACTION START ### [ 5s] /usr/bin/qemu-kvm -nodefaults [...] ... [ 8s] /bin/bash: error while loading shared libraries: libreadline.so.8: \ cannot open shared object file: No such file or directory [ 8s] [ 1.878750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ... Is there anything I can do in my project, or is this a general issue? Thanks & have a nice day, Berny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Am 11.05.19 um 22:30 schrieb Bernhard Voelker:
Hi *,
https://build.opensuse.org/package/live_build_log/home:berny:branches:fromgi...
my package fails to build on OBS right when "booting kvm":
[ 5s] booting kvm... [ 5s] ### VM INTERACTION START ### [ 5s] /usr/bin/qemu-kvm -nodefaults [...] ... [ 8s] /bin/bash: error while loading shared libraries: libreadline.so.8: \ cannot open shared object file: No such file or directory [ 8s] [ 1.878750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ...
Is there anything I can do in my project, or is this a general issue?
It's in your project. Either remove the usage of Base:System (that's where your /bin/bash comes from) or fix your prjconf to preinstall all that's needed for your /bin/bash: seife@strolchi:~> osc buildinfo home:berny:branches:fromgit findutils openSUSE_Leap_15.0 x86_64|grep readl <bdep name="libreadline7" preinstall="1" notmeta="1" version="7.0" release="lp150.1.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" /> <bdep name="libreadline8" notmeta="1" version="8.0" release="lp150.14.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" /> -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On 5/12/19 12:46 PM, Stefan Seyfried wrote:
Am 11.05.19 um 22:30 schrieb Bernhard Voelker:
Hi *,
https://build.opensuse.org/package/live_build_log/home:berny:branches:fromgi...
my package fails to build on OBS right when "booting kvm":
[ 5s] booting kvm... [ 5s] ### VM INTERACTION START ### [ 5s] /usr/bin/qemu-kvm -nodefaults [...] ... [ 8s] /bin/bash: error while loading shared libraries: libreadline.so.8: \ cannot open shared object file: No such file or directory [ 8s] [ 1.878750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ...
Is there anything I can do in my project, or is this a general issue?
It's in your project.
Either remove the usage of Base:System (that's where your /bin/bash comes from) or fix your prjconf to preinstall all that's needed for your /bin/bash:
seife@strolchi:~> osc buildinfo home:berny:branches:fromgit findutils openSUSE_Leap_15.0 x86_64|grep readl <bdep name="libreadline7" preinstall="1" notmeta="1" version="7.0" release="lp150.1.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" /> <bdep name="libreadline8" notmeta="1" version="8.0" release="lp150.14.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" />
Hmm, I have to admit that I don't completely understand how this inheritance works, but removing and re-adding openSUSE_Leap_15.0 seems to have helped. Thanks & have a nice day, Berny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Am 12.05.19 um 18:38 schrieb Bernhard Voelker:
On 5/12/19 12:46 PM, Stefan Seyfried wrote
It's in your project.
Either remove the usage of Base:System (that's where your /bin/bash comes from) or fix your prjconf to preinstall all that's needed for your /bin/bash:
seife@strolchi:~> osc buildinfo home:berny:branches:fromgit findutils openSUSE_Leap_15.0 x86_64|grep readl <bdep name="libreadline7" preinstall="1" notmeta="1" version="7.0" release="lp150.1.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" /> <bdep name="libreadline8" notmeta="1" version="8.0" release="lp150.14.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" />
Hmm, I have to admit that I don't completely understand how this inheritance works, but removing and re-adding openSUSE_Leap_15.0 seems to have helped.
This removed Base:System from openSUSE_Leap_15.0 target, so this was one way to fix it ;-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

On 5/12/19 9:32 PM, Stefan Seyfried wrote:
Am 12.05.19 um 18:38 schrieb Bernhard Voelker:
On 5/12/19 12:46 PM, Stefan Seyfried wrote
It's in your project.
Either remove the usage of Base:System (that's where your /bin/bash comes from) or fix your prjconf to preinstall all that's needed for your /bin/bash:
seife@strolchi:~> osc buildinfo home:berny:branches:fromgit findutils openSUSE_Leap_15.0 x86_64|grep readl <bdep name="libreadline7" preinstall="1" notmeta="1" version="7.0" release="lp150.1.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" /> <bdep name="libreadline8" notmeta="1" version="8.0" release="lp150.14.1" arch="x86_64" project="Base:System" repository="openSUSE_Leap_15.0" />
Hmm, I have to admit that I don't completely understand how this inheritance works, but removing and re-adding openSUSE_Leap_15.0 seems to have helped.
This removed Base:System from openSUSE_Leap_15.0 target, so this was one way to fix it ;-)
I saw that - still, I didn't do anything different when I initially added the openSUSE_Leap_15.0 target. Strange. Thanks & have a nice day, Berny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Bernhard Voelker
-
Stefan Seyfried