Unable to build fc25 chroots with mock

Description

Mock fails when trying to build the chroot for fedora25, on installing '@buildsys-build' group(with dnf) stage.

Open bug: https://bugzilla.redhat.com/show_bug.cgi?id=1360781
Temporarily workaround: add the 'libcrypt' package to '.packages.fc25' file.
Possible solution: patch mock-fc25.cfg file in Jenkins repository to always install 'libcrypt' first.

Until fixed this will block us from building anything with mock on fc25(hit it when trying to build fc25 RPMs for lago).

Error logs:

Activity

Show:

Anton Marchukov December 20, 2016 at 3:01 PM

I support in that we should not try to maintain non supported options ourselves if we have options.

I would better use fedora executors with dnf for fedora mock jobs. This is part of reality that using yum with FC25 is no longer supported and will never be supported, that mock uses external package management tool to install packages and that there is no dnf in centos7. All this combined means that we cannot normally use Fedora mock on CentOS right now. And since we have Fedora slaves we can run such jobs on Fedora.

Former user December 19, 2016 at 8:35 AM

We have Fedora slaves attached to the Jenkins and I prepared a few fc25 ones as part of . Maybe we should make fc25 jobs run only on fc25 slaves for now? Does mock itself support dnf?

Barak Korren December 18, 2016 at 10:09 AM

So we need to think if we can just use 'dnf' in fc25 mock config instead.

We cant. We need it to run on el7 hosts. Those do not have DNF.

Nadav Goldin December 18, 2016 at 9:47 AM

As commented in https://bugzilla.redhat.com/show_bug.cgi?id=1360781#c28 , changing the installation to 'dnf' works. So we need to think if we can just use 'dnf' in fc25 mock config instead.

Barak Korren December 15, 2016 at 9:56 AM

In order words, just implement what already described above

Barak Korren December 15, 2016 at 9:55 AM

I think already found a solution for this and used it for Lago tests.
Its probably something we can hard-wire into the mock *.cnf file to solve for everyone.

Eyal Edri December 14, 2016 at 2:51 PM

thoughts? we might wait a long time until the bug is fixed.

Fixed

Details

Assignee

Reporter

Priority

Created December 12, 2016 at 5:05 PM
Updated February 2, 2017 at 7:40 AM
Resolved January 1, 2017 at 2:23 PM