Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92845 - app-cdr/cdrdao-1.1.7-r3 fails to build - parse error in /usr/include/libintl.h
Summary: app-cdr/cdrdao-1.1.7-r3 fails to build - parse error in /usr/include/libintl.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-16 16:10 UTC by Wernfried Haas (RETIRED)
Modified: 2005-06-10 12:28 UTC (History)
2 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 Wernfried Haas (RETIRED) gentoo-dev 2005-05-16 16:10:53 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -DVERSION=\"1.1.7-gentoo\" -I.. -I. -I./../dao -I./../trackdb -march=athlon -O3 -pipe -fomit-frame-pointer  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/gnomemm/include -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/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/lib/gtkmm/include -c gcdmaster.cc -o gcdmaster.o
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/memory:54,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:48,
                 from /usr/include/gtk--/base.h:28,
                 from /usr/include/gtk--.h:70,
                 from DeviceConfDialog.h:64,
                 from gcdmaster.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'
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/memory:54,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/string:48,
                 from /usr/include/gtk--/base.h:28,
                 from /usr/include/gtk--.h:70,
                 from xcdrdao.cc:27:
/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[1]: *** [xcdrdao.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [gcdmaster.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.7-r3/work/cdrdao-1.1.7/xdao'
make: *** [all] Error 1

!!! ERROR: app-cdr/cdrdao-1.1.7-r3 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

This seems to be the same problem as in Bug # 80160, feel free to Dupify if you think it fits better in there.

emerge info says:
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-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  2 2005, 22:11:48)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
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="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm atm avi berkdb bitmap-fonts cdr crypt cups curl dvd emacs emboss encode esd fam flac foomaticdb fortran gd gdbm ggi gif gphoto2 gpm gtk gtk2 guile imagemagick imlib ipv6 irda java jpeg kde libg++ libwww live mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl offensive ogg oggvorbis opengl oss pam pdflib perl phyton png python qt quicktime qz readline real ruby samba sdl slang snmp spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis wmf xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-16 16:33:34 UTC
Seems to be a general problem. #75912, #80160, #92413
Comment 2 Wernfried Haas (RETIRED) gentoo-dev 2005-05-16 16:39:59 UTC
Oh, i just found 80160 and its dupes.
Btw: I was able to build app-cdr/cdrdao-1.1.9-r2 (currently ~x86) without trouble in the meanwhile.
Comment 3 SpanKY gentoo-dev 2005-05-16 16:43:15 UTC
probably linux-headers issue

if you upgrade to linux-headers-2.6.11, does it work ?
Comment 4 Wernfried Haas (RETIRED) gentoo-dev 2005-05-17 02:15:23 UTC
Oops, i just realized that i had =app-cdr/cdrdao-1.1.9 masked via
package.keywords. That means, app-cdr/cdrdao-1.1.7-r3 is just some old version
that's broken, the current stable is app-cdr/cdrdao-1.1.9 - and it builds fine.

Sorry, my fault.
Comment 5 Lars Weiler (RETIRED) gentoo-dev 2005-06-10 12:28:52 UTC
Good to know :-)

cdrdao-1.1.7-r3 will be deleted, when alpha and ia64 masks the newer version
stable.  But that is another bug...

I'll just close this bug.