Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176153 - Apache2 seems to not handle files > 2G; broken configure during compile?
Summary: Apache2 seems to not handle files > 2G; broken configure during compile?
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 19:31 UTC by Blu3
Modified: 2007-05-07 14:49 UTC (History)
0 users

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


Attachments
emerge info (emerge.info,5.24 KB, text/plain)
2007-04-26 19:31 UTC, Blu3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2007-04-26 19:31:15 UTC
Mustang httpd-2.0.59 # tail -n1 /var/log/apache2/error_log
[Thu Apr 26 14:47:41 2007] [error] [client <IP>] (75)Value too large for defined data type: access to <file> failed


Mustang httpd-2.0.59 # pwd;echo;egrep -r "LARGE_FILE|LARGEFILE" *|grep "#define"
/var/tmp/portage/net-www/apache-2.0.59-r2/work/httpd-2.0.59

modules/loggers/mod_log_config.c:#define APR_LARGEFILE 0
server/log.c:#define APR_LARGEFILE 0
srclib/apr/include/apr.h.in:#define APR_HAS_LARGE_FILES       0
srclib/apr/include/apr.hw:#define APR_HAS_LARGE_FILES       1
srclib/apr/include/apr.hw:#define APR_HAS_LARGE_FILES       0
srclib/apr/include/apr_file_io.h:#define APR_LARGEFILE   0x04000    /**< Platform dependent flag to enable large file
srclib/apr/include/apr.hnw:#define APR_HAS_LARGE_FILES       0
Comment 1 Blu3 2007-04-26 19:31:40 UTC
Created attachment 117332 [details]
emerge info
Comment 2 Jakub Moc 2007-04-26 19:39:07 UTC
You need apache-2.2.x for LFS, nothing else will ever handle it. NOTABUG.
Comment 3 Christian Heim (RETIRED) gentoo-dev 2007-05-07 14:49:49 UTC
What Jakub said in #c2. We either pass that compiler macro (AP2_CONFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64) and completely break apache (due to weird stuff in apache-2.0* and apr-0.9* -- see http://lists.debian.org/debian-apache/2005/04/msg00059.html for reference) or just  use apache-2.2 ...