[Pkg-electronics-devel] Bug#1017328: arduino-ctags: FTBFS: cdefs.h:310:61: error: missing ')' after "__has_attribute"
Lucas Nussbaum
lucas at debian.org
Sun Aug 14 09:43:44 BST 2022
Source: arduino-ctags
Version: 5.8-arduino11-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -I. -I../.. -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c ../../c.c
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from ../../args.c:17:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../ant.c:17:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../asm.c:18:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../asp.c:18:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../awk.c:17:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../basic.c:20:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../c.c:18:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> In file included from /usr/include/features.h:489,
> from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/string.h:26,
> from ../../beta.c:20:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:310:61: error: missing ')' after "__has_attribute"
> 310 | #if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__)
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> ../../general.h:60:36: error: missing binary operator before token "("
> 60 | # define __unused__ __attribute__((unused))
> | ^
> make[2]: *** [Makefile:220: ant.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/arduino-ctags_5.8-arduino11-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-electronics-devel
mailing list