| Summary: | dev-tex/latex-beamer: dosym with path starting with ${ED} | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
| Component: | Current packages | Assignee: | TeX project <tex> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
3. Documentation is actually installed in ${ED}/usr/share/doc/${PF}/... instead of ${ED}/usr/share/doc/${P}/... so ${PF} should be used.
${P} == latex-beamer-3.56
${PF} == latex-beamer-3.56-r1
Solution:
dosym "../../../doc/${PF}/doc" "${TEXMF}/doc/latex/beamer"
It seems that the similar bug 699492 was fixed. Could this be done here as well? Commit eb30b00cebafbc898fe5e6b6fb77f9baddd1e443 (https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb30b00cebafbc898fe5e6b6fb77f9baddd1e443) was made, but ebuilds are still broken. 3 ".." components are needed at the beginning of target of symbolic link, not just one. |
dev-tex/latex-beamer/latex-beamer-3.56-r1.ebuild: dosym "${ED}/usr/share/doc/${P}/doc/" "${TEXMF}/doc/latex/beamer" dev-tex/latex-beamer/latex-beamer-3.57.ebuild: dosym "${ED}/usr/share/doc/${P}/doc/" "${TEXMF}/doc/latex/beamer" Problems with above dosym commands: 1. Initial ${D} or ${ED} is unnecessary in first argument (target of symbolic link), and PMS-compliant package managers will issue QA notice. PMS (https://projects.gentoo.org/pms/7/pms.html#x1-14800013.4.1): """ 13.4.1 Rewriting Any absolute symlink whose link starts with D must be rewritten with the leading D removed. The package manager should issue a notice when doing this. """ 2. Target of symbolic link could be made relative, instead of absolute. Solution: dosym "../../../doc/${P}/doc" "${TEXMF}/doc/latex/beamer"