Created attachment 398514 [details] build.log Error is: src/os/unix/ngx_files.c: In function 'ngx_fs_bsize': src/os/unix/ngx_files.c:543:21: error: storage size of 'fs' isn't known struct statvfs fs; ^ objs/Makefile:636: recipe for target 'objs/src/os/unix/ngx_files.o' failed make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/www-servers/nginx-1.7.6/work/nginx-1.7.6' Makefile:8: recipe for target 'build' failed make: *** [build] Error 2 * ERROR: www-servers/nginx-1.7.6::gentoo failed (compile phase): * emake failed Files: Build.log emerge --info emerge -pvq are attached.
Created attachment 398516 [details] emerge --info
Interesting. Could you try 1.7.8 or 1.7.10, same build config?
Created attachment 398706 [details] Build log for 1.7.8 Same error
Created attachment 398708 [details] Build log for 1.7.10 Error reproduced as well
This is just strange. The compile test of statvfs works (their auto*), but then bails. Your glibc and the rest of the system looks fine. I'm baffled.
Does this occur in 1.8/1.9 series as well?
Please re-test with a recent version (>=www-servers/nginx-1.10.1). If you still experience the problem please re-open this bug report.