Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72383 - Florist-3.15p compilation problem with an emerge florist.
Summary: Florist-3.15p compilation problem with an emerge florist.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 12:33 UTC by David Barbassat
Modified: 2005-02-23 01:45 UTC (History)
1 user (show)

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


Attachments
File corrected (c-posix.c,180.39 KB, text/plain)
2004-11-24 12:42 UTC, David Barbassat
Details
c-posix.c patch (c-posix.c.patch,511 bytes, patch)
2005-02-20 03:37 UTC, Maxim Reznik
Details | Diff
ebuild with patching (florist-3.15p-r1.ebuild,1.85 KB, text/plain)
2005-02-20 03:38 UTC, Maxim Reznik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Barbassat 2004-11-24 12:33:34 UTC
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 David Barbassat 2004-11-24 12:42:42 UTC
Created attachment 44659 [details]
File corrected

Sorry I do not know about your parameters to do a patch file... sorry
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-24 13:42:04 UTC
David: Please do not assign, if you do not know to whom.
Comment 3 Maxim Reznik 2005-02-20 03:35:58 UTC
I successfully install florist with follow small patch.
BTW who now works on Ada in Gentoo? David Holm?
Comment 4 Maxim Reznik 2005-02-20 03:37:21 UTC
Created attachment 51647 [details, diff]
c-posix.c patch

c-posix.c patch
Comment 5 Maxim Reznik 2005-02-20 03:38:26 UTC
Created attachment 51648 [details]
ebuild with patching

ebuild with patching
Comment 6 David Holm (RETIRED) gentoo-dev 2005-02-23 01:45:07 UTC
Thank you for submitting this fix. Added to CVS.

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