Mailinglist Archive: opensuse-buildservice (66 mails)

< Previous Next >
[opensuse-buildservice] strange OBS failure "base system is broken"

I am working on a new util-linux.spec that will replace unreadable multi-spec
per-partes build by a single spec file with multibuild and three flavors:
mini: Without systemd support. For staging purposes only.
standard: Full build of util-linux.
python: For all python flavors.

Everything is already converted, but I have a problem with util-linux-mini:
Local build works.
Server side build fails with a broken build root:
[ 192s] ... creating baselibs
[ 192s] chroot: failed to run command 'su': No such file or directory
[ 192s] ### VM INTERACTION START ###
[ 195s] [ 189.023976] sysrq: Power Off
[ 195s] [ 189.038905] reboot: Power down
[ 195s] ### VM INTERACTION END ###
[ 195s]
[ 195s] lamb20 failed "build util-linux.spec" at Thu Sep 3 01:49:11 UTC 2020.
[ 195s]

My previous attempt failed with a different error:
[ 188s] ... saving built packages
[ 188s] swapoff: error while loading shared libraries: cannot
open shared object file: No such file or directory
[ 189s] Unable to flush stdout: Text file busy
[ 189s] ### VM INTERACTION START ###
[ 189s] /.build/build-vm: line 304: echo: write error: Text file busy
[ 192s] [ 186.631112] sysrq: Power Off
[ 192s] [ 186.638388] reboot: Power down
[ 192s] ### VM INTERACTION END ###
[ 192s] No buildstatus set, either the base system is broken
[ 192s] or the build host has a kernel or hardware problem...

for a full log.

I don't know, why it happens, and all my attempt to prevent it by explicit
Requires/Conflicts fail.

Please note that the new spec file will require changes in the build of the
base system: Either the OBS will prevent util-linux-mini (to prevent dependency
on systemd), or affected packages will require util-linux-mini (and full build
will need to provide util-linux-mini (to allow live build without build root).

Additionally, I have a problem with baselibs.conf. The python flavor cannot
build requuested base libs. So I added
%if "<name>" == "standard"
But it apparently does not work:
[ 403s] bad line: %endif
The whole package:


Best Regards / S pozdravem,

Stanislav Brabec
software developer
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx
Křižíkova 148/34 (Corso IIa) tel: +420 284 084 060
186 00 Praha 8-Karlín fax: +420 284 084 001
Czech Republic
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >