This is the output when i try to emerge dcraw Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/dcraw-7.02 to / >>> md5 src_uri ;-) dcraw-7.02.tar.bz2 >>> Unpacking source... >>> Unpacking dcraw-7.02.tar.bz2 to /var/tmp/portage/dcraw-7.02/work >>> Source unpacked. parse.c:53: error: parse error before "get2" parse.c:54: warning: return type defaults to `int' parse.c: In function `rollei_decode': parse.c:489: error: `ushort' undeclared (first use in this function) parse.c:489: error: (Each undeclared identifier is reported only once parse.c:489: error: for each function it appears in.) parse.c:489: error: parse error before "data" parse.c:496: error: `data' undeclared (first use in this function) parse.c: In function `get_utf8': parse.c:506: error: `ushort' undeclared (first use in this function) parse.c:506: error: parse error before "c" parse.c:510: error: `c' undeclared (first use in this function) parse.c: At top level: parse.c:525: error: parse error before "sget2" parse.c:526: warning: return type defaults to `int' parse.c: In function `parse_foveon': parse.c:631: warning: dereferencing type-punned pointer will break strict-aliasing rules parse.c: In function `kodak_yuv_decode': parse.c:756: error: `ushort' undeclared (first use in this function) parse.c:756: error: `out' undeclared (first use in this function) parse.c:756: error: `op' undeclared (first use in this function) parse.c:756: warning: left-hand operand of comma expression has no effect parse.c:756: warning: statement with no effect gmake: *** [parse] Error 1 gmake: *** Waiting for unfinished jobs.... !!! ERROR: media-gfx/dcraw-7.02 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 65829 [details, diff] Fix the missing sys/types.h include in parse.c
Can't reproduce here. Sure this is needed?