============================ rpmlint session starts ============================ rpmlint: 2.5.0 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 checks: 41, packages: 13 libldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/liblber.so.2.0.200 libldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/libldap.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/accesslog.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/auditlog.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/autoca.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_ldap.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_mdb.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_relay.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/collect.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/constraint.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/dds.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/deref.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/dyngroup.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/dynlist.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/homedir.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/memberof.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/otp.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/pcache.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/ppolicy.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/refint.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/remoteauth.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/retcode.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/rwm.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/seqmod.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/sssvlv.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/syncprov.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/translucent.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/unique.so.2.0.200 openldap2.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/valsort.so.2.0.200 openldap2-back-meta.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_meta.so.2.0.200 openldap2-back-perl.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_perl.so.2.0.200 openldap2-back-sock.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_sock.so.2.0.200 openldap2-back-sql.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/back_sql.so.2.0.200 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/addpartial.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/allop.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/allowed.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/authzid.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/autogroup.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/cloak.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/datamorph.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/denyop.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/lastbind.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/noopsrch.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/pw-pbkdf2.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/pw-sha2.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/smbk5pwd.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/trace.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/variant.so.0.0.0 openldap2-contrib.x86_64: W: unstripped-binary-or-object /usr/lib64/openldap/vc.so.0.0.0 This executable should be stripped from debugging symbols, in order to take less space and be loaded faster. This is usually done automatically at buildtime by rpm. openldap2-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/liblber.a openldap2-devel-static.x86_64: E: static-library-without-debuginfo /usr/lib64/libldap.a The static library doesn't contain any debuginfo. Binaries linking against this static library can't be properly debugged. openldap2-back-sql.x86_64: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/openldap2-back-sql/examples/timesten/create_schema.sh openldap2-back-sql.x86_64: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/openldap2-back-sql/examples/timesten/ttcreate_schema.sh The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are desired, and remove if not. openldap2.x86_64: E: script-without-shebang /usr/lib/openldap/fixup-modulepath This text file has executable bits set or is located in a path dedicated for executables, but lacks a shebang and cannot thus be executed. If the file is meant to be an executable script, add the shebang, otherwise remove the executable bits or move the file elsewhere. libldap-data.noarch: W: non-conffile-in-etc /etc/openldap/ldap.conf.default 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. libldap-data.noarch: W: files-duplicate /etc/openldap/ldap.conf.default /etc/openldap/ldap.conf openldap2.x86_64: W: files-duplicate /usr/lib/sysusers.d/ldap-user.conf /usr/lib/openldap/fixup-modulepath openldap2-back-sql.x86_64: W: files-duplicate /usr/share/doc/packages/openldap2-back-sql/examples/timesten/tttestdb_drop.sql /usr/share/doc/packages/openldap2-back-sql/examples/ibmdb2/testdb_drop.sql:/usr/share/doc/packages/openldap2-back-sql/examples/timesten/testdb_drop.sql Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. libldap2.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libldap.so.2.0.200 openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapcompare openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapdelete openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapexop openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapmodify openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapmodrdn openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldappasswd openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapsearch openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapvc openldap2-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/ldapwhoami 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 BinariesCheck 0.8 48.8 ExtractRpm 0.3 16.7 FilesCheck 0.1 8.6 SignatureCheck 0.1 8.3 TOTAL 1.6 100.0 13 packages and 0 specfiles checked; 5 errors, 63 warnings, 105 filtered, 103 badness; has taken 1.6 s