c2hs.armv7hl: W: position-independent-executable-suggested /usr/bin/c2hs 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. c2hs.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/c2hs/doc/Makefile c2hs.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/c2hs/doc/c2hs.css c2hs.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/c2hs/doc/c2hs.xml c2hs.armv7hl: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/c2hs/doc/man1/c2hs.1 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; 4 errors, 1 warnings.