Emerging vdkbuilder fails at vdkb_templates.cc Reproducible: Always Steps to Reproduce: 1. emerge vdkbuilder 2. drink coffee 3. Actual Results: Vdkbuilder fails with: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 - I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/inc lude -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O 2 -I../include -Wall -c -o vdkb_templates.o `test -f vdkb_templates.cc || echo './'`vdkb_ templates.cc source='vdkb_table.cc' object='vdkb_table.o' libtool=no \ depfile='.deps/vdkb_table.Po' tmpdepfile='.deps/vdkb_table.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include/vdk2 -I/usr/include/gtk-2.0 - I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/inc lude -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -s -O 2 -I../include -Wall -c -o vdkb_table.o `test -f vdkb_table.cc || echo './'`vdkb_table.cc vdkb_templates.cc:859:13: missing terminating " character vdkb_templates.cc: In member function `bool VDKBProject::WriteMakefile(FILE*)': vdkb_templates.cc:860: error: stray '\' in program vdkb_templates.cc:860: error: parse error before `##' token vdkb_templates.cc:860: error: parse error before `##' token vdkb_templates.cc:860: error: parse error before `##' token vdkb_templates.cc:860: error: parse error before `#' token vdkb_templates.cc:860: error: parse error before `Implicit' vdkb_templates.cc:861: error: stray '\' in program vdkb_templates.cc:862: error: stray '\' in program vdkb_templates.cc:863: error: stray '\' in program vdkb_templates.cc:864: error: stray '\' in program vdkb_templates.cc:864: error: stray '\' in program vdkb_templates.cc:864: error: parse error before `@' token vdkb_templates.cc:865: error: stray '\' in program vdkb_templates.cc:866: error: stray '\' in program vdkb_templates.cc:867: error: stray '\' in program vdkb_templates.cc:867: error: stray '\' in program vdkb_templates.cc:867: error: parse error before `@' token vdkb_templates.cc:868: error: stray '\' in program vdkb_templates.cc:869: error: stray '\' in program vdkb_templates.cc:869: error: parse error before `##' token vdkb_templates.cc:869: error: parse error before `##' token vdkb_templates.cc:869: error: parse error before `##' token vdkb_templates.cc:869: error: parse error before `#' token vdkb_templates.cc:870: error: stray '\' in program vdkb_templates.cc:871: error: stray '\' in program vdkb_templates.cc:872: error: stray '\' in program vdkb_templates.cc:872: error: stray '\' in program vdkb_templates.cc:874: error: stray '\' in program vdkb_templates.cc:874: error: stray '\' in program vdkb_templates.cc:875: error: stray '\' in program vdkb_templates.cc:876: error: stray '\' in program vdkb_templates.cc:876: error: parse error before `##' token vdkb_templates.cc:876: error: parse error before `##' token vdkb_templates.cc:876: error: parse error before `##' token vdkb_templates.cc:876: error: parse error before `#' token vdkb_templates.cc:877: error: stray '\' in program vdkb_templates.cc:878: error: stray '\' in program vdkb_templates.cc:878: error: stray '\' in program vdkb_templates.cc:879: error: stray '\' in program vdkb_templates.cc:879: error: stray '\' in program vdkb_templates.cc:880: error: stray '\' in program vdkb_templates.cc:880: error: stray '\' in program vdkb_templates.cc:881: error: stray '\' in program vdkb_templates.cc:882: error: stray '\' in program vdkb_templates.cc:883: error: stray '\' in program vdkb_templates.cc:883: error: stray '\' in program vdkb_templates.cc:884: error: stray '\' in program vdkb_templates.cc:884: error: stray '\' in program vdkb_templates.cc:885: error: stray '\' in program vdkb_templates.cc:886: error: stray '\' in program vdkb_templates.cc:886: error: parse error before `##' token vdkb_templates.cc:886: error: parse error before `##' token vdkb_templates.cc:886: error: parse error before `##' token vdkb_templates.cc:886: error: parse error before `#' token vdkb_templates.cc:887:1: missing terminating " character vdkb_templates.cc:637: Warnung: unused variable `char*c_ext' make[3]: *** [vdkb_templates.o] Fehler 1 make[3]: *** Warte auf noch nicht beendete Prozesse... make[3]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.3/work/vdkbuilder2-2.0.3/vdkbu ilder' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.3/work/vdkbuilder2-2.0.3/vdkbu ilder' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/vdkbuilder-2.0.3/work/vdkbuilder2-2.0.3' make: *** [all] Fehler 2 !!! ERROR: dev-util/vdkbuilder-2.0.3 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) Expected Results: Successful build/merge. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-rc1) ================================================================= System uname: 2.6.1-rc1 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm avi berkdb bonobo cdr crypt cups de encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg jpg ldap libg++ libwww linguas_de mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd tetex truetype x86 xine xml2 xmms xv zlib"
Have you tried 2.0.5?
2.0.5 is marked as unstable and now that I check it, 2.0.4 too. I remember 2.0.4 as stable package. huh? Anyway, I tried to emerge vdkbu_i_lder 2.0.5, but the package was not found on any mirror. Looking at the package name, I find it unlikely that it is called vdkbulder (without i). In 2.0.4 all you had to do was to remove the old patch and add a \ in vdkb_templates.cc.... about line 800 or so ;) I figure I should have submitted a patch, but I forgot it when I decided to use gtkmm instead. I'm sorry about that.
I have updated the patch should be fixed now.
*** Bug 45093 has been marked as a duplicate of this bug. ***