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: "Unknown or generated", "*No copyright* Apache License 2.0", "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", "W3C License Apache License 2.0", "Creative Commons CC0 1.0", "Apache License 2.0 [generated file]", "*No copyright* Public domain", "*No copyright* GNU Lesser General Public License, Version 3". 6074 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 /usr/share/selinux/packages/targeted, /etc/microshift, /var/run/secrets/kubernetes.io, /etc/crio/crio.conf.d, /var/run/secrets, /etc/systemd/system/ovsdb- server.service.d, /etc/systemd/system/ovs-vswitchd.service.d, /var/lib/selinux/targeted/active/modules/200 [ ]: Package must own all directories that it creates. Note: Directories without known owners: /var/run/secrets/kubernetes.io, /usr/share/selinux/packages/targeted, /var/lib/kubelet, /etc/systemd/system/ovs-vswitchd.service.d, /etc/crio/crio.conf.d, /etc/crio, /var/run/secrets, /etc/microshift, /etc/systemd/system/ovsdb-server.service.d, /var/lib/selinux/targeted/active/modules/200 [ ]: %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, microshift-networking [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 , microshift-networking [ ]: 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. [ ]: 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/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/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 3.1 starting (python version = 3.10.4, NVR = mock-3.1-1.fc35)... Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins 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(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-aarch64-bootstrap/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: enabled HW Info plugin Mock Version: 3.1 INFO: Mock Version: 3.1 Finish(bootstrap): chroot init 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: 3.1 INFO: Mock Version: 3.1 Finish: chroot init INFO: installing package(s): /builddir/microshift-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.aarch64.rpm /builddir/microshift-networking-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.aarch64.rpm /builddir/microshift-selinux-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.noarch.rpm WARNING: Dnf command failed, retrying, attempt #2, sleeping 10s WARNING: Dnf command failed, retrying, attempt #3, sleeping 10s ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 1732c47069f946d9b3b61bf379cd5102 -D /var/lib/mock/fedora-rawhide-aarch64-bootstrap/root -a --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ugt6udye:/etc/resolv.conf --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/fedora-rawhide-aarch64/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 --setenv=SYSTEMD_NSPAWN_TMPFS_TMP=0 --setenv=SYSTEMD_SECCOMP=0 --resolv-conf=off /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-aarch64/root/ --releasever 38 --setopt=deltarpm=False --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install /builddir/microshift-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.aarch64.rpm /builddir/microshift-networking-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.aarch64.rpm /builddir/microshift-selinux-4.10.0-4.8.0_0.microshift_2022_01_06_210147_481_g2ae24803.fc38.noarch.rpm --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts --setopt=tsflags=nocontexts Rpmlint ------- Cannot parse rpmlint output: Source checksums ---------------- https://github.com/openshift/microshift/archive/2ae24803bb4390dfe887a1fafa8147caa6776d16/microshift-2ae2480.tar.gz : CHECKSUM(SHA256) this package : 14d9fa984cf89d00f2a594d1d1b8b88124368bdd7269f080c897a6063e236b62 CHECKSUM(SHA256) upstream package : d68de564bd337aa94e80a25e2030c9bd1a5b8d423751fb5ee919105d357c2973 diff -r also reports differences Requires -------- microshift (rpmlib, GLIBC filtered): /bin/sh conntrack-tools cri-o cri-tools iptables microshift-networking microshift-selinux systemd microshift-selinux (rpmlib, GLIBC filtered): /bin/sh container-selinux libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy selinux-policy-base microshift-networking (rpmlib, GLIBC filtered): /bin/bash /bin/sh NetworkManager NetworkManager-ovs jq openvswitch2.16 Provides -------- microshift: microshift microshift(aarch-64) microshift-selinux: microshift-selinux microshift-networking: microshift-networking microshift-networking(aarch-64) Generated by fedora-review 0.8.0 (e988316) last change: 2022-04-07 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: Perl, Ocaml, Python, Haskell, SugarActivity, R, fonts, PHP, Java Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH