several ports cannot be installed due to a Perl circular dependency hell...

Kenneth Wolcott kennethwolcott at gmail.com
Mon Sep 23 22:49:22 UTC 2024


Here's the tail-end of an attempt to install gnuplot from source
(similar results from trying to install octave, maxima and others):

Error: The following dependencies were not installed because all of
them have unmet dependencies (likely due to a dependency cycle): gd2
libheif aom git p5.34-authen-sasl p5.34-net-smtp-ssl p5.34-cgi
p5.34-pod-coverage-trustpod p5.34-test-simple 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-cpan-meta-check 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-io-socket-ssl
p5.34-io-socket-ip p5.34-uri p5.34-html-parser p5.34-html-tagset
p5.34-http-message p5.34-clone p5.34-b-cow
DEBUG: gd2 requires: libheif
DEBUG: libheif requires: aom
DEBUG: aom requires: git
DEBUG: git requires: p5.34-authen-sasl p5.34-net-smtp-ssl p5.34-cgi
DEBUG: p5.34-authen-sasl requires: p5.34-pod-coverage-trustpod p5.34-test-simple
DEBUG: p5.34-net-smtp-ssl requires: p5.34-io-socket-ssl
DEBUG: p5.34-cgi requires: p5.34-test-simple p5.34-html-parser p5.34-uri
DEBUG: p5.34-pod-coverage-trustpod requires: p5.34-test-simple
p5.34-pod-eventual
DEBUG: p5.34-test-simple requires: p5.34-module-pluggable
DEBUG: p5.34-pod-eventual requires: p5.34-test-simple p5.34-mixin-linewise
DEBUG: p5.34-mixin-linewise requires: p5.34-sub-exporter
DEBUG: p5.34-sub-exporter requires: p5.34-data-optlist p5.34-params-util
DEBUG: p5.34-data-optlist requires: p5.34-params-util
DEBUG: p5.34-params-util requires: p5.34-config-autoconf p5.34-test-simple
DEBUG: p5.34-config-autoconf requires: p5.34-file-slurper
DEBUG: p5.34-file-slurper requires: p5.34-test-warnings
DEBUG: p5.34-test-warnings requires: p5.34-cpan-meta-check
DEBUG: p5.34-cpan-meta-check requires: p5.34-test-simple
DEBUG: p5.34-module-pluggable requires: p5.34-module-runtime
DEBUG: p5.34-module-runtime requires: p5.34-module-build
DEBUG: p5.34-module-build requires: p5.34-software-license
DEBUG: p5.34-software-license requires: p5.34-data-section p5.34-text-template
DEBUG: p5.34-data-section requires: p5.34-sub-exporter
DEBUG: p5.34-text-template requires: p5.34-test-warnings
DEBUG: p5.34-io-socket-ssl requires: p5.34-io-socket-ip p5.34-uri
DEBUG: p5.34-io-socket-ip requires: p5.34-module-build
DEBUG: p5.34-uri requires: p5.34-test-simple p5.34-test-warnings
DEBUG: p5.34-html-parser requires: p5.34-html-tagset
p5.34-http-message p5.34-uri
DEBUG: p5.34-html-tagset requires: p5.34-test-simple
DEBUG: p5.34-http-message requires: p5.34-test-simple p5.34-clone p5.34-uri
DEBUG: p5.34-clone requires: p5.34-b-cow p5.34-test-simple
DEBUG: p5.34-b-cow requires: p5.34-test-simple
Error: Follow https://guide.macports.org/#project.tickets if you
believe there is a bug.
Error: Processing of port gnuplot failed

On Fri, Sep 20, 2024 at 2:39 PM Daniel J. Luke <dluke at geeklair.net> wrote:
>
> On Sep 20, 2024, at 4:45 PM, Kenneth Wolcott <kennethwolcott at gmail.com> wrote:
> >  I don't think that I, as a MacPorts consumer (not developer) ,
> > should not have to do anything other than port commands to get around
> > this issue...even if I indirectly caused the problem by trying
> > deparately to install my way out of the issue...
>
> As far as I'm aware, dependencies are intended to be an acyclic graph.
>
> If there's a cycle, I'd say that's a bug and it would be reasonable to create a ticket so the maintainer(s) can fix it.
>
> > If there is a port that I should uninstall that would break this
> > circular dependency hell, then please show me which one (or ones) will
> > solve the problem.  I suppose that I could try to list all my desired
> > ports as requested then uninstall everything and re-install?
>
> That's older migration method (and would be a reasonable thing to try).
>
> --
> Daniel J. Luke
>


More information about the macports-users mailing list