Summary: | dev-lang/perl-5.10.1 errors about files that don't exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
Component: | [OLD] Library | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 280724 |
Description
Petteri Räty (RETIRED)
![]() I'll add this -f test: - mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || \ - echo "/usr/share/man/man1/${i}.1 does not exist!" + if [[ -f ${D}/usr/share/man/man1/${i}.1 ]] ; then + mv "${D}"/usr/share/man/man1/${i}{.1,-${ver}-${P}.1} || die + else + echo "/usr/share/man/man1/${i}.1 does not exist!" + fi But the auto_makesym will stay. With the current alternatives implementation there is no way to avoid a warning without assuming that no man-page will ever be added to CPANPLUS: alternatives_auto_makesym "/usr/share/man/man1/${i}.1${ff}" "/usr/share/man/man1/${i}-[0-9]*" So one warning will be logged: WARN: postinst/postrm Unable to establish /usr/share/man/man1/cpanp-run-perl.1* symlink (In reply to comment #1) > But the auto_makesym will stay. With the current alternatives implementation > there is no way to avoid a warning without assuming that no man-page will ever > be added to CPANPLUS: Removed that too (in 5.12.2-r1). There is no need to recreate the link as long as no manpage exists in perl. |