diff options
Diffstat (limited to 'documentation/ref-manual/qa-checks.rst')
-rw-r--r-- | documentation/ref-manual/qa-checks.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index 9455bec3fd..fb31dc16f9 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
@@ -748,6 +748,22 @@ Errors and Warnings | |||
748 | other things in the patches, those can be discarded. | 748 | other things in the patches, those can be discarded. |
749 | 749 | ||
750 | 750 | ||
751 | .. _qa-check-buildpaths: | ||
752 | |||
753 | - ``File <filename> in package <packagename> contains reference to TMPDIR [buildpaths]`` | ||
754 | |||
755 | This check ensures that build system paths (including :term:`TMPDIR`) do not | ||
756 | appear in output files, which not only leaks build system configuration into | ||
757 | the target, but also hinders binary reproducibility as the output will change | ||
758 | if the build system configuration changes. | ||
759 | |||
760 | Typically these paths will enter the output through some mechanism in the | ||
761 | configuration or compilation of the software being built by the recipe. To | ||
762 | resolve this issue you will need to determine how the detected path is | ||
763 | entering the output. Sometimes it may require adjusting scripts or code to | ||
764 | use a relative path rather than an absolute one, or to pick up the path from | ||
765 | runtime configuration or environment variables. | ||
766 | |||
751 | 767 | ||
752 | Configuring and Disabling QA Checks | 768 | Configuring and Disabling QA Checks |
753 | =================================== | 769 | =================================== |