Discussion:
rhel 8 beta mock configs and EOLed mock configs
Miroslav Suchy
2018-11-15 22:05:24 UTC
Permalink
Hi,
I just released [1] new mock-core-config package which include new
rhelbeta-8-* configs.
This will allows you to build packages on top of RHEL 8 Beta. This is
temporary config. I put them there so you can experiment with your
builds and prepare for EPEL 8 once it will be available.
This config will be removed when Beta ends.

Additionally I moved these configs:
epel-5-i386.cfg
epel-5-x86_64.cfg
fedora-25-aarch64.cfg
fedora-25-armhfp.cfg
fedora-25-i386.cfg
fedora-25-ppc64.cfg
fedora-25-ppc64le.cfg
fedora-25-s390x.cfg
fedora-25-x86_64.cfg
fedora-26-aarch64.cfg
fedora-26-armhfp.cfg
fedora-26-i386.cfg
fedora-26-ppc64.cfg
fedora-26-ppc64le.cfg
fedora-26-s390x.cfg
fedora-26-x86_64.cfg

to /etc/mock/eol to clearly mark them as EOLed distribution. They are
there for archive purpose, I will not maintain them, but they should
generaly work. You can use them as:

mock -r eol/fedora-26-x86_64 foo.src.rpm

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2018-86a0a48569

Miroslav
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedora
Paul Howarth
2018-11-16 13:37:15 UTC
Permalink
On Thu, 15 Nov 2018 23:05:24 +0100
Post by Miroslav Suchy
Hi,
I just released [1] new mock-core-config package which include new
rhelbeta-8-* configs.
This will allows you to build packages on top of RHEL 8 Beta. This is
temporary config. I put them there so you can experiment with your
builds and prepare for EPEL 8 once it will be available.
This config will be removed when Beta ends.
I had a problem with building perl modules on RHEL 8 Beta using mock.
Perl is available via modules, either 5.26 (default) or 5.24
(alternative). I set

config_opts['module_enable'] = ['perl/default']

but when dnf tried to install "perl-generators" as a build requirement,
it complained that the best version was excluded - it thought that the
5.24 version was "better" than the 5.26 version. I had to set "best=0"
in the dnf configuration for the build to proceed.

Paul.
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproje
Orion Poplawski
2018-11-16 22:45:36 UTC
Permalink
Post by Miroslav Suchy
Hi,
I just released [1] new mock-core-config package which include new
rhelbeta-8-* configs.
This will allows you to build packages on top of RHEL 8 Beta. This is
temporary config. I put them there so you can experiment with your
builds and prepare for EPEL 8 once it will be available.
This config will be removed when Beta ends.
I had trouble with using it with a bootstrap configuration because there is no
distribution-gpg-keys package available, which led to:

Curl error (37): Couldn't read a file:// file for
file:///usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-beta
[Couldn't open file
/usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-beta]

I ended up adding:

config_opts['dnf_install_command'] = 'install dnf dnf-plugins-core
https://kojipkgs.fedoraproject.org//packages/distribution-gpg-keys/1.26/1.el7/noarch/distribution-gpg-keys-1.26-1.el7.noarch.rpm'

--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane ***@nwra.com
Boulder, CO 80301 https://www.nwra.com/
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@
Miroslav Suchý
2018-11-19 14:31:09 UTC
Permalink
Post by Orion Poplawski
Post by Miroslav Suchy
Hi,
I just released [1] new mock-core-config package which include new
rhelbeta-8-* configs.
This will allows you to build packages on top of RHEL 8 Beta. This is
temporary config. I put them there so you can experiment with your
builds and prepare for EPEL 8 once it will be available.
This config will be removed when Beta ends.
I had trouble with using it with a bootstrap configuration because there is no
Curl error (37): Couldn't read a file:// file for
file:///usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-beta
[Couldn't open file
/usr/share/distribution-gpg-keys/redhat/RPM-GPG-KEY-redhat8-beta]
config_opts['dnf_install_command'] = 'install dnf dnf-plugins-core
https://kojipkgs.fedoraproject.org//packages/distribution-gpg-keys/1.26/1.el7/noarch/distribution-gpg-keys-1.26-1.el7.noarch.rpm'
I hit this as well. This happened to me as well when you enable bootstrap.
One option is to modify 'dnf_install_command' (until EPEL is available) or to disable bootstrap.

Miroslav
_______________________________________________
devel mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to devel-***@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.or

Loading...