Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806505 - dev-libs/libowfat-0.32-r2 - /.../cdefs.h: error: macro _has_attribute requires an identifier
Summary: dev-libs/libowfat-0.32-r2 - /.../cdefs.h: error: macro _has_attribute require...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rolf Eike Beer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-08-05 13:13 UTC by Toralf Förster
Modified: 2021-08-20 12:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.55 KB, text/plain)
2021-08-05 13:13 UTC, Toralf Förster
Details
dev-libs:libowfat-0.32-r2:20210805-080724.log (dev-libs:libowfat-0.32-r2:20210805-080724.log,5.04 KB, text/plain)
2021-08-05 13:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.58 KB, text/plain)
2021-08-05 13:13 UTC, Toralf Förster
Details
environment (environment,69.71 KB, text/plain)
2021-08-05 13:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.44 KB, application/x-bzip)
2021-08-05 13:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,18.30 KB, application/x-bzip)
2021-08-05 13:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-05 13:13:21 UTC
                 from /usr/include/string.h:26,
                 from byte/byte_zero.c:2:
/usr/include/sys/cdefs.h:249:60: error: macro "__has_attribute" requires an identifier
  249 | #if __GNUC_PREREQ (2,96) || __glibc_has_attribute (__pure__)
      |                                                            ^
x86_64-pc-linux-gnu-gcc -c fmt/fmt_8longlong.c -I. -pipe -march=native -fno-diagnostics-color -O2 -fomit-frame-pointer
make: *** [GNUmakefile:179: byte_zero.o] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j3-20210804-091539

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 68eaf86ea58f35f3be845a7f2433edb2630e1a2b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 5 06:53:39 2021 +0000

    2021-08-05 06:53:38 UTC

emerge -qpvO dev-libs/libowfat
[ebuild  N    ] dev-libs/libowfat-0.32-r2  USE="-diet"
Comment 1 Toralf Förster gentoo-dev 2021-08-05 13:13:22 UTC
Created attachment 730275 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-05 13:13:23 UTC
Created attachment 730278 [details]
dev-libs:libowfat-0.32-r2:20210805-080724.log
Comment 3 Toralf Förster gentoo-dev 2021-08-05 13:13:24 UTC
Created attachment 730281 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-05 13:13:26 UTC
Created attachment 730284 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-05 13:13:27 UTC
Created attachment 730287 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-05 13:13:28 UTC
Created attachment 730290 [details]
temp.tar.bz2
Comment 7 Rolf Eike Beer archtester 2021-08-20 12:36:42 UTC
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.