============================ 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/go-rpmlintrc checks: 41, packages: 5 go1.20.aarch64: E: zero-length /usr/share/go/1.20/src/cmd/go/internal/modindex/testdata/ignore_non_source/b.go go1.20.aarch64: E: zero-length /usr/share/go/1.20/src/cmd/go/internal/modindex/testdata/ignore_non_source/c.c go1.20.src: E: unused-rpmlintrc-filter "binaryinfo-readelf-failed" go1.20.aarch64: E: script-without-shebang /usr/share/go/1.20/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.20.aarch64: I: package-supports-update-alternatives go1.20.aarch64: W: obsolete-not-provided go-emacs go1.20.aarch64: 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.20.aarch64: E: non-executable-script /usr/lib64/go/1.20/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.20-doc.aarch64: E: no-binary The package should be of the noarch architecture because it doesn't contain any binaries. go1.20.spec:141: W: macro-in-comment %{tsan_commit} go1.20.spec:334: 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.20.aarch64: W: hidden-file-or-dir /usr/share/go/1.20/src/cmd/go/internal/imports/testdata/android/.h.go go1.20.aarch64: W: hidden-file-or-dir /usr/share/go/1.20/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.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/all.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/bootstrap.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/buildall.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/clean.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/cmd/compile/internal/ssa/_gen/cover.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/cmp.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/internal/trace/mkcanned.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/make.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/src/race.bash /usr/bin/env bash go1.20.aarch64: E: env-script-interpreter (Badness: 9) /usr/share/go/1.20/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 3.8 42.5 BinariesCheck 1.3 15.1 SUIDPermissionsCheck 1.1 12.7 FilesCheck 0.8 9.5 BuildRootAndDateCheck 0.7 7.5 SignatureCheck 0.3 3.7 FilelistCheck 0.3 3.0 BashismsCheck 0.2 2.6 TOTAL 8.8 100.0 5 packages and 0 specfiles checked; 16 errors, 6 warnings, 60 filtered, 96 badness; has taken 9.1 s