Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299108 - app-emacs/vm-8.1.0_beta does not more install site-lisp files
Summary: app-emacs/vm-8.1.0_beta does not more install site-lisp files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Emacs project
URL: https://bugs.launchpad.net/vm/+bug/50...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-31 12:40 UTC by Juergen Rose
Modified: 2010-01-04 22:47 UTC (History)
0 users

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


Attachments
/var/tmp/portage/app-emacs/vm-8.1.0_beta/temp/build.log (build.log,35.14 KB, text/plain)
2009-12-31 13:36 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-12-31 12:40:38 UTC
root@tarantel:/root(27)# emerge -pvD app-emacs/vm
...
[ebuild   R   ] app-emacs/vm-8.1.0_beta  USE="ssl -bbdb" 0 kB
...
root@tarantel:/root(28)# emerge -vD app-emacs/vm
...
>>> Original instance of package unmerged safely.
 * Regenerating site-gentoo.el for GNU Emacs (postinst) ... no changes.
...
root@tarantel:/root(29)# equery f app-emacs/vm | grep site-lisp
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/site-gentoo.d
/usr/share/emacs/site-lisp/site-gentoo.d/50vm-gentoo.el

At an other computer I find:
root@condor:/root(9)# emerge -pvD app-emacs/vm
...
[ebuild   R   ] app-emacs/vm-8.1.0_beta  USE="ssl -bbdb" 0 kB
...
root@condor:/root(10)# equery f app-emacs/vm | grep site-lisp | wc -l
108



Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2009-12-31 13:24:39 UTC
Attach the build.log please.
What Emacs version are you using?
Comment 2 Juergen Rose 2009-12-31 13:36:30 UTC
Created attachment 214747 [details]
/var/tmp/portage/app-emacs/vm-8.1.0_beta/temp/build.log
Comment 3 Juergen Rose 2009-12-31 13:37:18 UTC
root@tarantel:/root(37)# qlist -Iv app-editors/emacs
app-editors/emacs-23.1-r2
Comment 4 Ulrich Müller gentoo-dev 2009-12-31 15:18:49 UTC
It fails during compile already:

"emacs" -batch -q -no-site-file -no-init-file -l ./vm-build.el -f batch-byte-compile vm-w3m.el
Loading w3m...

In toplevel form:
vm-w3m.el:39:1:Error: Wrong type argument: arrayp, nil
make[1]: *** [vm-w3m.elc] Error 1

Do you have app-emacs/emacs-w3m installed (what version)?
If yes, does vm succeed if you unmerge emacs-w3m beforehand?

Of course, another question is why the top-level Makefile doesn't catch the errors in the sub-Makefiles.
Comment 5 Juergen Rose 2009-12-31 16:52:43 UTC
root@tarantel:/root(37)# qlist -Iv app-editors/emacs
app-editors/emacs-23.1-r2

Yes, I have installed emacs-w3m:
root@tarantel:/root(38)# qlist -Iv emacs-w3m
app-emacs/emacs-w3m-1.4.4_p20090605
root@tarantel:/root(39)# equery files emacs-w3m
 * Searching for emacs-w3m ...
 * Contents of app-emacs/emacs-w3m-1.4.4_p20090605:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/emacs-w3m-1.4.4_p20090605
/usr/share/doc/emacs-w3m-1.4.4_p20090605/ChangeLog.1.bz2
/usr/share/doc/emacs-w3m-1.4.4_p20090605/ChangeLog.bz2
/usr/share/doc/emacs-w3m-1.4.4_p20090605/NEWS.bz2
/usr/share/doc/emacs-w3m-1.4.4_p20090605/README.bz2
/usr/share/emacs
/usr/share/emacs/etc
/usr/share/emacs/etc/emacs-w3m
/usr/share/emacs/etc/emacs-w3m/antenna-up.png
/usr/share/emacs/etc/emacs-w3m/antenna-up.xpm
...
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/emacs-w3m
/usr/share/emacs/site-lisp/emacs-w3m/ChangeLog
/usr/share/emacs/site-lisp/emacs-w3m/ChangeLog.1
/usr/share/emacs/site-lisp/emacs-w3m/mew-shimbun.el
/usr/share/emacs/site-lisp/emacs-w3m/mew-w3m.el
...
root@tarantel:/root(40)# ll /usr/share/emacs/site-lisp/emacs-w3m/w3m-load.el
-rw-r--r-- 1 root root 16196 Jul  8 05:25 /usr/share/emacs/site-lisp/emacs-w3m/w3m-load.el
root@tarantel:/root(41)# ll /usr/share/emacs/site-lisp/emacs-w3m/mew-w3m.el
-rw-r--r-- 1 root root 14406 Jul  8 05:25 /usr/share/emacs/site-lisp/emacs-w3m/mew-w3m.el

This looks good.

root@tarantel:/root(42)# emerge -C emacs-w3m
root@tarantel:/root(43)# emerge -vD app-emacs/vm
...
>>> /usr/share/emacs/site-lisp/vm/vm-imap.elc
>>> /usr/share/emacs/site-lisp/vm/vcard.el
...
root@tarantel:/root(44)# equery f app-emacs/vm | grep site-lisp | wc -l
108

I.e., the expected 108 files are installed now. To check if really emacs-w3m is the reason for the problem, I tried once more:

root@tarantel:/root(45)# emerge -C app-emacs/vm
...
root@tarantel:/root(46)# emerge -uvDN  emacs-w3m
...
root@tarantel:/root(47)# emerge -vD app-emacs/vm
...
root@tarantel:/root(48)# equery f app-emacs/vm | grep site-lisp | wc -l
108

Now it works also with emacs-w3m. Maybe emacs-w3m was anyway corrupted.

Thanks for the help.

Comment 6 Ulrich Müller gentoo-dev 2010-01-01 01:56:47 UTC
(In reply to comment #5)
> root@tarantel:/root(40)# ll /usr/share/emacs/site-lisp/emacs-w3m/w3m-load.el
> -rw-r--r-- 1 root root 16196 Jul  8 05:25
> /usr/share/emacs/site-lisp/emacs-w3m/w3m-load.el

So the installed emacs-w3m was from before the release of Emacs 23. It's possible that your problem was caused by some incompatibilities between byte-compiler versions.

For the issue that the top-level Makefile was not catching errors from subdirs I've committed a fix to the upstream repo. I'm not sure yet if there will be an (upstream) 8.1.0_beta1 release or if we need a Gentoo -r1 revision, therefore I leave this bug open.
Comment 7 Ulrich Müller gentoo-dev 2010-01-04 22:47:23 UTC
Fixed in 8.1.0_beta without revbump.
Comment 8 Ulrich Müller gentoo-dev 2010-01-04 22:47:50 UTC
... and thank you for reporting.