Hello Barry,
thank you for debugging the issue.

Looking at the Copr logs from your build, I don't have an idea why it
failed either. My guess is that you encountered some temporary
infrastructure issue.
I tried to build the package in Copr and it worked for me
https://copr.fedorainfracloud.org/coprs/frostyx/test-pypi-config-path/build/6489299/
Can you please try resubmitting the build in your project?

Jakub



On Tue, Oct 3, 2023 at 10:14 PM Barry Scott <ba...@barrys-emacs.org> wrote:

> I'm trying to package my PyPI config-path package.
>
> Its failing to build:
> https://copr.fedorainfracloud.org/coprs/barryascott/tools/build/6487785/
>
> The log
>
> https://download.copr.fedorainfracloud.org/results/barryascott/tools/srpm-builds/06487785/builder-live.log.gz
> I see no error message that is actionable only report of failure.
> The log tells me that I can do the build locally.
>
> I have followed these steps to check the build locally on my up to date
> f38:
>
> sudo dnf install copr-rpmbuild
>
> /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url
> https://copr.fedorainfracloud.org/backend/get-srpm-build-task/6487785
>
> I also needed to sudo dnf install pyp2spec
>
> Then I needed to set /etc/mock/default.cfg to point to an existing cfg,
> it was pointing to fedoara-35-x86_64.cfg
> I set it to fedora-38-x86_64.cfg.
>
> This build completes without error and I have a .src.rpm created.
>
> I also set /etc/mock/default.cfg to point to fedora-rawhide-x86_64 as
> the copr build log suggests
> that is what  using and the build succeeded as well.
>
> I can then use mock to build the binary rpm:
>
> mock -r fedora-38-x86_64 --rebuild
> /var/lib/copr-rpmbuild/results/python-config-path-1.0.5-1.src.rpm
>
> Which creates:
>
> $ ll /var/lib/mock/fedora-38-x86_64/result
> total 368
> -rw-rw-r--. 1 barry  55899 2023-10-03 21:00:35 build.log
> -rw-rw-r--. 1 barry   3454 2023-10-03 21:00:14 hw_info.log
> -rw-rw-r--. 1 barry  15194 2023-10-03 21:00:24 installed_pkgs.log
> -rw-r--r--. 1 barry  19114 2023-10-03 21:00:35
> python3-config-path-1.0.5-1.fc38.noarch.rpm
> -rw-r--r--. 1 barry  29486 2023-10-03 21:00:35
> python-config-path-1.0.5-1.fc38.src.rpm
> -rw-rw-r--. 1 barry 238389 2023-10-03 21:00:35 root.log
> -rw-rw-r--. 1 barry   1414 2023-10-03 21:00:35 state.log
>
> Why does it fail at copr.fedorainfracloud.org but work locally?
>
> Barry
>
> _______________________________________________
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue
>
_______________________________________________
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to