Summary: | media-fonts/font-misc-misc-1.0.0 and font-cursor-misc-1.0.0 postinst failures | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jose daLuz <jdaluz> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matrixhax0r, x11 |
Priority: | High | Keywords: | InVCS, REGRESSION |
Version: | 2006.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 115839 |
Description
Jose daLuz
2006-03-12 08:13:12 UTC
Add media-fonts/font-adobe-utopia-75dpi-1.0.1 to the list: * Checking /usr/share/fonts/75dpi for useless files ... [ ok ]>>> Original instance of package unmerged safely. * FONT_DIRS is empty. The ebuild should set it to at least one subdir of /usr/share/fonts. !!! ERROR: media-fonts/font-adobe-utopia-75dpi-1.0.1 failed. Call stack: ebuild.sh, line 1538: Called pkg_postinst ebuild.sh, line 1272: Called x-modular_pkg_postinst x-modular.eclass, line 332: Called setup_fonts !!! FONT_DIRS is empty. The ebuild should set it to at least one subdir of /usr/share/fonts. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! FAILED postinst: 1 I was hoping someone would file this by the time I checked my bugmail :) Portage 2.1_pre6 causes this. Portage guys: FONT_DIRS is being set in preinst, but seems to get unset somewhere along the way to postinst (in x-modular.eclass). I looked over the release notes/news and didn't see anything there that should cause this, so I'm assuming for now this is a Portage bug. If not, let us know what needs to change. Same here on ~x86 gcc-4.1 glibc-2.4 portage-2.1_pre6-r1 , for font-misc-misc ,font-cursor-misc. You can probably use FEATURES="noclean" to work around this until a patch is ready. Released in 2.1_pre6-r2. (In reply to comment #2) > I was hoping someone would file this by the time I checked my bugmail :) > Portage 2.1_pre6 causes this. > > Portage guys: FONT_DIRS is being set in preinst, but seems to get unset > somewhere along the way to postinst (in x-modular.eclass). Thanks for tracking this down. The problem is due to sharing of ${T} between the package being merged and the old instance of the same version. As a temporary fix, I've disabled unmerge phase cleaning when ${T} is shared in this manner. |