Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351371 - www-servers/lighttpd-1.4.28 doesn't build with >=dev-libs/libev-4.01
Summary: www-servers/lighttpd-1.4.28 doesn't build with >=dev-libs/libev-4.01
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alex Alexander (RETIRED)
URL: http://cgit.lighttpd.net/lighttpd/lig...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2011-01-11 15:17 UTC by Andreas Wiese
Modified: 2011-02-23 12:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Wiese 2011-01-11 15:17:19 UTC
When building www-servers/lighttpd (at least up to 1.4.28) with USE=libev and libev > 4.0 installed, configure phase fails because libev-API changed with 4.0 and lighttpd isn't aware of this yet (ev_loop() is gone).

Reproducible: Always

Steps to Reproduce:
1. install >=dev-libs/libev-4.0
2. try to install www-servers/lighttpd with USE=libev
3. fail

Actual Results:  
checking for ev_loop in -lev... no
configure: error: libev not found


Expected Results:  
checking for ev_loop in -lev... yes

You should alter RDEPEND to state 'libev? ( =dev-libs/libev-3* )' or similar.
Comment 1 Stefan Bühler 2011-02-05 10:21:30 UTC
As libev 4.0 enables the backward compat api by default, it is just a bug in the libev detection; replacing ev_loop with ev_time in the configure scripts should work, similar to

http://cgit.lighttpd.net/lighttpd/lighttpd2/commit/?id=eea9b56d16c705c31110e522540febc5cd0282c9
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-02-23 12:15:06 UTC
+*lighttpd-1.4.28-r1 (23 Feb 2011)
+
+  23 Feb 2011; Markos Chandras <hwoarang@gentoo.org>
+  +lighttpd-1.4.28-r1.ebuild, +files/lighttpd-1.4.28-detect-libev.patch:
+  Backport upstream patch to detect libev >4.0 correctly. Thanks to Stefan
+  Bühler <lighttpd@stbuehler.de>. Bug #351371. Upstream
+  commit:http://cgit.lighttpd.net/lighttpd/lighttpd2/commit/?id=eea9b56d16c705c
+  31110e522540febc5cd0282c9
+