============================ rpmlint session starts ============================ rpmlint: 2.7.0 configuration: /opt/testing/lib64/python3.13/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/ghc-rpmlintrc checks: 41, packages: 161 ghc-compiler.aarch64: E: zero-length /usr/lib64/ghc-9.10.2/lib/package.conf.d/package.cache.lock ghc-manual.noarch: E: zero-length /usr/share/doc/packages/ghc-9.10.2/html/Haddock/.log ghc.src: E: unused-rpmlintrc-filter "static-library-without-debuginfo" ghc.src: E: unused-rpmlintrc-filter "no-manual-page-for-binary" ghc-base-prof.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-iserv-prof-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-iserv-dyn-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-iserv-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-pkg-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/ghc-toolchain-bin-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/haddock-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/hp2ps-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/hpc-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/hsc2hs-ghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/runghc-9.10.2 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.10.2/bin/unlit-ghc-9.10.2 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. ghc-manual.noarch: W: package-with-huge-docs 100% More than half the size of your package is documentation. Consider splitting it into a -doc subpackage. ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/Haddock/.buildinfo ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/Haddock/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/Haddock/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/Haddock/.log ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/users_guide/.buildinfo ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/users_guide/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/users_guide/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.10.2/html/users_guide/.log The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ghc-compiler.aarch64: W: ghost-files-without-postin ghc-base-doc.noarch: E: files-duplicated-waste (Badness: 100) 189744 ghc-manual.noarch: E: files-duplicated-waste (Badness: 100) 1255129 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ghc-compiler.aarch64: W: files-duplicate /usr/bin/ghc-9.10.2 /usr/bin/ghc ghc-compiler.aarch64: W: files-duplicate /usr/bin/ghc-pkg-9.10.2 /usr/bin/ghc-pkg ghc-compiler.aarch64: W: files-duplicate /usr/bin/ghci-9.10.2 /usr/bin/ghci ghc-compiler.aarch64: W: files-duplicate /usr/bin/haddock-ghc-9.10.2 /usr/bin/haddock ghc-compiler.aarch64: W: files-duplicate /usr/bin/hp2ps-ghc-9.10.2 /usr/bin/hp2ps ghc-compiler.aarch64: W: files-duplicate /usr/bin/hpc-ghc-9.10.2 /usr/bin/hpc ghc-compiler.aarch64: W: files-duplicate /usr/bin/hsc2hs-ghc-9.10.2 /usr/bin/hsc2hs ghc-compiler.aarch64: W: files-duplicate /usr/bin/runghc-9.10.2 /usr/bin/runghc ghc-compiler.aarch64: W: files-duplicate /usr/bin/runhaskell-9.10.2 /usr/bin/runhaskell ghc-compiler.aarch64: W: files-duplicate /usr/lib64/ghc-9.10.2/lib/html/Ocean.theme/minus.gif /usr/lib64/ghc-9.10.2/lib/html/Classic.theme/minus.gif ghc-compiler.aarch64: W: files-duplicate /usr/lib64/ghc-9.10.2/lib/html/Ocean.theme/plus.gif /usr/lib64/ghc-9.10.2/lib/html/Classic.theme/plus.gif ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/haddock-bundle.min.js /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/haddock-bundle.min.js:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/haddock-bundle.min.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/linuwial.css /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/linuwial.css:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/linuwial.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/meta.json /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/meta.json:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/meta.json ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/quick-jump.css /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/quick-jump.css:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/quick-jump.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/quick-jump.min.js /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/quick-jump.min.js:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/quick-jump.min.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/src/highlight.js /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/src/highlight.js:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/src/highlight.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/src/style.css /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/src/style.css:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/src/style.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/libraries/integer-gmp-1.1/synopsis.png /usr/share/doc/packages/ghc-9.10.2/html/libraries/base-4.20.1.0/synopsis.png:/usr/share/doc/packages/ghc-9.10.2/html/libraries/ghc-prim-0.12.0/synopsis.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/doctools.js /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/doctools.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/file.png /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/file.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/language_data.js /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/language_data.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/minus.png /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/minus.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/plus.png /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/plus.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/pygments.css /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/pygments.css ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/searchtools.js /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/searchtools.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/sphinx_highlight.js /usr/share/doc/packages/ghc-9.10.2/html/Haddock/_static/sphinx_highlight.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/eventlog_profile.png /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_images/eventlog_profile.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/prof_scc.svg /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_images/prof_scc.svg ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/fonts/fontawesome-webfont.eot /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/css/fonts/fontawesome-webfont.eot ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/fonts/fontawesome-webfont.svg /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/css/fonts/fontawesome-webfont.svg ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/fonts/fontawesome-webfont.ttf /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/css/fonts/fontawesome-webfont.ttf ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/fonts/fontawesome-webfont.woff /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/css/fonts/fontawesome-webfont.woff ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/fonts/fontawesome-webfont.woff2 /usr/share/doc/packages/ghc-9.10.2/html/users_guide/_static/css/fonts/fontawesome-webfont.woff2 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. ghc-compiler.aarch64: E: env-script-interpreter (Badness: 9) /usr/lib64/ghc-9.10.2/lib/post-link.mjs /usr/bin/env -S node 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 88.5 58.2 BinariesCheck 52.6 34.6 SignatureCheck 3.2 2.1 BuildRootAndDateCheck 2.6 1.7 FilesCheck 2.0 1.3 BashismsCheck 1.9 1.2 TOTAL 152.2 100.0 161 packages and 0 specfiles checked; 7 errors, 56 warnings, 752 filtered, 213 badness; has taken 153.4 s