Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19830 - Current GCL ebuilds appear to be outdated and no longer working.
Summary: Current GCL ebuilds appear to be outdated and no longer working.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-23 08:20 UTC by Cliff Yapp
Modified: 2003-12-31 10:34 UTC (History)
0 users

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


Attachments
Ebuild for gcl 2.5.2 (gcl-2.5.2.ebuild,1.69 KB, text/plain)
2003-04-24 08:10 UTC, Cliff Yapp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Yapp 2003-04-23 08:20:42 UTC
GCL is currently at version 2.5.2.  Newest ebuild for GCL is 2.4.3 and doesn't
appear to be functional with newer bfd libraries on gentoo.

The following ebuild appears to build 2.5.2 correctly (based on old 2.4.3 ebuild):

# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.5.2.ebuild,v 1.6
2003/02/13 10:53:50 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="GNU Common Lisp"
SRC_URI="ftp://ftp.gnu.org/gnu/gcl/gcl-${PV}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
PROVIDE="virtual/commonlisp"

DEPEND=">=app-text/texi2html-1.64
	>=dev-libs/gmp-4.1"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

src_compile() {

	cd ${S} ;  echo `pwd`
	./configure --disable-statsysbfd --enable-locbfd --prefix=/usr || die

	cd ${S}
	make || die

}

src_install() {

	dodir /usr/share/info
	dodir /usr/share/emacs/site-lisp/gcl

	make install prefix=${D}/usr MANDIR=${D}/usr/share/man \
		INFO_DIR=${D}/usr/share/info EMACS_SITE_LISP=${D}/usr/share/emacs/site-lisp/gcl \
		EMACS_DEFAULT_EL=${D}/usr/share/emacs/site-lisp/gcl/default.el \
		|| die

	rm -f ${D}/usr/share/infodir

	mv ${D}/usr/lib/${P}/info/* ${D}/usr/share/info
	rm ${D}/usr/share/info/texinfo.tex
	rm ${D}/usr/share/emacs/site-lisp/gcl/default.el

	mv ${D}/usr/bin/gcl ${D}/usr/bin/gcl.orig
	sed -e "s:${D}::g" < ${D}/usr/bin/gcl.orig > ${D}/usr/bin/gcl
	rm ${D}/usr/bin/gcl.orig

	# fix the GCL_TK_DIR=/var/tmp/portage/gcl-2.4.3/image//
	mv ${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv
${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv.orig
	sed -e "s:${D}::g" < ${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv.orig >
${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv
	rm ${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv.orig
	chmod 0755 ${D}/usr/lib/gcl-2.5.0/gcl-tk/gcltksrv

	chmod 0755 ${D}/usr/bin/gcl

	#repair gcl.exe symlink
	rm ${D}/usr/bin/gcl.exe
	dosym ../lib/gcl-2.5.0/unixport/saved_gcl /usr/bin/gcl.exe
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-04-24 01:08:23 UTC
Hi Cliff.

Thanks a lot for your submission!
Could you please attach ebuild to the bug? I would rather not risk copying it out, as this quite often causes problems (and decreases readability of the bugs).

George
Comment 2 Cliff Yapp 2003-04-24 08:10:12 UTC
Created attachment 11066 [details]
Ebuild for gcl 2.5.2
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-05-02 03:33:23 UTC
Hi Cliff.

Thanks for attachment.
I have processed and committed the ebuild. Please test, so that I can move it to stable profile, to resolve the problems with bfd libraries.

A short note:
Please do not spell out gcl-2.5.0, use ${P} (and ${PN}, ${PV}) construct[s] instead where appropriate. Apparently that confused even you - there were few broken paths which I had to clean-up.

George
Comment 4 Cliff Yapp 2003-05-02 12:57:58 UTC
Opps :-).  Sorry about that.  I think I just left that part in from the 2.4.3 one, but I'm not sure - I tried to do a minimal change set because I didn't know what I would be breaking if I changed too much.

Emerged using the new ebuild from the tree, and it worked like a charm :-).  I'd say go ahead and add it to stable - it can't be any less functional than the ones there now ;-).

Just out of curosity, is there a flag I can add to emerge --pretend world so it won't try to downgrade stuff?  Ususally if I have upgraded beyond stable there is a good reason (For example, I used the 2.6 ebuild of scilab to install 2.7 by just changing the numbers, and now it keeps wanting to downgrade it.) 
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2003-12-31 10:34:50 UTC
reclosing the bug