Re: How to make fedpkg --release epel9 mockbuild use crb?

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

 



Thanks for your answer.

I get this this error:
mockbuild.exception.ConfigError: Could not find included config file: /tmp/epel-9-x86_64.j_mo4dzgmockconfig/templates/centos-stream-9.tpl

Copying this templates/centos-stream-9.tpl doesn't help.

I've tried this instead:
sudo ln -s /etc/mock/centos-stream-9-x86_64.cfg /etc/mock/epel-9-x86_64.cfg

And I get this error:
RPM build errors:                                                                                                                                        
+ %pyproject_buildrequires -t                                                                                                                            
/var/tmp/rpm-tmp.SeHyEg: line 32: fg: no job control                                                                                                    
error: Bad exit status from /var/tmp/rpm-tmp.SeHyEg (%generate_buildrequires)                                                                            
    Bad exit status from /var/tmp/rpm-tmp.SeHyEg (%generate_buildrequires)                                                                              
Finish: rpmbuild python-executing-0.8.2-1.el9.src.rpm                                                                                                    
Finish: build phase for python-executing-0.8.2-1.el9.src.rpm                                                                                            
ERROR: Exception(/home/rominf/dev/fedora-scm/src/python-executing/python-executing-0.8.2-1.el9.src.rpm) Config(centos-stream-9-x86_64) 0 minutes 55 secon
ds                                                                                                                                                      
INFO: Results and/or logs in: /home/rominf/dev/fedora-scm/src/python-executing/results_python-executing/0.8.2/1.el9
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed:
 # ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-executing.spec']

Could not execute mockbuild: Failed to execute command.


On Sat, Feb 5, 2022 at 7:33 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote:
On Sat, Feb 5, 2022 at 10:33 AM Roman Inflianskas via devel
<devel@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I'm trying to build python-executing for epel9 (https://bugzilla.redhat.com/show_bug.cgi?id=2049855) using this command (from Fedora 35):
> fedpkg --release epel9 mockbuild
>
> The build fails with these lines:
> Handling asttokens from tox --print-deps-only: py39
> Requirement not satisfied: asttokens
> Handling pytest from tox --print-deps-only: py39
> Requirement not satisfied: pytest
>
> As I understand, I have to somehow enable Centos 9 stream CRB repo, but I cannot figure it out how.
>
> What should I do to make the build successful?

$ mkdir -p ~/.config/mock
$ ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg
~/.config/mock/epel-9-x86_64.cfg


--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[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