[DSE-Dev] Bug#806485: setools: FTBFS: policy_define.c: error: 'class_perm_node_t {aka ..}' has no member named 'class'

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Nov 27 20:13:51 UTC 2015

Source: setools
Version: 3.3.8-3.2
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:

gcc -DHAVE_CONFIG_H -I. -I../..    -fno-strict-aliasing -I./../include -I/usr/lib/x86_64-linux-gnu/../include -I/usr/include -I/usr/include -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o policy_define.o policy_define.c
policy_define.c: In function ‘define_compute_type_helper’:
policy_define.c:1452:8: error: ‘class_perm_node_t {aka struct class_perm_node}’ has no member named ‘class’
    perm->class = i + 1;
policy_define.c: In function ‘define_te_avtab_helper’:
policy_define.c:1702:12: error: ‘class_perm_node_t {aka struct class_perm_node}’ has no member named ‘class’
   cur_perms->class = i + 1;
Makefile:656: recipe for target 'policy_define.o' failed
make[5]: *** [policy_define.o] Error 1
make[5]: Leaving directory '/setools-3.3.8/libqpol/src'
Makefile:537: recipe for target 'all' failed

Full build log:

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

More information about the SELinux-devel mailing list