When emerging app-emacs/python-mode-5.1.0, the process fails to find the elisp file "50python-mode-gentoo-5.1.el". Reproducible: Always Steps to Reproduce: 1. emerge -v =app-emacs/python-mode-5.1.0 Actual Results: # emerge -v app-emacs/python-mode These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-emacs/python-mode-5.1.0 [1.0-r1] USE="(-pymacs%*)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emacs/python-mode-5.1.0 * python-mode-5.1.0.el.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Emacs version: 22.3.1 >>> Unpacking source... >>> Unpacking python-mode-5.1.0.el.bz2 to /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/work >>> Source unpacked in /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/work >>> Compiling source in /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/work ... * Compiling GNU Emacs Elisp files ... In python-mode: python-mode.el:1248:15:Warning: reference to free variable `py-which-shell' In py-pychecker-run: python-mode.el:3061:6:Warning: `compile-internal' is an obsolete function; use `compilation-start' instead. In end of data: python-mode.el:3962:1:Warning: the following functions are not known to be defined: set-extent-property, buffer-syntactic-context, event-buffer, extent-at, extent-property Wrote /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/work/python-mode.elc [ ok ] >>> Source compiled. >>> Test phase [not enabled]: app-emacs/python-mode-5.1.0 >>> Install python-mode-5.1.0 into /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/image/ category app-emacs * Installing Elisp files for GNU Emacs support ... [ ok ] * Installing site initialisation file for GNU Emacs ... cp: cannot stat `/usr/portage/app-emacs/python-mode/files/50python-mode-gentoo-5.1.el': No such file or directory sed: can't read /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/50python-mode-gentoo.el: No such file or directory install: cannot stat `/mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/50python-mode-gentoo.el': No such file or directory !!! doins: /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/50python-mode-gentoo.el does not exist * elisp-site-file-install: doins failed [ !! ] * * ERROR: app-emacs/python-mode-5.1.0 failed. * Call stack: * ebuild.sh, line 48: Called src_install * environment, line 2649: Called elisp_src_install * environment, line 1031: Called die * The specific snippet of code: * elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/portage/logs/app-emacs:python-mode-5.1.0:20090416-145547.log'. * The ebuild environment file is located at '/mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/environment'. * * QA Notice: file does not exist: * * doins: /mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/50python-mode-gentoo.el does not exist >>> Failed to emerge app-emacs/python-mode-5.1.0, Log file: >>> '/mnt/portage/logs/app-emacs:python-mode-5.1.0:20090416-145547.log' * Messages for package app-emacs/python-mode-5.1.0: * elisp-site-file-install: doins failed * * ERROR: app-emacs/python-mode-5.1.0 failed. * Call stack: * ebuild.sh, line 48: Called src_install * environment, line 2649: Called elisp_src_install * environment, line 1031: Called die * The specific snippet of code: * elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/mnt/portage/logs/app-emacs:python-mode-5.1.0:20090416-145547.log'. * The ebuild environment file is located at '/mnt/portage/tmp/portage/app-emacs/python-mode-5.1.0/temp/environment'. * Expected Results: A successful emerge The problem is either the file is named incorrectly (actual names: 60python-mode-gentoo-5.1.el / 60python-mode-gentoo.el) or the ebuild has the files named incorrectly - I successfully emerge after renaming the files to the names expected by the ebuild.
*** This bug has been marked as a duplicate of bug 266382 ***