Emerging sci-mathematics/pspp-0.8.1-r1 (with the emacs use flag) fails due to >>Error occurred processing *.el: File error (("Opening input file" "no such file or directory" "/var/tmp/portage/sci-mathematics/pspp-0.8.1-r1/work/pspp-0.8.1_build/*.el")) This is caused by the following lines in the ebuild src_compile() { autotools-utils_src_compile pkglibdir="${EPREFIX}/usr/$(get_libdir)" use doc && autotools-utils_src_compile html pdf use emacs && cd "${BUILD_DIR}" && elisp-compile *.el } If the next to last line is replaced by use emacs && cd "${BUILD_DIR}" && elisp-compile pspp-mode.el it works. Globbing doesn't seem to work here and it's even not necessary since there is only a single file matching *.el
(In reply to Helmut Jarausch from comment #0) > Emerging sci-mathematics/pspp-0.8.1-r1 (with the emacs use flag) fails due to > > >>Error occurred processing *.el: File error (("Opening input file" > "no such file or directory" > "/var/tmp/portage/sci-mathematics/pspp-0.8.1-r1/work/pspp-0.8.1_build/*.el")) > > > This is caused by the following lines in the ebuild > > src_compile() { > autotools-utils_src_compile pkglibdir="${EPREFIX}/usr/$(get_libdir)" > use doc && autotools-utils_src_compile html pdf > use emacs && cd "${BUILD_DIR}" && elisp-compile *.el > } Sorry, I've been too fast. To fix it one needs to replace the next to last line by use emacs && cp pspp-mode.el "${BUILD_DIR}" && cd "${BUILD_DIR}" && elisp-compile pspp-mode.el and lateron on has to replace if use emacs; then elisp-install ${PN} *.el *.elc elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi by if use emacs; then elisp-install ${PN} "${BUILD_DIR}"/*.el "${BUILD_DIR}"/*.elc elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi
+ 31 Oct 2013; Sébastien Fabbro <bicatali@gentoo.org> pspp-0.8.1-r1.ebuild: + Install emacs files (broken by out of source building, bug #489938) +