Re: Mock build Fedora package on CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/16/20 9:39 AM, Miroslav Suchý wrote:
https://github.com/rpm-software-management/mock/wiki/Feature-container-for-bootstrap

Right, but it still doesn't work.

[pilcher@breadbox ~]$ cat /etc/centos-release
CentOS Linux release 7.7.1908 (Core)

[pilcher@breadbox ~]$ cd /etc/mock/templates
[pilcher@breadbox templates]$ grep bootstrap_image fedora-31.tpl
config_opts['bootstrap_image'] = 'fedora:31'

[pilcher@breadbox templates]$ cd
[pilcher@breadbox ~]$ mock --bootstrap-chroot --use-bootstrap-image -r fedora-31-x86_64 thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
INFO: mock.py version 1.4.21 starting (python version = 3.6.8)...
 (...)
No such command: builddep. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(builddep)'"
Finish: build setup for thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
Finish: build phase for thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
ERROR: Exception(thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm) Config(fedora-31-x86_64) 1 minutes 21 seconds
INFO: Results and/or logs in: /var/lib/mock/fedora-31-x86_64/result
ERROR: builddep command missing.
Please install package dnf-plugins-core.

--
========================================================================
                 In Soviet Russia, Google searches you!
========================================================================
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux