[packman] FYI: i586 dead, x86_64 TW lot of "failed build attempts"

Stefan Botter jsj at jsj.dyndns.org
Sun Sep 26 11:01:16 CEST 2021


Hi Stefan,

Am Samstag, den 25.09.2021, 11:49 +0200 schrieb Stefan Seyfried:
:
> OK, I retried on a 15.3 machine and it fails the same way as on PMBS.

PMBS and all workers are still 15.2, and I use the Stable branch from
OBS 2.10 as installation source.

> The fun thing is: the rootfs can be mounted but for some reason it is 
> not deemed "usable_root" by dracut
> 
> debugged this and found, that "/sys" is missing.
> 
> And alas, the update of the "build" package from
> 
> * Fri Aug 20 2021 Adrian Schröter <adrian at suse.de>
> Features:
> ...
> - Also create the /sys dir when preinstalling (to satisfy dracut)
> 
> The commit in github is much older:
> 
> commit 207a4729849c055f12ff8592e927a3e3db236097
> Author: Michael Schroeder <mls at suse.de>
> Date:   Wed Feb 24 11:31:48 2021 +0100
> 
>      Also create the /sys dir when preinstalling
> 
>      The background for this change is that dracut has a usable_root()
>      function that checks the existance of /proc, /sys, and /dev.
> 
> diff --git a/init_buildsystem b/init_buildsystem
> index 80dcdb7..b5106d2 100755
> --- a/init_buildsystem
> +++ b/init_buildsystem
> @@ -569,6 +569,7 @@ fi
>   mkdir -p "$BUILD_ROOT" || cleanup_and_exit 4
>   mkdir -p "$BUILD_ROOT/.build" || cleanup_and_exit 4
>   mkdir -p "$BUILD_ROOT/proc" || cleanup_and_exit 4
> +mkdir -p "$BUILD_ROOT/sys" || cleanup_and_exit 4
>   mkdir -p "$BUILD_ROOT/dev/pts" || cleanup_and_exit 4
>   touch $BUILD_IS_RUNNING
> 
> 
> I did simply add the "mkdir -p $BUILD_ROOT/sys" to 
> /usr/lib/build/init_buildsystem on my 15.3 system and now everything 
> works locally.
> Doing the same on your OBS server machine should do the trick as well 
> (the workers fetch the build code from the OBS server IIRC).

Thank you very much! This did the trick, also on 15.2/2.10.
Tumbleweed builds are working again, I will start the 2 old workers too.

> Or just update to the latest version of the build package :-)

Nice suggestion, but where do I get the up-to-date-version of build?
Definitively not from the
https://download.opensuse.org/repositories/OBS:/Server:/2.10 branch.


Thanks again, and have a nice remaining weekend,

Stefan
-- 
Stefan Botter zu Hause
Bremen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20210926/c1e786b5/attachment.sig>


More information about the Packman mailing list