Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] perl-cleaner did not clean all
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 200
Location: Arlington, VA

PostPosted: Mon Jun 27, 2011 2:47 pm    Post subject: [SOLVED] perl-cleaner did not clean all Reply with quote

Updated from Perl 5.12.2 to Perl 5.12.3.

Ran perl-cleaner as instructed

Quote:
* Messages for package dev-lang/perl-5.12.3-r1:

* UPDATE THE PERL MODULES:
* After updating dev-lang/perl you must reinstall
* the installed perl modules.
* Use: perl-cleaner --all


After perl-cleaner finished it reported

Quote:
* The following files remain. These were either installed by hand
* or edited. This script cannot deal with them.

/usr/lib32/perl5/5.12.2/i686-linux/auto/MIME/Base64/Base64.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Digest/SHA/SHA.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Digest/MD5/MD5.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/PerlIO/scalar/scalar.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/PerlIO/via/via.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/PerlIO/encoding/encoding.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Devel/DProf/DProf.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Devel/Peek/Peek.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Devel/PPPort/PPPort.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Compress/Raw/Bzip2/Bzip2.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Compress/Raw/Zlib/Zlib.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Unicode/Normalize/Normalize.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Opcode/Opcode.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/List/Util/Util.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/GDBM_File/GDBM_File.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Time/HiRes/HiRes.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Time/Piece/Piece.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/re/re.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/attributes/attributes.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Text/Soundex/Soundex.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/mro/mro.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Math/BigInt/FastCalc/FastCalc.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/IPC/SysV/SysV.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Fcntl/Fcntl.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/I18N/Langinfo/Langinfo.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Filter/Util/Call/Call.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Data/Dumper/Dumper.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/IO/IO.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Hash/Util/FieldHash/FieldHash.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Hash/Util/Util.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/SDBM_File/SDBM_File.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/POSIX/POSIX.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/B/B.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/NDBM_File/NDBM_File.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/threads/threads.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/threads/shared/shared.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/File/Glob/Glob.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Cwd/Cwd.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Sys/Hostname/Hostname.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Sys/Syslog/Syslog.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/Unicode/Unicode.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/Symbol/Symbol.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/TW/TW.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/KR/KR.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/CN/CN.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/EBCDIC/EBCDIC.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/Byte/Byte.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/JP/JP.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Encode/Encode.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Storable/Storable.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/DB_File/DB_File.so
/usr/lib32/perl5/5.12.2/i686-linux/auto/Socket/Socket.so
/usr/lib64/perl5/5.8.8/x86_64-linux/Encode/ConfigLocal.pm


I have only used Portage to install Perl, nothing manual.

How do I clean up these remaining files?


Last edited by KayZee on Tue Jun 28, 2011 2:10 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7364
Location: Goose Creek SC

PostPosted: Mon Jun 27, 2011 5:26 pm    Post subject: Reply with quote

Code:
perl-cleaner reallyall

_________________
Defund the FCC.
Back to top
View user's profile Send private message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 200
Location: Arlington, VA

PostPosted: Mon Jun 27, 2011 7:02 pm    Post subject: Reply with quote

After
Code:
perl-cleaner --reallyall


The perl files from the original post are still there.

Is it safe to delete
Quote:
/usr/lib32/perl5/5.12.2/i686-linux/auto/
and all subdirectories?

I am using Perl 5.12.3 now, not 5.12.2.

Code:
# perl -v                 

This is perl 5, version 12, subversion 3 (v5.12.3) built for x86_64-linux
(with 13 registered patches, see perl -V for more detail)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7364
Location: Goose Creek SC

PostPosted: Mon Jun 27, 2011 8:19 pm    Post subject: Reply with quote

I'd look at
Code:
emerge  -av --depclean
first
_________________
Defund the FCC.
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 981
Location: Massachusetts USA

PostPosted: Mon Jun 27, 2011 8:24 pm    Post subject: Reply with quote

perl-cleaner can not fix the files in /usr/lib32/perl5/5.12.2/ since the files are provided by app-emulation/emul-linux-x86-baselibs which is a binary package and also provides the 32 bit version of perl (/usr/lib32/libperl.so.5.12.2).

If you delete the /usr/lib32/perl5/5.12.2/i686-linux/auto/ directory any 32 bit applications that use perl will crash.
Back to top
View user's profile Send private message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 200
Location: Arlington, VA

PostPosted: Mon Jun 27, 2011 8:36 pm    Post subject: Reply with quote

So even through I have Perl 5.12.3 installed, the 32-bit libraries are still using Perl 5.12.2?

in /usr/lib32

Quote:
lib32 # ls libperl* -l
lrwxrwxrwx 1 root root 17 Jun 26 11:03 libperl.so -> libperl.so.5.12.2
lrwxrwxrwx 1 root root 17 Jun 26 11:03 libperl.so.5.12 -> libperl.so.5.12.2
-rwxr-xr-x 1 root root 1256192 Jan 29 14:17 libperl.so.5.12.2



So is the solution to leave any files in /usr/lib32/perl5/5.12.2/i686-linux/auto/ and not be concerned about this? Will Portage sort it out at some future time?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11063

PostPosted: Mon Jun 27, 2011 10:00 pm    Post subject: Reply with quote

jburns wrote:
If you delete the /usr/lib32/perl5/5.12.2/i686-linux/auto/ directory any 32 bit applications that use perl will crash.
To be precise, a 32 bit application which links to Perl may exhibit problems. A 32 bit application which forks and execs /usr/bin/perl will be fine, since that would run the native 64 bit perl.
KayZee wrote:
So even through I have Perl 5.12.3 installed, the 32-bit libraries are still using Perl 5.12.2?
You have installed an amd64 Perl 5.12.3. Since you have installed the prebuilt 32 bit libraries for legacy applications, you also have parts of an x86 Perl 5.12.2. This should not cause any problems with your native amd64 Perl.
KayZee wrote:
So is the solution to leave any files in /usr/lib32/perl5/5.12.2/i686-linux/auto/ and not be concerned about this? Will Portage sort it out at some future time?
I would be concerned only if there was some change introduced in Perl 5.12.3 that you felt was essential to the system (such as a security fix). The older libraries should go away when you upgrade to a app-emulation/emul-linux-x86-baselibs with a newer Perl. Since app-emulation/emul-linux-x86-baselibs is a wrapper around prebuilt files, it will not move forward until some Gentoo developer takes the time to build a new version. If you are eager to remove those files now, you could emerge --ask --verbose --depclean app-emulation/emul-linux-x86-baselibs. That will prompt you to remove the x86 files, or explain why some package on your system would be broken by their removal.
Back to top
View user's profile Send private message
KayZee
Apprentice
Apprentice


Joined: 15 Oct 2003
Posts: 200
Location: Arlington, VA

PostPosted: Tue Jun 28, 2011 2:09 am    Post subject: Reply with quote

Thank you for this explanation. I am marking this solved. Portage will resolve this in the future when app-emulation/emul-linux-x86-baselibs is upgraded.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum