mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 00:32:13 +02:00
insane: Promote long standing warnings to errors
Most of these warnings have been around and enabled for a long time. In particular, buildpaths has been like this for two years. I'm aware some layers still have not been able to resolve all the warnings but I believe that regardless, it is still time to raise the bar. If the warnings don't get fixed, it is probably a sign that nobody cares about the recipe and it should be dropped. For anyone coming here to find out what changed and how to disable it, if you are going to remove from ERROR_QA and add back to WARN_QA (or just ignore the warnings), please do it with a layer specific override rather than making it global. We have fixed these issues in core and intend to keep them all fixed. If you globally disable the errors, it just means we get patches which end up regressing things. You can do things like: ERROR_QA:remove:layer-mylayername = "buildpaths" not that I'd recommend it. Also note that the next version of Yocto Project Compatible will only be available to layers which are not disabling some set of these errors. (From OE-Core rev: b79b191cc43a45dde2adb61ea349b426cb2461d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -26,17 +26,16 @@
|
||||
|
||||
# Elect whether a given type of error is a warning or error, they may
|
||||
# have been set by other files.
|
||||
WARN_QA ?= " libdir xorg-driver-abi buildpaths \
|
||||
WARN_QA ?= "32bit-time native-last"
|
||||
ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
|
||||
textrel incompatible-license files-invalid \
|
||||
infodir build-deps src-uri-bad symlink-to-sysroot multilib \
|
||||
invalid-packageconfig host-user-contaminated uppercase-pn \
|
||||
mime mime-xdg unlisted-pkg-lics unhandled-features-check \
|
||||
missing-update-alternatives native-last missing-ptest \
|
||||
missing-update-alternatives missing-ptest \
|
||||
license-exists license-no-generic license-syntax license-format \
|
||||
license-incompatible license-file-missing obsolete-license \
|
||||
32bit-time virtual-slash \
|
||||
"
|
||||
ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
|
||||
libdir xorg-driver-abi buildpaths \
|
||||
perms dep-cmp pkgvarcheck perm-config perm-line perm-link \
|
||||
split-strip packages-list pkgv-undefined var-undefined \
|
||||
version-going-backwards expanded-d invalid-chars \
|
||||
@@ -45,7 +44,7 @@ ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
|
||||
already-stripped installed-vs-shipped ldflags compile-host-path \
|
||||
install-host-path pn-overrides unknown-configure-option \
|
||||
useless-rpaths rpaths staticdev empty-dirs \
|
||||
patch-fuzz patch-status \
|
||||
patch-fuzz patch-status virtual-slash \
|
||||
"
|
||||
# Add usrmerge QA check based on distro feature
|
||||
ERROR_QA:append = "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', ' usrmerge', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user