This is a review *template*. Besides handling the [ ]-marked tests you are also supposed to fix the template before pasting into bugzilla: - Add issues you find to the list of issues on top. If there isn't such a list, create one. - Add your own remarks to the template checks. - Add new lines marked [!] or [?] when you discover new things not listed by fedora-review. - Change or remove any text in the template which is plain wrong. In this case you could also file a bug against fedora-review - Remove the "[ ] Manual check required", you will not have any such lines in what you paste. - Remove attachments which you deem not really useful (the rpmlint ones are mandatory, though) - Remove this text Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Package installs properly. Note: Installation errors (see attachment) See: https://docs.fedoraproject.org/en-US/packaging-guidelines/ - Dist tag is present. - Sources used to build the package match the upstream source, as provided in the spec URL. Note: Upstream MD5sum check error, diff is in /var/lib/copr- rpmbuild/results/microshift/diff.txt See: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/ ===== MUST items ===== C/C++: [ ]: Package does not contain kernel modules. [ ]: 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]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [ ]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. Note: Using prebuilt packages [ ]: 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: "*No copyright* Apache License 2.0", "Unknown or generated", "Apache License 2.0", "BSD 3-Clause License", "MIT License", "*No copyright* MIT License", "BSD 2-Clause License", "MIT License Apache License 2.0", "MIT License BSD 3-Clause License", "*No copyright* [generated file]", "ISC License", "Creative Commons Attribution 4.0 Apache License 2.0", "*No copyright* Creative Commons CC0 1.0", "*No copyright* Mozilla Public License 2.0", "GNU General Public License, Version 2", "GNU Lesser General Public License, Version 3", "*No copyright* BSD 2-Clause License", "MIT License BSD 2-Clause License", "Creative Commons CC0 1.0", "OpenSSL License", "Apache License 2.0 [generated file]", "*No copyright* Public domain", "*No copyright* GNU Lesser General Public License, Version 3". 6473 files have unknown license. Detailed output of licensecheck in /var/lib/copr- rpmbuild/results/microshift/licensecheck.txt [ ]: License file installed when any subpackage combination is installed. [ ]: Package requires other packages for directories it uses. Note: No known owner of /var/run/secrets, /etc/crio, /var/lib/selinux/targeted/active/modules/200, /usr/share/selinux/packages/targeted, /var/run/secrets/kubernetes.io, /etc/crio/crio.conf.d [ ]: Package must own all directories that it creates. Note: Directories without known owners: /etc/crio, /var/run/secrets, /var/lib/selinux/targeted/active/modules/200, /usr/share/selinux/packages/targeted, /var/run/secrets/kubernetes.io, /etc/crio/crio.conf.d, /var/lib/kubelet [ ]: %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. [ ]: Package contains desktop file if it is a GUI application. [ ]: 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. [ ]: Requires correct, justified where necessary. [ ]: Spec file is legible and written in American English. [ ]: Package contains systemd file(s) if in need. [ ]: Useful -debuginfo package or justification otherwise. [ ]: Package is not known to require an ExcludeArch tag. [ ]: Package complies to the Packaging Guidelines [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 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 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]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: systemd_post is invoked in %post, systemd_preun in %preun, and systemd_postun in %postun for Systemd service files. Note: Systemd service file(s) in microshift [x]: File names are valid UTF-8. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 0 bytes in 0 files. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [!]: Reviewer should test that the package builds in mock. [!]: Uses parallel make %{?_smp_mflags} macro. [ ]: 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). [ ]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in microshift-selinux [ ]: Package functions as described. [ ]: Latest version is packaged. [ ]: Package does not include license text files separate from upstream. [ ]: Scriptlets must be sane, if used. [ ]: 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. [ ]: %check is present and all tests pass. [ ]: Packages should try to preserve timestamps of original installed files. [ ]: Files in /run, var/run and /var/lock uses tmpfiles.d when appropriate [ ]: Spec use %global instead of %define unless justified. Note: %define requiring justification: %define selinux_policyver 3.14.3-67, %define container_policyver 2.167.0-1, %define container_policy_epoch 2, %define microshift_relabel_files() mkdir -p /var/hpvolumes; mkdir -p /var/run/flannel; mkdir -p /var/run/kubelet; mkdir -p /var/lib/kubelet/pods; mkdir -p /var/run/secrets/kubernetes.io/serviceaccount; restorecon -R /var/hpvolumes; restorecon -R /var/run/kubelet; restorecon -R /var/run/flannel; restorecon -R /var/lib/kubelet/pods; restorecon -R /var/run/secrets/kubernetes.io/serviceaccount [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. ===== EXTRA items ===== Generic: [!]: Rpmlint is run on all installed packages. Note: Mock build failed See: https://docs.fedoraproject.org/en-US/packaging- guidelines/#_use_rpmlint [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. Installation errors ------------------- INFO: mock.py version 2.16 starting (python version = 3.10.2, NVR = mock-2.16-1.fc35)... Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-aarch64/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Mock Version: 2.16 INFO: Mock Version: 2.16 Finish: chroot init INFO: installing package(s): /var/lib/copr-rpmbuild/results/microshift-selinux-4.8.0-2022_02_02_194009_4_g76349837.fc36.noarch.rpm /var/lib/copr-rpmbuild/results/microshift-4.8.0-2022_02_02_194009_4_g76349837.fc36.aarch64.rpm WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s ERROR: Command failed: # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-aarch64/root/ --releasever 37 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install /var/lib/copr-rpmbuild/results/microshift-selinux-4.8.0-2022_02_02_194009_4_g76349837.fc36.noarch.rpm /var/lib/copr-rpmbuild/results/microshift-4.8.0-2022_02_02_194009_4_g76349837.fc36.aarch64.rpm --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Rpmlint ------- Cannot parse rpmlint output: Source checksums ---------------- https://github.com/redhat-et/microshift/archive/7634983755466cc6ac5023dceb5353a9441f393e/microshift-7634983.tar.gz : CHECKSUM(SHA256) this package : 64ab59651bde67aeb96c74693a08f0d411bc9697654641c8e539558104011e92 CHECKSUM(SHA256) upstream package : 4ed37db74cf18cf7f89775d0be87b04f67d8b51847f4af6fc7c6286fe5ef41de diff -r also reports differences Requires -------- microshift (rpmlib, GLIBC filtered): /bin/sh cri-o cri-tools iptables libc.so.6()(64bit) microshift-selinux rtld(GNU_HASH) systemd microshift-selinux (rpmlib, GLIBC filtered): /bin/sh container-selinux libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy selinux-policy-base Provides -------- microshift: microshift microshift(aarch-64) microshift-selinux: microshift-selinux Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10 Command line :/usr/bin/fedora-review --no-colors --prebuilt --rpm-spec --name microshift --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg Buildroot used: fedora-rawhide-aarch64 Active plugins: Generic, C/C++, Shell-api Disabled plugins: fonts, PHP, SugarActivity, Java, R, Python, Haskell, Ocaml, Perl Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH