Opened 10 years ago
Closed 10 years ago
#46737 closed defect (worksforme)
pcsc-tools: obsolete dependency prevents port from being installed
Reported by: | mouse07410 (Mouse) | Owned by: | db_macports@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | pcsc-tools |
Description (last modified by dbevans (David B. Evans))
Attempts to install pcsc-tools port fail, because the port explicitly lists dependency on p5.12-pcsc, while it has been replaced by p5.16-pcsc. Therefore p5.12-pcsc cannot be installed, therefore pcsc-tools fails to install.
$ sudo port install pcsc-tools ---> Computing dependencies for pcsc-tools ---> Dependencies to be installed: p5.12-pcsc ---> Configuring p5.12-pcsc Error: p5.12-pcsc has been made obsolete by the port p5.16-pcsc. Please install p5.16-pcsc instead. Error: org.macports.configure for port p5.12-pcsc returned: obsolete port Error: Failed to install p5.12-pcsc Please see the log file for port p5.12-pcsc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-graveyard/p5.12-pcsc/main.log Error: The following dependencies were not installed: p5.12-pcsc To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pcsc-tools failed
Attachments (1)
Change History (7)
Changed 10 years ago by mouse07410 (Mouse)
comment:1 Changed 10 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to db_macports@… |
Summary: | Obsolete dependency prevents port from being installed → pcsc-tools: obsolete dependency prevents port from being installed |
Version: | 2.3.3 |
Please use WikiFormatting when quoting text from log files and terminals for better readability and CC the port maintainer so he/she will be notified.
comment:2 Changed 10 years ago by dbevans (David B. Evans)
pcsc-tools now selects it's perl dependencies based on what variant of perl5 is installed. I suspect you have perl5 +perl5_12
.
Make sure your ports are up to date and try installing the default (perl5 +perl5_16
).
comment:3 Changed 10 years ago by mouse07410 (Mouse)
This is what I have:
$ port installed perl* The following ports are currently installed: perl5 @5.12.4_0+perl5_12 (active) perl5.12 @5.12.5_0+universal (active) perl5.16 @5.16.3_1+universal (active) perl_select @0.3_0 (active) $ port select --list perl Available versions for perl: none perl5.12-apple.13 perl5.16-apple.13 (active) $
Based on it, what would you recommend?
Following your instructions, I got the following:
Error: Unrecognized action "port deendents" $ sudo port dependents perl5.12 perl5 depends on perl5.12 $ sudo port install perl5 +perl5_16 ---> Computing dependencies for perl5 ---> Fetching archive for perl5 ---> Attempting to fetch perl5-5.12.4_0+perl5_16.darwin_13.noarch.tbz2 from http://packages.macports.org/perl5 ---> Attempting to fetch perl5-5.12.4_0+perl5_16.darwin_13.noarch.tbz2.rmd160 from http://packages.macports.org/perl5 ---> Installing perl5 @5.12.4_0+perl5_16 ---> Deactivating perl5 @5.12.4_0+perl5_12 ---> Cleaning perl5 ---> Activating perl5 @5.12.4_0+perl5_16 ---> Cleaning perl5 ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. $ sudo port dependents perl5.12 perl5 depends on perl5.12 $ sudo port install pcsc-tools ---> Computing dependencies for pcsc-tools ---> Fetching archive for pcsc-tools ---> Attempting to fetch pcsc-tools-1.4.22_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/pcsc-tools ---> Attempting to fetch pcsc-tools-1.4.22_0.darwin_13.x86_64.tbz2.rmd160 from http://packages.macports.org/pcsc-tools ---> Installing pcsc-tools @1.4.22_0 ---> Activating pcsc-tools @1.4.22_0 ---> Cleaning pcsc-tools ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
So while it appears that perl still somehow relies upon perl5.12, pcsc-tools not installed smoothly.
Thanks!
P.S. I'd be grateful if you could tell me whether it would be safe to get rid of perl5.12 (and if so - how), and whether it would make sense. Here's what makes me concerned:
$ port dependents perl5.12 perl5 depends on perl5.12 $ port dependents perl5 autoconf depends on perl5 autoconf213 depends on perl5 automake depends on perl5 clang-3.5 depends on perl5 ghostscript depends on perl5 glib2 depends on perl5 llvm-3.5 depends on perl5 openldap depends on perl5 ps2eps depends on perl5 swig-perl depends on perl5 texi2html depends on perl5
comment:4 Changed 10 years ago by dbevans (David B. Evans)
You have two versions of perl5 installed right now
perl5 @5.12.4_0+perl5_12 (not active, dependss on perl5.12 perl5 @5.12.4_0+perl5_16 (active, depends on perl5.16)
and two perl versions
perl5.12 @5.12.5_0+universal (active) perl5.16 @5.16.3_1+universal (active)
The perl5 version is confusing as it is always (for historical reasons) 5.12.4. The variant is the one that tells you which perl version is being used.
So to uninstall perl5.12 you just need to do this
sudo port uninstall perl5 @5.12.4_0+perl5_12 sudo port uninstall perl5.12 @5.12.5_0+universal
that should leave you with the following installed and active
perl5 @5.12.4_0+perl5_16 perl5.16 @5.16.3_1+universal
comment:5 Changed 10 years ago by mouse07410 (Mouse)
Thank you! Did exactly as you suggested, saw the output you said should be there. Hope it takes care of my problem with perl. ;)
comment:6 Changed 10 years ago by dbevans (David B. Evans)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
It should but if you have any further problems let us know.
macports log