nothing provides kernel-obs-build
Hi, I'm having a weird issue with the kiwi integration test from here: https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Tes... The unresolvables from that page says: osc buildinfo -M Disk images x86_64 <buildinfo project="Virtualization:Appliances:Images:Testing_x86:fedora" repository="images" package="test-image-live-disk:Disk" downloadurl="https://download.opensuse.org/repositories"> <arch>x86_64</arch> <error>unresolvable: vminstalls: nothing provides kernel-obs-build</error> <srcmd5>5d67112c7fde1f103ab09520e067ff31</srcmd5> <verifymd5>e1670184a25866b4021fe1a7a6eb306f</verifymd5> <rev>21</rev> <specfile>_service:obs_scm:appliance.kiwi</specfile> <file>_service:obs_scm:appliance.kiwi</file> <versrel>2.0.0-21</versrel> <bcnt>5</bcnt> <release>21.5</release> <debuginfo>0</debuginfo> <imagetype>oem</imagetype> </buildinfo> I could not come across a way to fix this. Any idea ? Any kernel for the worker is fine to build these images and I actually normally use kernel-default, but setting this in the prjconf has no effect. Thanks much Regards, Marcus -- Public Key available via: https://keybase.io/marcus_schaefer/key.asc keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg HRB: 21284 (AG Nürnberg) Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton http://www.suse.de -------------------------------------------------------
On Donnerstag, 1. Juli 2021, 10:47:26 CEST Marcus Schäfer wrote:
Hi,
I'm having a weird issue with the kiwi integration test from here:
https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Tes...
The unresolvables from that page says:
osc buildinfo -M Disk images x86_64 <buildinfo project="Virtualization:Appliances:Images:Testing_x86:fedora" repository="images" package="test-image-live-disk:Disk" downloadurl="https://download.opensuse.org/repositories"> <arch>x86_64</arch> <error>unresolvable: vminstalls: nothing provides kernel-obs-build</error> <srcmd5>5d67112c7fde1f103ab09520e067ff31</srcmd5> <verifymd5>e1670184a25866b4021fe1a7a6eb306f</verifymd5> <rev>21</rev> <specfile>_service:obs_scm:appliance.kiwi</specfile> <file>_service:obs_scm:appliance.kiwi</file> <versrel>2.0.0-21</versrel> <bcnt>5</bcnt> <release>21.5</release> <debuginfo>0</debuginfo> <imagetype>oem</imagetype> </buildinfo>
I could not come across a way to fix this.
Any idea ?
you have a hand maintained list of repositories in your kiwi file, you need to add OBS:DefaultKernel / standard repository there. Or add the fedora path into your project meta repository and let OBS expand it: <repository name="images"> <path project="Fedora:34" repository="name" /> <arch>x86_64</arch> </repository>
Any kernel for the worker is fine to build these images and I actually normally use kernel-default, but setting this in the prjconf has no effect.
Thanks much
Regards, Marcus
--
Adrian Schroeter
Hi,
you have a hand maintained list of repositories in your kiwi file, you need to add
OBS:DefaultKernel / standard
Ah ok, that helped thanks. btw: I have moved the project to use obsrepositories but I still had to add the "OBS:DefaultKernel" project path in the prj config
Or add the fedora path into your project meta repository and let OBS expand it:
So just adding the Fedora:34 repo in the prj config did not solve the issue. After I added the OBS:DefaultKernel repo it started to work again just mentioning in case the behavior should be different Thanks Regards, Marcus -- Public Key available via: https://keybase.io/marcus_schaefer/key.asc keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg HRB: 21284 (AG Nürnberg) Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton http://www.suse.de -------------------------------------------------------
On Jul 01 2021, Marcus Schäfer wrote:
So just adding the Fedora:34 repo in the prj config did not solve the issue.
You need to put that last in the list. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
On Thu, Jul 01, 2021 at 10:56:06AM +0200, Adrian Schröter wrote:
On Donnerstag, 1. Juli 2021, 10:47:26 CEST Marcus Schäfer wrote:
Hi,
I'm having a weird issue with the kiwi integration test from here:
https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Tes...
The unresolvables from that page says:
osc buildinfo -M Disk images x86_64 <buildinfo project="Virtualization:Appliances:Images:Testing_x86:fedora" repository="images" package="test-image-live-disk:Disk" downloadurl="https://download.opensuse.org/repositories"> <arch>x86_64</arch> <error>unresolvable: vminstalls: nothing provides kernel-obs-build</error> <srcmd5>5d67112c7fde1f103ab09520e067ff31</srcmd5> <verifymd5>e1670184a25866b4021fe1a7a6eb306f</verifymd5> <rev>21</rev> <specfile>_service:obs_scm:appliance.kiwi</specfile> <file>_service:obs_scm:appliance.kiwi</file> <versrel>2.0.0-21</versrel> <bcnt>5</bcnt> <release>21.5</release> <debuginfo>0</debuginfo> <imagetype>oem</imagetype> </buildinfo>
I could not come across a way to fix this.
Any idea ?
you have a hand maintained list of repositories in your kiwi file, you need to add
OBS:DefaultKernel / standard
repository there.
This actually doesn't make sense, as the kernel-obs-build package will not be put on the image. So there also is a glitch in OBS: it tries to expand the vminstall dependencies even if they are not needed. Cheers, Michael. -- Michael Schroeder SUSE Software Solutions Germany GmbH mls@suse.de GF: Felix Imendoerffer HRB 36809, AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
On Jul 01 2021, Michael Schroeder wrote:
This actually doesn't make sense, as the kernel-obs-build package will not be put on the image.
But it is still needed for building.
So there also is a glitch in OBS: it tries to expand the vminstall dependencies even if they are not needed.
The package is built in a KVM container, so it needs all VMInstall packages. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
On Donnerstag, 1. Juli 2021, 12:11:00 CEST Michael Schroeder wrote:
On Thu, Jul 01, 2021 at 10:56:06AM +0200, Adrian Schröter wrote:
On Donnerstag, 1. Juli 2021, 10:47:26 CEST Marcus Schäfer wrote:
Hi,
I'm having a weird issue with the kiwi integration test from here:
https://build.opensuse.org/project/show/Virtualization:Appliances:Images:Tes...
The unresolvables from that page says:
osc buildinfo -M Disk images x86_64 <buildinfo project="Virtualization:Appliances:Images:Testing_x86:fedora" repository="images" package="test-image-live-disk:Disk" downloadurl="https://download.opensuse.org/repositories"> <arch>x86_64</arch> <error>unresolvable: vminstalls: nothing provides kernel-obs-build</error> <srcmd5>5d67112c7fde1f103ab09520e067ff31</srcmd5> <verifymd5>e1670184a25866b4021fe1a7a6eb306f</verifymd5> <rev>21</rev> <specfile>_service:obs_scm:appliance.kiwi</specfile> <file>_service:obs_scm:appliance.kiwi</file> <versrel>2.0.0-21</versrel> <bcnt>5</bcnt> <release>21.5</release> <debuginfo>0</debuginfo> <imagetype>oem</imagetype> </buildinfo>
I could not come across a way to fix this.
Any idea ?
you have a hand maintained list of repositories in your kiwi file, you need to add
OBS:DefaultKernel / standard
repository there.
This actually doesn't make sense, as the kernel-obs-build package will not be put on the image. So there also is a glitch in OBS: it tries to expand the vminstall dependencies even if they are not needed.
his building "images" repo from his project has no path elements. So the kiwi
repositories are also used for building up the build environment.
And for getting a working Fedora 34 build environment, you need to get the kernel-obs-build
fallback package atm and therefore the additional repository.
--
Adrian Schroeter
On Thu, Jul 01, 2021 at 01:16:15PM +0200, Adrian Schröter wrote:
On Donnerstag, 1. Juli 2021, 12:11:00 CEST Michael Schroeder wrote:
This actually doesn't make sense, as the kernel-obs-build package will not be put on the image. So there also is a glitch in OBS: it tries to expand the vminstall dependencies even if they are not needed.
his building "images" repo from his project has no path elements. So the kiwi repositories are also used for building up the build environment.
Seems like Marcus meanwhile added some path elements. (We should fix that glitch nevertheless.) Cheers, Michael. -- Michael Schroeder SUSE Software Solutions Germany GmbH mls@suse.de GF: Felix Imendoerffer HRB 36809, AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
Hi,
Seems like Marcus meanwhile added some path elements. (We should fix that glitch nevertheless.)
Yes I moved it after Adrian's initial post. It started to work after I added OBS:DefaultKernel explicitly. Andreas told me that "Fedora:34" has to be last in the list in order for it to resolve correctly, but that I can't change because I don't want to give Fedora:EPEL:8 a higher prio than Fedora:34. So I ended up with the following paths <repository name="images"> <path project="Virtualization:Appliances:Staging" repository="Fedora_34"/> <path project="Fedora:34" repository="standard"/> <path project="Fedora:EPEL:8" repository="standard"/> <path project="OBS:DefaultKernel" repository="standard"/> <arch>x86_64</arch> </repository> and that worked Cheers, Marcus -- Public Key available via: https://keybase.io/marcus_schaefer/key.asc keybase search marcus_schaefer ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg HRB: 21284 (AG Nürnberg) Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton http://www.suse.de -------------------------------------------------------
participants (4)
-
Adrian Schröter
-
Andreas Schwab
-
Marcus Schäfer
-
Michael Schroeder