Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489938 - sci-mathematics/pspp-0.8.1-r1 - 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"))
Summary: sci-mathematics/pspp-0.8.1-r1 - Error occurred processing *.el: File error ((...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 08:22 UTC by Helmut Jarausch
Modified: 2013-10-31 15:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-10-31 08:22:31 UTC
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
Comment 1 Helmut Jarausch 2013-10-31 09:10:13 UTC
(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
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2013-10-31 15:48:29 UTC
+  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)
+