============================ rpmlint session starts ============================ rpmlint: 2.7.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/net-snmp-rpmlintrc checks: 41, packages: 9 net-snmp.src: E: unused-rpmlintrc-filter "net-snmp.*incoherent-init-script-name" net-snmp.src: E: unused-rpmlintrc-filter "perl-SNMP.* zero-length.*\.bs" net-snmp.aarch64: W: tmpfile-not-in-filelist /run/net-snmp 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. libsnmp40.aarch64: W: shlib-fixed-dependency perl-base = 5.42.0 Your shared library package requires a fixed version of another package. The intention of the Shared Library Policy is to allow parallel installation of multiple versions of the same shared library, hard dependencies likely make that impossible. Please remove this dependency and instead move it to the runtime uses of your library. net-snmp.aarch64: E: rpath-in-buildconfig /usr/bin/net-snmp-config lines 64 net-snmp-devel.aarch64: E: rpath-in-buildconfig /usr/lib64/pkgconfig/netsnmp-agent.pc lines 12 net-snmp-devel.aarch64: E: rpath-in-buildconfig /usr/lib64/pkgconfig/netsnmp.pc lines 12 This build configuration file contains rpaths which will be introduced into dependent packages. net-snmp.aarch64: W: post-without-tmpfile-creation /usr/lib/tmpfiles.d/net-snmp.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). net-snmp.aarch64: W: non-standard-dir-in-var agentx Your package is creating a non-standard subdirectory in /var. The standard directories are: cache, lib, local, lock, log, opt, run, spool, tmp, account, crash, games, mail, yp. net-snmp.spec:561: W: non-break-space line 561, char 18 net-snmp.spec:563: W: non-break-space line 563, char 18 net-snmp.spec:566: W: non-break-space line 566, char 18 net-snmp.spec:568: W: non-break-space line 568, char 18 net-snmp.spec:571: W: non-break-space line 571, char 18 net-snmp.spec:573: W: non-break-space line 573, char 18 The spec file contains a non-break space, which looks like a regular space in some editors but can lead to obscure errors. It should be replaced by a regular space. snmp-mibs.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. net-snmp.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. net-snmp.aarch64: E: logrotate-log-dir-not-packaged /var/log Please add the specified directory to the file list to be able to check permissions. net-snmp.aarch64: W: files-duplicate /usr/share/doc/packages/net-snmp/EXAMPLE.conf.def /usr/share/doc/packages/net-snmp/EXAMPLE.conf net-snmp-devel.aarch64: W: files-duplicate /usr/include/net-snmp/system/solaris2.4.h /usr/include/net-snmp/system/solaris2.3.h python311-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.11/site-packages/netsnmp/__pycache__/__init__.cpython-311.pyc /usr/lib64/python3.11/site-packages/netsnmp/__pycache__/__init__.cpython-311.opt-1.pyc python311-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.11/site-packages/netsnmp/__pycache__/client.cpython-311.pyc /usr/lib64/python3.11/site-packages/netsnmp/__pycache__/client.cpython-311.opt-1.pyc python311-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.11/site-packages/netsnmp/tests/__pycache__/__init__.cpython-311.pyc /usr/lib64/python3.11/site-packages/netsnmp/tests/__pycache__/__init__.cpython-311.opt-1.pyc python311-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.11/site-packages/netsnmp/tests/__pycache__/test.cpython-311.pyc /usr/lib64/python3.11/site-packages/netsnmp/tests/__pycache__/test.cpython-311.opt-1.pyc python312-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.12/site-packages/netsnmp/__pycache__/__init__.cpython-312.pyc /usr/lib64/python3.12/site-packages/netsnmp/__pycache__/__init__.cpython-312.opt-1.pyc python312-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.12/site-packages/netsnmp/__pycache__/client.cpython-312.pyc /usr/lib64/python3.12/site-packages/netsnmp/__pycache__/client.cpython-312.opt-1.pyc python312-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.12/site-packages/netsnmp/tests/__pycache__/__init__.cpython-312.pyc /usr/lib64/python3.12/site-packages/netsnmp/tests/__pycache__/__init__.cpython-312.opt-1.pyc python312-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.12/site-packages/netsnmp/tests/__pycache__/test.cpython-312.pyc /usr/lib64/python3.12/site-packages/netsnmp/tests/__pycache__/test.cpython-312.opt-1.pyc python313-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.13/site-packages/netsnmp/__pycache__/__init__.cpython-313.pyc /usr/lib64/python3.13/site-packages/netsnmp/__pycache__/__init__.cpython-313.opt-1.pyc python313-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.13/site-packages/netsnmp/__pycache__/client.cpython-313.pyc /usr/lib64/python3.13/site-packages/netsnmp/__pycache__/client.cpython-313.opt-1.pyc python313-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.13/site-packages/netsnmp/tests/__pycache__/__init__.cpython-313.pyc /usr/lib64/python3.13/site-packages/netsnmp/tests/__pycache__/__init__.cpython-313.opt-1.pyc python313-net-snmp.aarch64: W: files-duplicate /usr/lib64/python3.13/site-packages/netsnmp/tests/__pycache__/test.cpython-313.pyc /usr/lib64/python3.13/site-packages/netsnmp/tests/__pycache__/test.cpython-313.opt-1.pyc Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. net-snmp.aarch64: E: filelist-forbidden-fhs23 /var/agentx File violates FHS 2.3. libsnmp40.aarch64: E: call-to-mktemp /usr/lib64/libnetsnmp.so.40.2.1 libsnmp40.aarch64: E: call-to-mktemp /usr/lib64/libnetsnmpagent.so.40.2.1 libsnmp40.aarch64: E: call-to-mktemp /usr/lib64/libnetsnmpmibs.so.40.2.1 libsnmp40.aarch64: E: call-to-mktemp /usr/lib64/libsnmp.so.40.2.1 This executable calls mktemp. As advised by the manpage (mktemp(3)), this function should be avoided. libsnmp40.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libnetsnmp.so.40.2.1 libsnmp40.aarch64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libsnmp.so.40.2.1 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 2.4 38.2 ExtractRpm 2.2 34.0 BinariesCheck 1.0 15.3 SignatureCheck 0.2 3.2 SharedLibraryPolicyCheck 0.2 3.0 FilesCheck 0.1 1.9 TOTAL 6.4 100.0 9 packages and 0 specfiles checked; 12 errors, 27 warnings, 51 filtered, 12 badness; has taken 6.5 s