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

Bug 160975

Summary: sys-fs/hfsplusutils-1.0.4-r1 compile failure w/ 2.6.19 kernel
Product: Gentoo Linux Reporter: Ed Catmur <ed>
Component: Current packagesAssignee: PPC Porters <ppc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 156669    
Attachments: no-include-linux-string.h.patch

Description Ed Catmur 2007-01-08 19:58:52 UTC
On x86, linux 2.6.19.

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -MT os.lo -MD -MP -MF .deps/os.Tpo -c os.c -o os.o >/dev/null 2>&1
mv -f .deps/os.Tpo .deps/os.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..     -O2 -Wall -MT record.lo -MD -MP -MF .deps/record.Tpo -c -o record.lo record.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -Wall -MT unicode.lo -MD -MP -MF .deps/unicode.Tpo -c unicode.c  -fPIC -DPIC -o .libs/unicode.o
unicode.c:19:26: error: linux/string.h: No such file or directory
distcc[3659] ERROR: compile unicode.c on localhost failed
make[3]: *** [unicode.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

Simply removing the #include seems to work.
Comment 1 Ed Catmur 2007-01-08 20:03:43 UTC
Created attachment 106101 [details, diff]
no-include-linux-string.h.patch

Suggested patch.
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2007-01-08 22:21:53 UTC
Thanks for reporting this, fixed in CVS.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2007-01-08 22:23:49 UTC
Whoops, forgot to close the bug, sorry for the bugspam. :p