Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] perl upgrade slot conflict
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
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Thu Jul 10, 2014 8:20 pm    Post subject: [SOLVED] perl upgrade slot conflict Reply with quote

I am trying to upgrade dev-lang/perl but no matter what I try I still get slot conflict.

Here is the output that I get even with --backtrack=30

Code:


emerge -1pv --backtrack=30 perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-lang/perl-5.16.3:0/5.16 [5.12.4-r1:0/0] USE="berkdb gdbm -debug -doc -ithreads (-build%)" 13,420 kB

Total: 1 package (1 upgrade), Size of downloads: 13,420 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/perl:0

  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/perl-5.16 required by (dev-perl/Parse-RecDescent-1.967.9::gentoo, installed)
    =dev-lang/perl-5.16* required by (virtual/perl-JSON-PP-2.272.0-r1::gentoo, installed)
    (and 56 more with the same problems)

  (dev-lang/perl-5.12.4-r1::gentoo, installed) pulled in by
    dev-lang/perl[-build] required by (dev-perl/Error-0.170.160::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/Net-Daemon-0.480.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/DateManip-6.310.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/WWW-RobotRules-6.10.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/HTML-Parser-3.690.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/HTTP-Cookies-6.0.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/HTTP-Negotiate-6.0.0::gentoo, installed)
    dev-lang/perl[-build] required by (dev-perl/File-MimeInfo-0.150.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Module-CoreList-2.840.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/IO-Compress-2.60.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Module-Load-0.240.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/Net-HTTP-6.60.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Compress-Raw-Zlib-2.60.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/PlRPC-0.202.0-r2::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/Geo-IP-1.420.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Test-Harness-3.260.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/Net-SSLeay-1.550::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Module-Load-Conditional-0.540.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/glib-perl-1.301.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/File-Spec-3.400.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Digest-SHA-5.820.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Scalar-List-Utils-1.270.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/IO-Socket-SSL-1.953.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (dev-perl/libwww-perl-6.50.0::gentoo, installed)
    dev-lang/perl:0/0=[-build(-)] required by (perl-core/Compress-Raw-Bzip2-2.60.0::gentoo, installed)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- virtual/python-argparse-1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# MichaŠGórny <mgorny@gentoo.org> (6 Jul 2014)
# (on behalf of python@gentoo.org)
# The modules provided by those virtuals are built-in in all currently
# supported Python implementations. If your ebuild depends on either
# of them, please just remove the dependency. Removal in 30 days.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


What you suggest to do?


Last edited by queen on Fri Jul 11, 2014 12:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Jul 10, 2014 9:44 pm    Post subject: Reply with quote

Just add those eight or so packages with the older dependency string ('dev-lang/perl[-build]') to the emerge line.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Thu Jul 10, 2014 10:19 pm    Post subject: Reply with quote

VoidMage wrote:
Just add those eight or so packages with the older dependency string ('dev-lang/perl[-build]') to the emerge line.


Thanks :D
That did the trick.

But I still have some failing emerge of package File-MimeInfo

Code:

 * Using Module::Build
 * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/image/ --create_packlist=0
Checking prerequisites...
  requires:
    !  File::BaseDir is not installed
    !  File::DesktopEntry is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'File-MimeInfo' version '0.17'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/work/File-MimeInfo-0.17 ...
Module::Build version 0.40 required--this is only version 0.3901 at ./Build line 41.
 * ERROR: dev-perl/File-MimeInfo-0.170.0::gentoo failed (compile phase):
 *   Compilation failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 2403:  Called perl-module_src_compile
 *   environment, line 2003:  Called die
 * The specific snippet of code:
 *           ./Build build || die "Compilation failed";
 *
 * If you need support, post the output of `emerge --info '=dev-perl/File-MimeInfo-0.170.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/File-MimeInfo-0.170.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-perl:File-MimeInfo-0.170.0:20140710-213238.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/work/File-MimeInfo-0.17'
 * S: '/var/tmp/portage/portage/dev-perl/File-MimeInfo-0.170.0/work/File-MimeInfo-0.17'

>>> Failed to emerge dev-perl/File-MimeInfo-0.170.0, Log file:

>>>  '/var/log/portage/dev-perl:File-MimeInfo-0.170.0:20140710-213238.log'


The complaint is that:
Code:

File::BaseDir is not installed
     !  File::DesktopEntry is not installed


which is not correct. These packages are installed and up to date.

Code:

[I] dev-perl/File-BaseDir
     Available versions:  0.30.0 {test}
     Installed versions:  0.30.0(04:15:03 PM 10/10/2012)(-test)
     Homepage:            http://search.cpan.org/dist/File-BaseDir/
     Description:         Use the Freedesktop.org base directory specification

eix DesktopEntry
[I] dev-perl/File-DesktopEntry
     Available versions:  0.40.0 {test}
     Installed versions:  0.40.0(04:15:08 PM 10/10/2012)(-test)
     Homepage:            http://search.cpan.org/dist/File-DesktopEntry/
     Description:         Object to handle .desktop files

* dev-perl/X11-FreeDesktop-DesktopEntry
     Available versions:  0.40.0
     Homepage:            http://search.cpan.org/dist/X11-FreeDesktop-DesktopEntry/
     Description:         An interface to Freedesktop.org .desktop files.


Last edited by queen on Fri Jul 11, 2014 1:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Jul 11, 2014 6:04 am    Post subject: Reply with quote

Well, as you've most likely just upgraded perl, it's perl-cleaner time.
Back to top
View user's profile Send private message
queen
Veteran
Veteran


Joined: 19 Jul 2005
Posts: 1642

PostPosted: Fri Jul 11, 2014 12:56 pm    Post subject: Reply with quote

VoidMage wrote:
Well, as you've most likely just upgraded perl, it's perl-cleaner time.


Did that. And it solved the problem. It upgraded also File-MimeInfo


I wish this was so easy with qt upgrade.
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