Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58182 - perl update problems
Summary: perl update problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 07:07 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-02-07 03:21 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 Carsten Lohrke (RETIRED) gentoo-dev 2004-07-24 07:07:13 UTC
There are problems with the perl update regarding symlinks:

|-- 5.6.1
|   `-- i686-linux
|       |-- perllocal.pod
|       `-- smbldap_conf.pm -> /etc/samba/smbldap_conf.pm
|-- 5.8.0
|   `-- i686-linux
|       |-- CORE
|       |   |-- libperl.so -> ../../../../libperl.so.1.5.8
|       |   |-- libperl.so.1 -> ../../../../libperl.so.1.5.8
|       |   `-- libperl.so.1.5.8 -> ../../../../libperl.so.1.5.8
|       |-- auto
|       |   |-- Data
|       |   |   `-- Dumper
|       |   |-- Test
|       |   `-- Time
|       |       `-- Local
|       |-- perllocal.pod
|       `-- smbldap_conf.pm -> /etc/samba/smbldap_conf.pm
|-- 5.8.2
|   `-- i686-linux
|       |-- CORE
|       |   |-- libperl.so -> ../../../../libperl.so.1.5.8
|       |   |-- libperl.so.1 -> ../../../../libperl.so.1.5.8
|       |   `-- libperl.so.1.5.8 -> ../../../../libperl.so.1.5.8
|       |-- DB_File.pm
|       |-- auto
|       |   `-- DB_File
|       |       |-- DB_File.bs
|       |       |-- DB_File.so
|       |       `-- autosplit.ix
|       |-- perllocal.pod
|       |-- smbldap_conf.pm -> /etc/samba/smbldap_conf.pm
|       `-- smbldap_tools.pm -> /etc/samba/smbldap_tools.pm
|-- 5.8.4

This doesn't look clean to me. The smbldap*.pm symlinks are not recreated in the 5.8.4 directory.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2004-09-26 06:46:03 UTC
updating perl is updating the perl compiled code - not anything that uses perl per se. An update of perl does not migrate symlinks - or anything else, to be honest. When an external package is compiled against perl, it is generally compiled against a specific version of perl and needs to be re-installed for the new perl (this is in particular when you are doing a version change and the package in question installs externally linked code). This isn't a bug in the perl install - this is to avoid migrating now nonfunctional code. We may need to look at rewording the closing comments in the perl ebuild to indicate that you should consider re-installing apps that compiled against perl (instead of just mentioning a few versions of perl), but aside from that there isn't anything we can do in the perl ebuild itself.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-09-26 12:18:44 UTC
>An update of perl does not migrate symlinks - or anything else, to be honest.

Let me be a bit nasty: What is Portage good for, if it doesn't take the burden from me to update/remove this sort of cruft!? :) I know that is a delicate issue - at least as long as Portage doesn't deal with reverse dependencies properly, but...

>We may need to look at rewording the closing comments in the perl ebuild to indicate that you should consider re-installing apps that compiled against perl (instead of just mentioning a few versions of perl), but aside from that there isn't anything we can do in the perl ebuild itself.

...wouldn't it be better, if perl had something like the python-updater?
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2005-02-07 03:21:33 UTC
[ancient bug report]
perl-cleaner, which replaces libperl_rebuilder and was available even at the time of this bug report, takes care of this issue. closing.