Hi Michael, is there a way to update a 2.10 installation to a version containing modules support? I just tried to update packages from 1 | OBS | OBS | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/OBS:/Server:/2.10/openSUSE_15.1/ | to 2 | OBS-Unstable | OBS-Unstable | Yes | (r ) Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/OBS:/Server:/Unstable/openSUSE_15.... | but not I get ● obsdodup.service - OBS dodup, updates download on demand metadata Loaded: loaded (/usr/lib/systemd/system/obsdodup.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2019-11-14 11:42:49 CET; 3min 7s ago Process: 31615 ExecStop=/usr/lib/obs/server/bs_dodup --stop (code=exited, status=2) Process: 31696 ExecStart=/usr/lib/obs/server/bs_dodup --logfile dodup.log (code=exited, status=2) Main PID: 31696 (code=exited, status=2) Nov 14 11:42:48 buildservice.test.open-xchange.com systemd[1]: Started OBS dodup, updates download on demand metadata. Nov 14 11:42:49 buildservice.test.open-xchange.com bs_dodup[31696]: Can't locate Build/Modules.pm in @INC (you may need to install the Build::Modules module) (@INC contains: /usr/lib/obs/server /usr/lib/obs/server/build /usr/lib/perl5/> Nov 14 11:42:49 buildservice.test.open-xchange.com bs_dodup[31696]: BEGIN failed--compilation aborted at /usr/lib/obs/server/bs_dodup line 30. Nov 14 11:42:49 buildservice.test.open-xchange.com systemd[1]: obsdodup.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Nov 14 11:42:49 buildservice.test.open-xchange.com systemd[1]: obsdodup.service: Unit entered failed state. Nov 14 11:42:49 buildservice.test.open-xchange.com systemd[1]: obsdodup.service: Failed with result 'exit-code'.
On 13. Nov 2019, at 14:03 , Michael Schroeder
wrote: Hi all,
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.prjconfig.h...
Enjoy, Michael.
-- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- kind regards, Carsten Hoeger Engineering Services Email: carsten.hoeger@open-xchange.com ------------------------------------------------------------------------------ Open-Xchange AG, Hohenzollernring 72, 50672 Cologne, District Court Cologne HRB 95366 Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael Knapstein, Stephan Martin Chairman of the Board: Richard Seibt European Office: Open-Xchange GmbH, Olper Huette 5f, D-57462 Olpe, Germany, District Court Siegen, HRB 8718 Managing Director: Frank Hoberg US Office: Open-Xchange. Inc., 530 Lytton Avenue, Palo Alto, CA 94301, USA ------------------------------------------------------------------------------ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org