============================ rpmlint session starts ============================ rpmlint: 2.8.0 configuration: /opt/testing/lib64/python3.13/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/qemu-rpmlintrc checks: 42, packages: 54 qemu-skiboot.noarch: W: zero-perms-ghost Suggestion: "%ghost %attr(0644,root,root) /etc/alternatives/skiboot.lid" Your package contains a file with no permissions. This is usually an error because the file won't be accessible by any user. You should check the file permissions and ensure that are correct or fix it using "%attr" macro in %files section. http://ftp.rpm.org/max-rpm/s1-rpm-anywhere-specifying-file-attributes.html qemu-skiboot.noarch: E: update-alternatives-postun-call-missing The package does not call update-alternatives --remove in postun phase to remove all the configuration for each individual --install binary that was done in postun. qemu.src: E: unused-rpmlintrc-filter "executable-stack" qemu-extra.aarch64: W: unstripped-binary-or-object /usr/share/qemu/palcode-clipper This executable should be stripped of debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. qemu-guest-agent.aarch64: E: systemd-service-without-service_del_preun qemu-guest-agent.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. qemu.spec:201: W: suse-update-desktop-file-deprecated %suse_update_desktop_file is deprecated The usage of %suse_update_desktop_file is deprecated and changes should be migrated to the upstream. Please check the build log for details. qemu-extra.aarch64: E: statically-linked-binary /usr/share/qemu/hppa-firmware.img qemu-extra.aarch64: E: statically-linked-binary /usr/share/qemu/hppa-firmware64.img qemu-extra.aarch64: E: statically-linked-binary /usr/share/qemu/openbios-sparc32 qemu-extra.aarch64: E: statically-linked-binary /usr/share/qemu/openbios-sparc64 qemu-extra.aarch64: E: statically-linked-binary /usr/share/qemu/palcode-clipper qemu-ppc.aarch64: E: statically-linked-binary /usr/share/qemu/openbios-ppc qemu-ppc.aarch64: E: statically-linked-binary /usr/share/qemu/u-boot.e500 qemu-s390x.aarch64: E: statically-linked-binary /usr/share/qemu/s390-ccw.img The package installs a statically linked binary or object file. qemu.aarch64: W: self-obsoletion kvm <= 10.1.2 obsoletes kvm = 10.1.2 qemu.aarch64: W: self-obsoletion qemu-kvm <= 10.1.2 obsoletes qemu-kvm = 10.1.2 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones. qemu-extra.aarch64: W: position-independent-executable-suggested /usr/share/qemu/hppa-firmware.img qemu-extra.aarch64: W: position-independent-executable-suggested /usr/share/qemu/hppa-firmware64.img qemu-extra.aarch64: W: position-independent-executable-suggested /usr/share/qemu/openbios-sparc32 qemu-extra.aarch64: W: position-independent-executable-suggested /usr/share/qemu/openbios-sparc64 qemu-extra.aarch64: W: position-independent-executable-suggested /usr/share/qemu/palcode-clipper qemu-ppc.aarch64: W: position-independent-executable-suggested /usr/share/qemu/openbios-ppc qemu-ppc.aarch64: W: position-independent-executable-suggested /usr/share/qemu/u-boot.e500 This executable should be position independent (all binaries should). Check that it is built with -fPIE/-fpie in compiler flags and -pie in linker flags. qemu-skiboot.noarch: I: package-supports-update-alternatives qemu-headless.aarch64: E: no-binary qemu-ksm.aarch64: E: no-binary qemu-spice.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. qemu-doc.noarch: W: hidden-file-or-dir /usr/share/doc/packages/qemu/.buildinfo The file or directory is hidden. You should see if this is normal, and delete it from the package if not. qemu-tools.aarch64: E: env-script-interpreter (Badness: 9) /usr/bin/vmxcap /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. qemu-arm.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-aarch64 qemu-arm.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-arm qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-alpha qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-avr qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-hppa qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-loongarch64 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-m68k qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-microblaze qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-microblazeel qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-mips qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-mips64 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-mips64el qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-mipsel qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-or1k qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-riscv32 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-riscv64 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-rx qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-sh4 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-sh4eb qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-sparc qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-sparc64 qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-tricore qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-xtensa qemu-extra.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-xtensaeb qemu-ppc.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-ppc qemu-ppc.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-ppc64 qemu-s390x.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/bin/qemu-system-s390x 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 ExtractRpm 30.3 51.8 BinariesCheck 24.4 41.7 SignatureCheck 2.0 3.3 TOTAL 58.4 100.0 54 packages and 0 specfiles checked; 15 errors, 40 warnings, 192 filtered, 23 badness; has taken 58.7 s