Created attachment 410972 [details, diff] added AC_SYS_LARGEFILE check in configure.ac Logrotate source package misses large file support so it is impossible to rotate files larger than 2 GiB. Attached patch modifies configure.ac from source package to allow configure script detect _FILE_OFFSET_BITS definition and add related compilation flags to Makefile.
error: stat of /var/log/squid/access.log failed: Value too large for defined data type Thanks for patch. logrotate works for me now.
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c33b760cccb8a4167f6ea3c02cb0d7756125e8c3