|
@@ -59,10 +59,21 @@
|
|
<section id='qa-errors-and-warnings'>
|
|
<section id='qa-errors-and-warnings'>
|
|
<title>Errors and Warnings</title>
|
|
<title>Errors and Warnings</title>
|
|
|
|
|
|
|
|
+<!--
|
|
|
|
+This section uses the <para><code> construct to enable permalinks for the
|
|
|
|
+various QA issue and warning messages. The file templates/qa-code-permalinks.xsl
|
|
|
|
+is used to locate the construct and generate the permalink. This solution
|
|
|
|
+leverages the fact that right now this section in the ref-manual is the only
|
|
|
|
+place is all the YP docs that uses the <para><code> construct. If, in the
|
|
|
|
+future, that construct were to appear in the ref-manual, a generic permalink
|
|
|
|
+would be generated for the text between <code></code>. If a better solution
|
|
|
|
+can be found then it should be implemented. I can't find one at the moment.
|
|
|
|
+-->
|
|
|
|
+
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-libexec'>
|
|
<code>
|
|
<code>
|
|
<packagename>: <path> is using libexec please relocate to <libexecdir> [libexec]
|
|
<packagename>: <path> is using libexec please relocate to <libexecdir> [libexec]
|
|
</code>
|
|
</code>
|
|
@@ -87,7 +98,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-rpaths'>
|
|
<code>
|
|
<code>
|
|
package <packagename> contains bad RPATH <rpath> in file <file> [rpaths]
|
|
package <packagename> contains bad RPATH <rpath> in file <file> [rpaths]
|
|
</code>
|
|
</code>
|
|
@@ -119,7 +130,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-useless-rpaths'>
|
|
<code>
|
|
<code>
|
|
<packagename>: <file> contains probably-redundant RPATH <rpath> [useless-rpaths]
|
|
<packagename>: <file> contains probably-redundant RPATH <rpath> [useless-rpaths]
|
|
</code>
|
|
</code>
|
|
@@ -147,7 +158,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-dev-so'>
|
|
<code>
|
|
<code>
|
|
non -dev/-dbg/-nativesdk package contains symlink .so: <packagename> path '<path>' [dev-so]
|
|
non -dev/-dbg/-nativesdk package contains symlink .so: <packagename> path '<path>' [dev-so]
|
|
</code>
|
|
</code>
|
|
@@ -178,7 +189,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-staticdev'>
|
|
<code>
|
|
<code>
|
|
non -staticdev package contains static .a library: <packagename> path '<path>' [staticdev]
|
|
non -staticdev package contains static .a library: <packagename> path '<path>' [staticdev]
|
|
</code>
|
|
</code>
|
|
@@ -205,7 +216,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-libdir'>
|
|
<code>
|
|
<code>
|
|
<packagename>: found library in wrong location [libdir]
|
|
<packagename>: found library in wrong location [libdir]
|
|
</code>
|
|
</code>
|
|
@@ -236,7 +247,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-debug-files'>
|
|
<code>
|
|
<code>
|
|
non debug package contains .debug directory: <packagename> path <path> [debug-files]
|
|
non debug package contains .debug directory: <packagename> path <path> [debug-files]
|
|
</code>
|
|
</code>
|
|
@@ -269,7 +280,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-arch'>
|
|
<code>
|
|
<code>
|
|
Architecture did not match (<machine_arch> to <file_arch>) on <file> [arch]
|
|
Architecture did not match (<machine_arch> to <file_arch>) on <file> [arch]
|
|
</code>
|
|
</code>
|
|
@@ -308,7 +319,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-arch-bit-size-no-match'>
|
|
<code>
|
|
<code>
|
|
Bit size did not match (<machine_bits> to <file_bits>) <recipe> on <file> [arch]
|
|
Bit size did not match (<machine_bits> to <file_bits>) <recipe> on <file> [arch]
|
|
</code>
|
|
</code>
|
|
@@ -347,7 +358,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-arch-endianness-no-match'>
|
|
<code>
|
|
<code>
|
|
Endianness did not match (<machine_endianness> to <file_endianness>) on <file> [arch]
|
|
Endianness did not match (<machine_endianness> to <file_endianness>) on <file> [arch]
|
|
</code>
|
|
</code>
|
|
@@ -386,7 +397,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-textrel'>
|
|
<code>
|
|
<code>
|
|
ELF binary '<file>' has relocations in .text [textrel]
|
|
ELF binary '<file>' has relocations in .text [textrel]
|
|
</code>
|
|
</code>
|
|
@@ -397,13 +408,6 @@
|
|
<filename>.text</filename> sections.
|
|
<filename>.text</filename> sections.
|
|
This situation can result in a performance impact
|
|
This situation can result in a performance impact
|
|
at runtime.
|
|
at runtime.
|
|
- <note>
|
|
|
|
- A bug currently exists that causes this
|
|
|
|
- warning to appear erroneously.
|
|
|
|
- See
|
|
|
|
- <ulink url='https://bugzilla.yoctoproject.org/show_bug.cgi?id=6104'></ulink>
|
|
|
|
- for more information.
|
|
|
|
- </note>
|
|
|
|
</para>
|
|
</para>
|
|
|
|
|
|
<para>
|
|
<para>
|
|
@@ -416,7 +420,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-ldflags'>
|
|
<code>
|
|
<code>
|
|
No GNU_HASH in the elf binary: '<file>' [ldflags]
|
|
No GNU_HASH in the elf binary: '<file>' [ldflags]
|
|
</code>
|
|
</code>
|
|
@@ -448,7 +452,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-xorg-driver-abi'>
|
|
<code>
|
|
<code>
|
|
Package <packagename> contains Xorg driver (<driver>) but no xorg-abi- dependencies [xorg-driver-abi]
|
|
Package <packagename> contains Xorg driver (<driver>) but no xorg-abi- dependencies [xorg-driver-abi]
|
|
</code>
|
|
</code>
|
|
@@ -478,7 +482,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-infodir'>
|
|
<code>
|
|
<code>
|
|
The /usr/share/info/dir file is not meant to be shipped in a particular package. [infodir]
|
|
The /usr/share/info/dir file is not meant to be shipped in a particular package. [infodir]
|
|
</code>
|
|
</code>
|
|
@@ -506,7 +510,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-symlink-to-sysroot'>
|
|
<code>
|
|
<code>
|
|
Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]
|
|
Symlink <path> in <packagename> points to TMPDIR [symlink-to-sysroot]
|
|
</code>
|
|
</code>
|
|
@@ -533,7 +537,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-la'>
|
|
<code>
|
|
<code>
|
|
<file> failed sanity test (workdir) in path <path> [la]
|
|
<file> failed sanity test (workdir) in path <path> [la]
|
|
</code>
|
|
</code>
|
|
@@ -559,7 +563,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-pkgconfig'>
|
|
<code>
|
|
<code>
|
|
<file> failed sanity test (tmpdir) in path <path> [pkgconfig]
|
|
<file> failed sanity test (tmpdir) in path <path> [pkgconfig]
|
|
</code>
|
|
</code>
|
|
@@ -584,7 +588,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-debug-deps'>
|
|
<code>
|
|
<code>
|
|
<packagename> rdepends on <debug_packagename> [debug-deps]
|
|
<packagename> rdepends on <debug_packagename> [debug-deps]
|
|
</code>
|
|
</code>
|
|
@@ -632,7 +636,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-dev-deps'>
|
|
<code>
|
|
<code>
|
|
<packagename> rdepends on <dev_packagename> [dev-deps]
|
|
<packagename> rdepends on <dev_packagename> [dev-deps]
|
|
</code>
|
|
</code>
|
|
@@ -680,7 +684,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-dep-cmp'>
|
|
<code>
|
|
<code>
|
|
<var>_<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]
|
|
<var>_<packagename> is invalid: <comparison> (<value>) only comparisons <, =, >, <=, and >= are allowed [dep-cmp]
|
|
</code>
|
|
</code>
|
|
@@ -711,7 +715,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-compile-host-path'>
|
|
<code>
|
|
<code>
|
|
<recipename>: The compile log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [compile-host-path]
|
|
<recipename>: The compile log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [compile-host-path]
|
|
</code>
|
|
</code>
|
|
@@ -736,7 +740,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-install-host-path'>
|
|
<code>
|
|
<code>
|
|
<recipename>: The install log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [install-host-path]
|
|
<recipename>: The install log indicates that host include and/or library paths were used. Please check the log '<logfile>' for more information. [install-host-path]
|
|
</code>
|
|
</code>
|
|
@@ -761,7 +765,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-autoconf-log'>
|
|
<code>
|
|
<code>
|
|
This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '<path>'
|
|
This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '<path>'
|
|
</code>
|
|
</code>
|
|
@@ -786,7 +790,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-pkgname'>
|
|
<code>
|
|
<code>
|
|
<packagename> doesn't match the [a-z0-9.+-]+ regex [pkgname]
|
|
<packagename> doesn't match the [a-z0-9.+-]+ regex [pkgname]
|
|
</code>
|
|
</code>
|
|
@@ -818,7 +822,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-unknown-configure-option'>
|
|
<code>
|
|
<code>
|
|
<recipe>: configure was passed unrecognized options: <options> [unknown-configure-option]
|
|
<recipe>: configure was passed unrecognized options: <options> [unknown-configure-option]
|
|
</code>
|
|
</code>
|
|
@@ -854,7 +858,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-pn-overrides'>
|
|
<code>
|
|
<code>
|
|
Recipe <recipefile> has PN of "<recipename>" which is in OVERRIDES, this can result in unexpected behavior. [pn-overrides]
|
|
Recipe <recipefile> has PN of "<recipename>" which is in OVERRIDES, this can result in unexpected behavior. [pn-overrides]
|
|
</code>
|
|
</code>
|
|
@@ -894,7 +898,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-pkgvarcheck'>
|
|
<code>
|
|
<code>
|
|
<recipefile>: Variable <variable> is set as not being package specific, please fix this. [pkgvarcheck]
|
|
<recipefile>: Variable <variable> is set as not being package specific, please fix this. [pkgvarcheck]
|
|
</code>
|
|
</code>
|
|
@@ -932,7 +936,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-already-stripped'>
|
|
<code>
|
|
<code>
|
|
File '<file>' from <recipename> was already stripped, this will prevent future debugging! [already-stripped]
|
|
File '<file>' from <recipename> was already stripped, this will prevent future debugging! [already-stripped]
|
|
</code>
|
|
</code>
|
|
@@ -977,7 +981,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-packages-list'>
|
|
<code>
|
|
<code>
|
|
<packagename> is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
|
|
<packagename> is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
|
|
</code>
|
|
</code>
|
|
@@ -1002,7 +1006,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-files-invalid'>
|
|
<code>
|
|
<code>
|
|
FILES variable for package <packagename> contains '//' which is invalid. Attempting to fix this but you should correct the metadata. [files-invalid]
|
|
FILES variable for package <packagename> contains '//' which is invalid. Attempting to fix this but you should correct the metadata. [files-invalid]
|
|
</code>
|
|
</code>
|
|
@@ -1025,7 +1029,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-installed-vs-shipped'>
|
|
<code>
|
|
<code>
|
|
<recipename>: Files/directories were installed but not shipped [installed-vs-shipped]
|
|
<recipename>: Files/directories were installed but not shipped [installed-vs-shipped]
|
|
</code>
|
|
</code>
|
|
@@ -1065,7 +1069,7 @@
|
|
<para>
|
|
<para>
|
|
<itemizedlist>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<listitem>
|
|
- <para>
|
|
|
|
|
|
+ <para id='qa-issue-old-and-new-package-and-version-names'>
|
|
<code>
|
|
<code>
|
|
<oldpackage>-<oldpkgversion> was registered as shlib provider for <library>, changing it to <newpackage>-<newpkgversion> because it was built later
|
|
<oldpackage>-<oldpkgversion> was registered as shlib provider for <library>, changing it to <newpackage>-<newpkgversion> because it was built later
|
|
</code>
|
|
</code>
|
|
@@ -1151,7 +1155,6 @@ enabled by default:
|
|
</note>
|
|
</note>
|
|
</para>
|
|
</para>
|
|
</section>
|
|
</section>
|
|
-
|
|
|
|
</chapter>
|
|
</chapter>
|
|
<!--
|
|
<!--
|
|
vim: expandtab tw=80 ts=4
|
|
vim: expandtab tw=80 ts=4
|