Project:Tinderbox/Common Issues Helper
This page is still a work in progress
This page is intended to provide useful resources for understanding and fixing common Quality Assurance notices, build failures and so on. At some point it will probably moved to the Gentoo Devmanual.
Rules
The following numbers means nothing, but they can make the life easy when they will be linked in the bug reports. For this reason, please do not edit or existing numbers, instead, please add a new one for new warnings/failures.
Add new code
If your 'QA Notice' or 'compile failure' has not been reported here, feel free to add it, and at the end, please notify members of the project so they can link the new documentation to the related warnings/failures.
Approval/review
How approval/review works
It's a matter of fact that everyone can edit this page, so the important thing is that informations need to be reviewed and approved from a member of the team that implemented that check. If you are editing something that has already been approved, you need to remove the nickname of the person that approved the information and ask again for an approval. In that way we are sure from the wiki history that it was really approved from the right person.
Syntax
For a developer called John, that is approving as part of toolchain project, the correct (wiki) syntax should be:
✅ [[User:John|john]] ([[Project:Toolchain|Toolchain]])
For a developer called John, that is approving as part of multiple projects, like toolchain/qa the correct (wiki) syntax should be:
✅ [[User:John|john]] ([[Project:Toolchain|toolchain]]/[[Project:Quality_Assurance|qa]])
QA Notices
QA0001
* QA Notice: Files built without respecting LDFLAGS have been detected
Description
tbd
How to reproduce
Compile with LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0"
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0002
* QA Notice: #!/sbin/runscript is deprecated, use #!/sbin/openrc-run instead:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0003
* QA Notice: This package seems to install metainfo files into the * following location(s): * * /usr/share/appdata * * This location is deprecated, it should not be used anymore by new software. * Appdata/Metainfo files should be installed into /usr/share/metainfo directory. * For more details, please see the freedesktop Upstream Metadata guidelines at * https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html * * Gentoo Tracker bug: https://bugs.gentoo.org/709450
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0004
* QA Notice: This package installs one or more Python modules that are * not byte-compiled. * The following files are missing: * ... * For more information on bytecode files and related issues, please see: * https://projects.gentoo.org/python/guide/qawarn.html#compiled-bytecode-related-warnings
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0005
* QA Notice: Unrecognized configure options:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0006
* QA Notice: One or more compressed files were found in docompress-ed * directories. Please fix the ebuild not to install compressed files * (manpages, documentation) when automatic compression is used:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0007
* QA Notice: new icons were found installed but icon cache * has not been updated: * ... * Please make sure to call xdg_icon_cache_update() * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0008
* This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0009
* QA Notice: This package installs one or more .desktop files that do not * pass validation.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0010
* QA Notice: This ebuild installs into paths that should be created at runtime. * To fix, simply do not install into these directories. Instead, your package * should create dirs on the fly at runtime as needed via init scripts/etc...
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0011
* QA Notice: The following shared libraries lack NEEDED entries
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0012
* QA Notice: The following shared libraries lack a SONAME
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0013
* QA Notice: The following files contain runtime text relocations * Text relocations force the dynamic linker to perform extra * work at startup, waste system resources, and may pose a security * risk. On some architectures, the code may not even function * properly, if at all. * For more information, see: * * https://wiki.g.o/wiki/Hardened/Textrels_Guide * * Please include the following list of files in your report:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0014
Description
Toolchain tools (CC, CXX, NM, AR, RANLIB, CPP, LD, STRIP, OBJCOPY, OBJDUMP, SIZE, AS, STRINGS, READELF) called directly. Toolchain tools must not be called directly because they can cause issues in cross-compiling and because is not possible use a different implementation (like clang/llvm).
How to reproduce
Use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks]
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0015
* QA Notice: This package installs one or more file names containing * characters that are not encoded with the UTF-8 encoding.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0016
* QA Notice: Symbolic link ... points to ... which does not exist.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0017
* QA Notice: Files built without respecting CFLAGS have been detected * Please include the following list of files in your report:
Description
tbd
How to reproduce
add -frecord-gcc-switches
to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS
. Keep in mind that it works only if you add the flag to all mentioned variables.
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0018
Command line tools that do not exists
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0019
* QA Notice: pkg-config files with wrong LDFLAGS detected:
Description
tbd
How to reproduce
Compile with LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0"
How to fix
tbd
approved/reviewed
not yet.
QA0020
* QA Notice: Pre-stripped files found:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0021
* This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.g.o/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * package ... NOT merged * * Detected file collision(s): * * ... * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * ... * ... * * Package '...' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0022
* QA Notice: The following files contain writable and executable sections * Files with such sections will not work properly (or at all!) on some * architectures/operating systems. A bug should be filed at * https://bugs.gentoo.org/ to make sure the issue is fixed. * For more information, see: * * https://wiki.g.o/wiki/Hardened/GNU_stack_quickstart * * Please include the following list of files in your report: * Note: Bugs should be filed for the respective maintainers * of the package in question and not hardened@gentoo.org.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0023
* QA Notice: Unresolved soname dependencies:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0024
* QA Notice: The following files contain insecure RUNPATHs * Please file a bug about this at https://bugs.gentoo.org/ * with the maintainer of the package.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0025
* QA Notice: The ebuild is installing to one or more unexpected paths:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0026
LD used instead of CC/CXX
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0027
Link failure with LLD because of '/usr/lib' in the link command line
Description
tbd
How to reproduce
tbd
How to fix
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0028
Package compiles in src_install phase
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0029
* QA Notice: Automake "maintainer mode" detected: * * ... * * If you patch Makefile.am, configure.in, or configure.ac then you * should use autotools.eclass and eautomake or eautoreconf. Exceptions * are limited to system packages for which it is impossible to run * autotools during stage building. See https://wiki.g.o/wiki/Proj * ect:Quality_Assurance/Autotools_failures for more information.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0030
* QA Notice: .desktop files with MimeType= were found installed * but desktop mimeinfo cache has not been updated: * ... * Please make sure to call xdg_desktop_database_update() * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0031
* QA Notice: broken .png files found:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0032
* QA Notice: mime-info files were found installed but mime-info * cache has not been updated: * ... * Please make sure to call xdg_mimeinfo_database_update() * in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0033
* QA Notice: udev rules should be installed in /lib/udev/rules.d:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0034
* QA Notice: Colliding files found by ecompress:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0035
Package uses '-Werror' CFLAG/CXXFLAG
Description
-Werror is not recommended for releases and should always be disabled when encountered in build-logs, because there are numerous cases where this breaks without purpose. See also: https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0035
Package fails with dev-lang/python-exec[-native-symlinks]
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0036
Package calls 'python' directly
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0037
* QA Notice: Missing soname symlink(s):
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0038
* Java QA Notice: installing versioned jar '...'
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0039
* QA Notice: The ebuild uses Module::Build but doesn't depend on it. * Add dev-perl/Module-Build to BDEPEND!
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0040
* QA Notice: This package seems to contain tests but they are not enabled. * Please either run tests (via distutils_enable_tests or declaring * python_test yourself), or add RESTRICT="test" along with an explanatory * comment if tests cannot be run.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0041
* QA Notice: setuptools warnings detected:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0042
* QA Notice: <stabilize-allarches/> found on package installing ELF files
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0043
* QA Notice: The ebuild uses Module::Build::Tiny but doesn't depend on it. * Add dev-perl/Module-Build-Tiny to BDEPEND!
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0044
- QA Notice: Binary files linked to libcrypt.so found
* But a dependency on virtual/libcrypt is not declared! * * ... * * Please add virtual/libcrypt:= dependency * Gentoo bug: https://bugs.gentoo.org/699422 * Tracker bug: https://bugs.gentoo.org/798963 * See: https://wiki.g.o/wiki/Project:Toolchain/libcrypt_implementation
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0045
* QA Notice: DISTUTILS_USE_SETUPTOOLS value is probably incorrect
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0046
* QA Notice: Unknown entry in CABAL_FEATURES
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0047
* QA Notice: package is installing tmpfiles without inheriting tmpfiles.eclass! * Packages must inherit tmpfiles.eclass then call tmpfiles_process in pkg_postinst.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0048
* QA Notice: This package installs one or more compiled Python modules that have * older timestamps than the corresponding source files: * * ... * * Please either fix the upstream build system to byte-compile Python modules * correctly, or call python_optimize after installing them. For more * information, see: * https://projects.gentoo.org/python/guide/helper.html#byte-compiling-python-modules
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0049
* QA Notice: package is installing tmpfiles without calling * tmpfiles_process in pkg_postinst phase
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0050
* QA Notice: Unrecognized ELF file(s):
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0051
* QA Notice: DISTUTILS_USE_SETUPTOOLS is not used when DISTUTILS_OPTIONAL * is enabled.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0052
* QA Notice: systemd units using /etc/conf.d detected: * ... * See: https://wiki.g.o/wiki/Project:Systemd/conf.d_files
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0053
* QA Notice: eend called without first argument
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0054
* QA Notice: RESTRICT=binchecks prevented checks on these ELF files:
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0055
* QA Notice: This package seems to install gtk-doc documentation into the * following location(s): * * ... * * gtk-doc documentation must always be installed into /usr/share/gtk-doc. * For more details, please see the GNOME team policy page: * https://wiki.g.o/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#Handling_gtk-doc_documentation
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0056
* QA Notice: file does not exist:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0057
* QA Notice: One or more CMake variables were not used by the project:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0058
* QA Notice: shell script appears to use non-POSIX feature(s):
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0059
* QA Notice: ebegin called, but missing call to eend
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0060
* QA Notice: ebegin called, but missing call to eend
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0061
* QA Notice: Installing libtool files (.la) without corresponding static libraries!
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0062
* QA Notice: package is installing udev rules without calling * udev_reload in pkg_postrm phase
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0063
* QA Notice: package is installing udev rules without inheriting udev.eclass! * Packages must inherit udev.eclass then call udev_reload in pkg_postinst.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0064
* QA Notice: pkg-config files with mismatched Version found!
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0065
* QA Notice: pkg-config files not respecting libdir found
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0066
* QA Notice: This package installs one or more compiled Python modules * that do not match installed modules (or their implementation). * The following files are stray: * * ... * * For more information on bytecode files and related issues, please see: * https://projects.gentoo.org/python/guide/qawarn.html#compiled-bytecode-related-warnings
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0067
* QA Notice: Test suite passed but did not actually execute any tests:
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0068
* QA Notice: pkg-config files which fail validation found! * Run 'pkg-config --validate ...' for more information
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0069
* Tinderbox QA Notice: This package seems to overwrite CFLAGS/CXXFLAGS or add uncommon ones: * The following flags (probably added by the build system) should be stripped out
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0070
* Tinderbox QA Notice: This package seems to install static libraries without static-libs USE
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0071
* Tinderbox QA Notice: This package seems to redefine _FORTIFY_SOURCE
Description
See: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0302
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0072
* QA Notice: Found the following implicit function declarations in configure logs: * ... * Check that no features were accidentally disabled. * See https://wiki.g.o/wiki/Modern_C_porting.
Description
tbd
How to reproduce
tbd
How to fix
Note that when you think that the check is doing a false positive, you should use QA_CONFIG_IMPL_DECL_SKIP
see https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd44370db34338d0544c44fd338c11b71d38fee3 as a POC.
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0073
* QA Notice: Package seems to be missing a BDEPEND on dev-python/cython.
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0074
* QA Notice: neither linux-mod-r1_src_install nor modules_post_process were used
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0075
* QA Notice: 'portageq' is not allowed in ebuild scope
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0076
* QA Notice: The following deprecated .egg or .egg-info files were found. * Please migrate the ebuild to use the PEP517 build.
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0077
* QA Notice: The following Python packages were installed with * invalid/suspicious names or versions in the site-packages directory:
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0078
* QA Notice: The following unexpected files/directories were found * top-level in the site-packages directory:
Description
tbd
How to reproduce
tbd
How to fix
tbd
Relevant Bugzilla Tracker
approved/reviewed
not yet.
QA0079
* QA Notice: Package installs Python files to /usr/lib64 * instead of /usr/lib (use $(python_get_sitedir)):
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
QA0080
* Tinderbox QA Notice: This package seems to missing RDEPEND on: * * * you can check the libraries linked to the executables installed by this package with: * qlist -e $package:$slot | xargs scanelf -BF '%n' * * Please also check if this is a case of automagic dependencies: * https://wiki.g.o/wiki/Project:Quality_Assurance/Automagic_dependencies
Description
The package installs libraries and/or binaries that are linked to libraries not declared in RDEPEND. You didn't notice issue because the missing libraries are already pulled in by something else. You should check:
- If this is an automagic case (see the link above)
- If the RDEPEND is unconditionally or it is needed only in case of an enabled USE
- If, apart declare the missing packages as RDEPEND, you need to declare sub-slot and/or slot-operators
How to reproduce
qlist -e $package:$slot | xargs scanelf -BF '%n'
How to fix
declare the missing packages in RDEPEND
approved/reviewed
not yet.
Compile failures
A (non-exhaustive) list of compile failures and its explanation.
CF0001
-Wimplicit-int See: https://wiki.g.o/wiki/Modern_C_porting#-Wimplicit-int
approved/reviewed
not yet.
CF0002
-Wimplicit-function-declaration See: https://wiki.g.o/wiki/Modern_C_porting#-Wimplicit-function-declaration
approved/reviewed
not yet.
CF0003
-Wincompatible-pointer-types / -Wincompatible-function-pointer-types See: https://wiki.g.o/wiki/Modern_C_porting#-Wincompatible-pointer-types
approved/reviewed
not yet.
CF0004
-Wint-conversion See: https://wiki.g.o/wiki/Modern_C_porting#-Wint-conversion
approved/reviewed
not yet.
CF0005
-Wdeprecated-non-prototypes See: https://wiki.g.o/wiki/Modern_C_porting#-Wdeprecated-non-prototypes
approved/reviewed
not yet.
CF0006
-Wstrict-prototypes See: https://wiki.g.o/wiki/Modern_C_porting#-Wstrict-prototypes
approved/reviewed
not yet.
CF0007
buffer overflow detected (-D_FORTIFY_SOURCE)
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0008
C++ versions less than C++14 are not supported
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0009
-Werror=lto-type-mismatch
Description
Used to find possible runtime issues in packages. It likely means the package is unsafe to build & use with LTO. For projects using the same identifier but with different types across different files, they must be fixed to be consistent across the codebase.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0010
-Werror=odr
Description
Used to find possible runtime issues in packages. These bugs are a problem anyway but may be even worse when combined with LTO. C++ code must comply with the One Definition Rule (ODR) - see https://en.cppreference.com/w/cpp/language/definition#One_Definition_Rule.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0011
-Werror=strict-aliasing
Description
Used to find possible runtime issues in packages. These bugs are a problem anyway but may be even worse when combined with LTO.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0012
-fno-common
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0013
sandbox violation
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0014
General compile failure (reported as: "fails to compile")
Description
This is a general src_compile()
failure.
Usually if there is a line that contains the string "error:", it is reaported in the summary, otherwise you need to inspect the build log to understand the cause of the failure.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0015
General tests failure (reported as: "fails tests")
Description
This is a general src_test()
failure.
When the error is related to a compilation of a test and there is a line that contains the string "error:", it is reported in the summary.
When the error is related to an execution of a test(s), you need to inspect the build log to understand the cause of the failure, for that reason do not expect a meaningful summary.
How to reproduce
tbd
How to fix
Please do remember that `CI` won't run tests in case of open bugs with tests failures. So please use always `pkgdev commit -c` or close the bug before you commit the change.
approved/reviewed
not yet.
CF0016
General tests failure that hang (reported as: "fails tests (hang)")
Description
Note that emerge process have been killed to get an ebuild failure.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0017
Fetch failure
Description
tbd
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
CF0018
Fetch failure because of the recorded size that do not match
Description
When an ebuild has been committed, the size of the archive of the program, is recorded into the Manifest
file. When you hit this bug, basically you needto regenerate the manifest with the updated has but you need to investigate on WHY this happened.
Options are:
- upstream change things into the tarball - the mirror has been hacked and then malicious file have been added to the archive.
How to reproduce
tbd
How to fix
tbd
approved/reviewed
not yet.
Systems setup
GCC-14
If you are reading here, means that the bug was found on a tinderbox that has sys-devel/gcc-14
but the bug MAY or MAY NOT BE related to the new compiler.
GCC-15
If you are reading here, means that the bug was found on a tinderbox that has sys-devel/gcc-15
but the bug MAY or MAY NOT BE related to the new compiler.
MUSL
If you are reading here, means that the bug was found on a tinderbox that has sys-libs/musl
instead of sys-libs/glibc
but the bug MAY or MAY NOT BE related to musl
.
LTO
If you are reading here, means that the bug was found on a tinderbox that runs lto
(https://wiki.g.o/wiki/LTO) but the bug MAY or MAY NOT BE related to lto
.
CLANG-LLD
If you are reading here, means that the bug was found on a tinderbox that runs clang
as compiler and lld
as a linker but the bug MAY or MAY NOT BE related to clang/lld
.
To compile with clang-lld you should setup in make.conf or per package:
CC="clang" CXX="clang++" LDFLAGS="${LDFLAGS} -fuse-ld=lld"
DASH
If you are reading here, means that the bug was found on a tinderbox that runs /bin/sh
as dash
but the bug MAY or MAY NOT BE related to dash
.
To reproduce you should emerge app-alternatives/sh[-bash, +dash]
BINUTILS-2.42
If you are reading here, means that the bug was found on a tinderbox that runs sys-devel/binutils-2.42
as linker but the bug MAY or MAY NOT BE related to binutils
.
To reproduce you should emerge sys-devel/binutils-2.42
and use it as default linker: eselect binutils set ...
SLIBTOOL
If you are reading here, means that the bug was found on a tinderbox that runs slibtool
over GNU libtool
but the bug MAY or MAY NOT BE related to slibtool
.
To reproduce follow: Guide to Slibtool