View previous topic :: View next topic |
Author |
Message |
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat May 11, 2013 1:29 am Post subject: slime-2.0_p20110617 from lisp fails to compile |
|
|
I am trying to update my slime install, however it fails to build.
The error message is as follows: Code: | make: Entering directory `/var/tmp/portage/app-emacs/slime-2.0_p20110617/work/slime-2.0_p20110617/doc'
cat ../ChangeLog | \
sed -ne '/^[0-9]/{s/^[^ ]* *//; s/ *<.*//; p;}' | \
sort | \
uniq -c | \
sort -nr| \
sed -e 's/^[^A-Z]*//' | \
awk -f texinfo-tabulate.awk | \
sed -e "s/\o341/@'a/g" | \
sed -e "s/\o355/@'{@dotless{i}}/g" | \
sed -e "s/\o351/@'e/g" | \
sed -e "s/\o361/@~n/g" | \
sed -e 's/\o370/@o{}/g' \
> contributors.texi
makeinfo slime.texi
slime.texi:17: warning: multiple @settitle
slime.texi:536: @itemx must follow @item
slime.texi:376: warning: node up `CVS Incantations' in menu `CVS' and in sectioning `Downloading' differ
make: *** [slime.info] Error 1
make: Leaving directory `/var/tmp/portage/app-emacs/slime-2.0_p20110617/work/slime-2.0_p20110617/doc'
emake failed | Quite honestly, I can't make heads or tails of this.
build log
emerge --info '=app-emacs/slime-2.0_p20110617'
That about sums it up except to say thank you to the people maintaining the lisp overlay.
EDIT:
This line seems to be the problem:
sed -i '/^section :=/d' doc/Makefile || die "sed doc/Makefile failed"
The funny thing is, it doesn't seem to fail if I run it manually. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
odb9088 n00b
Joined: 05 Apr 2012 Posts: 8 Location: Vienna
|
Posted: Fri Sep 27, 2013 9:30 am Post subject: same problem here |
|
|
I am facing the same problem.
I also couldn't get sbcl to emerge either until I set USE="-threads" for it.
@The Doctor => have you been able to emerge it by now? or just gave up?
I've look inside the slime.texi and it seems (like it sais) that there is an error on the line 536 (Where it sais @itemx should follow @item). I've read somewhere that this used to be a warning. Changing it to @item instead makeinfo only prints the two remaining warnings. _________________ If it moves, compile it! |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Sep 27, 2013 11:41 pm Post subject: |
|
|
I gave up on it. I was running clfswm, but I moved to i3 so lisp became something to have fun with rather than an important part of my system. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
Posted: Mon Sep 30, 2013 3:46 am Post subject: |
|
|
Please try adding this line to /etc/portage/package.use (if you agree to the
xref license, as that avoids us having to rm the xref.lisp file, which
is presumably useful for something since it is included in the distribution):
Code: | app-emacs/slime xref
|
And this line to /etc/portage/package.keywords:
Code: | <app-emacs/slime-9999
|
Then (after syncing the lisp overlay), please try:
Code: | emerge -av =app-emacs/slime-2.0_p20130930
|
slime upstream have not updated the ChangeLog for a while, so when it loads
it says it is an old version. I have to patch this hardcoded date of the last entry
in the ChangeLog in slime.el to avoid the "versions differ" warning on startup
Code: | ; SLIME 2013-02-13
CL-USER>
|
|
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
Posted: Mon Sep 30, 2013 4:59 am Post subject: |
|
|
Since there were changes in the slime cvs log that are not noted in the ChangeLog,
I thought it was less confusing to hard code the date to a later date. So now
app-emacs/slime-2.0_p20130930::lisp says:
Code: | ; SLIME 2013-09-30
CL-USER>
|
|
|
Back to top |
|
|
odb9088 n00b
Joined: 05 Apr 2012 Posts: 8 Location: Vienna
|
Posted: Mon Sep 30, 2013 8:15 am Post subject: Didn't work |
|
|
@gienah=>
Thanks for the quick reply, yet unfortunately it didn't work.
I've put the entries for xref in, sync'd, and gave it a shot.
Here's what happened:
build log => http://pastebin.com/pT59zUQf
emerge -pqv => http://pastebin.com/t6hFE6cw
emerge --info => http://pastebin.com/JS3ikQGN
build env => http://pastebin.com/dwdQjuq4
and finally `emerge -av =app-emacs/slime-2.0_p20130930`
http://pastebin.com/xBxY4tqN
Thank you again for picking this up
@The Doctor =>
Lisp ain't an important part of my system (yet), but still, working with slime from emacs grows on you, rather than loading / dumping / reloading your files every time. As of now I kind of play with lisp myself. Got me 2 books and I'm trying to get proficient with lisp and rely on it for small tasks as I go along. I had another system a while ago (gentoo as well) and there it worked like a charm. Had emacs daemonized, my files open, and with slime it was just glorious and enchanting to work and learn lisp. _________________ If it moves, compile it! |
|
Back to top |
|
|
gienah Developer
Joined: 24 Nov 2010 Posts: 212 Location: AU
|
Posted: Mon Sep 30, 2013 10:06 am Post subject: |
|
|
Thanks for the detailed error report. I added a commit:
Thanks to The Doctor and odb9088 for reporting, change @itemx to @item in doc/slime.texi as some
versions of texinfo fail with an error when @itemx does not immediately follow a @item or @itemx.
Adding this sed to change the @itemx to @item:
Code: | sed -i "s/@itemx INIT-FUNCTION/@item INIT-FUNCTION/" doc/slime.texi \
|| die "sed doc/slime.texi failed"
|
It would be neat if you could please test and let us know the results. As I have a different
version of texinfo and it worked for me without this change, so I don't know if the change
will work or not (I am hopeful). |
|
Back to top |
|
|
|