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

2022-02-11 Thread Pavel Raiskup
On Sunday, February 6, 2022 8:35:15 PM CET Roman Inflianskas via devel wrote:
> Sorry, I've forgotten to reply yesterday.
> 
> I've installed these updates, but I still get 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 still.
> 
> I've decided to give permissions to epel-packagers-sig group to let them
> build it.

You need to update fedpkg and rpkg, too:

$ rpm -q fedpkg python3-rpkg
fedpkg-1.42-1.fc35.noarch
python3-rpkg-1.64-2.fc35.noarch

More info here: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/BNQ2TFWODJW3JSOBAG26AZQBOS5HHZMD/

Pavel

> On Sat, Feb 5, 2022 at 9:25 PM Neal Gompa  wrote:
> 
> > On Sat, Feb 5, 2022 at 2:15 PM Roman Inflianskas  wrote:
> > >
> > > 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.
> > >
> >
> > You need the latest update for mock, mock-core-configs, and
> > distribution-gpg-keys:
> > https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe
> >
> >
> >
> > --
> > 真実はいつも一つ!/ Always, there's only one truth!
> >
> 



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2022-02-06 Thread Roman Inflianskas via devel
Sorry, I've forgotten to reply yesterday.

I've installed these updates, but I still get 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 still.

I've decided to give permissions to epel-packagers-sig group to let them
build it.

On Sat, Feb 5, 2022 at 9:25 PM Neal Gompa  wrote:

> On Sat, Feb 5, 2022 at 2:15 PM Roman Inflianskas  wrote:
> >
> > 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.
> >
>
> You need the latest update for mock, mock-core-configs, and
> distribution-gpg-keys:
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe
>
>
>
> --
> 真実はいつも一つ!/ Always, there's only one truth!
>
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2022-02-05 Thread Neal Gompa
On Sat, Feb 5, 2022 at 2:15 PM Roman Inflianskas  wrote:
>
> 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.
>

You need the latest update for mock, mock-core-configs, and
distribution-gpg-keys:
https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2022-02-05 Thread Roman Inflianskas via devel
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  wrote:

> On Sat, Feb 5, 2022 at 10:33 AM Roman Inflianskas via devel
>  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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


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

2022-02-05 Thread Neal Gompa
On Sat, Feb 5, 2022 at 10:33 AM Roman Inflianskas via devel
 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure