Opened 14 years ago
Closed 14 years ago
#28580 closed defect (fixed)
perl5+perl5_12 collides with p5-digest-sha on /opt/local/bin/shasum
Reported by: | pixilla (Bradley Giesbrecht) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ghosthound, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), jpo@…, ballapete (Peter "Pete" Dyballa) | |
Port: | perl5 |
Description
$ sudo port activate perl5 @5.12.3_0+perl5_12 ---> Computing dependencies for perl5 ---> Activating perl5 @5.12.3_0+perl5_12 Error: Target org.macports.activate returned: Image error: /opt/local/bin/shasum is being used by the active p5-digest-sha port.
Change History (6)
comment:1 Changed 14 years ago by jpo@…
comment:3 Changed 14 years ago by jpo@…
Here is a small list of other conflicts:
Port file versus perl core perl module ---------- p5-archive-tar (Archive::Tar was first released with perl v5.9.3) p5-compress-zlib (Compress::Zlib was first released with perl v5.9.3) p5-digest-sha (Digest::SHA was first released with perl v5.9.3) p5-extutils-parsexs (ExtUtils::ParseXS was first released with perl v5.8.9) p5-io-compress-base (IO::Compress::Base was first released with perl v5.9.4) p5-io-compress-zlib (IO::Compress::Zlib::Constants was first released with perl v5.9.4 IO::Compress::Zlib::Extra was first released with perl v5.9.4) p5-io-zlib (IO::Zlib was first released with perl v5.9.3) p5-module-build (Module::Build was first released with perl v5.9.4) p5-module-corelist (Module::CoreList was first released with perl v5.8.9) ---------- p5-io-compress-bzip2 (IO::Compress::Bzip2 was first released with perl v5.10.1) ----------
comment:5 Changed 14 years ago by ballapete (Peter "Pete" Dyballa)
I have a similar error from upgrading the outdated packages. This is from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/main.log:
version:1 :debug:activate activate phase started at Wed Mar 2 13:20:34 CET 2011 :debug:activate Executing org.macports.activate (perl5) :msg:activate ---> Activating perl5 @5.12.3_0+perl5_12 :error:activate Target org.macports.activate returned: Image error: /opt/local/bin/shasum already exists and does not belong to a registered port. Unable to activate port perl5. Use 'port -f activate perl5' to force the activation. :debug:activate Backtrace: Image error: /opt/local/bin/shasum already exists and does not belong to a registered port. Unable to activate port perl5. Use 'port -f activate perl5' to force the activation. while executing "_activate_contents $name $imagefiles $imagedir" (procedure "portimage::activate" line 110) invoked from within "registry_activate $name "${version}_${revision}${portvariants}" [array get user_options]" (procedure "portactivate::activate_main" line 6) invoked from within "$procedure $targetname" :error:activate Failed to install perl5 :notice:activate Log for perl5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/main.log
(Activated by applying some force.)
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The problem is that Digest::SHA is a core module since perl 5.9.3. Previously it was only provided by the port p5-digest-sha but now it is provided by perl5.10/perl5.12 port. This is related to p5-module-build problems reported in #24025.
Note: I believe that installing the port file p5-module-signature under perl 5.12 (and perl 5.10) will also fail due to the p5-digest-sha requirement.