Summary: | 64Bit ebuild for fpc-source (Free Pascal) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | wantilles |
Component: | New packages | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED LATER | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
amd64 fpc-source 2.0.0 ebuild
amd64 fpc-source 2.0.0 ebuild (the correct one this time) amd64 fpc-source 2.0.0 ebuild (also compensating for bug 100131) |
Description
wantilles
2005-07-23 11:52:09 UTC
Created attachment 64150 [details]
amd64 fpc-source 2.0.0 ebuild
The attached ebuild is for the compiler, not for the source, Itkomak so it is a duplicate of bug #99811 for now...please fix it. (In reply to comment #2) > The attached ebuild is for the compiler, not for the source, Itkomak > so it is a duplicate of bug #99811 for now...please fix it. Agreed, the attached ebuild seems to be an exact duplicate of that attached to bug 99811 - complete with typos. Reopen if you have something useful to add here. (In reply to comment #2) > The attached ebuild is for the compiler, not for the source, Itkomak > so it is a duplicate of bug #99811 for now...please fix it. Before you dismiss it, here is what I have to say. My ultimate goal was to make an amd64 ebuild of Lazarus 0.9.8 or newer. If you look closely inside the existing portage x86 Lazarus 0.9.6 (from which I started), it depends on fpc-source 2.0.0. There was no amd64 fpc-source 2.0.0 ebuild so that had to be made first and here it is. It is different from 99811. I based it on the existing portage x86 fpc-source 2.0.0 ebuild. If you think that my ebuild is the same with 99811 then the two existing x86 portage ebuilds of fpc 2.0.0 & fpc-source 2.0.0 would be the same as well. (In reply to comment #4) > My ultimate goal was to make an amd64 ebuild of Lazarus 0.9.8 or newer. I understand this, however it seems from looking at the lazarus mailing list that lazarus currently fails to compile on amd64. I see little point in have a fpc-source ebuild keyworded ~amd64 with no other ebuild in portage that makes use of it. If and when lazarus can be successfully compiled on amd64 I would be happy to add it to portage (along with fpc-source). > If you look closely inside the existing portage x86 Lazarus 0.9.6 (from which I > started), it depends on fpc-source 2.0.0. There was no amd64 fpc-source 2.0.0 > ebuild so that had to be made first and here it is. Actually right now it depends on =dev-lang/fpc-source-2.0.0_rc2 but that is neither here nor there because as has been stated, the ebuild you have attached here bears no resemblance the the fpc-source ebuild currently in portage and is actually a duplicate of the ebuild attached to bug 99811. (In reply to comment #5) > (In reply to comment #4) > > My ultimate goal was to make an amd64 ebuild of Lazarus 0.9.8 or newer. > > I understand this, however it seems from looking at the lazarus mailing list > that lazarus currently fails to compile on amd64. I see little point in have a > fpc-source ebuild keyworded ~amd64 with no other ebuild in portage that makes > use of it. If and when lazarus can be successfully compiled on amd64 I would be > happy to add it to portage (along with fpc-source). > > > If you look closely inside the existing portage x86 Lazarus 0.9.6 (from which I > > started), it depends on fpc-source 2.0.0. There was no amd64 fpc-source 2.0.0 > > ebuild so that had to be made first and here it is. > > Actually right now it depends on =dev-lang/fpc-source-2.0.0_rc2 but that is > neither here nor there because as has been stated, the ebuild you have attached > here bears no resemblance the the fpc-source ebuild currently in portage and is > actually a duplicate of the ebuild attached to bug 99811. 1. Lazarus compiles smoothly on amd64. It just crashes at start-up. You may read about this on this thread: http://forums.gentoo.org/viewtopic-t-362724.html As I'm saying there, I never posted it as a bug in bugzilla because first I need a volunteer to reproduce it in a different system (there may be something wrong specifically in mine, the UTF-8 locale, I don't know). 2. fpc is different than fpc-source. Period. Are you saying that also the x86 ebuils are the same? Because from simple mathematics: A -> fpc x86 ebuild B -> fpc-source x86 ebuild C -> fpc amd64 ebuild D -> fpc-source amd64 ebuild If A<>B AND A=C AND B=D it obviously is also C<>D. You want to do something productive for once? Then a. Check ebuilds C and D and see for yourself that are different. b. Attempt to reproduce the bug I am describing at the above thread. Comment on attachment 64150 [details] amd64 fpc-source 2.0.0 ebuild # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-source/fpc-source-2.0.0.ebuild,v 1.3 2005/06/27 15:14:19 agriffis Exp $ # Needed for release candidates etc. MY_PV="2.0.0" SLOT="0" # Read src_install notes! LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC" KEYWORDS="~amd64 ~x86" DESCRIPTION="Free Pascal Compiler Sources" HOMEPAGE="http://www.freepascal.org/" IUSE="" SRC_URI="mirror://sourceforge/freepascal/fpc-${MY_PV}.source.tar.gz" DEPEND="net-misc/rsync" RDEPEND="" src_install () { # Do not slot this, do not use version strings in path, unless you symlink # to a directory Lazarus searches in. See top of # include/unix/lazbaseconf.inc in Lazarus source. # Like "make sourceinstall" but path works with Lazarus, no "make distclean" # (unneeded) diropts -m0755 dodir /usr/lib/fpc || die ebegin "Copying files" # Use rsync since cp doesn't support exclusions rsync -a \ --exclude="*.#*" \ --exclude="*.bak" \ --exclude="*.cvsignore" \ --exclude="*.o" \ --exclude="*.orig" \ --exclude="*.ow" \ --exclude="*.ppl" \ --exclude="*.ppu" \ --exclude="*.ppw" \ --exclude="*.rej" \ --exclude="*.rst" \ --exclude="*.xvpics" \ --exclude="*.~*" \ --exclude="CVS" \ ${WORKDIR}/fpc ${D}usr/lib/fpc/src eend $? || die } Created attachment 64281 [details]
amd64 fpc-source 2.0.0 ebuild (the correct one this time)
This is the right ebuild this time.
It was my mistake and I am sorry.
This is the right ebuild this time. (In reply to comment #6) > 1. Lazarus compiles smoothly on amd64. It just crashes at start-up. You may read > about this on this thread: > > http://forums.gentoo.org/viewtopic-t-362724.html > Yes, this is a known upstream issue: http://www.lazarus.freepascal.org/mantis/view.php?id=956 and is exactly the issue I was referring to (sorry if I was unclear). Once this is fixed I'll come back and look at these ebuilds, but until then there is no point in an amd64 fpc-source or lazarus ebuild. If you think you can help resolve the issue then by all means go talk to upstream, there are pleanty of people that can reproduce it if you go look at the lazarus forums or mailing list. Created attachment 64313 [details] amd64 fpc-source 2.0.0 ebuild (also compensating for bug 100131) It compensates for bug 100131 http://bugs.gentoo.org/show_bug.cgi?id=100131 where fpc-source is not installed in the directory lazarus expects out of the box. |