Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2023 20:31:10 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: dependency loop
Message-ID:  <20230315033110.AE3651F9@slippy.cwsent.com>
In-Reply-To: <ZBEE35spwKeoKOVX@int21h>
References:  <ZBEE35spwKeoKOVX@int21h>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230315033110.AE3651F9>