when i try to emerge procman 1.0 it gives me an error on file: /var/tmp/portage/procman-1.0/work/procman-1.0/src/memmaps.h memmaps.h:6:21: missing terminating " character memmaps.h:7: error: syntax error before '<' token memmaps.h:7: error: stray '\' in program i checked the source code and i think i found a solution. the file memmaps.h, in line 6, should have a "\" at the end, so that the #define can work through multiple lines. Reproducible: Always Steps to Reproduce: 1. emerge procman Actual Results: it gives me a compile error Expected Results: should have compiled procman i have gcc 3.3.1 and python 2.2.3 ----------------------------------------------------------- Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.21) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm slang readline aalib nas svga ggi tcltk guile X sdl gpm tcpd ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla gphoto2 cdr acpi acpi4linux cgi dga doc dvd emacs fbcon gtk2 gtkhtml imap java javascript justify mmx mozinterfaceinfo moznoirc moznomail nptl pic samba scanner tiff xface xml -kde -alsa -berkdb -arts -pam"
This sounds like one of the many gcc-3.3.x multi-line strings bugs we've been getting. Are you able to make a patch of this for posting? I don't have X/Gnome on any of my machines, so This makes it a tad difficult to get things setup to make a patch.
Created attachment 27093 [details, diff] Patch for multiline string
Created attachment 27094 [details] Ebuild including patch
As there hasn't been any movement during the last months, here's a patch which fixes the issue :)
This is still an issue on the portage tree, althought there are working patches/ebuild here. Should i change the bug status to fixed in order to get it on the portage tree?
Fixed in CVS. Also fixed a compilation issue with GCC 3.4