View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000168 | file | General | public | 2020-06-15 20:36 | 2020-06-18 16:25 |
Reporter | gyakovlev | Assigned To | christos | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 5.40 | ||||
Summary | 0000168: file-5.39[seccomp][ppc64]: error: invalid application of 'sizeof' to incomplete type 'struct termios' | ||||
Description | downstream bug: https://bugs.gentoo.org/728416 file-5.39/src/seccomp.c: In function 'enable_sandbox_full': file-5.39/work/file-5.39/src/seccomp.c:194:19: error: invalid application of 'sizeof' to incomplete type 'struct termios' 194 | ALLOW_IOCTL_RULE(TCGETS); | ^~~~~~ file-5.39/work/file-5.39/src/seccomp.c:194:2: note: in expansion of macro 'ALLOW_IOCTL_RULE' 194 | ALLOW_IOCTL_RULE(TCGETS); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:558: seccomp.o] Error 1 make[3]: *** Waiting for unfinished jobs... | ||||
Additional Information | On PPC64, TCGETS is defined in terms of struct termios, so it must include termios.h adding #ifdef __powerpc64__ #include <termios.h> #endif to src/seccomp.c fixes the build. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-06-15 20:36 | gyakovlev | New Issue | |
2020-06-15 20:53 | gyakovlev | Note Added: 0003429 | |
2020-06-18 16:25 | christos | Assigned To | => christos |
2020-06-18 16:25 | christos | Status | new => assigned |
2020-06-18 16:25 | christos | Status | assigned => resolved |
2020-06-18 16:25 | christos | Resolution | open => fixed |
2020-06-18 16:25 | christos | Fixed in Version | => 5.40 |
2020-06-18 16:25 | christos | Note Added: 0003430 |