Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92131 - kino fails to build with "parse error before `__const'"
Summary: kino fails to build with "parse error before `__const'"
Status: RESOLVED DUPLICATE of bug 80160
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 08:49 UTC by Claes Wikstrom
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Claes Wikstrom 2005-05-10 08:49:43 UTC
Failing to build kino, 0.6.4
No ACCEPT_KEYWORDS or anything set at all.
Have tried to set USE="-nls" and remerged world with -N to no avail. 

I get:

[root@guld]~ > emerge  kino    
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/kino-0.6.4 to /
>>> md5 files   ;-) kino-0.7.5.ebuild
>>> md5 files   ;-) kino-0.6.4.ebuild
>>> md5 files   ;-) kino-0.7.5-r1.ebuild
>>> md5 files   ;-) kino-0.7.4.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) kino-0.7.1.ebuild
>>> md5 files   ;-) files/digest-kino-0.7.5-r1
>>> md5 files   ;-) files/digest-kino-0.6.4
>>> md5 files   ;-) files/digest-kino-0.7.1
>>> md5 files   ;-) files/digest-kino-0.7.4
>>> md5 files   ;-) files/digest-kino-0.7.5
>>> md5 files   ;-) files/kino-0.7.1-64bit-clean.patch
>>> md5 files   ;-) files/kino-0.7.5-ppc.diff
>>> md5 files   ;-) files/kino_gcc33_fix
>>> md5 files   ;-) files/kino_gcc34_fix
>>> md5 src_uri ;-) kino-0.6.4.tar.gz
>>> Unpacking source...
>>> Unpacking kino-0.6.4.tar.gz to /var/tmp/portage/kino-0.6.4/work
 * Applying kino_gcc33_fix ...                                            [ ok ]
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for strerror in -lcposix... no
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... none
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether byte ordering is bigendian... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libdv/dv.h usability... yes
checking libdv/dv.h presence... yes
checking for libdv/dv.h... yes
checking for dv_encode_metadata in -ldv... yes
checking libraw1394/raw1394.h usability... yes
checking libraw1394/raw1394.h presence... yes
checking for libraw1394/raw1394.h... yes
checking for raw1394_new_handle in -lraw1394... yes
checking libavc1394/avc1394.h usability... yes
checking libavc1394/avc1394.h presence... yes
checking for libavc1394/avc1394.h... yes
checking for avc1394_vcr_record in -lavc1394... yes
checking libavc1394/rom1394.h usability... yes
checking libavc1394/rom1394.h presence... yes
checking for libavc1394/rom1394.h... yes
checking for rom1394_get_node_type in -lrom1394... yes
checking for pthread_create in -lpthread... yes
checking for dlopen in -ldl... yes
checking for g_log in -lglib... yes
checking quicktime/quicktime.h usability... yes
checking quicktime/quicktime.h presence... yes
checking for quicktime/quicktime.h... yes
checking quicktime/lqt.h usability... yes
checking quicktime/lqt.h presence... yes
checking for quicktime/lqt.h... yes
checking for quicktime_open in -lquicktime... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking for X11/extensions/Xvlib.h... yes
checking for X11/extensions/XShm.h... yes
checking for XInitExtension in -lXext... yes
checking for XvQueryAdaptors in -lXv... yes
checking for xml2-config... /usr/bin/xml2-config
checking for xmlNewDoc in -lxml2... yes
checking for imlib-config... /usr/bin/imlib-config
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler... 
checking for pthread_create in -lpthread... (cached) yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for g_thread_init in -lgthread... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for string.h... (cached) yes
checking for dirname... yes
checking for opendir... yes
checking for strdup... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating macros/Makefile
config.status: creating src/Makefile
config.status: creating help/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4'
Making all in macros
make[2]: Entering directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4/macros'
Making all in src
make[2]: Entering directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4/src'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -Wall -Wunused  -c `test -f 'main.c' || echo './'`main.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -Wall -Wunused  -c `test -f 'support.c' || echo './'`support.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -Wall -Wunused  -c `test -f 'interface.c' || echo './'`interface.c
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -fomit-frame-pointer -Wall -Wunused  -c `test -f 'callbacks.c' || echo './'`callbacks.c
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libxml2  -DKINO_PIXMAPSDIR=\""/usr/share/pixmaps/kino"\" -DKINO_PLUGINDIR=\""/usr/lib/kino"\" -D_FILE_OFFSET_BITS=64 -Wno-deprecated -O2 -march=pentium4 -fomit-frame-pointer -c -o message.o `test -f 'message.cc' || echo './'`message.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libxml2  -DKINO_PIXMAPSDIR=\""/usr/share/pixmaps/kino"\" -DKINO_PLUGINDIR=\""/usr/lib/kino"\" -D_FILE_OFFSET_BITS=64 -Wno-deprecated -O2 -march=pentium4 -fomit-frame-pointer -c -o preferences.o `test -f 'preferences.cc' || echo './'`preferences.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/libxml2  -DKINO_PIXMAPSDIR=\""/usr/share/pixmaps/kino"\" -DKINO_PLUGINDIR=\""/usr/lib/kino"\" -D_FILE_OFFSET_BITS=64 -Wno-deprecated -O2 -march=pentium4 -fomit-frame-pointer -c -o preferences_dialog.o `test -f 'preferences_dialog.cc' || echo './'`preferences_dialog.cc
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/c++locale.h:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iosfwd:46,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_algobase.h:70,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/vector:67,
                 from playlist.h:23,
                 from kino_common.h:28,
                 from preferences_dialog.cc:23:
/usr/include/libintl.h:40: error: parse error before `__const'
/usr/include/libintl.h:44: error: parse error before `__const'
/usr/include/libintl.h:51: error: parse error before `__const'
/usr/include/libintl.h:81: error: parse error before `__const'
/usr/include/libintl.h:85: error: parse error before `__const'
make[2]: *** [preferences_dialog.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kino-0.6.4/work/kino-0.6.4'
make: *** [all] Error 2

!!! ERROR: media-video/kino-0.6.4 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.# emerge kino
2.
3.

Actual Results:  
Compilation faild.


My USE flags:

USE="leim -ipv6 acpi acpi4linux aim apache2 cdda cddb cdinstall cdparanoia cgi 
    css \
     dlopen dts dv  dvd dvdread emacs escreen ethereal faac faad \
     fastcgi ffmpeg foomaticdb freetype fs ftp gd gimpprint gnomedb gphoto2 jabber \
     java javascript matroska gstreamer gtk gtk2 imagemagick imap jabber jpeg
msn ogg oggvorbis opengl oss png quicktime readline samba sockets sox spell ssl
tiff truetype usb xine xmms xprint xv mbox mmx mmx2 mp3 mpeg4 mplayer msn mysqli \
     net offensive openssh pcap php ppds real S3TC sdk speedo sse sse2 \
     stream svg threads transcode type1 unicode usb wmf xmlrpc xvid -libg \
     alsa -kde cdr qt dvd arts cups curl esd mozilla \
     win32codecs aac -nls"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-10 08:56:20 UTC
emerge --info please...
Comment 2 Claes Wikstrom 2005-05-11 04:54:13 UTC
[klacke@guld]~ > sudo emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  9 2005, 20:13:20)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 S3TC X aac acpi acpi4linux aim alsa apache2 apm arts avi berkdb bitmap-fonts cdda cddb cdinstall cdparanoia cdr cgi crypt css cups curl dlopen dts dv dvd dvdread emacs emboss encode escreen esd ethereal faac faad fam fastcgi ffmpeg foomaticdb fortran freetype fs ftp gd gdbm gif gimpprint gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib jabber java javascript jpeg leim libg++ libwww mad matroska mbox mikmod mmx mmx2 motif mozilla mp3 mpeg mpeg4 mplayer msn mysqli ncurses net offensive ogg oggvorbis opengl openssh oss pam pcap pdflib perl php png ppds python qt quicktime readline real samba sdk sdl sockets sox speedo spell sse sse2 ssl stream svg svga tcpd threads tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb vorbis win32codecs wmf xine xml2 xmlrpc xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-11 10:30:04 UTC
You forgot to reopen... ;-)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-05-11 10:33:07 UTC
Anyway, this is the same problem as in Bug 80160. Try 0.7.5(-r1)


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