| Summary: | latex-package.eclass mishandles files with spaces in filename | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
| Component: | Eclasses | Assignee: | TeX project <tex> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | ulm |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/24987 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I was not able to reproduce this. Has this been resolved? If not, please supply a MWE. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3d9fa67e6b8f39bf0e8e85d71bbeae8236aa06 commit fa3d9fa67e6b8f39bf0e8e85d71bbeae8236aa06 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-04-11 10:37:23 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-04-15 08:58:43 +0000 latex-package.eclass: Properly quote variables Bug: https://bugs.gentoo.org/379571 Signed-off-by: Ulrich Müller <ulm@gentoo.org> eclass/latex-package.eclass | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) @dilfridge: Please test if the issue is fixed. |
*NOT* a problem with any of the ebuilds in the main tree afaik, but it turns up in a local ebuild. ${S} contains a pdf documentation file with spaces in the filename, "UR_Anleitung zur Installation der Hausschrift unter LaTeX.pdf" All goes well up to the installation phase, where latex-package_src_install fails with "File not found"... install: Aufruf von stat für „./UR_Anleitung“ nicht möglich: Datei oder Verzeichnis nicht gefunden !!! doins: ./UR_Anleitung does not exist doins failed * ERROR: dev-tex/frutiger-1.0 failed (install phase): * doins ./UR_Anleitung failed * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 2391: Called latex-package_src_install * environment, line 1813: Called latex-package_src_doinstall 'all' * environment, line 1804: Called latex-package_src_doinstall 'styles' 'fonts' 'bin' 'doc' * environment, line 1795: Called latex-package_src_doinstall 'tex' 'dtx' 'dvi' 'ps' 'pdf' * environment, line 1752: Called die * The specific snippet of code: * doins $i || die "doins $i failed";