Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26281 - dev-ada/gps-1.2.2 ebuild thread
Summary: dev-ada/gps-1.2.2 ebuild thread
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-09 10:08 UTC by David Holm (RETIRED)
Modified: 2006-07-24 10:17 UTC (History)
2 users (show)

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


Attachments
dev-ada/gps-1.2.2.ebuild (gps-1.2.2.ebuild,1.87 KB, text/plain)
2003-08-09 10:09 UTC, David Holm (RETIRED)
Details
files/gps-1.2.2-gentoo.patch (gps-1.2.2-gentoo.patch,17.26 KB, text/plain)
2003-08-09 10:12 UTC, David Holm (RETIRED)
Details
[gps-devel]_GPS_for_Debian - message by Ludovic Brenta <ludovic.brenta@skynet.be> to gps-devel@lists.act-europe.fr ([gps-devel]_GPS_for_Debian.txt,6.47 KB, text/plain)
2003-09-09 11:36 UTC, George Shapovalov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Holm (RETIRED) gentoo-dev 2003-08-09 10:08:05 UTC
I am going to commit the work I have done so far and hopefully other people will
come along and help us find a nice way of building this mess.
Comment 1 David Holm (RETIRED) gentoo-dev 2003-08-09 10:09:42 UTC
Created attachment 15820 [details]
dev-ada/gps-1.2.2.ebuild

This ebuild uses the gnat bootstrap compiler because there seems to be an issue
in our version as it will generate a stack overflow while parsing the gps
project file.
I have contacted ACT regarding this, hopefully they will be able to provide
some insight.

Remember, this ebuild is far from complete and should not be commited to
portage!
Comment 2 David Holm (RETIRED) gentoo-dev 2003-08-09 10:12:17 UTC
Created attachment 15821 [details]
files/gps-1.2.2-gentoo.patch

This patch comments out or modifies all the lines that refused to compile on my
machine. This is <b>definately</b> not a bugfixing patch.
I wanted to get through the entire compilation process before I started looking
at why some lines do not compile. If you are able to get further into the
compilation process and remove more broken lines remember to create a patch and
submit here so that I can fix all the bugs.
Comment 3 David Holm (RETIRED) gentoo-dev 2003-08-09 10:16:26 UTC
My compilation now fails with:
gcc -c -g -o /var/tmp/portage/gps-1.2.2/work/gps-1.2.2/obj/mlib-fil.o -gnatecGNAT-4Ri3w4 -gnatn -gnatpg -O2 -gnatws -gnatf -gnatA /var/tmp/portage/gps-1.2.2/work/gps-1.2.2/gnat/mlib-fil.adb
gnatbind -E -x gps.ali
error: "gtkada-file_selection.adb" must be recompiled ("g-os_lib.ads" has been modified)
gnatmake: *** bind failed.

while compiling gps, this is in the gnat dir, I guess they have modified the runtime somehow. I wonder if it would be a good idea to merge this with gnat-3.15p, maybe we will end up with a better version ;). (Oh, I will definately investigate that)
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2003-09-09 11:36:54 UTC
Created attachment 17353 [details]
[gps-devel]_GPS_for_Debian - message by Ludovic Brenta <ludovic.brenta@skynet.be> to gps-devel@lists.act-europe.fr 

So that this does not get lost, I am attaching the message by Ludovic Brenta
<ludovic.brenta@skynet.be>. He managed to build gps for Debian and link it
against gtkada-2.2.0. He has some patches to gps source we might use..

George
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2003-12-11 21:26:36 UTC
Few things:

1. A new version is out (for a while now), eother 1.4 or 1.4.4, I don't remember the exact number. According to the announcement it should now build against system-wide gtkada. Hopefully this will ease the build.

2. Reassigning to ada@gentoo.org.

3. There is the issue of naming if we succeed with building it. gps is taken, so it would be nice to come up with something..
I am not sure how portage-ng will deal with duplicate names. Hope is it will allow it, but for now this is deprecated.

George
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 10:17:35 UTC
This desperately needs an update and revamp, SRC_URI is dead for starters...