Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542680 - www-servers/nginx-1.7.6: error: storage size of 'fs' isn't known
Summary: www-servers/nginx-1.7.6: error: storage size of 'fs' isn't known
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 12:10 UTC by Alex Muravya
Modified: 2016-07-20 00:28 UTC (History)
3 users (show)

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


Attachments
build.log (file_542680.txt,18.00 KB, text/plain)
2015-03-09 12:10 UTC, Alex Muravya
Details
emerge --info (nginx.emerge-info.log,13.13 KB, text/plain)
2015-03-09 12:10 UTC, Alex Muravya
Details
Build log for 1.7.8 (nginx-1.7.8.build.log,17.55 KB, text/x-log)
2015-03-12 08:06 UTC, Alex Muravya
Details
Build log for 1.7.10 (nginx-1.7.10.build.log,16.94 KB, text/x-log)
2015-03-12 08:11 UTC, Alex Muravya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Muravya 2015-03-09 12:10:07 UTC
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.
Comment 1 Alex Muravya 2015-03-09 12:10:47 UTC
Created attachment 398516 [details]
emerge --info
Comment 2 Johan Bergström 2015-03-12 02:24:23 UTC
Interesting. Could you try 1.7.8 or 1.7.10, same build config?
Comment 3 Alex Muravya 2015-03-12 08:06:39 UTC
Created attachment 398706 [details]
Build log for 1.7.8

Same error
Comment 4 Alex Muravya 2015-03-12 08:11:30 UTC
Created attachment 398708 [details]
Build log for 1.7.10

Error reproduced as well
Comment 5 Johan Bergström 2015-05-04 01:55:26 UTC
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.
Comment 6 Johan Bergström 2016-01-22 11:56:16 UTC
Does this occur in 1.8/1.9 series as well?
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2016-07-20 00:28:50 UTC
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.