Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147388 - [gcc4.1] lcd4linux-0.10.0 does not compile
Summary: [gcc4.1] lcd4linux-0.10.0 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Other
: High normal (vote)
Assignee: LCD Herd
URL:
Whiteboard:
Keywords:
Depends on: 146407
Blocks:
  Show dependency tree
 
Reported: 2006-09-12 15:08 UTC by Jesus de Santos Garcia
Modified: 2006-12-06 03:43 UTC (History)
0 users

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


Attachments
Patch for lcd4linux_i2c.h (lcd4linux_i2c.h.patch,418 bytes, patch)
2006-11-13 18:10 UTC, Jesus de Santos Garcia
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesus de Santos Garcia 2006-09-12 15:08:43 UTC
In file included from drv_generic_i2c.c:76:
lcd4linux_i2c.h:81: error: array type has incomplete element type
make: *** [drv_generic_i2c.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-misc/lcd4linux-0.10.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  lcd4linux-0.10.0.ebuild, line 35:   Called die



-----------

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 12 Sep 2006 01:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/share/X11/xkb /usr/share/logwatch /var/www/localhost/htdocs/cacti/include"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 avi berkdb bitmap-fonts bzip2 cli crypt dlloader dri eds elibc_glibc emboss encode fam foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection samba sdl session snmp spl sse sse2 ssl svg tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_fglrx vorbis xml xmms xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jesus de Santos Garcia 2006-09-12 15:15:21 UTC
Ups, this is exactly the bugs described in Bug146407
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 00:19:58 UTC
Well I guess this can be marked as duplicate. :)


*** This bug has been marked as a duplicate of 146407 ***
Comment 3 Jesus de Santos Garcia 2006-11-13 18:02:50 UTC
This bug was not really a duplication of Bug146407. 

linux-headers have been updated and lcd4linux is still failing.

The fix for the error is really simple. I have attached the patch. Compilaton is fine now, but I am getting display errors that were not there before gcc4.

I think I should try getting the latest CVS.

Comment 4 Jesus de Santos Garcia 2006-11-13 18:10:44 UTC
Created attachment 101891 [details, diff]
Patch for lcd4linux_i2c.h
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2006-11-14 07:29:58 UTC
(In reply to comment #3)
> linux-headers have been updated and lcd4linux is still failing.

That is right, the bug is also fixed in CVS already. But getting the current CVS into portage is not a good idea because the maintainer says that he does not think it is ready for production.


> The fix for the error is really simple. I have attached the patch. Compilaton
> is fine now, but I am getting display errors that were not there before gcc4.

I missed doing this myself. The patch will be included in the ebuild.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2006-11-16 02:53:54 UTC
Bug is fixed in Jokey's overlay <http://overlays.gentoo.org/dev/jokey/changeset/81>
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2006-12-06 03:43:54 UTC
Fixed in CVS, thanks guys :)