============================ 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/ceph-rpmlintrc checks: 41, packages: 44 ceph.src: E: unused-rpmlintrc-filter "ceph-base.*devel-file-in-non-devel-package.*libceph_crypto" ceph.src: E: unused-rpmlintrc-filter "filename-too-long-for-joliet" ceph.src: E: unused-rpmlintrc-filter "ceph-osd.*non-conffile-in-etc.*sudoers" ceph.src: E: unused-rpmlintrc-filter "cephadm.*non-conffile-in-etc.*sudoers" ceph.src: E: unused-rpmlintrc-filter "librgw2.*shared-lib-calls-exit" ceph.src: E: unused-rpmlintrc-filter "ceph-base.*shlib-policy-missing-suffix" ceph.src: E: unused-rpmlintrc-filter "ceph\..*suse-filelist-empty" ceph.src: E: unused-rpmlintrc-filter "ceph-common.*suse-filelist-forbidden-bashcomp-userdirs" ceph.src: E: unused-rpmlintrc-filter "ceph-base.*suse-logrotate-log-dir-not-packaged" ceph.src: E: unused-rpmlintrc-filter "suse-missing-rclink" ceph.spec: E: superfluous-%clean-section The spec section %clean should not be used any longer. RPM provides its own clean logic. cephfs-top.noarch: E: summary-not-capitalized (Badness: 20) top(1) like utility for Ceph Filesystem Summary doesn't begin with a capital letter. ceph-base.aarch64: W: python-missing-require ceph The python package declare some requirement that's not detected in the rpm package. Please, verify that all dependencies are added as Requires. ceph-base.aarch64: W: python-leftover-require python3-setuptools Some python module Requires can't be found in the python package requirements declaration. Please verify that all dependencies are really needed. ceph-base.aarch64: W: potential-bashisms /usr/libexec/ceph/ceph_common.sh checkbashisms reported potential bashisms in a /bin/sh shell script, you might want to manually check this script for bashisms. ceph-common.aarch64: W: obsolete-not-provided libradosstriper1 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. ceph-base.aarch64: W: non-conffile-in-etc /etc/sudoers.d/ceph-smartctl 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. cephfs-top.noarch: E: no-dependency-on python-base 3.11 libradospp-devel.aarch64: E: no-binary rados-objclass-devel.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. ceph-base.aarch64: E: logrotate-log-dir-not-packaged /var/log/ceph Please add the specified directory to the file list to be able to check permissions. ceph-common.aarch64: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/ceph ceph-common.aarch64: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/rados ceph-common.aarch64: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/radosgw-admin ceph-common.aarch64: E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/rbd This directory is for user files, use /usr/share/bash-completion/completions/. ceph-radosgw.aarch64: E: env-script-interpreter (Badness: 9) /usr/bin/rgw-gap-list /usr/bin/env bash ceph-radosgw.aarch64: E: env-script-interpreter (Badness: 9) /usr/bin/rgw-orphan-list /usr/bin/env bash 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. librbd1.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/ceph/librbd/libceph_librbd_parent_cache.so librbd1.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/ceph/librbd/libceph_librbd_pwl_cache.so A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 7.9 40.2 ExtractRpm 6.1 31.0 SignatureCheck 1.5 7.4 BashismsCheck 1.4 7.2 SharedLibraryPolicyCheck 0.9 4.7 FilesCheck 0.5 2.3 BuildRootAndDateCheck 0.4 2.3 SUIDPermissionsCheck 0.4 1.9 TOTAL 19.7 100.0 44 packages and 0 specfiles checked; 24 errors, 5 warnings, 4933 filtered, 157 badness; has taken 20.1 s