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-bu... 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
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/... Can you please try resubmitting the build in your project?
Jakub
On Tue, Oct 3, 2023 at 10:14 PM Barry Scott barry@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-bu... 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-leave@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.o... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 4 Oct 2023, at 13:51, Jakub Kadlcik jkadlcik@redhat.com wrote:
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/... Can you please try resubmitting the build in your project?
Thanks for taking a look. It is working now. I built for x86_64 and aarch64 successfully.
Barry
Jakub
On Tue, Oct 3, 2023 at 10:14 PM Barry Scott <barry@barrys-emacs.org mailto:barry@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-bu... 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 http://copr.fedorainfracloud.org/ but work locally?
Barry
copr-devel mailing list -- copr-devel@lists.fedorahosted.org mailto:copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.org mailto:copr-devel-leave@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.o... 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-leave@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.o... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
copr-devel@lists.fedorahosted.org