<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>86242</bug_id>
          
          <creation_ts>2005-03-22 04:48 0000</creation_ts>
          <short_desc>app-emacs/erc-5.0.2 doesn&apos;t install `50erc-gentoo.el&apos;</short_desc>
          <delta_ts>2005-03-22 18:20:30 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tcr@freebits.de</reporter>
          <assigned_to>emacs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tcr@freebits.de</who>
            <bug_when>2005-03-22 04:48:33 0000</bug_when>
            <thetext>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&apos; in app-emacs/erc/Manifest:

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

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

Solution deems rather straightforward.

[*] I wonder why `emerge&apos; doesn&apos;t barf upon the failure of `cp&apos; internally to
    `elisp-site-file-install&apos;. Isn&apos;t there something like a `set -e&apos; 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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mkennedy@gentoo.org</who>
            <bug_when>2005-03-22 18:20:30 0000</bug_when>
            <thetext>Fixed in CVS, thanks for the bug report.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>