Opened 4 years ago

Closed 10 months ago

Last modified 4 months ago

#62711 closed defect (fixed)

Base: port rdeps --full, infinite loop on circular dependency

Reported by: Dave-Allured (Dave Allured) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.10.0
Component: base Version: 2.6.4
Keywords: Cc: cooljeanius (Eric Gallager)
Port:

Description

This was first reported in port bug #62277 for py-attrs circular dependency. This is the bug report for rdeps in the base, not the port.

port rdeps --full py-attrs prints endlessly in infinite loop.
port rdeps py-attrs prints normally and shows 37 dependencies.

  • Base version 2.6.4
  • py-attrs @20.3.0_0
  • py-hypothesis @6.8.4_0
  • Mac OS 10.14.5
  • py-attrs --> py-hypothesis --> py-attrs
  • py-attrs is a normal library dependency of py-hypothesis.
  • py-hypothesis is a test dependency of py-attrs.

Requested base behavior:

  • Print warning message when circular dependency is first encountered.
  • Do not recurse into circular dependency.

Change History (5)

comment:1 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 49df406d8273f203d30186a77251a897f9d8ef79/macports-base (master):

rdeps --full: don't infinitely loop on circular deps

Fixes: #62711

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

Milestone: MacPorts Future

Note that the full rdeps of py-attrs are still close to 2 million lines with this fixed. Using --no-test makes it much more manageable.

comment:4 Changed 10 months ago by Dave-Allured (Dave Allured)

Thanks Joshua. 2 million lines -- that is impressive. I shall be forewarned!

comment:5 Changed 4 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.10.0
Note: See TracTickets for help on using tickets.