[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24506#comment-24506
 ] 

Barak Korren commented on OVIRT-935:
------------------------------------

I think [~ngol...@redhat.com] 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.

> Unable to build fc25 chroots with mock
> --------------------------------------
>
>                 Key: OVIRT-935
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-935
>             Project: oVirt - virtualization made easy
>          Issue Type: Improvement
>            Reporter: Nadav Goldin
>            Assignee: infra
>
> 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:
> {code}
> DEBUG util.py:502:  Executing command: ['/usr/bin/yum-deprecated', 
> '--installroot', 
> '/var/lib/mock/fedora-25-x86_64-2474d86945a1de9c6d14549ec2401b9c-8291/root/', 
> '--releasever', '25', 'install', '@buildsys-build', 'git', 'python', 
> 'python-dulwich', 'python-setuptools', 'yum', 'yum-utils', 
> '--setopt=tsflags=nocontexts'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 
> ....
> DEBUG util.py:421:  Yum command has been deprecated, use dnf instead.
> DEBUG util.py:421:  See 'man dnf' and 'man yum2dnf' for more information.
> DEBUG util.py:421:  Error: libcrypt conflicts with 
> libcrypt-nss-2.24-3.fc25.x86_64
> DEBUG util.py:421:  Error: libcrypt-nss conflicts with 
> libcrypt-2.24-3.fc25.x86_64
> DEBUG util.py:421:   You could try using --skip-broken to work around the 
> problem
> DEBUG util.py:421:   You could try running: rpm -Va --nofiles --nodigest
> DEBUG util.py:557:  Child return code was: 1
> DEBUG util.py:180:  kill orphans
> {code}



--
This message was sent by Atlassian JIRA
(v1000.621.3#100023)
_______________________________________________
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra

Reply via email to