linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* FTBFS with clang instead of gcc
@ 2015-07-26 13:58 Laurent Bigonville
  2015-07-26 21:49 ` Zbigniew Jędrzejewski-Szmek
  2015-07-27 16:50 ` Steve Grubb
  0 siblings, 2 replies; 5+ messages in thread
From: Laurent Bigonville @ 2015-07-26 13:58 UTC (permalink / raw)
  To: linux-audit; +Cc: 787066-forwarded

Hi,

Apparently audit is FTBFS with clang due to the embedded version of
libev with the following error (see: [0]):

../../../../src/libev/ev.c:970:42: error: '_Noreturn' keyword must
precede function declarator

The bug[0] provides a patch. I don't think this has been fixed
upstream yet. There was however a small thread [1] about this on
upstream ML.

Not sure what's the policy regarding patching embedded copy of libev.

Cheers,

Laurent Bigonville

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787066
[1] http://lists.schmorp.de/pipermail/libev/2015q1/002480.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FTBFS with clang instead of gcc
  2015-07-26 13:58 FTBFS with clang instead of gcc Laurent Bigonville
@ 2015-07-26 21:49 ` Zbigniew Jędrzejewski-Szmek
  2015-07-27 16:34   ` Steve Grubb
  2015-07-27 16:50 ` Steve Grubb
  1 sibling, 1 reply; 5+ messages in thread
From: Zbigniew Jędrzejewski-Szmek @ 2015-07-26 21:49 UTC (permalink / raw)
  To: Laurent Bigonville; +Cc: linux-audit, 787066-forwarded

On Sun, Jul 26, 2015 at 03:58:44PM +0200, Laurent Bigonville wrote:
> Hi,
> 
> Apparently audit is FTBFS with clang due to the embedded version of
> libev with the following error (see: [0]):
> 
> ../../../../src/libev/ev.c:970:42: error: '_Noreturn' keyword must
> precede function declarator
> 
> The bug[0] provides a patch. I don't think this has been fixed
> upstream yet. There was however a small thread [1] about this on
> upstream ML.
> 
> Not sure what's the policy regarding patching embedded copy of libev.
The policy is to kill the embedded copy as soon as possible.
Seems like a good time to do that.

Zbyszek

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FTBFS with clang instead of gcc
  2015-07-26 21:49 ` Zbigniew Jędrzejewski-Szmek
@ 2015-07-27 16:34   ` Steve Grubb
  2015-07-27 16:40     ` Zbigniew Jędrzejewski-Szmek
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Grubb @ 2015-07-27 16:34 UTC (permalink / raw)
  To: linux-audit; +Cc: 787066-forwarded

On Sunday, July 26, 2015 09:49:50 PM Zbigniew Jędrzejewski-Szmek wrote:
> On Sun, Jul 26, 2015 at 03:58:44PM +0200, Laurent Bigonville wrote:
> > Apparently audit is FTBFS with clang due to the embedded version of
> > libev with the following error (see: [0]):
> > 
> > ../../../../src/libev/ev.c:970:42: error: '_Noreturn' keyword must
> > precede function declarator
> > 
> > The bug[0] provides a patch. I don't think this has been fixed
> > upstream yet. There was however a small thread [1] about this on
> > upstream ML.
> > 
> Not sure what's the policy regarding patching embedded copy of libev.
> The policy is to kill the embedded copy as soon as possible.
> Seems like a good time to do that.

Not sure if you've ever had any dealings with upstream libev or not. But let's 
just say its not easy. I apply a patch on top of libev to suit audit's needs.

https://fedorahosted.org/audit/changeset/782

Without this, coverity analysis is much harder. Audit is one of those 
subsystems that you really need to be sure of what its doing and that even 
libraries it uses are correct.

-Steve

--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FTBFS with clang instead of gcc
  2015-07-27 16:34   ` Steve Grubb
@ 2015-07-27 16:40     ` Zbigniew Jędrzejewski-Szmek
  0 siblings, 0 replies; 5+ messages in thread
From: Zbigniew Jędrzejewski-Szmek @ 2015-07-27 16:40 UTC (permalink / raw)
  To: Steve Grubb; +Cc: linux-audit, 787066-forwarded

On Mon, Jul 27, 2015 at 12:34:38PM -0400, Steve Grubb wrote:
> On Sunday, July 26, 2015 09:49:50 PM Zbigniew Jędrzejewski-Szmek wrote:
> > On Sun, Jul 26, 2015 at 03:58:44PM +0200, Laurent Bigonville wrote:
> > > Apparently audit is FTBFS with clang due to the embedded version of
> > > libev with the following error (see: [0]):
> > > 
> > > ../../../../src/libev/ev.c:970:42: error: '_Noreturn' keyword must
> > > precede function declarator
> > > 
> > > The bug[0] provides a patch. I don't think this has been fixed
> > > upstream yet. There was however a small thread [1] about this on
> > > upstream ML.
> > > 
> > Not sure what's the policy regarding patching embedded copy of libev.
> > The policy is to kill the embedded copy as soon as possible.
> > Seems like a good time to do that.
> 
> Not sure if you've ever had any dealings with upstream libev or not. But let's 
> just say its not easy. I apply a patch on top of libev to suit audit's needs.
> 
> https://fedorahosted.org/audit/changeset/782
> 
> Without this, coverity analysis is much harder. Audit is one of those 
> subsystems that you really need to be sure of what its doing and that even 
> libraries it uses are correct.
You're right, I should have remembered that libev wants to be a copylib.

Zbyszek

--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: FTBFS with clang instead of gcc
  2015-07-26 13:58 FTBFS with clang instead of gcc Laurent Bigonville
  2015-07-26 21:49 ` Zbigniew Jędrzejewski-Szmek
@ 2015-07-27 16:50 ` Steve Grubb
  1 sibling, 0 replies; 5+ messages in thread
From: Steve Grubb @ 2015-07-27 16:50 UTC (permalink / raw)
  To: linux-audit; +Cc: 787066-forwarded

On Sunday, July 26, 2015 03:58:44 PM Laurent Bigonville wrote:
> Apparently audit is FTBFS with clang due to the embedded version of
> libev with the following error (see: [0]):
> 
> ../../../../src/libev/ev.c:970:42: error: '_Noreturn' keyword must
> precede function declarator
> 
> The bug[0] provides a patch. I don't think this has been fixed
> upstream yet. There was however a small thread [1] about this on
> upstream ML.

Actually, it is fixed upstream.

http://cvs.schmorp.de/libev/ev.c?revision=1.476&view=markup#l1087


> Not sure what's the policy regarding patching embedded copy of libev.

It also appears that 4.20 was release back in June. I'll update the embedded 
copy. Thanks for pointing this out.

-Steve

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-27 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 13:58 FTBFS with clang instead of gcc Laurent Bigonville
2015-07-26 21:49 ` Zbigniew Jędrzejewski-Szmek
2015-07-27 16:34   ` Steve Grubb
2015-07-27 16:40     ` Zbigniew Jędrzejewski-Szmek
2015-07-27 16:50 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).