============================ 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/go-rpmlintrc checks: 41, packages: 4 go1.23.armv7hl: E: zero-length /usr/share/go/1.23/src/cmd/go/internal/modindex/testdata/ignore_non_source/b.go go1.23.armv7hl: E: zero-length /usr/share/go/1.23/src/cmd/go/internal/modindex/testdata/ignore_non_source/c.c go1.23.src: E: unused-rpmlintrc-filter "binaryinfo-readelf-failed" go1.23.src: E: unused-rpmlintrc-filter "unstripped-binary-or-object.*\.syso$" go1.23.src: E: unused-rpmlintrc-filter "arch-dependent-file-in-usr-share.*\.syso$" go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/bin/go go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/bin/gofmt go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/addr2line go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/asm go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/buildid go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/cgo go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/compile go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/covdata go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/cover go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/dist go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/distpack go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/doc go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/fix go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/link go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/nm go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/objdump go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/pack go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/pprof go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/preprofile go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/test2json go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/trace go1.23.armv7hl: W: unstripped-binary-or-object /usr/lib/go/1.23/pkg/tool/linux_arm/vet 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.23.armv7hl: E: script-without-shebang /usr/share/go/1.23/VERSION 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. go1.23.armv7hl: I: package-supports-update-alternatives go1.23.armv7hl: W: obsolete-not-provided go-emacs go1.23.armv7hl: 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.23.armv7hl: E: non-executable-script /usr/lib/go/1.23/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.23-doc.armv7hl: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. go1.23.spec:137: W: macro-in-comment %{tsan_commit} go1.23.spec:325: W: macro-in-comment %{_builddir} 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.23.armv7hl: W: hidden-file-or-dir /usr/share/go/1.23/src/cmd/go/internal/imports/testdata/android/.h.go go1.23.armv7hl: W: hidden-file-or-dir /usr/share/go/1.23/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.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/go/1.23/misc/wasm/go_js_wasm_exec /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/lib/go/1.23/misc/wasm/go_wasip1_wasm_exec /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/all.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/bootstrap.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/buildall.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/clean.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/cmd/compile/internal/ssa/_gen/cover.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/cmp.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/make.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/src/race.bash /usr/bin/env bash go1.23.armv7hl: E: env-script-interpreter (Badness: 9) /usr/share/go/1.23/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 ExtractRpm 5.7 52.3 BinariesCheck 2.0 18.7 FilesCheck 1.0 9.3 BuildRootAndDateCheck 0.9 8.2 SignatureCheck 0.4 3.3 BashismsCheck 0.3 2.9 FilelistCheck 0.2 2.2 TOTAL 10.8 100.0 4 packages and 0 specfiles checked; 19 errors, 28 warnings, 62 filtered, 107 badness; has taken 11.2 s