GNU bug report logs - #21580
runcon flask.h warning

Previous Next

Package: coreutils;

Reported by: Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>

Date: Mon, 28 Sep 2015 17:16:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21580 in the body.
You can then email your comments to 21580 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#21580; Package coreutils. (Mon, 28 Sep 2015 17:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 28 Sep 2015 17:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: runcon flask.h warning
Date: Mon, 28 Sep 2015 19:15:02 +0200
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




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Tue, 29 Sep 2015 01:11:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>:
bug acknowledged by developer. (Tue, 29 Sep 2015 01:11:03 GMT) Full text and rfc822 format available.

Message #10 received at 21580-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Andreas Grünbacher <andreas.gruenbacher <at> gmail.com>,
 21580-done <at> debbugs.gnu.org
Subject: Re: bug#21580: runcon flask.h warning
Date: Tue, 29 Sep 2015 02:09:58 +0100
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.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 298 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.