Bug 11290 - florist-3.15.ebuild (New Ada package)
Bug#: 11290 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: george@gentoo.org Reported By: maf@iki.fi
Component: Library
URL: 
Summary: florist-3.15.ebuild (New Ada package)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2002-11-27 08:23 0000
Description:   Opened: 2002-11-27 08:23 0000
Hi!

This new library contains Posix bindings to the Ada language.
Basicly this package provides unix operating system services for
an Ada language in a portable manner.

Package requires either compiled Ada language support in the gcc-3.2 or
separate gnat compiler.

For more information:
http://www.cs.fsu.edu/~baker/florist.html

------- Comment #1 From Mikko Ala-Fossi 2002-11-27 08:26:02 0000 -------
Created an attachment (id=5989) [details]
dev-ada/florist-3.15.ebuild

------- Comment #2 From Mikko Ala-Fossi 2002-11-27 08:26:57 0000 -------
Created an attachment (id=5990) [details]
digest-florist-3.15

MD5 checksum file

------- Comment #3 From George Shapovalov 2002-12-12 16:09:57 0000 -------
Hi Mikko

Thank you for your submission!
I see you propose to put this package under dev-ada and I must agree that this
makes sence to me. However we currently do not have such category and creation
of a new one requires "crytical mass" of packages that are going to belong to it
and an approval from other devs.
Right now I can see that you submitted two packages (this one and #11292). Are
there any more packages that I did not see in bugzilla or do you know of any
packages presently in portage that could go into this category? What is you
expectance on the further additions (by you or may be you know other interested
people)?
Alternatively we can try to create a common category for Ada and related
languages, such as Pascal and modula*. We already have gpc (gnu Pascal) in
portage and we might get fpc (free Pascal). I would also like your help in
identifying related packages if you have any im mind.

As for the Ada support:
Since gcc-3.2 supports ada and you submitted necessary changes to the ebuild I
think this is the easiest way to go for now. However ada will only be accessible
in 1.4 and later profiles. 1.2 profile will need addition of gnat package
apparently. I was thinking to add it for quite a long time but never got around
to it. It seems extremely unlikely now that I will et to it, since ada is
already in gcc-3.2 collection. We will need somebody volonteering to at least
create gnat ebuild if it is crytical to have Ada in pre-1.4 profiles (not that I
can think of why it would. I mean I am not trying to volonteer you for that ;),
but rather explaining the situation). 

George

------- Comment #4 From Mikko Ala-Fossi 2002-12-13 07:33:40 0000 -------
Well, I have been unable to find any other ebuilds in the bugzilla,
but I have heard that there might be effort to create AdaSockets ebuild.
And I plan to make at least few more ebuilds that could be categorised
under dev-ada. I guess there is not yet many ebuild packages since there
has not been Ada language support in the Gentoo. It is very
hard for me to predict if others are going to submit new packages.
But compared to current state of "dev-ml" there is definitely going
to be more ebuilds.

Would it be very hard to create that new category later and move all the
ebuilds to it?

------- Comment #5 From Mikko Ala-Fossi 2002-12-13 07:37:53 0000 -------
Created an attachment (id=6469) [details]
florist-3.15.ebuild

This version uses the new ada.eclass to define the Ada compiler flags.

------- Comment #6 From Mårten Woxberg 2003-03-24 19:26:16 0000 -------
Does these ebuilds work???

------- Comment #7 From George Shapovalov 2003-03-24 23:56:19 0000 -------
Hi M

------- Comment #8 From George Shapovalov 2003-03-24 23:56:19 0000 -------
Hi Mårten.

As you may see, this bug depends on #11204, which is not yet completed. If you go there, you will find some patches against gcc build and sources. Yo can apply these locally on your system, thus closing that bug for yourself. This should make  all these ada ebuilds work...

George

------- Comment #9 From David Holm (RETIRED) 2003-06-29 07:36:07 0000 -------
I still get this error:

posix-signals.ads:121:33: warning: "CONSTRAINT_ERROR" will be raised at run time
gnatmake: "deps.adb" compilation error
make: *** [deps] Error 4

------- Comment #10 From George Shapovalov 2003-07-14 15:14:46 0000 -------
Hm, I am getting this (pretty much right after configure finishes):
touch florist
gnatmake  -c -cargs -march=i686 -O2 -pipe -fforce-addr -fomit-frame-pointer -fexpensive-optimizations -margs -cargs -fPIC -margs deps -cargs -gnatpg -largs -lbsd -lnsl -lrt -lpthread
gnatmake: -cargs, -bargs, -largs must appear after unit or file name
make: *** [deps] Error 4

George

------- Comment #11 From David Holm (RETIRED) 2003-07-22 22:08:02 0000 -------
Created an attachment (id=14896) [details]
dev-ada/florist-3.15p

Finally found that bug that was stopping me from installing this. Seems
somewhere along I got a faulty value from a standard header. I rewrote the code
that fetched the value to get it in another manner and then it worked.
Also fixed some of the usual GNAE issues. Please test this.

------- Comment #12 From George Shapovalov 2003-07-24 22:46:54 0000 -------
Looking good now, thanks for the fix!
I have checked and committed the ebuild, please test.

George

------- Comment #13 From George Shapovalov 2003-09-30 17:34:49 0000 -------
Reclosing the bug