Bug 1145190 - including ev.h fails
Summary: including ev.h fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libev
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mathieu Bridon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-22 14:11 UTC by Jan Kaluža
Modified: 2014-09-23 11:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-23 11:56:39 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.