============================ 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/erlang-rpmlintrc checks: 41, packages: 21 erlang.x86_64: E: zero-length /usr/lib64/erlang/lib/snmp-5.15/mibs/v1/OTP-SNMPEA-MIB.mib.v1 erlang-doc.x86_64: W: wrong-file-end-of-line-encoding /usr/share/doc/packages/erlang-doc/doc/js/flipmenu/flipmenu.js This file has wrong end-of-line encoding, usually caused by creation or modification on a non-Unix system. It could prevent it from being displayed correctly in some circumstances. erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/ct_run erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/erl_call erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/erlc erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/escript erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/run_erl erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/to_erl erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/typer erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/beam.smp erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/ct_run erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/dyn_erl erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/erl_call erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/erl_child_setup erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/erlc erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/erlexec erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/escript erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/heart erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/inet_gethost erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/run_erl erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/to_erl erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/typer erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/yielding_c_fun erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/erl_interface-5.5.1/bin/erl_call erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/odbc-2.14.2/priv/bin/odbcserver erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/os_mon-2.9.1/priv/bin/cpu_sup erlang.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/lib/os_mon-2.9.1/priv/bin/memsup erlang-dialyzer.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/bin/dialyzer erlang-dialyzer.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/bin/dialyzer erlang-epmd.x86_64: W: position-independent-executable-suggested /usr/lib64/erlang/erts-14.2.5.2/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.x86_64: E: non-executable-script /usr/lib64/erlang/lib/inets-9.1/examples/httpd_load_test/hdlt.sh.skel 644 /bin/sh erlang.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.5/examples/meas/meas.sh.skel 644 /bin/sh erlang.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.5/examples/meas/mstone1.sh.skel 644 /bin/sh erlang.x86_64: E: non-executable-script /usr/lib64/erlang/lib/megaco-4.5/examples/meas/mstone2.sh.skel 644 /bin/sh erlang-reltool.x86_64: E: non-executable-script /usr/lib64/erlang/lib/reltool-1.0/examples/display_args 644 /usr/bin/env escript erlang-reltool.x86_64: E: non-executable-script /usr/lib64/erlang/lib/reltool-1.0/examples/mnesia_core_dump_viewer 644 /usr/bin/env escript erlang-src.x86_64: E: non-executable-script /usr/lib64/erlang/lib/snmp-5.15/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.x86_64: W: no-soname /usr/lib64/erlang/lib/asn1-5.2.2/priv/lib/asn1rt_nif.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.4.2.1/priv/lib/crypto.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.4.2.1/priv/lib/crypto_callback.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/crypto-5.4.2.1/priv/lib/otp_test_engine.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.0.1/priv/lib/dyntrace.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.0.1/priv/lib/trace_file_drv.so erlang.x86_64: W: no-soname /usr/lib64/erlang/lib/runtime_tools-2.0.1/priv/lib/trace_ip_drv.so The library has no soname. erlang.spec:313: 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.x86_64: E: files-duplicated-waste (Badness: 100) 184808 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. erlang.x86_64: W: files-duplicate /usr/lib64/erlang/erts-14.2.5.2/lib/internal/liberts_internal_r.a /usr/lib64/erlang/erts-14.2.5.2/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.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/edoc-1.2.1/bin/edoc /usr/bin/env escript erlang.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/erl_docgen-1.5.2/priv/bin/codeline_preprocessing.escript /usr/bin/env escript erlang.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/erl_docgen-1.5.2/priv/bin/xml_from_edoc.escript /usr/bin/env escript erlang.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/snmp-5.15/bin/snmpc /usr/bin/env escript erlang-diameter.x86_64: E: env-script-interpreter (Badness: 9) /usr/lib64/erlang/lib/diameter-2.3.2.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.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/bin/erl_call erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/bin/erlc erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-14.2.5.2/bin/erl_call erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-14.2.5.2/bin/erlc erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/erts-14.2.5.2/bin/inet_gethost erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.1/bin/erl_call erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.1/lib/libei.a erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/lib/erl_interface-5.5.1/lib/libei_st.a erlang.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/erlang/usr/lib/libei.a erlang.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. erlang.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/inets-9.1/examples/httpd_load_test/hdlt.sh.skel erlang.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.5/examples/meas/meas.sh.skel erlang.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.5/examples/meas/mstone2.sh.skel erlang.x86_64: W: bin-sh-syntax-error /usr/lib64/erlang/lib/megaco-4.5/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. erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/atomics.beam /home/ejohogb/projects/otp/erts/preloaded/src/atomics.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/counters.beam /home/ejohogb/projects/otp/erts/preloaded/src/counters.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erl_init.beam /home/ejohogb/projects/otp/erts/preloaded/src/erl_init.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erl_prim_loader.beam /home/ejohogb/projects/otp/erts/preloaded/src/erl_prim_loader.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erl_tracer.beam /home/ejohogb/projects/otp/erts/preloaded/src/erl_tracer.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erlang.beam /home/uabgrei/git/otp4/erts/preloaded/src/erlang.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erts_code_purger.beam /home/uabseri/src/otp/erts/preloaded/src/erts_code_purger.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erts_dirty_process_signal_handler.beam /home/ejohogb/projects/otp/erts/preloaded/src/erts_dirty_process_signal_handler.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erts_internal.beam /home/uabgrei/git/otp/erts/preloaded/src/erts_internal.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/erts_literal_area_collector.beam /home/ejohogb/projects/otp/erts/preloaded/src/erts_literal_area_collector.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/init.beam /home/ejohogb/projects/otp/erts/preloaded/src/init.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/persistent_term.beam /home/ejohogb/projects/otp/erts/preloaded/src/persistent_term.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_buffer.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_buffer.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_eval.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_eval.S erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_file.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_file.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_inet.beam /home/uabrani/git/otp/merge/erts/preloaded/src/prim_inet.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_net.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_net.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_socket.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_socket.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/prim_zip.beam /home/ejohogb/projects/otp/erts/preloaded/src/prim_zip.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/socket_registry.beam /home/ejohogb/projects/otp/erts/preloaded/src/socket_registry.erl erlang.x86_64: W: beam-was-not-recompiled /usr/lib64/erlang/lib/erts-14.2.5.2/ebin/zlib.beam /home/ejohogb/projects/otp/erts/preloaded/src/zlib.erl It seems that your beam file was not compiled by you, but was just copied in binary form to destination. Please, make sure that you really compile it from the sources. erlang-doc.x86_64: E: beam-compiled-without-debuginfo /usr/share/doc/packages/erlang-doc/doc/docbuild/erl_html_tools.beam erlang-doc.x86_64: E: beam-compiled-without-debuginfo /usr/share/doc/packages/erlang-doc/doc/docbuild/erlresolvelinks.beam erlang-doc.x86_64: E: beam-compiled-without-debuginfo /usr/share/doc/packages/erlang-doc/doc/docbuild/otp_man_index.beam Your beam file indicates that it doesn't contain debug_info. Please, make sure that you compile with +debug_info. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files ExtractRpm 11.4 42.4 ErlangCheck 8.2 30.4 BashismsCheck 1.5 5.7 BuildRootAndDateCheck 1.5 5.6 FilesCheck 1.3 4.8 BinariesCheck 1.2 4.5 SignatureCheck 0.8 2.8 TagsCheck 0.3 1.2 TOTAL 26.8 100.0 21 packages and 0 specfiles checked; 17 errors, 73 warnings, 336 filtered, 156 badness; has taken 27.2 s