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)

main.log (2.2 KB) - added by mouse07410 (Mouse) 10 years ago.
macports log

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by mouse07410 (Mouse)

Attachment: main.log added

macports log

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 installedpcsc-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 current default (perl5 +perl5_16).

sudo port selfupdate
sudo port install perl5 +perl5_16
sudo port install pcsc-tools
Last edited 10 years ago by dbevans (David B. Evans) (previous) (diff)

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?

Version 0, edited 10 years ago by mouse07410 (Mouse) (next)

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: newclosed

It should but if you have any further problems let us know.

Note: See TracTickets for help on using tickets.