First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 72383
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: ada team <ada@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Barbassat <david.barbassat@nerim.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
c-posix.c File corrected text/plain David Barbassat 2004-11-24 12:42 0000 180.39 KB Details
c-posix.c.patch c-posix.c patch patch Maxim Reznik 2005-02-20 03:37 0000 511 bytes Details | Diff
florist-3.15p-r1.ebuild ebuild with patching text/plain Maxim Reznik 2005-02-20 03:38 0000 1.85 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 72383 depends on: Show dependency tree
Bug 72383 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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...

------- Comment #1 From David Barbassat 2004-11-24 12:42:42 0000 -------
Created an attachment (id=44659) [edit]
File corrected

Sorry I do not know about your parameters to do a patch file... sorry

------- Comment #2 From Carsten Lohrke 2004-11-24 13:42:04 0000 -------
David: Please do not assign, if you do not know to whom.

------- Comment #3 From Maxim Reznik 2005-02-20 03:35:58 0000 -------
I successfully install florist with follow small patch.
BTW who now works on Ada in Gentoo? David Holm?

------- Comment #4 From Maxim Reznik 2005-02-20 03:37:21 0000 -------
Created an attachment (id=51647) [edit]
c-posix.c patch

c-posix.c patch

------- Comment #5 From Maxim Reznik 2005-02-20 03:38:26 0000 -------
Created an attachment (id=51648) [edit]
ebuild with patching

ebuild with patching

------- Comment #6 From David Holm (RETIRED) 2005-02-23 01:45:07 0000 -------
Thank you for submitting this fix. Added to CVS.

George and me manage the Ada herd, but George is away until April.

First Last Prev Next    No search results available      Search page      Enter new bug