Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917574 - dev-lisp/gcl-2.6.15_pre3 fails at install
Summary: dev-lisp/gcl-2.6.15_pre3 fails at install
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 910666
  Show dependency tree
 
Reported: 2023-11-18 20:21 UTC by James Cloos
Modified: 2024-03-12 12:48 UTC (History)
1 user (show)

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 James Cloos 2023-11-18 20:21:10 UTC
[this also applies to earlier recent versions]

the only way i was able to get it to install was -tk (bug #913647) and the combination of -emacs with this patch:

diff --git a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
index 830fff33537b..fc9c1eafeb38 100644
--- a/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.15_pre3.ebuild
@@ -41,7 +41,6 @@ src_configure() {
 
        econf --enable-dynsysgmp \
                --disable-xdr \
-               --enable-emacsdir=/usr/share/emacs/site-lisp/gcl \
                $(use_enable readline) \
                $(use_enable ansi) \
                $(use_enable athena xgcl) \


otherwise it tried to find its .el file in a directory named »index.« which of course does not exist.

i was unable to find the stray dot via grep(1) in the /var/tmp dir or the ebuild.  i don’t know where it comes from.

the log looks like:

make[2]: Entering directory '/var/tmp/portage/dev-lisp/gcl-2.6.14/work/gcl-2.6.14/elisp'
mkdir -p /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl/
cp *.el /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl/
if [ "./default.el" != "" ] ; then \
if test -f "/var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el" ; then \
cat /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el | sed -e '/BEGIN gcl/,/END gcl/d' > /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl//temp_emacs_default ; \
mv /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el.prev ; \
  rm -f  /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.elc ; \
          cat add-default.el >> /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl//temp_emacs_default ; cp  /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl//temp_emacs_default /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el ; \
  rm -f /var/tmp/portage/dev-lisp/gcl-2.6.14/image/usr/share/emacs/site-lisp/gcl//temp_emacs_default ; else \
cp  add-default.el /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el ; fi ; \
chmod a+r /var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el ; fi
cp: cannot create regular file '/var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el': No such file or directory
chmod: cannot access '/var/tmp/portage/dev-lisp/gcl-2.6.14/image./default.el': No such file or directory
make[2]: *** [makefile:8: install] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-lisp/gcl-2.6.14/work/gcl-2.6.14/elisp'
make[1]: *** [makefile:200: install1] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lisp/gcl-2.6.14/work/gcl-2.6.14'
make: *** [makefile:185: install] Error 2

my rv64 box installed it ok with "ansi readline -X -athena -doc -emacs -tk"
and w/o editing the ebuild.  I have to wait a few hours to try again w/o X athena on the amd64 (chromium is upgrading…).
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 00:25:26 UTC
Please do include the full build.log and emerge --info.
Comment 2 James Cloos 2023-12-15 11:50:43 UTC
removing the econf line:

  --enable-emacsdir=/usr/share/emacs/site-lisp/gcl

from the ebuild made it work.