ghc-compiler.armv7hl: W: files-duplicate /usr/lib/ghc-8.10.4/html/Classic.theme/minus.gif /usr/lib/ghc-8.10.4/html/Ocean.theme/minus.gif ghc-compiler.armv7hl: W: files-duplicate /usr/lib/ghc-8.10.4/html/Classic.theme/plus.gif /usr/lib/ghc-8.10.4/html/Ocean.theme/plus.gif ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/haddock/_static/jquery.js /usr/share/doc/ghc-8.10.4/html/users_guide/_static/jquery.js ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/haddock/_static/plus.png /usr/share/doc/ghc-8.10.4/html/users_guide/_static/plus.png ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/haddock/_static/pygments.css /usr/share/doc/ghc-8.10.4/html/users_guide/_static/pygments.css ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/haddock/_static/searchtools.js /usr/share/doc/ghc-8.10.4/html/users_guide/_static/searchtools.js ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/haddock/_static/underscore.js /usr/share/doc/ghc-8.10.4/html/users_guide/_static/underscore.js ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/haddock-bundle.min.js /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/haddock-bundle.min.js:/usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/haddock-bundle.min.js ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/meta.json /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/meta.json:/usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/meta.json ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/quick-jump.css /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/quick-jump.css:/usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/quick-jump.css ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/quick-jump.min.js /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/quick-jump.min.js:/usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/quick-jump.min.js ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/linuwial.css /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/linuwial.css:/usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/linuwial.css ghc-base-devel.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/libraries/integer-gmp-1.0.3.0/synopsis.png /usr/share/doc/ghc-8.10.4/html/libraries/base-4.14.1.0/synopsis.png:/usr/share/doc/ghc-8.10.4/html/libraries/ghc-prim-0.6.1/synopsis.png ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_images/prof_scc.svg /usr/share/doc/ghc-8.10.4/html/users_guide/_static/prof_scc.svg ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/basic.css /usr/share/doc/ghc-8.10.4/html/haddock/_static/basic.css ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/doctools.js /usr/share/doc/ghc-8.10.4/html/haddock/_static/doctools.js ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/file.png /usr/share/doc/ghc-8.10.4/html/haddock/_static/file.png ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/jquery-3.5.1.js /usr/share/doc/ghc-8.10.4/html/haddock/_static/jquery-3.5.1.js ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/language_data.js /usr/share/doc/ghc-8.10.4/html/haddock/_static/language_data.js ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/minus.png /usr/share/doc/ghc-8.10.4/html/haddock/_static/minus.png ghc-compiler.armv7hl: W: files-duplicate /usr/share/doc/ghc-8.10.4/html/users_guide/_static/underscore-1.13.1.js /usr/share/doc/ghc-8.10.4/html/haddock/_static/underscore-1.13.1.js ghc-compiler.armv7hl: W: hidden-file-or-dir /usr/share/doc/ghc-8.10.4/html/haddock/.buildinfo ghc-compiler.armv7hl: W: hidden-file-or-dir /usr/share/doc/ghc-8.10.4/html/haddock/.doctrees ghc-compiler.armv7hl: W: hidden-file-or-dir /usr/share/doc/ghc-8.10.4/html/haddock/.doctrees ghc-compiler.armv7hl: W: hidden-file-or-dir /usr/share/doc/ghc-8.10.4/html/users_guide/.buildinfo The file or directory is hidden. You should see if this is normal, and delete it from the package if not. ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/ghc ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/ghc-iserv ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/ghc-iserv-dyn ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/ghc-iserv-prof ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/ghc-pkg ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/haddock ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/hp2ps ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/hpc ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/hsc2hs ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/runghc ghc-compiler.armv7hl: W: position-independent-executable-suggested /usr/lib/ghc-8.10.4/bin/unlit 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-array-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/array-0.5.4.0/HSarray-0.5.4.0.p_o ghc-binary-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/binary-0.8.8.0/HSbinary-0.8.8.0.p_o ghc-bytestring-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/bytestring-0.10.12.0/HSbytestring-0.10.12.0.p_o ghc-deepseq-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/deepseq-1.4.4.0/HSdeepseq-1.4.4.0.p_o ghc-directory-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/directory-1.3.6.0/HSdirectory-1.3.6.0.p_o ghc-exceptions-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/exceptions-0.10.4/HSexceptions-0.10.4.p_o ghc-filepath-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/filepath-1.4.2.1/HSfilepath-1.4.2.1.p_o ghc-ghc-boot-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/ghc-boot-8.10.4/HSghc-boot-8.10.4.p_o ghc-ghc-boot-th-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/ghc-boot-th-8.10.4/HSghc-boot-th-8.10.4.p_o ghc-ghc-compact-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/ghc-compact-0.1.0.0/HSghc-compact-0.1.0.0.p_o ghc-ghc-heap-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/ghc-heap-8.10.4/HSghc-heap-8.10.4.p_o ghc-base-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/ghc-prim-0.6.1/HSghc-prim-0.6.1.p_o ghc-haskeline-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/haskeline-0.8.0.1/HShaskeline-0.8.0.1.p_o ghc-hpc-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/hpc-0.6.1.0/HShpc-0.6.1.0.p_o ghc-base-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/integer-gmp-1.0.3.0/HSinteger-gmp-1.0.3.0.p_o ghc-libiserv-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/libiserv-8.10.4/HSlibiserv-8.10.4.p_o ghc-mtl-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/mtl-2.2.2/HSmtl-2.2.2.p_o ghc-parsec-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/parsec-3.1.14.0/HSparsec-3.1.14.0.p_o ghc-pretty-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/pretty-1.1.3.6/HSpretty-1.1.3.6.p_o ghc-process-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/process-1.6.9.0/HSprocess-1.6.9.0.p_o ghc-stm-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/stm-2.5.0.0/HSstm-2.5.0.0.p_o ghc-terminfo-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/terminfo-0.4.1.4/HSterminfo-0.4.1.4.p_o ghc-time-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/time-1.9.3/HStime-1.9.3.p_o ghc-transformers-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/transformers-0.5.6.2/HStransformers-0.5.6.2.p_o ghc-unix-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/unix-2.7.2.2/HSunix-2.7.2.2.p_o ghc-xhtml-devel.armv7hl: W: unstripped-binary-or-object /usr/lib/ghc-8.10.4/xhtml-3000.2.2.1/HSxhtml-3000.2.2.1.p_o stripping debug info from binaries happens automatically according to global project settings. So there's normally no need to manually strip binaries. Left over unstripped binaries could therefore indicate a bug in the automatic stripping process. ghc-base-devel.armv7hl: E: files-duplicated-waste (Badness: 100) 185436 ghc-compiler.armv7hl: E: files-duplicated-waste (Badness: 100) 575102 Your package contains duplicated files that are not hard- or symlinks. You should use the %fdupes macro to link the files to one. 66 packages and 0 specfiles checked; 2 errors, 62 warnings.