Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32263 - procman can't compile, simple error in ebuild or application source code
Summary: procman can't compile, simple error in ebuild or application source code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-29 05:30 UTC by Henrique Rodrigues
Modified: 2005-05-10 20:47 UTC (History)
1 user (show)

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


Attachments
Patch for multiline string (procman-1.0-multiline.patch,1.42 KB, patch)
2004-03-09 05:25 UTC, gentoo-bugs
Details | Diff
Ebuild including patch (procman-1.0.ebuild,882 bytes, text/plain)
2004-03-09 05:25 UTC, gentoo-bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Rodrigues 2003-10-29 05:30:34 UTC
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"
Comment 1 Joshua Kinard gentoo-dev 2003-10-30 14:09:54 UTC
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.
Comment 2 gentoo-bugs 2004-03-09 05:25:17 UTC
Created attachment 27093 [details, diff]
Patch for multiline string
Comment 3 gentoo-bugs 2004-03-09 05:25:59 UTC
Created attachment 27094 [details]
Ebuild including patch
Comment 4 gentoo-bugs 2004-03-09 05:27:02 UTC
As there hasn't been any movement during the last months, here's a patch which fixes the issue :)
Comment 5 Henrique Rodrigues 2004-11-08 03:13:15 UTC
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?
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2005-05-10 20:47:58 UTC
Fixed in CVS.  Also fixed a compilation issue with GCC 3.4