Summary: | dev-libs/libowfat-0.32-r4 - /.../cdefs.h: error: macro _has_attribute requires an identifier | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Rolf Eike Beer <eike> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=833201 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 803482 | ||
Attachments: |
emerge-info.txt
dev-libs:libowfat-0.32-r2:20210805-080724.log emerge-history.txt environment etc.portage.tar.bz2 temp.tar.bz2 Build log with patch |
Description
Toralf Förster
2021-08-05 13:13:21 UTC
Created attachment 730275 [details]
emerge-info.txt
Created attachment 730278 [details]
dev-libs:libowfat-0.32-r2:20210805-080724.log
Created attachment 730281 [details]
emerge-history.txt
Created attachment 730284 [details]
environment
Created attachment 730287 [details]
etc.portage.tar.bz2
Created attachment 730290 [details]
temp.tar.bz2
The reason is that this defines __pure__ to empty and uses it as a name for __attribute__((pure)). This has been fixed in upstream CVS. I asked for a new version to avoid backporting, lets see if that works. (In reply to Rolf Eike Beer from comment #7) > The reason is that this defines __pure__ to empty and uses it as a name for > __attribute__((pure)). This has been fixed in upstream CVS. I asked for a > new version to avoid backporting, lets see if that works. Any news? (In reply to Sam James from comment #8) > (In reply to Rolf Eike Beer from comment #7) > > The reason is that this defines __pure__ to empty and uses it as a name for > > __attribute__((pure)). This has been fixed in upstream CVS. I asked for a > > new version to avoid backporting, lets see if that works. > > Any news? ping No new release yet, I'll cook up a patch myself in the next days. Can you please try the following as I don't have a glibc-2.34 system around: +src_prepare() { + default + + # do not define "__pure__", this collides with the gcc builtin (bug #806505) + sed 's#__pure__;#__attribute__((__pure__));#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die + sed 's#__pure__$#__attrib__pure__#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die +} tinderbox has reproduced this issue with version 0.32-r4 - Updating summary. Created attachment 751734 [details]
Build log with patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914a4aa87415dabfe77181a2365766417a5919a4 commit 914a4aa87415dabfe77181a2365766417a5919a4 Author: Rolf Eike Beer <eike@sf-mail.de> AuthorDate: 2021-11-17 15:56:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-17 21:55:57 +0000 dev-libs/libowfat: fix build with sys-libs/glibc-2.34 Closes: https://bugs.gentoo.org/806505 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org> .../{libowfat-0.32-r4.ebuild => libowfat-0.32-r5.ebuild} | 10 ++++++++++ 1 file changed, 10 insertions(+) |