============================ 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 /etc/xdg/rpmlint/scoring-strict.override.toml rpmlintrc: /home/abuild/rpmbuild/SOURCES/go-rpmlintrc checks: 41, packages: 5 go1.18.src: E: unused-rpmlintrc-filter "binaryinfo-readelf-failed" go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/bin/go go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/bin/gofmt go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/addr2line go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/api go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/asm go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/buildid go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/cgo go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/compile go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/cover go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/dist go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/doc go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/fix go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/link go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/nm go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/objdump go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/pack go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/pprof go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/test2json go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/trace go1.18.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/tool/linux_amd64/vet go1.18-libstd.x86_64: W: unstripped-binary-or-object /usr/lib64/go/1.18/pkg/linux_amd64_dynlink/libstd.so 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. go1.18.x86_64: I: package-supports-update-alternatives go1.18.x86_64: W: obsolete-not-provided go-emacs go1.18.x86_64: W: obsolete-not-provided go-vim 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. go1.18.x86_64: E: non-executable-script /usr/lib64/go/1.18/lib/time/update.bash 644 /bin/bash 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. go1.18-doc.x86_64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. go1.18-race.x86_64: E: missing-PT_GNU_STACK-section /usr/share/go/1.18/src/runtime/race/race_linux_amd64.syso The binary lacks a PT_GNU_STACK section. This forces the dynamic linker to make the stack executable. go1.18.spec:145: W: macro-in-comment %{tsan_commit} 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. go1.18.x86_64: W: hidden-file-or-dir /usr/share/go/1.18/src/cmd/go/internal/imports/testdata/android/.h.go go1.18.x86_64: W: hidden-file-or-dir /usr/share/go/1.18/src/cmd/go/internal/imports/testdata/illumos/.h.go The file or directory is hidden. You should see if this is normal, and delete it from the package if not. go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/all.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/bootstrap.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/buildall.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/clean.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/cmd/compile/internal/ssa/gen/cover.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/cmp.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/internal/trace/mkcanned.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/make.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/race.bash /usr/bin/env bash go1.18.x86_64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.18/src/run.bash /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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 2.4 35.6 ExtractRpm 2.3 34.4 SignatureCheck 0.6 8.9 FilesCheck 0.6 8.6 BuildRootAndDateCheck 0.4 5.7 BashismsCheck 0.1 2.1 FilelistCheck 0.1 1.8 TOTAL 6.7 100.0 5 packages and 0 specfiles checked; 14 errors, 26 warnings, 60 filtered, 94 badness; has taken 6.9 s