Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Joseph <syscon780@×××××.com>
Subject: Re: [gentoo-user] perl 5.12 downgrade ??
Date: Thu, 28 Oct 2010 20:17:22
Message-Id: 201010282217.38184.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] perl 5.12 downgrade ?? by Joseph
1 Apparently, though unproven, at 21:44 on Thursday 28 October 2010, Joseph did
2 opine thusly:
3
4 > On 10/28/10 06:58, Joseph wrote:
5 > >After upgrading to Perl 5.12 and all cleanup "perl-cleaner --all"
6 > >When I run "emerge --depclean" it asked me to removed the following
7 > >packages listed below. However, when I check all of them are needed by
8 > >some other packages. Do I need them? (I retained them all)
9 > >
10 > >virtual/perl-Package-Constants
11 > >virtual/perl-Compress-Raw-Zlib
12 > >virtual/perl-Compress-Raw-Bzip2
13 > >dev-java/antlr
14 > >perl-core/MIME-Base64
15 > >perl-core/Test-Simple
16 > >perl-core/Archive-Tar
17 > >perl-core/Test-Harness
18 > >perl-core/IO-Compress
19 > >perl-core/IO-Zlib
20 > >perl-core/Digest-MD5
21 > >perl-core/CGI
22 > >perl-core/Digest-SHA
23 > >perl-core/Compress-Raw-Bzip2
24 > >perl-core/Sys-Syslog
25 > >perl-core/digest-base
26 > >perl-core/Compress-Raw-Zlib
27 > >perl-core/version
28 > >perl-core/DB_File
29 > >perl-core/Package-Constants
30 > >dev-java/gjdoc
31 > >perl-core/libnet
32 > >
33 > >The reason I'm asking is that I'm getting some strange errors when using
34 > >'sql-ledger' eg. Using a hash as a reference is deprecated at SL/IS.pm
35 > >line 582.
36 > >
37 > >I think it might be related to recent perl upgrade.
38 > >Is it possible / safe to downgrade to previous "perl-5.8.8-r8" ?
39 > >or do I just delete the above perl module.
40 > >
41 > >--
42 > >Joseph
43 >
44 > I'm trying to downgrade perl on one of my machine to 5.8 and got stuck with
45 > a block: [blocks B ] <sys-devel/libperl-5.10.1
46 > ("<sys-devel/libperl-5.10.1" is blocking dev-lang/perl-5.12.2-r1)
47
48 No that won't work. Read the output and understand what it is telling you:
49
50 Something with a version smaller than libperl-5.10.1 will be downgraded but
51 that will conflict with perl-5.12.2-r1 which *will still be installed at the
52 time libperl is downgraded*.
53
54 This only makes sense as you can only merge one thing at a time and they block
55 each other. Either way it is done, you will get a block like this.
56
57 The solution is to remove the packages and remerge them correctly (which
58 nicely sidesteps the entire problem). Or you could use portage-2.2 which has
59 support for much the same thing. Obviously you don't have that portage though.
60
61 As perl is not required to run emerge, you can safely do this:
62
63 emerge -C libperl perl
64 emerge <stuff you do want>
65
66
67
68
69 >
70 > I've tried to mask:
71 > >=dev-lang/perl-5.12.2-r1
72 > >=sys-devel/libperl-5.10.1
73 >
74 > but it doesn't help so I run:
75 > emerge -1 --nodeps =libperl-5.8.8* && emerge --nodeps =perl-5.8.8*
76 >
77 > this compiled OK but running "perl-cleaner --all"
78 > it tries to recomile imagemagic and it fails:
79 > emerge -vD1 net-print/foomatic-db-engine:0 dev-db/postgresql-server:8.4
80 > app-office/gnumeric:0 x11-terms/rxvt-unicode:0
81 >
82 > libtool: install: warning: remember to run `libtool --finish
83 > /usr/lib/ImageMagick-6.6.2/modules-Q16/coders' make[2]: Leaving directory
84 > `/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
85 > make[1]: *** [install-am] Error 2
86 > make[1]: Leaving directory
87 > `/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
88 > make: *** [install] Error 2
89 > * ERROR: media-gfx/imagemagick-6.6.2.5 failed:
90 > * (no error message)
91 > *
92 > * Call stack:
93 > * ebuild.sh, line 54: Called src_install
94 > * environment, line 2661: Called die
95 > * The specific snippet of code:
96 > * emake DESTDIR="${D}" install || die;
97 > *
98 > * If you need support, post the output of 'emerge --info
99 > =media-gfx/imagemagick-6.6.2.5', * the complete build log and the output
100 > of 'emerge -pqv =media-gfx/imagemagick-6.6.2.5'. * The complete build log
101 > is located at
102 > '/var/log/portage/media-gfx:imagemagick-6.6.2.5:20101028-182120.log'. *
103 > The ebuild environment file is located at
104 > '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/environment'. * S:
105 > '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
106 >
107 > Any help will be appreciated what to do with it.
108
109 --
110 alan dot mckinnon at gmail dot com