Summary: | x11-libs/cairo-1.17.6[debug]: ERROR: Problem encountered: symbol lookup via bfd was enabled via options but is not available (bfd might be too old) (sys-libs/binutils-libs installs a "broken" bfd.h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Helmert III <ajak> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | edgardragon444, herrtimson, sam, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/mlpack/mlpack/issues/574 https://github.com/chronoxor/CppServer/issues/38 https://sourceware.org/bugzilla/show_bug.cgi?id=14243 https://bugzilla.redhat.com/show_bug.cgi?id=845084 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
meson-log.txt |
Description
John Helmert III
![]() ![]() ![]() ![]() Created attachment 826511 [details]
meson-log.txt
``` Compiler stderr: In file included from /usr/include/bfd.h:13, from /var/tmp/portage/x11-libs/cairo-1.17.6/work/cairo-1.17.6/meson-cc-tests/bfd-section-flags.c:1: /usr/include/i686-pc-linux-gnu/bfd.h:35:2: error: #error config.h must be included before this header 35 | #error config.h must be included before this header | ^~~~~ Checking if "bfd_section_flags" with dependency -lbfd: links: NO ``` Indeed, in /usr/include/i686-pc-linux-gnu/bfd.h: ``` [...] /* PR 14072: Ensure that config.h is included first. */ #if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif [...] ``` https://sourceware.org/bugzilla/show_bug.cgi?id=14243 is the really telling one. I need to package.mask x11-libs/cairo-1.17.6 due this issue. Only x11-libs/cairo-1.16.0-r6 builds. I suggest unstabling x11-libs/cairo-1.17.6. (In reply to Edgar Dragon from comment #4) > I need to package.mask x11-libs/cairo-1.17.6 due this issue. Only > x11-libs/cairo-1.16.0-r6 builds. I suggest unstabling x11-libs/cairo-1.17.6. Or just disable USE=debug. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=404f391b6a35da78f94c7c739ac20b9ecb460e23 commit 404f391b6a35da78f94c7c739ac20b9ecb460e23 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-17 04:45:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-17 04:45:49 +0000 profiles/base: mask >=x11-libs/cairo-1.17.6[debug] Bug: https://bugs.gentoo.org/879067 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+) Fedora just patches it out: https://src.fedoraproject.org/rpms/binutils/blob/f39/f/binutils-no-config-h-check.patch |