============================ 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/ghc-rpmlintrc checks: 41, packages: 141 ghc-compiler.aarch64: E: zero-length /usr/lib64/ghc-9.8.3/lib/package.conf.d/package.cache.lock ghc-manual.noarch: E: zero-length /usr/share/doc/packages/ghc-9.8.3/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.8.3/bin/ghc-iserv-prof-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/ghc-iserv-dyn-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/ghc-iserv-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/ghc-pkg-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/haddock-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/hp2ps-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/hpc-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/hsc2hs-ghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/runghc-9.8.3 ghc-compiler.aarch64: W: position-independent-executable-suggested /usr/lib64/ghc-9.8.3/bin/unlit-ghc-9.8.3 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.8.3/html/Haddock/.buildinfo ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/Haddock/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/Haddock/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/Haddock/.log ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/users_guide/.buildinfo ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/users_guide/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/html/users_guide/.doctrees-html ghc-manual.noarch: W: hidden-file-or-dir /usr/share/doc/packages/ghc-9.8.3/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) 1254571 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.8.3 /usr/bin/ghc ghc-compiler.aarch64: W: files-duplicate /usr/bin/ghc-pkg-9.8.3 /usr/bin/ghc-pkg ghc-compiler.aarch64: W: files-duplicate /usr/bin/ghci-9.8.3 /usr/bin/ghci ghc-compiler.aarch64: W: files-duplicate /usr/bin/haddock-ghc-9.8.3 /usr/bin/haddock ghc-compiler.aarch64: W: files-duplicate /usr/bin/hp2ps-ghc-9.8.3 /usr/bin/hp2ps ghc-compiler.aarch64: W: files-duplicate /usr/bin/hpc-ghc-9.8.3 /usr/bin/hpc ghc-compiler.aarch64: W: files-duplicate /usr/bin/hsc2hs-ghc-9.8.3 /usr/bin/hsc2hs ghc-compiler.aarch64: W: files-duplicate /usr/bin/runghc-9.8.3 /usr/bin/runghc ghc-compiler.aarch64: W: files-duplicate /usr/bin/runhaskell-9.8.3 /usr/bin/runhaskell ghc-compiler.aarch64: W: files-duplicate /usr/lib64/ghc-9.8.3/lib/html/Ocean.theme/minus.gif /usr/lib64/ghc-9.8.3/lib/html/Classic.theme/minus.gif ghc-compiler.aarch64: W: files-duplicate /usr/lib64/ghc-9.8.3/lib/html/Ocean.theme/plus.gif /usr/lib64/ghc-9.8.3/lib/html/Classic.theme/plus.gif ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/haddock-bundle.min.js /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/haddock-bundle.min.js:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/haddock-bundle.min.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/linuwial.css /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/linuwial.css:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/linuwial.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/meta.json /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/meta.json:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/meta.json ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/quick-jump.css /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/quick-jump.css:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/quick-jump.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/quick-jump.min.js /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/quick-jump.min.js:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/quick-jump.min.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/src/highlight.js /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/src/highlight.js:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/src/highlight.js ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/src/style.css /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/src/style.css:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/src/style.css ghc-base-doc.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/libraries/integer-gmp-1.1/synopsis.png /usr/share/doc/packages/ghc-9.8.3/html/libraries/base-4.19.2.0/synopsis.png:/usr/share/doc/packages/ghc-9.8.3/html/libraries/ghc-prim-0.11.0/synopsis.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/doctools.js /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/doctools.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/file.png /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/file.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/language_data.js /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/language_data.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/minus.png /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/minus.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/plus.png /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/plus.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/pygments.css /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/pygments.css ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/searchtools.js /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/searchtools.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/sphinx_highlight.js /usr/share/doc/packages/ghc-9.8.3/html/Haddock/_static/sphinx_highlight.js ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/eventlog_profile.png /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_images/eventlog_profile.png ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/prof_scc.svg /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_images/prof_scc.svg ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/fonts/fontawesome-webfont.eot /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/css/fonts/fontawesome-webfont.eot ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/fonts/fontawesome-webfont.svg /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/css/fonts/fontawesome-webfont.svg ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/fonts/fontawesome-webfont.ttf /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/css/fonts/fontawesome-webfont.ttf ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/fonts/fontawesome-webfont.woff /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/css/fonts/fontawesome-webfont.woff ghc-manual.noarch: W: files-duplicate /usr/share/doc/packages/ghc-9.8.3/html/users_guide/_static/fonts/fontawesome-webfont.woff2 /usr/share/doc/packages/ghc-9.8.3/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. Check time report (>1% & >0.1s): Check Duration (in s) Fraction (in %) Checked files BinariesCheck 55.4 62.0 ExtractRpm 22.5 25.2 BuildRootAndDateCheck 3.4 3.9 SignatureCheck 3.0 3.3 BashismsCheck 2.0 2.3 FilesCheck 1.6 1.7 TOTAL 89.4 100.0 141 packages and 0 specfiles checked; 6 errors, 55 warnings, 662 filtered, 204 badness; has taken 90.5 s