============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib64/python3.11/rpmlint/configdefaults.toml /opt/testing/share/rpmlint/cron-whitelist.toml /opt/testing/share/rpmlint/dbus-services.toml /opt/testing/share/rpmlint/device-files-whitelist.toml /opt/testing/share/rpmlint/licenses.toml /opt/testing/share/rpmlint/opensuse.toml /opt/testing/share/rpmlint/pam-modules.toml /opt/testing/share/rpmlint/permissions-whitelist.toml /opt/testing/share/rpmlint/pie-executables.toml /opt/testing/share/rpmlint/polkit-rules-whitelist.toml /opt/testing/share/rpmlint/scoring.toml /opt/testing/share/rpmlint/security.toml /opt/testing/share/rpmlint/sudoers-whitelist.toml /opt/testing/share/rpmlint/sysctl-whitelist.toml /opt/testing/share/rpmlint/systemd-tmpfiles.toml /opt/testing/share/rpmlint/users-groups.toml /opt/testing/share/rpmlint/world-writable-whitelist.toml /opt/testing/share/rpmlint/zypper-plugins.toml /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/libvirt-rpmlintrc checks: 41, packages: 38 libvirt.src: E: unused-rpmlintrc-filter "missing-dependency-to-logrotate for logrotate script /etc/logrotate.d/libvirtd.(qemu|lxc|uml|libxl)" libvirt.src: E: unused-rpmlintrc-filter "incoherent-logrotate-file" libvirt-daemon-common.aarch64: E: systemd-service-without-service_del_preun virt-guest-shutdown.target The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. libvirt-daemon-common.aarch64: E: systemd-service-without-service_add_pre libvirt-guests.service libvirt-daemon-common.aarch64: E: systemd-service-without-service_add_pre virt-guest-shutdown.target The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. libvirt-daemon-common.aarch64: E: systemd-service-without-service_add_post virt-guest-shutdown.target The package contains a systemd service but doesn't contain a %post with a call to service_add_post. libvirt-daemon-plugin-lockd.aarch64: E: summary-not-capitalized (Badness: 20) lockd client plugin for virtlockd Summary doesn't begin with a capital letter. libvirt-daemon-driver-lxc.aarch64: W: potential-bashisms /usr/bin/virt-create-rootfs checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. libvirt-client.aarch64: W: obsolete-not-provided libvirt-bash-completion libvirt-daemon-common.aarch64: W: obsolete-not-provided libvirt-bash-completion If a package is obsoleted by a compatible replacement, the obsoleted package should also be provided in order to not cause unnecessary dependency breakage. If the obsoleting package is not a compatible replacement for the old one, leave out the Provides. libvirt-daemon-hooks.aarch64: W: non-conffile-in-etc /etc/libvirt/hooks/qemu A non-executable file in your package is being installed in /etc, but is not a configuration file. All non-executable files in /etc should be configuration files. Mark the file as %config in the spec file. libvirt.aarch64: E: no-binary libvirt-client-qemu.aarch64: E: no-binary libvirt-daemon-config-network.aarch64: E: no-binary libvirt-daemon-config-nwfilter.aarch64: E: no-binary libvirt-daemon-driver-storage.aarch64: E: no-binary libvirt-daemon-hooks.aarch64: E: no-binary libvirt-daemon-lxc.aarch64: E: no-binary libvirt-daemon-qemu.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. libvirt-client-qemu.aarch64: E: env-script-interpreter (Badness: 9) /usr/bin/virt-qemu-qmp-proxy /usr/bin/env python3 libvirt-client-qemu.aarch64: E: env-script-interpreter (Badness: 9) /usr/bin/virt-qemu-sev-validate /usr/bin/env python3 This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env needs to be patched into #!/usr/bin/ otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. libvirt-nss.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libnss_libvirt.so.2 libvirt-nss.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libnss_libvirt_guest.so.2 The binary calls gethostbyname. Please port the code to use getaddrinfo. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 3.3 33.8 BinariesCheck 3.1 31.3 ExtractRpm 1.1 10.7 SharedLibraryPolicyCheck 0.9 9.3 SignatureCheck 0.5 5.6 TagsCheck 0.2 2.1 PostCheck 0.2 1.9 SpecCheck 0.2 1.6 BuildRootAndDateCheck 0.1 1.2 FilesCheck 0.1 1.1 TOTAL 9.9 100.0 38 packages and 0 specfiles checked; 17 errors, 6 warnings, 363 filtered, 52 badness; has taken 10.0 s