[DSE-Dev] Bug#1078391: checkpolicy: FTBFS: checkpolicy.c:316:67: error: ‘cond_expr_t’ {aka ‘const struct cond_expr’} has no member named ‘bool’; did you mean ‘boolean’?
Lucas Nussbaum
lucas at debian.org
Sat Aug 10 06:51:27 BST 2024
Source: checkpolicy
Version: 3.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -o checkmodule.o -c checkmodule.c
> checkpolicy.c: In function ‘display_expr’:
> checkpolicy.c:316:67: error: ‘cond_expr_t’ {aka ‘const struct cond_expr’} has no member named ‘bool’; did you mean ‘boolean’?
> 316 | policydbp->p_bool_val_to_name[cur->bool - 1]);
> | ^~~~
> | boolean
> checkpolicy.c: In function ‘check_level’:
> checkpolicy.c:373:46: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notdefined’?
> 373 | if (!levdatum->isalias && !levdatum->defined) {
> | ^~~~~~~
> | notdefined
> policy_define.c: In function ‘clone_level’:
> policy_define.c:1009:27: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notdefined’?
> 1009 | levdatum->defined = 1;
> | ^~~~~~~
> | notdefined
> policy_define.c: In function ‘define_level’:
> policy_define.c:1060:19: error: ‘level_datum_t’ {aka ‘struct level_datum’} has no member named ‘defined’; did you mean ‘notdefined’?
> 1060 | levdatum->defined = 1;
> | ^~~~~~~
> | notdefined
> make[1]: *** [Makefile:39: checkpolicy.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/08/09/checkpolicy_3.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&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 mark 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 SELinux-devel
mailing list