#715 add epel-9 dependency for hyperscale9s-* builds
Closed: Fixed 2 years ago by arrfab. Opened 2 years ago by chantra.

c9s hyperscale builds have a dependency on epel and epel-next repos, which seems to be missing fro c9s hyperscale* configs on CBS.

As an example, when running:

cbs build --scratch hyperscale9s-packages-experimental-el9s /var/lib/mock/centos-stream-hyperscale-experimental-9-x86_64/result/rpm-4.16.1.3-11.1.hsx.el9.src.rpm 

it failed. build, and root.log, with:

DEBUG util.py:444:  No matches found for the following disable plugin patterns: local, spacewalk
DEBUG util.py:444:  No matching package to install: 'fsverity-utils-devel >= 1.4'
DEBUG util.py:446:  Package gawk-5.1.0-6.el9.x86_64 is already installed.
DEBUG util.py:446:  Package gcc-11.2.1-9.4.el9.x86_64 is already installed.
DEBUG util.py:446:  Package make-1:4.3-7.el9.x86_64 is already installed.
DEBUG util.py:446:  Package redhat-rpm-config-194-1.el9.noarch is already installed.
DEBUG util.py:444:  Not all dependencies satisfied
DEBUG util.py:444:  Error: Some packages could not be found.
DEBUG util.py:598:  Child return code was: 1
DEBUG util.py:169:  kill orphans

The same mock build, using mock config centos-stream-hyperscale-experimental-9-x86_64.cfg succeeds.

Can we add those deps if missing? Or is there something I am overlooking?
thanks


Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

default tags aren't configured to use epel9/epel9-next ( or even centos9s-buildroot), and epel is indeed not enabled on that particular tag :

cbs taginfo hyperscale9s-packages-experimental-el9s-build                                                                                                                                                                   1 
Tag: hyperscale9s-packages-experimental-el9s-build [2411]
Arches: x86_64 aarch64
Groups: build, srpm-build
Tag options:
  mock.new_chroot : 0
  mock.package_manager : 'dnf'
  mock.yum.module_hotfixes : 1
  rpm.macro.centos_hs : 1
  rpm.macro.dist : '.hsx.el9'
  rpm.macro.vendor : 'CentOS Hyperscale SIG'
This tag is a buildroot for one or more targets
Current repo: repo#896710: 2022-03-17 04:32:09.186096+00:00
Targets that build from this tag:
  hyperscale9s-packages-experimental-el9s
External repos:
    5 centos9s-baseos (http://mirror.stream.centos.org/9-stream/BaseOS/$arch/os/, merge mode: bare), arches: inherited from tag
   10 centos9s-appstream (http://mirror.stream.centos.org/9-stream/AppStream/$arch/os/, merge mode: bare), arches: inherited from tag
   15 centos9s-crb (http://mirror.stream.centos.org/9-stream/CRB/$arch/os/, merge mode: bare), arches: inherited from tag
   20 centos9s-buildroot (https://cbs.centos.org/kojifiles/repos/c9s-buildroot/$arch/, merge mode: bare), arches: inherited from tag
Inheritance:
  5    .... buildsys9s-release [2363]
  10   .... hyperscale9s-packages-experimental-candidate [2408]

So if you want these repos to be added, please ensure that it's asked through infra ticket at creating time (or other ticket to ask to modify existing tags).
@dcavalca : is that ok for you for that tag ? or should it be enabled to other tags too ?

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)
- Issue tagged with: cbs, low-gain, low-trouble

2 years ago

Yes, we need EPEL for this tag, thanks! @ngompa, do you need this enabled for the spin tag as well?

Yes please. EPEL and EPEL-Next 9 should be on all tags.

Added to :

hyperscale9s-packages-experimental-el9s-build
hyperscale9s-packages-facebook-el9s-build
hyperscale9s-packages-hotfixes-el9s-build
hyperscale9s-packages-main-el9s-build
hyperscale9s-packages-spin-el9s-build

Added external repo epel9 to tag hyperscale9s-packages-experimental-el9s-build (priority 25)
Added external repo epel9-next to tag hyperscale9s-packages-experimental-el9s-build (priority 30)

Added external repo epel9 to tag hyperscale9s-packages-facebook-el9s-build (priority 25)
Added external repo epel9-next to tag hyperscale9s-packages-facebook-el9s-build (priority 30)

Added external repo epel9 to tag hyperscale9s-packages-hotfixes-el9s-build (priority 25)
Added external repo epel9-next to tag hyperscale9s-packages-hotfixes-el9s-build (priority 30)

Added external repo epel9 to tag hyperscale9s-packages-main-el9s-build (priority 25)
Added external repo epel9-next to tag hyperscale9s-packages-main-el9s-build (priority 30)

Added external repo epel9 to tag hyperscale9s-packages-spin-el9s-build (priority 25)
Added external repo epel9-next to tag hyperscale9s-packages-spin-el9s-build (priority 30)

PS : as a reminder : it's still not the default, so don't forget to ask that at tag creation time through ticket

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

```

PS : as a reminder : it's still not the default, so don't forget to ask
that at tag creation time through ticket
``

@dcavalca @ngompa is there any places where this should be captured? Wiki
or such?

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog