Opened 3 months ago

Closed 3 months ago

#69314 closed defect (duplicate)

p5.34-sub-exporter: has a circular dependency

Reported by: lukaso (Lukas Oberhuber) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: p5.34-sub-exporter

Description

Here's the error:

--->  Computing dependencies for ffmpeg
--->  Dependencies to be installed: aom git p5.34-authen-sasl p5.34-pod-coverage-trustpod p5.34-pod-eventual p5.34-mixin-linewise p5.34-sub-exporter p5.34-data-optlist p5.34-params-util p5.34-config-autoconf p5.34-file-slurper p5.34-test-warnings p5.34-test2-suite p5.34-module-pluggable p5.34-module-runtime p5.34-module-build p5.34-software-license p5.34-data-section p5.34-text-template p5.34-cgi p5.34-html-parser p5.34-http-message p5.34-uri p5.34-net-smtp-ssl p5.34-io-socket-ssl p5.34-io-socket-ip
Error: The following dependencies were not installed because all of them have unmet dependencies (likely due to a dependency cycle): aom git p5.34-authen-sasl p5.34-pod-coverage-trustpod p5.34-pod-eventual p5.34-mixin-linewise p5.34-sub-exporter p5.34-data-optlist p5.34-params-util p5.34-config-autoconf p5.34-file-slurper p5.34-test-warnings p5.34-test2-suite p5.34-module-pluggable p5.34-module-runtime p5.34-module-build p5.34-software-license p5.34-data-section p5.34-text-template p5.34-cgi p5.34-html-parser p5.34-http-message p5.34-uri p5.34-net-smtp-ssl p5.34-io-socket-ssl p5.34-io-socket-ip

And then here's the output of a script that tries to find circular dependencies:

Graph has a circular dependency: p5.34-sub-exporter -> p5.34-data-optlist -> p5.34-params-util -> p5.34-config-autoconf -> p5.34-file-slurper -> p5.34-test-warnings -> p5.34-test2-suite -> p5.34-module-pluggable -> p5.34-module-runtime -> p5.34-module-build -> p5.34-software-license -> p5.34-data-section -> p5.34-sub-exporter
Graph has a circular dependency: p5.34-test-warnings -> p5.34-test2-suite -> p5.34-module-pluggable -> p5.34-module-runtime -> p5.34-module-build -> p5.34-software-license -> p5.34-data-section -> p5.34-sub-exporter -> p5.34-data-optlist -> p5.34-params-util -> p5.34-config-autoconf -> p5.34-file-slurper -> p5.34-test-warnings

Attachments (1)

macports_dependency_cycles.py (3.5 KB) - added by lukaso (Lukas Oberhuber) 3 months ago.
Script to show dependency cycles

Download all attachments as: .zip

Change History (4)

Changed 3 months ago by lukaso (Lukas Oberhuber)

Script to show dependency cycles

comment:1 Changed 3 months ago by lukaso (Lukas Oberhuber)

I've attached the script I used to find the cycles, as I'm not sure the algorithm should be using all the dependencies it does.

comment:2 Changed 3 months ago by jw7519

I'm seeing the same issue, I think...

$ sudo port install p5.34-module-runtime
--->  Computing dependencies for p5.34-module-runtime
The following dependencies will be installed:
 p5.34-module-build
 p5.34-module-pluggable
 p5.34-module-runtime
 p5.34-software-license
 p5.34-test-warnings
 p5.34-test2-suite
 p5.34-text-template
Continue? [Y/n]: y
Error: The following dependencies were not installed because all of them have unmet dependencies (likely due to a dependency cycle): p5.34-module-build p5.34-software-license p5.34-text-template p5.34-test-warnings p5.34-test2-suite p5.34-module-pluggable p5.34-module-runtime
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port p5.34-module-runtime failed

comment:3 Changed 3 months ago by jmroot (Joshua Root)

Cc: dbevans added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.