Bug 72383 - Florist-3.15p compilation problem with an emerge florist.
|
Bug#:
72383
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ada@gentoo.org
|
Reported By: david.barbassat@nerim.net
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: Florist-3.15p compilation problem with an emerge florist.
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-11-24 12:33 0000
|
gcc -O2 -DVERSION="\"Florist-3.15p (20020604)\"" -DLIBS="\"-lbsd -lnsl -lrt
-lpthread \"" -o c-posix c-posix.c -lbsd -lnsl -lrt -lpthread
c-posix.c:6347:17: missing terminating " character
c-posix.c: In function `create_c':
c-posix.c:6348: error: syntax error before "POSIX_String"
c-posix.c:6348: error: stray '\' in program
c-posix.c:6348:32: missing terminating " character
c-posix.c:6349: error: `n' undeclared (first use in this function)
c-posix.c:6349: error: (Each undeclared identifier is reported only once
c-posix.c:6349: error: for each function it appears in.)
make: *** [c-posix] Error 1
Reproducible: Always
Steps to Reproduce:
1.emerge florist
2.
3.
Actual Results:
Crash the compilation
Expected Results:
Soft compiled ;)
At the line 6348 of c-posix.c there is :
ifprintf(fp," subtype sun_path_string is
POSIX_String (1 .. %d);\n", sizeof (DUMMY.sun_path));
Correction :
ifprintf(fp," subtype sun_path_string is POSIX_String (1 .. %d);\n", sizeof
(DUMMY.sun_path));
...
Explaination : there is a break line apparently wich is not correct...
David: Please do not assign, if you do not know to whom.
I successfully install florist with follow small patch.
BTW who now works on Ada in Gentoo? David Holm?
Thank you for submitting this fix. Added to CVS.
George and me manage the Ada herd, but George is away until April.