On 1/18/20 5:07 AM, Nico Kadel-Garcia wrote:
The inserted arguments are order sensitive, and need to be in the
right place in fedora-31.tmpl on the latest release of mock and
mock-core-cnfigs. See my notes at:
https://github.com/rpm-software-management/mock/issues/390
And use this in /etc/mock/templates/fedora-31.tmpl
config_opts['bootstrap_image'] = 'fedora:31'
config_opts['use_bootstrap_image'] = True
config_opts['use_bootstrap_container'] = True
This uses podman to download an OS image, installs that, uses that to
run mock tools to build a new image, etc. It's a bootstrap process,
it's slow, and I've found it to be burdensome and fragile, not
allowing operation on certain host server filesystems. And no, I don't
remember the list of forbidden filesystems.
I was aware of that issue, but I wasn't aware that it affected the
command-line options. After editing fedora-31.tpl, I can now see mock
pulling the container image and rebuilding the root cache.
Unfortunately, I still get the same error in the end:
Start: build phase for thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
Start: build setup for thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
warning: line 206: It's not recommended to have unversioned Obsoletes:
Obsoletes: thunderbird-lightning
warning: extra tokens at the end of %endif directive in line 625:
%endif # build_langpacks
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1578960000
Wrote: /builddir/build/SRPMS/thunderbird-68.4.1-1.mzbz1526765.fc31.src.rpm
Failed to set locale, defaulting to C.UTF-8
No matches found for the following disable plugin patterns: local,
spacewalk
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) 3 minutes 5 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