Re: Mock build Fedora package on CentOS 7

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

 



On 1/18/20 12:57 PM, Nico Kadel-Garcia wrote:
This is turning into a "debug mock on CentOS" discussion, not a Fedora
discussion per se. Please let me know if it should be over in the mock
github.com issues instead.

Indeed. My original hope was that I was simply missing something that
was obvious to folks who do this more often.  (I only started on this
path because the thunderbird RPM takes so painfully long to rebuild, and
my CentOS 7 server is much more powerful than my Fedora workstation.)

OTOH, this issue is probably(?) fairly specific to building Fedora
packages.

I think you're missing some of the options I've suggested for dnf
based operating systems, or fedora-31.tmpl in particular in my
published mock-core-configs.spec file.  And is you "mock" up to the
latest reason from EPEL I'll urge you to publish a diff between the
RPM published fedora-31.tmpl and yours to isolate the issue.

AFAIK, I have the latest version of mock:

[root@breadbox templates]# rpm -q mock mock-core-configs
mock-1.4.21-1.el7.noarch
mock-core-configs-31.7-1.el7.noarch

Here is the diff:

[root@breadbox templates]# diff -u fedora-31.tpl.orig fedora-31.tpl
--- fedora-31.tpl.orig  2019-11-01 09:17:14.000000000 -0500
+++ fedora-31.tpl       2020-01-18 16:49:47.973139724 -0600
@@ -9,6 +9,8 @@
 config_opts['releasever'] = '31'
 config_opts['package_manager'] = 'dnf'
 config_opts['bootstrap_image'] = 'fedora:31'
+config_opts['use_bootstrap_image'] = True
+config_opts['use_bootstrap_container'] = True

 config_opts['yum.conf'] = """
 [main]

--
========================================================================
                 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