============================ 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/erlang-rpmlintrc checks: 41, packages: 21 erlang.armv7hl: E: zero-length /usr/lib/erlang/lib/snmp-5.17/mibs/v1/OTP-SNMPEA-MIB.mib.v1 erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/ct_run erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/erl_call erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/erlc erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/escript erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/run_erl erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/to_erl erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/typer erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/beam.smp erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/ct_run erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/dyn_erl erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/erl_call erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/erl_child_setup erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/erlc erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/erlexec erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/escript erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/heart erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/inet_gethost erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/run_erl erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/to_erl erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/typer erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/yielding_c_fun erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/lib/erl_interface-5.5.2/bin/erl_call erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/lib/odbc-2.15/priv/bin/odbcserver erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/lib/os_mon-2.10/priv/bin/cpu_sup erlang.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/lib/os_mon-2.10/priv/bin/memsup erlang-dialyzer.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/bin/dialyzer erlang-dialyzer.armv7hl: W: position-independent-executable-suggested /usr/lib/erlang/erts-15.1.3/bin/dialyzer erlang-epmd.armv7hl: W: position-independent-executable-suggested /usr/lib/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. erlang.armv7hl: E: non-executable-script /usr/lib/erlang/lib/inets-9.3/examples/httpd_load_test/hdlt.sh.skel 644 /bin/sh erlang.armv7hl: E: non-executable-script /usr/lib/erlang/lib/megaco-4.6/examples/meas/meas.sh.skel 644 /bin/sh erlang.armv7hl: E: non-executable-script /usr/lib/erlang/lib/megaco-4.6/examples/meas/mstone1.sh.skel 644 /bin/sh erlang.armv7hl: E: non-executable-script /usr/lib/erlang/lib/megaco-4.6/examples/meas/mstone2.sh.skel 644 /bin/sh erlang-reltool.armv7hl: E: non-executable-script /usr/lib/erlang/lib/reltool-1.0.1/examples/display_args 644 /usr/bin/env escript erlang-reltool.armv7hl: E: non-executable-script /usr/lib/erlang/lib/reltool-1.0.1/examples/mnesia_core_dump_viewer 644 /usr/bin/env escript erlang-src.armv7hl: E: non-executable-script /usr/lib/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. erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/asn1-5.3.1/priv/lib/asn1rt_nif.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/crypto-5.5.1/priv/lib/crypto.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/crypto-5.5.1/priv/lib/crypto_callback.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/crypto-5.5.1/priv/lib/otp_test_engine.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/runtime_tools-2.1.1/priv/lib/dyntrace.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/runtime_tools-2.1.1/priv/lib/trace_file_drv.so erlang.armv7hl: W: no-soname /usr/lib/erlang/lib/runtime_tools-2.1.1/priv/lib/trace_ip_drv.so The library has no soname. erlang-debugger.armv7hl: E: no-binary erlang-debugger-src.armv7hl: E: no-binary erlang-dialyzer-src.armv7hl: E: no-binary erlang-diameter.armv7hl: E: no-binary erlang-diameter-src.armv7hl: E: no-binary erlang-doc.armv7hl: E: no-binary erlang-et.armv7hl: E: no-binary erlang-et-src.armv7hl: E: no-binary erlang-jinterface.armv7hl: E: no-binary erlang-jinterface-src.armv7hl: E: no-binary erlang-observer.armv7hl: E: no-binary erlang-observer-src.armv7hl: E: no-binary erlang-reltool.armv7hl: E: no-binary erlang-reltool-src.armv7hl: E: no-binary erlang-src.armv7hl: E: no-binary erlang-wx-src.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. erlang.spec:314: 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. erlang.armv7hl: E: files-duplicated-waste (Badness: 100) 116736 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. erlang.armv7hl: W: files-duplicate /usr/lib/erlang/erts-15.1.3/lib/internal/liberts_internal_r.a /usr/lib/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. erlang.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/erlang/lib/edoc-1.3.2/bin/edoc /usr/bin/env escript erlang.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/erlang/lib/snmp-5.17/bin/snmpc /usr/bin/env escript erlang-diameter.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/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. erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/bin/erl_call erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/bin/erlc erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/erts-15.1.3/bin/erl_call erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/erts-15.1.3/bin/erlc erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/erts-15.1.3/bin/inet_gethost erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/lib/erl_interface-5.5.2/bin/erl_call erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/lib/erl_interface-5.5.2/lib/libei.a erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/lib/erl_interface-5.5.2/lib/libei_st.a erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/usr/lib/libei.a erlang.armv7hl: W: binary-or-shlib-calls-gethostbyname /usr/lib/erlang/usr/lib/libei_st.a The binary calls gethostbyname. Please port the code to use getaddrinfo. erlang.armv7hl: W: bin-sh-syntax-error /usr/lib/erlang/lib/megaco-4.6/examples/meas/meas.sh.skel erlang.armv7hl: W: bin-sh-syntax-error /usr/lib/erlang/lib/inets-9.3/examples/httpd_load_test/hdlt.sh.skel erlang.armv7hl: W: bin-sh-syntax-error /usr/lib/erlang/lib/megaco-4.6/examples/meas/mstone2.sh.skel erlang.armv7hl: W: bin-sh-syntax-error /usr/lib/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 ErlangCheck 10.0 43.6 ExtractRpm 5.9 25.7 BashismsCheck 1.7 7.4 BinariesCheck 1.4 6.2 FilesCheck 1.3 5.7 SignatureCheck 0.8 3.3 BuildRootAndDateCheck 0.8 3.3 TagsCheck 0.3 1.5 SpecCheck 0.3 1.1 FilelistCheck 0.3 1.1 TOTAL 22.9 100.0 21 packages and 0 specfiles checked; 28 errors, 51 warnings, 375 filtered, 151 badness; has taken 23.4 s