Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87261 - lighttpd(-1.3.13) with uclibc
Summary: lighttpd(-1.3.13) with uclibc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 05:34 UTC by David Holm (RETIRED)
Modified: 2005-09-14 12:33 UTC (History)
1 user (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 David Holm (RETIRED) gentoo-dev 2005-03-30 05:34:57 UTC
The configure script of lighttpd will detect sys/sendfile.h on Gentoo/uclibc systems, but this feature is not supported by uclibc. The binary produced will not be able to transfer files (including web objects such as images).

By adding the following line after econf in the ebuild it will work on uclibc systems:
use uclibc && sed -i -e "s/^#define\ HAVE_SENDFILE.*$//" config.h

This solution was suggested to me by 'weigon_' on #lighttpd@irc.freenode.net
Comment 1 solar (RETIRED) gentoo-dev 2005-03-30 06:14:31 UTC
Builds for me.
[ebuild   R   ] www-servers/lighttpd-1.3.10-r1  -ldap -mysql -php -ssl -xattr 0 kB

uclibc also provides this symbol and include file. (perhaps some other error your encountering) ?
Comment 2 solar (RETIRED) gentoo-dev 2005-03-30 08:20:46 UTC
David said on IRC that it builds for him but the runtime is what seems to fail.
I know uClibc provides the stubs to the kernel sendfile()
So this is probably a kernel problem.
Comment 3 David Holm (RETIRED) gentoo-dev 2005-03-31 11:44:00 UTC
I'll see if I can investigate this further next week.
Comment 4 Aaron Walker (RETIRED) gentoo-dev 2005-08-26 02:02:11 UTC
Please see if you are still experiencing this with 1.4.x
Comment 5 Aaron Walker (RETIRED) gentoo-dev 2005-09-14 12:33:52 UTC
Please reopen when have some more info for me.