Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 77428

Summary: sys-apps/stat 3.3 won't compile, portage bitches
Product: Gentoo/Alt Reporter: phaidros <phaidros>
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description phaidros 2005-01-10 15:07:07 UTC
while don't having stat, portage bitches whiles installing stuff onto my hd, that stat is not found.
did portage not use stat before? 
is stat usually in osx? 
portage never bitched about that before, just since a coupleo days ..

following error:
emerge -pv stat
[snip]
gcc -O2 -pipe -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o stat stat.c 
stat.c:3:27: sys/sysmacros.h: No such file or directory
stat.c:8:21: sys/vfs.h: No such file or directory
stat.c:10:20: malloc.h: No such file or directory
stat.c: In function `print_human_fstype':
stat.c:58: error: dereferencing pointer to incomplete type
stat.c:231: warning: implicit declaration of function `malloc'
stat.c:238: error: dereferencing pointer to incomplete type
stat.c: At top level:
stat.c:242: error: parse error before string constant
stat.c:242: warning: type defaults to `int' in declaration of `printf'
stat.c:242: warning: conflicting types for built-in function `printf'
stat.c:242: warning: data definition has no type or storage class
stat.c:243: warning: type defaults to `int' in declaration of `free'
stat.c:243: warning: parameter names (without types) in function declaration
stat.c:243: warning: data definition has no type or storage class
stat.c:244: error: parse error before '}' token
stat.c: In function `print_human_time':
stat.c:299: warning: `%c' yields only last 2 digits of year in some locales
stat.c: In function `print_statfs':
stat.c:326: error: dereferencing pointer to incomplete type
stat.c:326: error: dereferencing pointer to incomplete type
stat.c:336: error: dereferencing pointer to incomplete type
stat.c:344: error: dereferencing pointer to incomplete type
stat.c:348: warning: passing arg 1 of `print_human_fstype' from incompatible pointer type
stat.c:360: error: dereferencing pointer to incomplete type
stat.c:372: error: dereferencing pointer to incomplete type
stat.c:384: error: dereferencing pointer to incomplete type
stat.c:392: error: dereferencing pointer to incomplete type
stat.c:404: error: dereferencing pointer to incomplete type
stat.c:416: error: dereferencing pointer to incomplete type
stat.c: In function `do_statfs':
stat.c:654: error: storage size of `statfsbuf' isn't known
stat.c:665: warning: implicit declaration of function `statfs'
stat.c:654: warning: unused variable `statfsbuf'
stat.c: In function `usage':
stat.c:800: warning: implicit declaration of function `exit'
make: *** [stat] Error 1

Reproducible: Always
Steps to Reproduce:
Comment 1 Lina Pezzella (RETIRED) gentoo-dev 2005-02-09 17:03:28 UTC
Please emerge freebsd-stat and reopen if there's still a problem.