Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

How can I get rid of perl-cleaner?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

How can I get rid of perl-cleaner?

  • Quote

Post by crocket » Tue Jan 28, 2020 11:21 pm

I don't like having to execute perl-cleaner after an upgrade of perl. Is there a plan to get rid of this?

At least, gentoo bugzilla has two issues which aim to eliminate haskell-updater.
  • repoman: add a warning about outdated upper bound dependencies
  • Support for "passthru subslots" to rebuild all the reverse dependency graph.
Last edited by crocket on Tue Jan 28, 2020 11:46 pm, edited 1 time in total.
Top
ali3nx
l33t
l33t
User avatar
Posts: 732
Joined: Sun Sep 21, 2003 4:28 am
Location: Winnipeg, Canada
Contact:
Contact ali3nx
Website

  • Quote

Post by ali3nx » Tue Jan 28, 2020 11:39 pm

I submit that perl-cleaner is still very useful.

If you rebuild perl with ithreads that changes the perl environment directory path and without the aid of perl-cleaner quickly rebuilding only perl modules would not be possible without a larger effort.

I'd prefer to have this useful utility remain available somehow. If your running perl-cleaner after every perl update is that absolutely necessary? It shoudnt be unless the major version changes the perl environment directory path.
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Top
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

  • Quote

Post by crocket » Tue Jan 28, 2020 11:48 pm

After every perl upgrade, I am prompted to run perl-cleaner. It actually removes garbages and notifies me of remaining garbages that I should eliminate manually.

I don't know why emerge cannot clean up garbages that perl leaves.

I just want upgrades to be effortless without having to run esoteric commands such as haskell-updater and perl-cleaner.
Top
ali3nx
l33t
l33t
User avatar
Posts: 732
Joined: Sun Sep 21, 2003 4:28 am
Location: Winnipeg, Canada
Contact:
Contact ali3nx
Website

  • Quote

Post by ali3nx » Tue Jan 28, 2020 11:59 pm

I've never used haskell-updater.

Sometimes those post emerge build notifications can be accepted with a grain of salt.

Unless your getting errors caused by missing perl modules running perl-cleaner should be generally unnecessary.

perl-cleaner would be necessary or beneficial if the perl environment path ever changed due to a significant version upgrade or recompiling perl with USE=ithreads

Code: Select all

/usr/lib64/perl5/5.30.1/x86_64-linux-thread-multi/


Given i just did a world rebuild on my nas server for a global cflags alteration check this directory to view any existing perl library paths.

Code: Select all

~ # ls -l /usr/lib64/perl5/                                 
total 9
drwxr-xr-x 54 root root 128 Jan 24 23:14 5.30.1
drwxr-xr-x  4 root root   4 Dec  8 11:17 vendor_perl


I've been compiling perl with multi threading support for over a decade and perl-cleaner has been a useful ally for post use flag alteration migration of existing perl modules.
Last edited by ali3nx on Wed Jan 29, 2020 2:06 am, edited 5 times in total.
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Top
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

  • Quote

Post by crocket » Wed Jan 29, 2020 12:04 am

perl-cleaner may actually be unnecessary, but emerge still doesn't clean up garbages that perl leaves....

In particular, /usr/lib64/perl5/vendor_perl/x.xx.x/XML/SAX/ParserDetails.ini is a persistent son of a bitch.

Ideally, I want perl-cleaner to be absolutely unnecessary.
Last edited by crocket on Wed Jan 29, 2020 12:07 am, edited 2 times in total.
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Wed Jan 29, 2020 12:06 am

Why can't it? because aspects of perl are a pig ...
There use to be a similar need with python where you would need to run python-updater every time there was a new major version release ( viewtopic-t-1052610-start-0.html ). That went away with some effort from gentoo and aspects of buildability were refined.

Could perl and/or haskell benefit from a similar thing with single_target_perl_.... possibly but someone needs to product such a concept and upstream packaging needs to be manageable like this
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

  • Quote

Post by crocket » Wed Jan 29, 2020 12:17 am

Which aspects of perl are being a pig? Can I run a gentoo system without perl?
Top
dmpogo
Advocate
Advocate
Posts: 3717
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Wed Jan 29, 2020 12:36 am

crocket wrote:Which aspects of perl are being a pig? Can I run a gentoo system without perl?
Main system thing here which depends on perl unconditionally is Qt and some parts of KDE. Also apache, which maybe considered part of the system if you run a server
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Jan 29, 2020 3:03 am

If perl-cleaner needs you to delete a file, then that file must not have been owned by any package. Find why some perl-related package is creating unowned files and fix that, and you will be one step closer to not needing perl-cleaner.
Top
crocket
Guru
Guru
Posts: 558
Joined: Sat Apr 29, 2017 2:12 pm

  • Quote

Post by crocket » Wed Jan 29, 2020 4:36 am

Perhaps, solving https://bugs.gentoo.org/456938 will free me from perl-cleaner? This is a very old bug. Unfortunately, I haven't learned perl.

At least, it seems I know what issues need to be solved to not need perl-cleaner.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic