Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127063 - media-libs/libggi-2.1.1 fails to compile
Summary: media-libs/libggi-2.1.1 fails to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 03:11 UTC by Chris Torske
Modified: 2007-03-30 20:09 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Torske 2006-03-21 03:11:43 UTC
make[3]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/sub'
Making all in tele
make[3]: Entering directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele'
Making all in server
make[4]: Entering directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele/server'
rm -f ../../../display/tele/server/libtele.h
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include   -I/usr/include  -march=k8 -O3 -pipe -I/usr/include -D_REENTRANT -D_THREAD_SAFE -MT teleserver.o -MD -MP -MF ".deps/teleserver.Tpo" -c -o teleserver.o teleserver.c; \
then mv -f ".deps/teleserver.Tpo" ".deps/teleserver.Po"; else rm -f ".deps/teleserver.Tpo"; exit 1; fi
ln -s ../../../display/tele/libtele.h ../../../display/tele/server/libtele.h
teleserver.c:43:21: error: libtele.h: No such file or directory
teleserver.c:66: error: expected 
Comment 1 Chris Torske 2006-03-21 03:11:43 UTC
make[3]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/sub'
Making all in tele
make[3]: Entering directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele'
Making all in server
make[4]: Entering directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele/server'
rm -f ../../../display/tele/server/libtele.h
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include   -I/usr/include  -march=k8 -O3 -pipe -I/usr/include -D_REENTRANT -D_THREAD_SAFE -MT teleserver.o -MD -MP -MF ".deps/teleserver.Tpo" -c -o teleserver.o teleserver.c; \
then mv -f ".deps/teleserver.Tpo" ".deps/teleserver.Po"; else rm -f ".deps/teleserver.Tpo"; exit 1; fi
ln -s ../../../display/tele/libtele.h ../../../display/tele/server/libtele.h
teleserver.c:43:21: error: libtele.h: No such file or directory
teleserver.c:66: error: expected =, ,, ;, asm or __attribute__ before serv
teleserver.c:67: error: expected =, ,, ;, asm or __attribute__ before * token
teleserver.c: In function close_connection:
teleserver.c:83: error: user undeclared (first use in this function)
teleserver.c:83: error: (Each undeclared identifier is reported only once
teleserver.c:83: error: for each function it appears in.)
teleserver.c: In function handle_connection:
teleserver.c:94: error: TeleUser undeclared (first use in this function)
teleserver.c:94: error: u undeclared (first use in this function)
teleserver.c:106: error: user undeclared (first use in this function)
teleserver.c:111: error: serv undeclared (first use in this function)
teleserver.c: At top level:
teleserver.c:140: error: expected ) before * token
teleserver.c: In function handle_event:
teleserver.c:267: error: TeleEvent undeclared (first use in this function)
teleserver.c:267: error: expected ; before g_ev
teleserver.c:280: error: user undeclared (first use in this function)
teleserver.c:280: error: g_ev undeclared (first use in this function)
teleserver.c:284: error: TELE_ERROR_SHUTDOWN undeclared (first use in this function)
teleserver.c: At top level:
teleserver.c:294: error: expected ) before * token
teleserver.c:351: error: expected ) before * token
teleserver.c:407: error: expected ) before * token
teleserver.c:449: error: expected ) before * token
teleserver.c:457: error: expected ) before * token
teleserver.c:463: error: expected ) before * token
teleserver.c:482: error: expected ) before * token
teleserver.c:519: error: expected ) before * token
teleserver.c:536: error: expected ) before * token
teleserver.c:556: error: expected ) before * token
teleserver.c:565: error: expected ) before * token
teleserver.c:573: error: expected ) before * token
teleserver.c:594: error: expected ) before * token
teleserver.c:612: error: expected ) before * token
teleserver.c:631: error: expected ) before * token
teleserver.c:731: error: expected ) before * token
teleserver.c: In function main:
teleserver.c:813: error: serv undeclared (first use in this function)
teleserver.c:851: error: user undeclared (first use in this function)
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include   -I/usr/include  -march=k8 -O3 -pipe -I/usr/include -D_REENTRANT -D_THREAD_SAFE -MT libtele.o -MD -MP -MF ".deps/libtele.Tpo" -c -o libtele.o `test -f '../../../display/tele/server/libtele.c' || echo './'`../../../display/tele/server/libtele.c; \
then mv -f ".deps/libtele.Tpo" ".deps/libtele.Po"; else rm -f ".deps/libtele.Tpo"; exit 1; fi
make[4]: *** [teleserver.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele/server'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display/tele'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1/display'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libggi-2.1.1/work/libggi-2.1.1'
make: *** [all] Error 2

!!! ERROR: media-libs/libggi-2.1.1 failed.
Call stack:
  ebuild.sh, line 1565:   Called dyn_compile
  ebuild.sh, line 974:   Called src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

[ebuild  N    ] media-libs/libggi-2.1.1  USE="X fbcon -aalib -debug -directfb"
Comment 2 Chris Torske 2006-03-21 03:12:52 UTC
luke tele # emerge --info
Portage 2.1_pre6-r5 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X X509 Xaw3d a52 aac alsa apache2 arts avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 cairo cdr cli crypt ctype cups dba dbus dga djbfft djvu dlloader doc dri dts dvd dvdread dvi dxr3 eds emboss encode esd examples exif expat fastbuild fbcon ffmpeg firefox flac fltk foomaticdb force-cgi-redirect fortran ftp gd gdbm ggi gif gnome gnutls gpgme gpm graphviz gs gstreamer gtk gtk2 hal i8x0 imagemagick imlib java javascript jpeg jpeg2k kde kerberos krb4 lcms lesstif libedit lirc logrotate lzo lzw lzw-tiff mad mailwrapper md5sum memlimit mng mono motif mozdevelop mozilla mp3 mpeg musicbrainz mysql mysqli nautilus ncurses neXt nls nntp nptl nsplugin ntpl nvidia ogg openal openexr opengl oss pam pcntl pcre pdflib perl php png posix ppds pwdb python qt quicktime readline real rle rtc sdl session simplexml smime sndfile soap sockets source speex spell spl sql sqlite ssl symlink t1lib tcltk tcpd tetex theora threads tidy tiff tokenizer toolbar truetype truetype-fonts type1-fonts unicode urandom usb v4l v4l2 vorbis xine xml xml2 xmldoclet xmlreader xmlrpc xmlwriter xmms xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc kernel_linux linguas_en_GB userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTDIR_OVERLAY

Comment 3 Chris Torske 2006-03-21 03:22:04 UTC
I did a small checked; and does compile fine without the fbcon flag unset
Comment 4 hiyuh 2006-04-03 06:01:09 UTC
(In reply to comment #2)
> I did a small checked; and does compile fine without the fbcon flag unset
It looks like GGI stuffs are mess by libs/headers mix, IMHO.
Haven't you seen some warning like "headers exists, but cann't compile" or so,
when configuring media-libs/libggi?

And then, FYI, I've made new GGI 2.2 stuffs.
It seems compilation successfully on ppc and amd64.
http://bugs.gentoo.org/show_bug.cgi?id=126400
Comment 5 Chris Torske 2006-04-04 06:48:23 UTC
I didn't go through all of the compiler messages; though when I quickly scanned through I didn't see anything about that; though if it ws up by the configure messages; I didn't check over there.  Though right next to the error (about last 50 lines or so), there wasn't any warnings pretaining to that.
Comment 6 Peter J. de Vrijer 2006-04-18 00:37:32 UTC
I have the same problem at the some point of make.

Here is my emerge info:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 AMD Sempron(tm)   2800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://194.117.143.71/mirrors/gentoo http://194.117.143.70"
LC_ALL="nl_NL@euro"
LINGUAS="us nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex Gtk X Xaw3d a52 aac acl alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cups curl debug divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile howl idn imagemagick imlib isdnlog jack java javascript jikes jpeg jpeg2k junit kde kig-scripting lcms ldap libg++ libwww logitech-mouse lzo mad matroska mikmod mjpeg mmx mmx2 mng motif mozilla mp3 mpeg ncurses nls odbc ogg oggvorbis openal opengl oss pam pcre pda pdflib perl plotutils png ppds pppd python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xine xml xml2 xmms xprint xv xvid zlib linguas_us linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS, PORTDIR_OVERLAY

Comment 7 Chris Torske 2006-04-18 10:39:43 UTC
modified hardware to all; as it's also on x86 from what it looks like.
Comment 8 David Watzke 2007-02-24 19:44:03 UTC
Works on my ~amd64 system with and without fbcon flag...

Portage 2.1.2-r11 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.21-rc1 x86_64)
=================================================================
System uname: 2.6.21-rc1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.13.0_alpha12
Timestamp of tree: Sat, 24 Feb 2007 19:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.20_alpha2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.12
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -msse3"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ ftp://ftp.linux.cz/pub/linux/gentoo"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/20GB/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay /usr/local/portage/dave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 asf avi bitmap-fonts bzip2 cairo cdparanoia cdr cli css cups curl curlwrappers custom-cflags cvs dbus dga dts dvd dvdr dvdread emboss enca encode fbcon ffmpeg flac flash ftp fuse gd gif gpm hal iconv id3 id3v2 imagemagick ithreads jabber javascript jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas lame lcms libg++ mad matroska midi mmx mmxext mp3 mpeg mplayer musepack ncurses nls no-suexec nowebdav nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pic png posix ppds pppd print python qt qt3 quicktime readline reflection sdl session sockets spl sse sse2 sse3 ssl subversion svg symlink theora threads truetype truetype-fonts type1-fonts unicode usb vorbis wma x264 xcomposite xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2007-03-30 20:09:36 UTC
Try media-libs/libggi-2.2.2 which was just committed, thanks.