Fedora Account System
Red Hat Associate
Red Hat Customer
Spec URL: https://download.copr.fedorainfracloud.org/results/dcampbell24/hnefatafl-copenhagen/fedora-rawhide-x86_64/10895981-hnefatafl-copenhagen/hnefatafl-copenhagen.spec Description: Copenhagen Hnefatafl client, engine, server and artificial intelligence Fedora Account System Username: dcampbell24
Cannot find any valid SRPM URL for this ticket. Common causes are: - You didn't specify `SRPM URL: ...` in the ticket description or any of your comments - The URL schema isn't HTTP or HTTPS - The SRPM package linked in your URL doesn't match the package name specified in the ticket summary --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
Spec URL: https://download.copr.fedorainfracloud.org/results/dcampbell24/hnefatafl-copenhagen/fedora-rawhide-x86_64/10895981-hnefatafl-copenhagen/hnefatafl-copenhagen.spec SRPM URL: https://codeberg.org/dcampbell/hnefatafl/src/branch/main/packages/fedora/hnefatafl-copenhagen-6.3.0-1.fc44.src.rpm Description: Copenhagen Hnefatafl client, engine, server and artificial intelligence Fedora Account System Username: dcampbell24
Copr build: https://copr.fedorainfracloud.org/coprs/build/10912293 (failed) Build log: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2525156-hnefatafl-copenhagen/srpm-builds/10912293/builder-live.log.gz Please make sure the package builds successfully at least for Fedora Rawhide. - If the build failed for unrelated reasons (e.g. temporary network unavailability), please ignore it. - If the build failed because of missing BuildRequires, please make sure they are listed in the "Depends On" field --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string.
> RUST_MIN_STACK=2147483648 cargo build --release This won't work, as Cargo will try to download the dependencies from the internet, and Fedora package builders run with internet access disabled. Check the Rust Packaging Guidelines for information on how to package Rust applications. https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/ > install -Dm644 "packages/hnefatafl.service" -t "%{buildroot}/usr/lib/systemd/system" > [...] > install -Dm644 "taflzero.1.gz" -t "%{buildroot}/usr/share/man/man1" > [...] > install -Dm644 "packages/hnefatafl-client.desktop" -t "%{buildroot}/usr/share/applications" Don't use hard-coded paths. * /usr/lib/systemd/system -> %{_unitdir} * /usr/share/man -> %{_mandir} * /usr/share -> %{_datadir} https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/#macros_installation > %files > [...] > /usr/share/applications/hnefatafl-client.desktop The file should be validated (at end of %install or in %check). https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_file_install_usage > %files > [...] > %{_metainfodir}/org.hnefatafl.hnefatafl_client.metainfo.xml The file should be validated (at end of %install or in %check). https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage > gzip --no-name --best taflzero.1 > gzip --no-name --best hnefatafl-server.1 > gzip --no-name --best hnefatafl-text-protocol.1 > gzip --no-name --best hnefatafl-client.1 > [...] > /usr/share/man/man1/hnefatafl-client.1.gz > /usr/share/man/man1/hnefatafl-server.1.gz > /usr/share/man/man1/hnefatafl-text-protocol.1.gz > /usr/share/man/man1/taflzero.1.gz Don't. RPM will auto-compress man pages. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages
I think I fixed all the issue's except for proper Rust packaging. As iced is not packaged for fedora and it would not be simple to package it along with the other missing fedora dependencies I am going to keep this as a COPR package until iced stabilizes and is packaged.