cabal-install.armv7hl: W: position-independent-executable-suggested /usr/bin/cabal 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. cabal-install.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/cabal-install/README.md cabal-install.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/cabal-install/changelog The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are desired, and remove if not. NOTE: example scripts should be packaged under %docdir/examples, which will avoid this warning. 2 packages and 0 specfiles checked; 2 errors, 1 warnings.