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

Bug 157790

Summary: app-misc/lcdproc-0.5.1 fails - array type has incomplete element type
Product: Gentoo Linux Reporter: Rob Rosenfeld <rob>
Component: Current packagesAssignee: LCD Herd <lcd>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rbu
Priority: High    
Version: 2006.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rob Rosenfeld 2006-12-10 19:03:44 UTC
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -fPIC -Wall -mtune=k8 -O2 -pipe -Wno-unused-function -MT joy.o -MD -MP -MF ".deps/joy.Tpo" -c -o joy.o joy.c; \
        then mv -f ".deps/joy.Tpo" ".deps/joy.Po"; else rm -f ".deps/joy.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -fPIC -Wall -mtune=k8 -O2 -pipe -Wno-unused-function -MT lb216.o -MD -MP -MF ".deps/lb216.Tpo" -c -o lb216.o lb216.c; \
        then mv -f ".deps/lb216.Tpo" ".deps/lb216.Po"; else rm -f ".deps/lb216.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -fPIC -Wall -mtune=k8 -O2 -pipe -Wno-unused-function -MT lcdm001.o -MD -MP -MF ".deps/lcdm001.Tpo" -c -o lcdm001.o lcdm001.c; \
        then mv -f ".deps/lcdm001.Tpo" ".deps/lcdm001.Po"; else rm -f ".deps/lcdm001.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -fPIC -Wall -mtune=k8 -O2 -pipe -Wno-unused-function -MT lcterm.o -MD -MP -MF ".deps/lcterm.Tpo" -c -o lcterm.o lcterm.c; \
        then mv -f ".deps/lcterm.Tpo" ".deps/lcterm.Po"; else rm -f ".deps/lcterm.Tpo"; exit 1; fi
In file included from /usr/include/linux/i2c-dev.h:28,
                 from hd44780-i2c.c:62:
/usr/include/linux/i2c.h:66: error: array type has incomplete element type
make[3]: *** [hd44780-i2c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/lcdproc-0.5.1/work/lcdproc-0.5.1/server/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lcdproc-0.5.1/work/lcdproc-0.5.1/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lcdproc-0.5.1/work/lcdproc-0.5.1'
make: *** [all] Error 2

!!! ERROR: app-misc/lcdproc-0.5.1 failed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-11 01:17:59 UTC
Not only amd64; see Bug 148072 Comment #8 and following.
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2006-12-15 14:41:19 UTC
This bug is caused by <linux-headers-2.6.17 and gcc-4.
It's a dupe of bug #146407, which I reopened therefore.
Comment 3 Rob Rosenfeld 2006-12-15 16:25:33 UTC
Might be useful to share that you can set LCDPROC_DRIVERS in make.conf and only build the driver you require.  In my case that avoided the compile problems. 
Comment 4 Robert Buchholz (RETIRED) gentoo-dev 2006-12-15 16:47:20 UTC
Isn't that stated in the info message when you emerge lcdproc (that you can choose which drivers to compile)?

Also, which drivers did you disable to avoid this problem?

Anyway, it's not an lcdproc bug, but it's kernel<->gcc triggered by lcdproc.
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2006-12-19 04:32:14 UTC

*** This bug has been marked as a duplicate of 146407 ***