Re: dependency loop

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Wed, 15 Mar 2023 03:31:10 UTC
In message <ZBEE35spwKeoKOVX@int21h>, void writes:
> Hello,
>
> I see the following in poudriere-devel:
>
> ###
> [00:06:13] Error: Dependency loop detected:
> These packages depend on each other: libgd-2.3.3_5,1 libheif-1.15.1 aom-3.6.0
>  libjxl-0.8.1 openexr-3.1.6 py39-breathe-4.35.0 doxygen-1
> .9.6,2 graphviz-7.1.0_3
> These packages depend on each other: libgd-2.3.3_5,1 libheif-1.15.1 aom-3.6.0
>  libjxl-0.8.1 openexr-3.1.6 py39-breathe-4.35.0 doxygen-1
> .9.6,2 texlive-base-20210325_13
> These packages depend on each other: texlive-base-20210325_13 libgd-2.3.3_5,1
>  libheif-1.15.1 aom-3.6.0 libjxl-0.8.1 openexr-3.1.6 py39
> -breathe-4.35.0 doxygen-1.9.6,2 tex-formats-20210325_1 texlive-texmf-20210325
> [132R-amd64-default] [2023-03-14_23h14m25s] [crashed:] Queued: 361 Built: 0  
>  Failed: 0   Skipped: 0   Ignored: 0   Fetched: 133 Tobui
> ld: 228  Time: 00:06:08
> ###
>
> Trying to build them one at a time results in the same error.
> How can this be fixed?

Tyically dependency loops (circular dependencies) are caused by selecting port option, i.e. make config, requesting ports depend on other ports, depending on others, which depend on others, which depend on the port in question. Reset your options for all ports in the dependency chain using make rmconfig.

Dependency loops never occur when using binary packages. Users are encouraged to use binary packages rather than building ports themselves.

Being conservative with port options, i.e. staying with the defaults, will always avoid this problem.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0