============================ rpmlint session starts ============================ rpmlint: 2.6.1 configuration: /opt/testing/lib/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/pcp-rpmlintrc checks: 41, packages: 96 pcp-testsuite.armv7hl: E: zero-length /var/lib/pcp/testsuite/badarchives/empty.0 pcp-testsuite.armv7hl: E: zero-length /var/lib/pcp/testsuite/badarchives/empty.index pcp-testsuite.armv7hl: E: zero-length /var/lib/pcp/testsuite/badarchives/empty.meta python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/__init__.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/__init__.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/mmv.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/mmv.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmapi.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmapi.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmcc.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmcc.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmconfig.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmconfig.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmda.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmda.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmgui.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmgui.cpython-311.pyo python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmi.cpython-311.opt-1.pyc python3-pcp.armv7hl: E: zero-length /usr/lib/python3.11/site-packages/pcp/__pycache__/pmi.cpython-311.pyo pcp-pmda-netcheck.noarch: E: zero-length /usr/libexec/pcp/pmdas/netcheck/modules/__init__.python pcp.armv7hl: W: tmpfile-not-in-filelist /run/pcp Please add the specified file to your %files section as %ghost so users can easily query who created the file, it gets uninstalled on package removal and finally other rpmlint checks see it. pcp.armv7hl: E: systemd-service-without-service_del_preun pcp-geolocate.service pcp.armv7hl: E: systemd-service-without-service_del_preun pcp-reboot-init.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmcd.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmfind.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmie.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmie_check.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmie_daily.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmie_farm.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmie_farm_check.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmlogger.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmlogger_check.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmlogger_daily.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmlogger_farm.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmlogger_farm_check.service pcp.armv7hl: E: systemd-service-without-service_del_preun pmproxy.service The package contains a systemd service but doesn't contain a %preun with a call to service_del_preun. pcp.armv7hl: E: systemd-service-without-service_del_postun pcp-geolocate.service pcp.armv7hl: E: systemd-service-without-service_del_postun pcp-reboot-init.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmcd.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmfind.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmie.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmie_check.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmie_daily.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmie_farm.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmie_farm_check.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmlogger.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmlogger_check.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmlogger_daily.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmlogger_farm.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmlogger_farm_check.service pcp.armv7hl: E: systemd-service-without-service_del_postun pmproxy.service The package contains a systemd service but doesn't contain a %postun with a call to service_del_postun. pcp.armv7hl: E: systemd-service-without-service_add_pre pcp-geolocate.service pcp.armv7hl: E: systemd-service-without-service_add_pre pcp-reboot-init.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmcd.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmfind.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmie.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmie_check.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmie_daily.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmie_farm.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmie_farm_check.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmlogger.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmlogger_check.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmlogger_daily.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmlogger_farm.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmlogger_farm_check.service pcp.armv7hl: E: systemd-service-without-service_add_pre pmproxy.service The package contains a systemd service but doesn't contain a %pre with a call to service_add_pre. pcp.armv7hl: E: systemd-service-without-service_add_post pcp-geolocate.service pcp.armv7hl: E: systemd-service-without-service_add_post pcp-reboot-init.service pcp.armv7hl: E: systemd-service-without-service_add_post pmcd.service pcp.armv7hl: E: systemd-service-without-service_add_post pmfind.service pcp.armv7hl: E: systemd-service-without-service_add_post pmie.service pcp.armv7hl: E: systemd-service-without-service_add_post pmie_check.service pcp.armv7hl: E: systemd-service-without-service_add_post pmie_daily.service pcp.armv7hl: E: systemd-service-without-service_add_post pmie_farm.service pcp.armv7hl: E: systemd-service-without-service_add_post pmie_farm_check.service pcp.armv7hl: E: systemd-service-without-service_add_post pmlogger.service pcp.armv7hl: E: systemd-service-without-service_add_post pmlogger_check.service pcp.armv7hl: E: systemd-service-without-service_add_post pmlogger_daily.service pcp.armv7hl: E: systemd-service-without-service_add_post pmlogger_farm.service pcp.armv7hl: E: systemd-service-without-service_add_post pmlogger_farm_check.service pcp.armv7hl: E: systemd-service-without-service_add_post pmproxy.service The package contains a systemd service but doesn't contain a %post with a call to service_add_post. pcp-pmda-nutcracker.noarch: W: symlink-to-binary-with-shebang /var/lib/pcp/pmdas/nutcracker/pmdanutcracker.pl is a link to a script (/usr/libexec/pcp/pmdas/nutcracker/pmdanutcracker.pl) but missing requires for /usr/bin/perl pcp-pmda-redis.noarch: W: symlink-to-binary-with-shebang /var/lib/pcp/pmdas/redis/pmdaredis.pl is a link to a script (/usr/libexec/pcp/pmdas/redis/pmdaredis.pl) but missing requires for /usr/bin/perl A file in /usr/bin is a link to a script in a different place with a shebang. rpm won't be able to inject the needed interpreter as dependency, so it should be done manually. pcp.spec:341: 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. pcp.armv7hl: W: potential-bashisms /usr/libexec/pcp/bin/pmlogger_daily_report checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. pcp.armv7hl: E: postin-without-ldconfig /usr/lib/libpcp_archive.so.1 This package contains a library and its %post scriptlet doesn't call ldconfig. pcp.armv7hl: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/pcp-reboot-init.conf pcp.armv7hl: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/pcp.conf Please use the %tmpfiles_create macro in %post for each of your tmpfiles.d files if you expect this file or directory to be available after package installation (and before reboot). pcp-devel.armv7hl: E: non-executable-script /usr/share/pcp/examples/pcp2spark/PCP2SparkStreamCollector.python 644 /usr/bin/pmpython pcp-testsuite.armv7hl: E: non-executable-script /var/lib/pcp/testsuite/lio/iscsi_target.python 644 /usr/bin/env pmpython pcp-testsuite.armv7hl: E: non-executable-script /var/lib/pcp/testsuite/lio/lio_test.python 644 /usr/bin/env pmpython pcp-testsuite.armv7hl: E: non-executable-script /var/lib/pcp/testsuite/openmetrics/scripts/script_not_executable.sh 644 /bin/sh pcp-testsuite.armv7hl: E: non-executable-script /var/lib/pcp/testsuite/pmdas/memory_python/pmdamemory_python.python 644 /usr/bin/env pmpython pcp-testsuite.armv7hl: E: non-executable-script /var/lib/pcp/testsuite/pmdas/slow_python/pmdaslow_python.python 644 /usr/bin/env pmpython pcp-pmda-nutcracker.noarch: E: non-executable-script /usr/libexec/pcp/pmdas/nutcracker/pmdanutcracker.pl 644 /usr/bin/perl pcp-pmda-redis.noarch: E: non-executable-script /usr/libexec/pcp/pmdas/redis/pmdaredis.pl 644 /usr/bin/perl This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. pcp.armv7hl: W: non-etc-or-var-file-marked-as-conffile /usr/lib/sysusers.d/pcp-testsuite.conf pcp.armv7hl: W: non-etc-or-var-file-marked-as-conffile /usr/lib/sysusers.d/pcp.conf pcp.armv7hl: W: non-etc-or-var-file-marked-as-conffile /usr/lib/tmpfiles.d/pcp-reboot-init.conf A file not in /etc or /var is marked as being a configuration file (%config). Please put your configuration files in /etc or /var. pcp.armv7hl: E: non-devel-file-in-devel-package /usr/lib/libpcp_archive.so.1 A non-development file is located in a devel package. pcp.armv7hl: W: non-conffile-in-etc /etc/pcp/pmlogredact/network pcp.armv7hl: W: non-conffile-in-etc /etc/pcp/pmlogredact/usernames pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Apache pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/ApacheServer pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/BusyCPU pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/CPU pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Cisco pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Disk pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Diskbytes pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/ElasticsearchServer pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Filesystem pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Iostat pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Iostat.DM pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Iostat.MD pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Loadavg pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/MemAvailable pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Memory pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/NFS2 pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/NFS3 pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Netbytes pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Netpackets pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Overview pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/PMCD pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Paging pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Sample pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Schemes pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Sendmail pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Sockets pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Swap pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Syscalls pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Alarms pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Allservers pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Perserver.Bytes pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Perserver.Requests pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Requests pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/Web.Volume pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/shping.CPUTime pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/shping.RealTime pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmchart/vCPU pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmsnap/Snap pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmsnap/crontab pcp-gui.armv7hl: W: non-conffile-in-etc /etc/pcp/pmsnap/summary.html 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. libpcp-devel.armv7hl: E: no-binary pcp-pmda-uwsgi.armv7hl: E: no-binary pcp-selinux.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. pcp.spec: W: no-%check-section The spec file does not contain an %check section. Please check if the package has a testsuite and what it takes to enable the testsuite as part of the package build. If it is not possible to run it in the build environment (OBS/koji) or no testsuite exists, then please ignore this warning. You should not insert an empty %check section. pcp.armv7hl: E: missing-call-to-setgroups-before-setuid /usr/libexec/pcp/pmdas/proc/pmda_proc.so pcp.armv7hl: E: missing-call-to-setgroups-before-setuid /usr/libexec/pcp/pmdas/proc/pmdaproc This executable is calling setuid and setgid without setgroups or initgroups. This means it didn't relinquish all groups, and this would be a potential security issue. pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_jbd2 /usr/libexec/pcp/pmdas/jbd2/root_jbd2 pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_kvm /usr/libexec/pcp/pmdas/kvm/root_kvm pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_mmv /usr/libexec/pcp/pmdas/mmv/root_mmv pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_proc /usr/libexec/pcp/pmdas/proc/root_proc pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_root /usr/libexec/pcp/pmdas/root/root_root pcp.armv7hl: W: files-duplicate /usr/libexec/pcp/pmns/root_xfs /usr/libexec/pcp/pmdas/xfs/root_xfs pcp-doc.noarch: W: files-duplicate /usr/share/doc/pcp-doc/html/views.html /usr/share/doc/pcp-doc/html/lab.pmchart.html:/usr/share/doc/pcp-doc/html/pmchart.html:/usr/share/doc/pcp-doc/html/timecontrol.html pcp-doc.noarch: W: files-duplicate /usr/share/doc/pcp-doc/html/lab.secureclient.html /usr/share/doc/pcp-doc/html/lab.secure.html Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. pcp-zeroconf.noarch: W: empty-%post pcp-testsuite.armv7hl: E: devel-dependency pcp-devel Your package has a dependency on a devel package but it's not a devel package itself. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BashismsCheck 187.1 92.7 ExtractRpm 5.4 2.7 BinariesCheck 3.5 1.8 TOTAL 201.8 100.0 96 packages and 0 specfiles checked; 96 errors, 62 warnings, 2325 filtered, 96 badness; has taken 202.2 s