Mailinglist Archive: opensuse-buildservice (80 mails)

< Previous Next >
Re: [opensuse-buildservice] Modularity Support in OBS
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 15 Nov 2019 15:07:44 +0100
  • Message-id: <1628194.Yx9SUclYOm@linux-ywca>
On Freitag, 15. November 2019, 15:00:29 CET Carsten Höger wrote:
On 15. Nov 2019, at 14:54 , Carsten Höger <choeger@xxxxxxxxxxxxxxxx>
wrote:
we have added simplistic support for RedHat's modules [1] (aka
"Application Streams). Basically Modularity is a way to have
multiple repositories wrapped into one.

The default in OBS is that no module packages are used at all.
If you need packages from some module (e.g. python36), you'll
need to enable the module you want in the project config:

ExpandFlags: module:python36-3.6

This enables module "python36" with stream version "3.6".

Just add more "module:XXX-YYY" arguments if you need multiple
modules. (You can also use multiple ExpandFlags lines.)

If you're wondering about what else you can do with a project
config, please check out our documentation [2].

[1] https://docs.fedoraproject.org/en-US/modularity/
[2]
https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.prjconf
ig.html>
We're having projects requiring perl-libs.

perl-libs, however is provided in two different versions:

$ dnf module list

Name Stream Profiles Summary

[...]

perl 5.24 common [d], minimal
Practical Extraction and Report Language perl 5.26 [d]
common [d], minimal Practical Extraction and Report
Language

[...]

http://mirror.centos.org/centos-8/8/BaseOS/x86_64/os/Packages/ contains
perl-libs-5.26
http://mirror.centos.org/centos-8/8/AppStream/x86_64/os/Packages/
contains perl-libs-5.24

I wasn't able to build a construct to ignore the 5.24 version without
removing AppStream or reordering it.

e.g.

ExpandFlags: !module:perl-5.24 module:mariadb-10.3

doesn't seem to work.

Is that a known issue, missing feature or am I doing something wrong?

Forgot to mention the resulting problem:

OBS doesn't seem to find the perl-libs version 5.26 in that case, which is
needed by most of the perl modules and thus all builds fail with unresolved
errors.

You may have BaseOS repo before Appstream. We had this as well as workaround
for dependency problems. (AppStream needs overwrite packages from BaseOS).

You also need an

<archfilter>x86_64</archfilter>

in your DoD definition for Appstream to block i586 packages. Check our
CentOS:CentOS-8 project meta in doubt.

--

Adrian Schroeter <adrian@xxxxxxx>
Build Infrastructure Project Manager

SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
(HRB 247165, AG München), Geschäftsführer: Felix Imendörffer




--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >