spec: https://svgames.pl/fedora/anarch-1.02d-1.20210616gitf6a6a68a/anarch.spec srpm: https://svgames.pl/fedora/anarch-1.02d-1.20210616gitf6a6a68a/anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=71096482 Description: Anarch is an extremely small, completely Public Domain, no-dependency, no-file, portable, suckless, anarcho-pacifist, from-scratch, 90s-style Doom clone that runs everywhere, made for the benefit of all living beings. Fedora Account System Username: suve
I should note that I'm a new contributor awaiting sponsorship into the package maintainers group, but I simply cannot get this to build, which means it obviously won't install. Here's a sampling of the errors received when using the fedora-review tool: INFO: Processing bug on url: https://bugzilla.redhat.com/show_bug.cgi?id=1977987 INFO: Getting .spec and .srpm Urls from : https://bugzilla.redhat.com/show_bug.cgi?id=1977987 INFO: --> SRPM url: https://svgames.pl/fedora/anarch-1.02d-1.20210616gitf6a6a68a/anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm INFO: --> Spec url: https://svgames.pl/fedora/anarch-1.02d-1.20210616gitf6a6a68a/anarch.spec INFO: Using review directory: /review-anarch INFO: Downloading .spec and .srpm files cpio: premature end of file WARNING: Cannot unpack /review-anarch/srpm/anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm into /review-anarch/srpm-unpacked cpio: premature end of file WARNING: Cannot unpack /review-anarch/srpm/anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm into /review-anarch/srpm-unpacked INFO: No upstream for (Source101): anarch-sdl2.appdata.xml INFO: No upstream for (Source100): anarch-sdl2.desktop INFO: Downloading (Source0): https://gitlab.com/drummyfish/anarch/-/archive/f6a6a68a890716cd394c6fb2d00bd8123b51b18f/anarch-f6a6a68a890716cd394c6fb2d00bd8123b51b18f.tar.gz INFO: Running checks and generating report ERROR: Exception(/review-anarch/srpm/anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 1 seconds INFO: Results and/or logs in: /review-anarch/results ERROR: Source RPM is not installable: INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg ERROR: 'mock build failed, see /review-anarch/results/build.log' In conclusion, I am adding the contributor who will eventually be sponsoring me (Ankur Sinha) to the discussion for further input.
Hello, I'm new contributor too. I see that your srpm link seems broken or at least can't be extracted. here's an example: $ rpm2archive anarch-1.02d-1.20210616gitf6a6a68a.fc34.src.rpm Error reading file from rpm payload But the koji is online, so it's fine to me. Rpmlint gives this warning: anarch.x86_64: W: incoherent-version-in-changelog 1.02d-1.20210617gitf6a6a68a8 ['1.02d-1.20210616gitf6a6a68a.fc35', '1.02d-1.20210616gitf6a6a68a'] ^ the date seems wrong
Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Creative Commons CC0 Universal 1.0 Public Domain Dedication", "Creative Commons CC0 Universal 1.0 Public Domain Dedication". 207 files have unknown license. Detailed output of licensecheck in /home/chronoelves/rpmbuild/SRPMS/anarch/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [?]: Package must own all directories that it creates. Note: Directories without known owners: /usr/share/icons/hicolor/128x128/apps, /usr/share/icons/hicolor, /usr/share/icons/hicolor/128x128 [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Development files must be in a -devel package [?]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [?]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 51200 bytes in 1 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [-]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [-]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Fully versioned dependency in subpackages if applicable. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Rpmlint ------- Checking: anarch-1.02d-1.20210616gitf6a6a68a.fc35.x86_64.rpm anarch-debuginfo-1.02d-1.20210616gitf6a6a68a.fc35.x86_64.rpm anarch-debugsource-1.02d-1.20210616gitf6a6a68a.fc35.x86_64.rpm anarch-1.02d-1.20210616gitf6a6a68a.fc35.src.rpm anarch.x86_64: W: spelling-error Summary(en_US) Suckless -> Luckless, Suckles, Suck less anarch.x86_64: W: spelling-error %description -l en_US suckless -> suckles, luckless, suck less anarch.x86_64: W: incoherent-version-in-changelog 1.02d-1.20210617gitf6a6a68a8 ['1.02d-1.20210616gitf6a6a68a.fc35', '1.02d-1.20210616gitf6a6a68a'] anarch.x86_64: W: no-manual-page-for-binary anarch-sdl2 anarch.src: W: spelling-error Summary(en_US) Suckless -> Luckless, Suckles, Suck less anarch.src: W: spelling-error %description -l en_US suckless -> suckles, luckless, suck less 4 packages and 0 specfiles checked; 0 errors, 6 warnings. Rpmlint (debuginfo) ------------------- Checking: anarch-debuginfo-1.02d-1.20210616gitf6a6a68a.fc35.x86_64.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings. Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output: Source checksums ---------------- https://gitlab.com/drummyfish/anarch/-/archive/f6a6a68a890716cd394c6fb2d00bd8123b51b18f/anarch-f6a6a68a890716cd394c6fb2d00bd8123b51b18f.tar.gz : CHECKSUM(SHA256) this package : 2e0b04ffc8b8bb79477d7df588ee1ef999f53e2749218653697a560785709175 CHECKSUM(SHA256) upstream package : 2e0b04ffc8b8bb79477d7df588ee1ef999f53e2749218653697a560785709175 Requires -------- anarch (rpmlib, GLIBC filtered): glibc libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) rtld(GNU_HASH) anarch-debuginfo (rpmlib, GLIBC filtered): anarch-debugsource (rpmlib, GLIBC filtered): Provides -------- anarch: anarch anarch(x86-64) application() application(anarch-sdl2.desktop) metainfo() metainfo(anarch-sdl2.appdata.xml) anarch-debuginfo: anarch-debuginfo anarch-debuginfo(x86-64) debuginfo(build-id) anarch-debugsource: anarch-debugsource anarch-debugsource(x86-64) Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review --rpm-spec -n anarch-1.02d-1.20210616gitf6a6a68a.fc35.src.rpm Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic, C/C++ Disabled plugins: SugarActivity, Haskell, R, Java, Perl, Python, PHP, Ocaml, fonts Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
Thanks Niohiani, Dridi, That looks good. Please wait for Arthur to correct the issues you've outlined and then continue to new rounds of review as required. Please also keep in mind that fedora-review is a helper but it does not replace a human review. So please do remember to check the package against the guidelines manually too if you haven't done that already. :) PS: please add us to the CC list instead of using the needinfo flag. The needinfo flag is used when you haven't received a response after multiple messages. It sends extra notifications to folks, so should be used only when necessary. Cheers, Ankur
Loud and clear about the flag topic. No problemo, and will do.
Yep, looks like the original SRPM got corrupted during upload. Sorry for that. Here's a new build that fixes issues with ownership of /usr/share/icons/... directories, and also adds a patch to store the game's savefile in $XDG_DATA_HOME instead of $PWD. spec: https://svgames.pl/fedora/anarch-1.02d-2.20210616gitf6a6a68a/anarch.spec srpm: https://svgames.pl/fedora/anarch-1.02d-2.20210616gitf6a6a68a/anarch-1.02d-2.20210616gitf6a6a68a.fc34.src.rpm koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=71576566
Alright. Fedora-review works with the latest URLs you provided. These are the sections which require manual review, and my feedback on those sections where possible. A (✓) means there does not appear to be a problem. An (x) means there is an issue. A (?) means I'm not sure. C/C++: (✓): Package does not contain kernel modules. (✓): Package contains no static executables. Generic: (✓): Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. (✓): License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Creative Commons CC0 Universal 1.0 Public Domain Dedication", "Creative Commons CC0 Universal 1.0 Public Domain Dedication". 207 files have unknown license. Detailed output of licensecheck in licensecheck.txt (✓): License file installed when any subpackage combination is installed. (✓): %build honors applicable compiler flags or justifies otherwise. (✓): Package contains no bundled libraries without FPC exception. (✓): Changelog in prescribed format. (✓): Sources contain only permissible code or content. (✓): Development files must be in a -devel package (✓): Package uses nothing in %doc for runtime. (✓): Package consistently uses macros (instead of hard-coded directory names). (✓): Package is named according to the Package Naming Guidelines. (✓): Package does not generate any conflict. (✓): Package obeys FHS, except libexecdir and /usr/target. (✓): If the package is a rename of another package, proper Obsoletes and Provides are present. (✓): Spec file is legible and written in American English. (✓): Useful -debuginfo package or justification otherwise. (✓): Package is not known to require an ExcludeArch tag. (✓): Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 51200 bytes in 1 files. (✓): Package complies to the Packaging Guidelines Generic: (✓): If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. (✓): Final provides and requires are sane (see attachments). (✓): Package functions as described. (✓): Latest version is packaged. (✓): Package does not include license text files separate from upstream. (✓): Patches link to upstream bugs/comments/lists or are otherwise justified. (✓): Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. (✓): Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. (✓): Package should compile and build into binary rpms on all supported architectures. To a newb this looks good. I will eMail Ankur to confirm. By the way, I've seen your game floating around, and a couple of articles about it. I tried it out myself a couple of months back, and I appreciate your work.
If all those review items pass, you're free to approve the review :)
I had a quick look. Looks very good. I wasn't able to get fedora-review to run though, but I can't see anything wrong with the spec. The only additional note here is: - I think you may have to add the linker flags manually too since you're running the compilation commands yourself. %{optflags} doesn't include %{build_ldflags}. So your commands will be: gcc %{optflags} -std=c99 -o %{name}-sdl2 main_sdl.c -lSDL2 %{build_ldflags} gcc %{optflags} -std=c99 -o %{name}-test main_test.c %{build_ldflags} (You can set linker flags in multiple places on the compiler command line, but I remember reading somewhere that adding them at the end seems to work best---can't find the the post now :/) Cheers,
Fixed the linker flags and also added a CSFML (rhbz#1988952) build of the game. spec: https://svgames.pl/fedora/anarch-1.02d-2.20210616gitf6a6a68a/anarch.spec srpm: https://svgames.pl/fedora/anarch-1.02d-2.20210616gitf6a6a68a/anarch-1.02d-2.20210616gitf6a6a68a.fc34.src.rpm koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=74980719
Sorry for the delay. Been trying to get this take care of for the past few days, but the mock build keeps failing. Trying to get a handle on why.
What's the error from mock? Did you try "mock clean --scrub=all"?
Sorry, I was without internet access for a few days. I just did 'mock clean --scrub=all', then attempted to run the review again. Still throwing up errors, and unfortunately I'm getting the same results as the past several dozen attempts. ERROR: 'mock build failed, see ~/Public/FedReviews/review-anarch/results/build.log' ERROR: Exception(~/Public/FedReviews/review-anarch/srpm/anarch-1.02d-2.20210616gitf6a6a68a.fc34.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 46 seconds INFO: Results and/or logs in: ~/Public/FedReviews/review-anarch/results ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M afe2814e84c542a99ae39f11f9cc33a8 -D /var/lib/mock/fedora-rawhide-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.xcjfjtwo:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/anarch.spec
What do the build logs say? (~/Public/FedReviews/review-anarch/results/build.log). We need to narrow it down to see whether it's an issue with mock running, or an issue in the build once mock runs.
Well the error message says that systemd-nspawn failed. So I guess it's an issue either in mock itself, or systemd containers don't work on their machine. Maybe worth asking on devel mailing list?
Hrm, is that what the error is suggesting or is that just the full command that is printed out whenever mock errors? Anyway, one can use the `--isolation=simple` argument with mock to not use systemd-nspawn. `man mock` for more on that. To use this with fedora-review, one would use the `-o` flag there, so I'd think: `fedora-review -o "--no-bootstrap-chroot --no-cleanup-after --no-clean --isolation=simple ...` should do it (the other options are the defaults that fedora-review uses).
Hey guys. The Build logs always have the following errors in them: ERROR: Exception(~/Public/FedReviews/review-anarch/srpm/anarch-1.02d-2.20210616gitf6a6a68a.fc34.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 46 seconds INFO: Results and/or logs in: ~/Public/FedReviews/review-anarch/results ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M afe2814e84c542a99ae39f11f9cc33a8 -D /var/lib/mock/fedora-rawhide-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.xcjfjtwo:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/anarch.spec It's always the same, including when I ran fedora-review with the options suggested by Ankur. This has not happened with other reviews. Pretty stumped.
Can you please hit me up on IRC sometime so we can debug this? With the options I noted, it shouldn't run systemd-nspawn at all. So, something is off with your system. Are you able to run mock generally? fedora-review works here, so I can take over the review while we fix your system if that's OK with both you and Artur?
Fine by me.
A OK with me, and yes Ankur, I'll email you to coordinate timing. I actually just tried fedora-review on packages that I previously reviewed successfully, and am now getting the same error for those, so something has definitely gone wrong since my last successful review, and I'd be happy to have some assistance in getting to the bottom of it!
Sure, I'll review this over the weekend at the latest. Do ping me wherever and let's get your system fixed up :)
Looks very good. Just a few minor things to fix up: - You can use the forge macros to simplify the spec if you wish: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_using_forges_hosted_revision_control - typo on line 26: the description macro should be desc_text (currently is desc_test) - You can use the %autosetup macro, it does the patching for you too: https://rpm-software-management.github.io/rpm/manual/autosetup.html - You need to require hicolor-icon-theme which owns the icon directories. See the filesystem bit here: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_the_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function - Compilation warning worth looking at: main_sdl.c: In function 'SFG_sleepMs': main_sdl.c:172:3: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] 172 | usleep(timeMs * 1000); | ^~~~~~ | sleep - You can use autochangelog if you wish: https://fedoraproject.org/wiki/Changes/rpmautospec RPMlint bits: - anarch-CSFML.x86_64: E: summary-too-long Suckless, anarcho-pacifist, 90s-style Doom clone that runs everywhere (SDL2 version) (CSFML version) ^ "SDL2 version" shouldn't be here I seems like %summary is being redefined for each sub-package. I'm not sure if this is supposed to happen, though. - anarch-SDL2.x86_64: E: summary-too-long Suckless, anarcho-pacifist, 90s-style Doom clone that runs everywhere (SDL2 version) ^ Could perhaps shorten this a bit to make rpmlint happy? - because of typo in desc_text: anarch.src: W: unexpanded-macro %description -l C %{desc_text} anarch-CSFML.x86_64: W: unexpanded-macro %description -l C %{desc_text} anarch-SDL2.x86_64: W: unexpanded-macro %description -l C %{desc_text} ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: If your application is a C or C++ application you must list a BuildRequires against gcc, gcc-c++ or clang. [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "Unknown or generated", "*No copyright* Creative Commons CC0 1.0", "Creative Commons CC0 1.0". 206 files have unknown license. Detailed output of licensecheck in /home/asinha/dump/fedora- reviews/1977987-anarch/licensecheck.txt [x]: License file installed when any subpackage combination is installed. [!]: Package must own all directories that it creates. Note: Directories without known owners: /usr/share/icons/hicolor, /usr/share/icons/hicolor/128x128, /usr/share/icons/hicolor/128x128/apps ^ I think you need to require hicolor-icon-theme which owns these directories: https://packages.fedoraproject.org/pkgs/hicolor-icon-theme/hicolor-icon-theme/ [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [x]: Macros in Summary, %description expandable at SRPM build time. Note: Macros in: anarch-SDL2 (description), anarch-CSFML (description) [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 102400 bytes in 2 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package does not own files or directories owned by other packages. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [-]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in anarch- SDL2 , anarch-CSFML [?]: Package functions as described. ^ Not tested this. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on debuginfo package(s). Note: There are rpmlint messages (see attachment). [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- ============================================================= rpmlint session starts ============================================================= rpmlint: 2.1.0 configuration: /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/licenses.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 7 anarch-CSFML-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/bin/anarch-csfml-1.02d-2.20210616gitf6a6a68a.fc36.x86_64.debug anarch-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/.dwz/anarch-1.02d-2.20210616gitf6a6a68a.fc36.x86_64 anarch-SDL2-debuginfo.x86_64: W: unstripped-binary-or-object /usr/lib/debug/usr/bin/anarch-sdl2-1.02d-2.20210616gitf6a6a68a.fc36.x86_64.debug anarch.src: W: unexpanded-macro %description -l C %{desc_text} anarch-CSFML.x86_64: W: unexpanded-macro %description -l C %{desc_text} anarch-SDL2.x86_64: W: unexpanded-macro %description -l C %{desc_text} anarch-CSFML.x86_64: E: summary-too-long Suckless, anarcho-pacifist, 90s-style Doom clone that runs everywhere (SDL2 version) (CSFML version) ^ "SDL2 version" shouldn't be here I seems like %summary is being redefined for each sub-package. I'm not sure if this is supposed to happen, though. anarch-SDL2.x86_64: E: summary-too-long Suckless, anarcho-pacifist, 90s-style Doom clone that runs everywhere (SDL2 version) ^ Could perhaps shorten this a bit to make rpmlint happy? anarch-debuginfo.x86_64: E: statically-linked-binary /usr/lib/debug/.dwz/anarch-1.02d-2.20210616gitf6a6a68a.fc36.x86_64 anarch-CSFML-debuginfo.x86_64: E: shared-library-without-dependency-information /usr/lib/debug/usr/bin/anarch-csfml-1.02d-2.20210616gitf6a6a68a.fc36.x86_64.debug anarch-SDL2-debuginfo.x86_64: E: shared-library-without-dependency-information /usr/lib/debug/usr/bin/anarch-sdl2-1.02d-2.20210616gitf6a6a68a.fc36.x86_64.debug anarch-CSFML.x86_64: W: no-manual-page-for-binary anarch-csfml anarch-SDL2.x86_64: W: no-manual-page-for-binary anarch-sdl2 anarch-CSFML-debuginfo.x86_64: W: no-documentation anarch-debuginfo.x86_64: W: no-documentation anarch-debugsource.x86_64: W: no-documentation anarch-SDL2-debuginfo.x86_64: W: no-documentation anarch-debuginfo.x86_64: E: missing-PT_GNU_STACK-section /usr/lib/debug/.dwz/anarch-1.02d-2.20210616gitf6a6a68a.fc36.x86_64 anarch-debuginfo.x86_64: W: hidden-file-or-dir /usr/lib/debug/.dwz anarch-debuginfo.x86_64: W: hidden-file-or-dir /usr/lib/debug/.dwz anarch.src: W: description-shorter-than-summary anarch-CSFML.x86_64: W: description-shorter-than-summary anarch-SDL2.x86_64: W: description-shorter-than-summary anarch-CSFML-debuginfo.x86_64: W: dangling-relative-symlink /usr/lib/debug/.build-id/a0/7c43f4607523c2ebaf16b7fbe6e4a37d1e34d4 ../../../.build-id/a0/7c43f4607523c2ebaf16b7fbe6e4a37d1e34d4 anarch-SDL2-debuginfo.x86_64: W: dangling-relative-symlink /usr/lib/debug/.build-id/f6/8b9e779fc3954082dcf1ee70a137aa5e221a81 ../../../.build-id/f6/8b9e779fc3954082dcf1ee70a137aa5e221a81 ============================= 7 packages and 0 specfiles checked; 6 errors, 19 warnings, 6 badness; has taken 8.3 s ============================== I don't know if anything should be done for the debug package related warnings/errors. Source checksums ---------------- https://gitlab.com/drummyfish/anarch/-/archive/f6a6a68a890716cd394c6fb2d00bd8123b51b18f/anarch-f6a6a68a890716cd394c6fb2d00bd8123b51b18f.tar.gz : CHECKSUM(SHA256) this package : 2e0b04ffc8b8bb79477d7df588ee1ef999f53e2749218653697a560785709175 CHECKSUM(SHA256) upstream package : 2e0b04ffc8b8bb79477d7df588ee1ef999f53e2749218653697a560785709175 Requires -------- anarch-SDL2 (rpmlib, GLIBC filtered): libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) rtld(GNU_HASH) anarch-CSFML (rpmlib, GLIBC filtered): libc.so.6()(64bit) libcsfml-audio.so.2.5()(64bit) libcsfml-graphics.so.2.5()(64bit) libcsfml-system.so.2.5()(64bit) libcsfml-window.so.2.5()(64bit) rtld(GNU_HASH) anarch-debuginfo (rpmlib, GLIBC filtered): anarch-debugsource (rpmlib, GLIBC filtered): Provides -------- anarch-SDL2: anarch-SDL2 anarch-SDL2(x86-64) application() application(anarch-sdl2.desktop) metainfo() metainfo(anarch-sdl2.metainfo.xml) anarch-CSFML: anarch-CSFML anarch-CSFML(x86-64) application() application(anarch-csfml.desktop) metainfo() metainfo(anarch-csfml.metainfo.xml) anarch-debuginfo: anarch-debuginfo anarch-debuginfo(x86-64) anarch-debugsource: anarch-debugsource anarch-debugsource(x86-64) Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review -b 1977987 Buildroot used: fedora-rawhide-x86_64 Active plugins: C/C++, Shell-api, Generic Disabled plugins: R, Python, Ocaml, Haskell, SugarActivity, Perl, Java, fonts, PHP Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
> typo on line 26: the description macro should be desc_text (currently is desc_test) Thanks, fixed. > You need to require hicolor-icon-theme which owns the icon directories. Oh, oops. Fixed. > Compilation warning worth looking at: > main_sdl.c: In function 'SFG_sleepMs': > main_sdl.c:172:3: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] Fixed via compiler flags. > anarch-CSFML.x86_64: E: summary-too-long > anarch-SDL2.x86_64: E: summary-too-long Shortened the summary and fixed the redefinition issue. > You can use the forge macros to simplify the spec if you wish: > You can use the %autosetup macro, it does the patching for you too: Maybe one day. Can't teach an old dog new tricks. ;) Updated links: spec: https://svgames.pl/fedora/anarch-1.02d-3.20210616gitf6a6a68a/anarch.spec srpm: https://svgames.pl/fedora/anarch-1.02d-3.20210616gitf6a6a68a/anarch-1.02d-3.20210616gitf6a6a68a.fc34.src.rpm koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=76516558
Thanks, that looks good! XXX APPROVED XXX
(fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/anarch
FEDORA-2021-c50292f421 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c50292f421
FEDORA-2021-a305b11c41 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a305b11c41
FEDORA-2021-e7eabe3138 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e7eabe3138
FEDORA-2021-a305b11c41 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-a305b11c41 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a305b11c41 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-e7eabe3138 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-e7eabe3138 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e7eabe3138 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-c50292f421 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-c50292f421 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c50292f421 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-a305b11c41 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-e7eabe3138 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-c50292f421 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.