Bug 86242 - app-emacs/erc-5.0.2 doesn't install `50erc-gentoo.el'
Bug#: 86242 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: tcr@freebits.de
Component: Ebuilds
URL: 
Summary: app-emacs/erc-5.0.2 doesn't install `50erc-gentoo.el'
Keywords:  
Status Whiteboard: 
Opened: 2005-03-22 04:48 0000
Description:   Opened: 2005-03-22 04:48 0000
From /usr/portage/app-emacs/erc/erc-5.0.2.ebuild:

  elisp-site-file-install ${FILESDIR}/${PV}/50erc-gentoo.el

But see the entry of `50erc-gentoo.el' in app-emacs/erc/Manifest:

  MD5 525caef1ddd566109a224e44097d6e73 files/50erc-gentoo.el 101

I.e. `50erc-gentoo.el' is installed directly into `${FILESDIR}' and not
into `${FILESDIR}/5.0.2' where the ebuild above assumes it to be. That's
why this file is not installed into `/usr/share/emacs/site-lisp'[*], 
from there not generated into `site-gentoo.el' and thus is not automatically
loaded upon emacs' start up.

Solution deems rather straightforward.

[*] I wonder why `emerge' doesn't barf upon the failure of `cp' internally to
    `elisp-site-file-install'. Isn't there something like a `set -e' anywhere
    in the build process?


Reproducible: Always
Steps to Reproduce:
1. emerge --unmerge app-emacs/erc
2. emerge =app-emacs/erc-5.0.2
3.

Actual Results:  
$ ls /usr/share/emacs/site-lisp/50erc-gentoo.el
ls: /usr/share/emacs/site-lisp/50erc-gentoo.el: No such file or directory

Expected Results:  
ls /usr/share/emacs/site-lisp/50erc-gentoo.el
/usr/share/emacs/site-lisp/50erc-gentoo.el

------- Comment #1 From Matthew Kennedy (RETIRED) 2005-03-22 18:20:30 0000 -------
Fixed in CVS, thanks for the bug report.