Bug 1145190

Summary: including ev.h fails
Product: [Fedora] Fedora Reporter: Jan Kaluža <jkaluza>
Component: libevAssignee: Mathieu Bridon <bochecha>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bochecha, ignatenko, jkaluza, mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-23 11:56:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kaluža 2014-09-22 14:11:58 UTC
I'm trying to build passenger srpm from passenger review (Bug 1074515) and the compilation ends up with following error:

In file included from /usr/include/ev++.h:46:0,
                 from ext/common/agents/HelperAgent/Main.cpp:51:
/usr/include/ev.h:663:48: error: ‘ev_loop_callback_nothrow’ declared with an exception specification
 typedef void (*ev_loop_callback_nothrow)(EV_P) EV_THROW;
                                                ^

This happens since the libev update in rawhide. I think this is something wrong with the latest libev update.

Comment 1 Mathieu Bridon 2014-09-23 08:38:56 UTC
Thanks for the bug report.

I found an upstream discussion about it:
http://lists.schmorp.de/pipermail/libev/2014q3/002441.html

I've just tried backporting a fix from upstream CVS, and it seems to fix the passenger build. (note: I only tried to build passenger, I didn't not check if it actually runs)

Pushing the fix to Rawhide, let me know if it works for you.

Comment 2 Mathieu Bridon 2014-09-23 09:45:49 UTC
libev-4.18-2.fc22 is now available to build against in Rawhide.

Can you try that, and confirm whether it fixes your issue?

Comment 3 Jan Kaluža 2014-09-23 11:30:58 UTC
Thanks for the fix, it looks like the bug is fixed now. Passenger builds and works.

http://koji.fedoraproject.org/koji/taskinfo?taskID=7663193

Comment 4 Mathieu Bridon 2014-09-23 11:56:39 UTC
Awesome.

Closing this.