Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448198 - dev-lang/perl/perl-5.12.4-r1 ebuild should not print missing symlinks warnings when package is removed
Summary: dev-lang/perl/perl-5.12.4-r1 ebuild should not print missing symlinks warning...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-22 16:29 UTC by Maxim Kammerer
Modified: 2014-04-24 13:56 UTC (History)
0 users

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 Maxim Kammerer 2012-12-22 16:29:44 UTC
When removing perl package (with no more perl packages remaining), the following warnings are printed by the ebuild, coming from alternatives.eclass.

I don't see how these warnings are necessary - they were established by the package in the first place, so if the user decided to remove the package, removing the symlinks is the right thing to do, nothing to warn about. Note that the warnings below also contain /usr/share/man entries due to /usr/share/man being missing on my system when perl is removed.

 * Messages for package dev-lang/perl-5.12.4-r1:

 * Removing dead symlink /usr/bin/ptar
 * Unable to establish /usr/share/man/man1/ptar.1* symlink
 * Removing dead symlink /usr/bin/ptardiff
 * Unable to establish /usr/share/man/man1/ptardiff.1* symlink
 * Removing dead symlink /usr/bin/shasum
 * Unable to establish /usr/share/man/man1/shasum.1* symlink
 * Removing dead symlink /usr/bin/cpan
 * Unable to establish /usr/share/man/man1/cpan.1* symlink
 * Removing dead symlink /usr/bin/cpanp
 * Unable to establish /usr/share/man/man1/cpanp.1* symlink
 * Removing dead symlink /usr/bin/cpan2dist
 * Unable to establish /usr/share/man/man1/cpan2dist.1* symlink
 * Removing dead symlink /usr/bin/cpanp-run-perl
 * Removing dead symlink /usr/bin/enc2xs
 * Unable to establish /usr/share/man/man1/enc2xs.1* symlink
 * Removing dead symlink /usr/bin/piconv
 * Unable to establish /usr/share/man/man1/piconv.1* symlink
 * Removing dead symlink /usr/bin/instmodsh
 * Unable to establish /usr/share/man/man1/instmodsh.1* symlink
 * Removing dead symlink /usr/bin/xsubpp
 * Unable to establish /usr/share/man/man1/xsubpp.1* symlink
 * Removing dead symlink /usr/bin/config_data
 * Unable to establish /usr/share/man/man1/config_data.1* symlink
 * Removing dead symlink /usr/bin/corelist
 * Unable to establish /usr/share/man/man1/corelist.1* symlink
 * Removing dead symlink /usr/bin/pod2usage
 * Unable to establish /usr/share/man/man1/pod2usage.1* symlink
 * Removing dead symlink /usr/bin/podchecker
 * Unable to establish /usr/share/man/man1/podchecker.1* symlink
 * Removing dead symlink /usr/bin/podselect
 * Unable to establish /usr/share/man/man1/podselect.1* symlink
 * Removing dead symlink /usr/bin/prove
 * Unable to establish /usr/share/man/man1/prove.1* symlink
 * Removing dead symlink /usr/bin/pod2man
 * Unable to establish /usr/share/man/man1/pod2man.1* symlink
 * Removing dead symlink /usr/bin/pod2text
 * Unable to establish /usr/share/man/man1/pod2text.1* symlink
Comment 1 Maxim Kammerer 2013-08-20 22:53:04 UTC
Ping?
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-04-24 13:56:01 UTC
It is comes from alternatives eclass, i wont fix it right now.