appstream on AlamLinux:8 is broken
In our meta.xml we get alma 8 via: <path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <arch>x86_64</arch> `BuildRequires: ruby` fails as unresolvable because ruby is in appstream for A8, so we add this: <path project="openSUSE.org:AlmaLinux:8" repository="appstream"/> but ruby remains unresolvable. I believe it is because appstream on AlamLinux:8 is broken (Screenshot ➜ https://ibb.co/kDQKxPv) If the image above is broken: 1. go to https://build.opensuse.org/project/show/AlmaLinux:8 2. under Build Results all 3 appstream arch’s are red triangles w/ exclamation point 3. mouseover x86_64 and you’ll see both a “repository set up is broken” error and an “unresolvable preinstall” error about nothing providing `rpm` If it helps our `openSUSE.org`’s project’s meta.xml is: <project name="openSUSE.org"> <title>Standard OBS instance at build.opensuse.org</title> <description>This instance delivers the default build targets for OBS.</description> <remoteurl>https://api.opensuse.org/public</remoteurl> </project> HTH, Dan
On Donnerstag, 9. November 2023, 22:01:14 CET Dan Muey wrote:
In our meta.xml we get alma 8 via:
<path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <arch>x86_64</arch>
`BuildRequires: ruby` fails as unresolvable because ruby is in appstream for A8, so we add this:
<path project="openSUSE.org:AlmaLinux:8" repository="appstream"/>
but ruby remains unresolvable.
I believe it is because appstream on AlamLinux:8 is broken (Screenshot ➜ https://ibb.co/kDQKxPv)
If the image above is broken:
1. go to https://build.opensuse.org/project/show/AlmaLinux:8 2. under Build Results all 3 appstream arch’s are red triangles w/ exclamation point 3. mouseover x86_64 and you’ll see both a “repository set up is broken” error and an “unresolvable preinstall” error about nothing providing `rpm`
it does not look broken to me, but it is not supposed to be used alone. Maybe just use "standard" repo instead which also includes "appstream" ? -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Thank you Adrian. Clarifications inline!
it does not look broken to me,
Is https://build.opensuse.org/project/show/AlmaLinux:8 the wrong place to look then? I ask because if you go to that URL and look under Build Results all 3 appstream arch’s are red triangles w/ exclamation point If you mouseover, say, x86_64 you’ll see both a “repository set up is broken” error and an “unresolvable preinstall” error about nothing providing `rpm`
but it is not supposed to be used alone
Maybe just use "standard" repo instead which also includes "appstream" ?
We are using standard: <path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <arch>x86_64</arch> Changing it to this … <path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <path project="openSUSE.org:AlmaLinux:8" repository="appstream"/> <arch>x86_64</arch> … did not make ruby findable.
On Montag, 13. November 2023, 23:27:15 CET Dan Muey wrote:
Thank you Adrian. Clarifications inline!
it does not look broken to me,
Is https://build.opensuse.org/project/show/AlmaLinux:8 the wrong place to look then?
I ask because if you go to that URL and look under Build Results all 3 appstream arch’s are red triangles w/ exclamation point
If you mouseover, say, x86_64 you’ll see both a “repository set up is broken” error and an “unresolvable preinstall” error about nothing providing `rpm`
that is true if you would use the repo alone. The webui is misleading here a bit.
but it is not supposed to be used alone
Maybe just use "standard" repo instead which also includes "appstream" ?
We are using standard:
<path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <arch>x86_64</arch>
Changing it to this …
<path project="openSUSE.org:AlmaLinux:8" repository="standard"/> <path project="openSUSE.org:AlmaLinux:8" repository="appstream"/> <arch>x86_64</arch>
… did not make ruby findable.
if at all the opposite order, but as I said appstream is included in standard. ruby is part of a redhat module only, so you need to activate it in prjconf. I do not know the module name, but it would be something like ExpandFlags: module:ruby-1.0 in your prjconf. -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev
Awesome thanks! `ExpandFlags: module:ruby-2.7` got it resolvable and its building. Thanks so much 👍
participants (2)
-
Adrian Schröter
-
Dan Muey