============================ 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/erlang-rpmlintrc checks: 42, packages: 21 erlang27.x86_64: E: zero-length /usr/lib64/erlang/lib/snmp-5.17/mibs/v1/OTP-SNMPEA-MIB.mib.v1 erlang27.x86_64: E: suse-zypp-otherproviders otherproviders(erlang) erlang27-debugger.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-debugger) erlang27-debugger-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-debugger-src) erlang27-dialyzer.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-dialyzer) erlang27-dialyzer-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-dialyzer-src) erlang27-diameter-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-diameter-src) erlang27-doc.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-doc) erlang27-epmd.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-epmd) erlang27-et.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-et) erlang27-et-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-et-src) erlang27-jinterface.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-jinterface) erlang27-jinterface-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-jinterface-src) erlang27-observer.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-observer) erlang27-observer-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-observer-src) erlang27-reltool.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-reltool) erlang27-reltool-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-reltool-src) erlang27-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-src) erlang27-wx.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-wx) erlang27-wx-src.x86_64: E: suse-zypp-otherproviders otherproviders(erlang-wx-src) The 'otherproviders(symbol)' syntax is obsolete, it is not needed and you can use the 'symbol' directly: 'Conflicts: symbol' erlang27.spec:424: W: shared-dir-glob-in-files %{_bindir}/* The %files section contains "%{_bindir}/*", "%{_datadir}/*", "%{_docdir}/*", "%{_includedir}/*" or "%{_mandir}/*". These can lead to packagers not noticing when upstream adds new and possibly conflicting files in these directories. Therefore, files in these directories should be explicitely listed like "%{_bindir}/foobar" or "%{_includedir}/foobar.h". erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/ct_run erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/erl_call erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/erlc erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/escript erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/run_erl erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/to_erl erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/typer erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/beam.smp erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/ct_run erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/dyn_erl erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/erl_call erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/erl_child_setup erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/erlc erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/erlexec erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/escript erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/heart erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/inet_gethost erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/run_erl erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/to_erl erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/typer erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/yielding_c_fun erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/erl_interface-5.5.2/bin/erl_call erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/odbc-2.15/priv/bin/odbcserver erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/os_mon-2.10/priv/bin/cpu_sup erlang27.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/os_mon-2.10/priv/bin/memsup erlang27-dialyzer.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/dialyzer erlang27-dialyzer.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/dialyzer erlang27-epmd.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-15.1.3/bin/epmd 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. erlang27.x86_64: E: non-executable-script /usr/lib64/erlang/lib/inets-9.3/examples/httpd_load_test/hdlt.sh.skel 644 /bin/sh erlang27.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.6/examples/meas/meas.sh.skel 644 /bin/sh erlang27.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.6/examples/meas/mstone1.sh.skel 644 /bin/sh erlang27.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.6/examples/meas/mstone2.sh.skel 644 /bin/sh erlang27-reltool.x86_64: E: non-executable-script /usr/lib64/erlang/lib/reltool-1.0.1/examples/display_args 644 /usr/bin/env escript erlang27-reltool.x86_64: E: non-executable-script /usr/lib64/erlang/lib/reltool-1.0.1/examples/mnesia_core_dump_viewer 644 /usr/bin/env escript erlang27-src.x86_64: E: non-executable-script /usr/lib64/erlang/lib/snmp-5.17/src/compiler/snmpc.src 644 /usr/bin/env escript 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. erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/asn1-5.3.1/priv/lib/asn1rt_nif.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.5.1/priv/lib/crypto.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.5.1/priv/lib/crypto_callback.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.5.1/priv/lib/otp_test_engine.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.1.1/priv/lib/dyntrace.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.1.1/priv/lib/trace_file_drv.so erlang27.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.1.1/priv/lib/trace_ip_drv.so The library has no soname. erlang27.spec:376: W: macro-in-comment %{_mandir} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. erlang27.x86_64: E: files-duplicated-waste (Badness: 100) 183416 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. erlang27.x86_64: W: files-duplicate /usr/lib64/erlang/erts-15.1.3/lib/internal/liberts_internal_r.a /usr/lib64/erlang/erts-15.1.3/lib/internal/liberts_internal.a Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. erlang27.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/edoc-1.3.2/bin/edoc /usr/bin/env escript erlang27.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/snmp-5.17/bin/snmpc /usr/bin/env escript erlang27-diameter.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/diameter-2.4.1/bin/diameterc /usr/bin/env escript 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. erlang27-epmd.x86_64: W: dir-or-file-outside-snapshot /var/lib/epmd The package contains files outside the snapshot, e.g. outside /etc and /usr or inside /usr/local. erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/bin/erl_call erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/bin/erlc erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-15.1.3/bin/erl_call erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-15.1.3/bin/erlc erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-15.1.3/bin/inet_gethost erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.2/bin/erl_call erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.2/lib/libei.a erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.2/lib/libei_st.a erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/usr/lib/libei.a erlang27.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/usr/lib/libei_st.a The binary calls gethostbyname. Please port the code to use getaddrinfo. erlang27.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/inets-9.3/examples/httpd_load_test/hdlt.sh.skel erlang27.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.6/examples/meas/meas.sh.skel erlang27.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.6/examples/meas/mstone2.sh.skel erlang27.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.6/examples/meas/mstone1.sh.skel A /bin/sh shell script contains a POSIX shell syntax error. This might indicate a potential bash-specific feature being used, try dash -n for more detailed error message. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 11.7 50.5 ErlangCheck 7.2 30.9 FilesCheck 0.9 3.9 BashismsCheck 0.8 3.6 BinariesCheck 0.8 3.3 SignatureCheck 0.6 2.6 BuildRootAndDateCheck 0.6 2.5 TOTAL 23.1 100.0 21 packages and 0 specfiles checked; 31 errors, 53 warnings, 331 filtered, 154 badness; has taken 23.3 s