guix/guix-rpmlintrc
2018-11-26 12:11:27 +00:00

28 lines
1.3 KiB
Plaintext

# guix is bootstrapping package so there are some non-standard exceptions
# 1] it violates FHS (intentionally) - this is feature, not bug
addFilter("W: suse-filelist-forbidden-fhs23 /gnu is not allowed in FHS 2.3")
# 2] it contains foreign static binaries used for bootstrap see:
# https://www.gnu.org/software/guix/manual/html_node/Bootstrapping.html#Building-the-Bootstrap-Binaries
# they are binaries in /usr/share
addFilter("E: arch-dependent-file-in-usr-share .*/usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
# they are static binaries
addFilter("W: statically-linked-binary /usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
# they are foreign
addFilter("W: missing-PT_GNU_STACK-section /usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
addFilter("W: missing-PT_GNU_STACK-section /usr/lib64/guile/2.2/site-ccache/.*")
# they are not position independent. Upstream consider to build them as PIE
addFilter("W: position-independent-executable-suggested /usr/share/guile/site/2.[02]/gnu/packages/bootstrap/.*")
# they doesn't include dependency information
addFilter("W: shared-lib-without-dependency-information /usr/lib64/guile/2.[02]/site-ccache/.*")
# I will add guixbuild group into rpmlint once I know that everything
# else is correct
addFilter("W: non-standard-gid /gnu/store guixbuild")