Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59776 - gnat-3.41.ebuild patch failed because of wrong boot directory
Summary: gnat-3.41.ebuild patch failed because of wrong boot directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-08 08:32 UTC by Lars S. Jensen
Modified: 2004-08-15 05:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars S. Jensen 2004-08-08 08:32:13 UTC
>>> Unpacking gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz to /var/tmp/portage/gnat-3.41/work
/usr/portage/dev-lang/gnat/gnat-3.41.ebuild: line 40: cd: /var/tmp/portage/gnat-3.41/work/gnat-3.41-i686-pc-linux-gnu-bin: No such file or directory
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur gnat-3.15p-i686-pc-linux-gnu-bin.orig/Makefile gnat-3.15p-i686-pc-linux-gnu-bin/Makefile
|--- gnat-3.15p-i686-pc-linux-gnu-bin.orig/Makefile     2002-10-23 10:54:23.000000000 +0200
|+++ gnat-3.15p-i686-pc-linux-gnu-bin/Makefile  2003-10-04 10:46:40.000000000 +0200
--------------------------
File to patch:^C

Dir in /var/tmp/portage/gnat-3.41/work/:
gcc-3.4.1/ gnat-3.15p-i686-pc-linux-gnu-bin/

Change gnat-3.41.ebuild line 25 from  		GNATBOOTINST="${WORKDIR}/${P}-i686-pc-linux-gnu-bin"
to:
GNATBOOTINST="${WORKDIR}/gnat-3.15p-i686-pc-linux-gnu-bin"
This bootstrap is gnat-3.15p not gnat-3.41

What about line 56: GCC_EXEC_PREFIX="${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/3.2.3"
That should be ${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/2.8.1
I have compiled without it because I have a gnatgcc 3.2.3 5.0_pre20031005
It should be test that it can bootstrap with gnat-3.15p!

I don't thing that gnat is binary compatible with another version --
always recompile/reemerge the Ada package/parts. That is the way Ada works. Ada don't have ABI like c++ only source code interface.
Comment 1 David Holm (RETIRED) gentoo-dev 2004-08-15 05:20:36 UTC
I fixed this bug today. It was a typo in the upgrade from the 3.15p ebuild.