GNU bug report logs -
#21580
runcon flask.h warning
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#21580: runcon flask.h warning
which was filed against the coreutils package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 21580 <at> debbugs.gnu.org.
--
21580: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21580
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
On 28/09/15 18:15, Andreas Grünbacher wrote:
> Hello,
>
> on a Fedora 23 Beta system, coreutils currently doesn't build because
> of the following warning which is treated as an error:
>
> CC src/runcon.o
> In file included from src/runcon.c:49:0:
> /usr/include/selinux/flask.h:5:2: error: #warning "Please remove any
> #include's of this header in your source code." [-Werror=cpp]
> #warning "Please remove any #include's of this header in your source code."
> ^
> /usr/include/selinux/flask.h:6:2: error: #warning "Instead, use
> string_to_security_class() to map the class name to a value."
> [-Werror=cpp]
> #warning "Instead, use string_to_security_class() to map the class
> name to a value."
> ^
> cc1: all warnings being treated as errors
> Makefile:8811: recipe for target 'src/runcon.o' failed
Fixed already with http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=50e61bf
I'll check it into Fedora 23 and Rawhide
cheers,
Pádraig.
[Message part 3 (message/rfc822, inline)]
Hello,
on a Fedora 23 Beta system, coreutils currently doesn't build because
of the following warning which is treated as an error:
CC src/runcon.o
In file included from src/runcon.c:49:0:
/usr/include/selinux/flask.h:5:2: error: #warning "Please remove any
#include's of this header in your source code." [-Werror=cpp]
#warning "Please remove any #include's of this header in your source code."
^
/usr/include/selinux/flask.h:6:2: error: #warning "Instead, use
string_to_security_class() to map the class name to a value."
[-Werror=cpp]
#warning "Instead, use string_to_security_class() to map the class
name to a value."
^
cc1: all warnings being treated as errors
Makefile:8811: recipe for target 'src/runcon.o' failed
Andreas
This bug report was last modified 9 years and 299 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.