pkg/60027: circular dependencies (doxygen, among others)

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
>Number:         60027
>Category:       pkg
>Synopsis:       circular dependencies (doxygen, among others)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 22 07:15:00 +0000 2026
>Originator:     Robert Whitlock
>Release:        pkgsrc current, Sun Feb 22 07:01:01 UTC 2026
>Organization:
>Environment:
NetBSD 10.99.15
>Description:
A circular dependency was recently introduced into pkgsrc.
>How-To-Repeat:
cd devel/doxygen
make install

gets the output:

=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for doxygen-1.16.1.src.tar.gz
=> Checksum SHA512 OK for doxygen-1.16.1.src.tar.gz
===> Installing dependencies for doxygen-1.16.1nb1
==========================================================================
The supported build options for doxygen are:

	latex qt

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.doxygen (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
doxygen-1.16.1nb1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 313

Based on these variables, the following variables have been set:

        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-4.2.3nb1
=> Tool dependency python313>=3.13: found python313-3.13.12
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.35
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency graphviz-[0-9]*: NOT found
=> Verifying reinstall for ../../graphics/graphviz
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for graphviz-12.2.1.tar.xz
=> Checksum SHA512 OK for graphviz-12.2.1.tar.xz
===> Installing dependencies for graphviz-12.2.1nb8
==========================================================================
The supported build options for graphviz are:

	gd ghostscript lua poppler svg x11

The currently selected options are:

	gd x11

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.graphviz (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
graphviz-12.2.1nb8.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * PYTHON_VERSION_DEFAULT = 313
        * XAW_TYPE = standard

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo
        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.86.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency automake>=1.9: found automake-1.18
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.5.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency urw-fonts-[0-9]*: found urw-fonts-2.0nb1
=> Full dependency fontconfig>=2.17.0: found fontconfig-2.17.1nb1
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.14.1
=> Full dependency gd>=2.3.3nb17: NOT found
=> Verifying reinstall for ../../graphics/gd
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libgd-2.3.3.tar.xz
=> Checksum SHA512 OK for libgd-2.3.3.tar.xz
===> Installing dependencies for gd-2.3.3nb17
==========================================================================
The supported build options for gd are:

	libimagequant raqm tiff x11

The currently selected options are:

	libimagequant raqm tiff

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.gd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
gd-2.3.3nb17.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.86.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.5.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency perl>=5.0: found perl-5.42.0nb1
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.17.1nb1
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.14.1
=> Full dependency libimagequant>=4.2.0: found libimagequant-4.4.1
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.1.3
=> Full dependency libwebp>=0.6.0: found libwebp-1.6.0nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.55
=> Full dependency raqm>=0.10.3nb1: NOT found
=> Verifying reinstall for ../../graphics/raqm
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for raqm-0.10.4.tar.xz
=> Checksum SHA512 OK for raqm-0.10.4.tar.xz
===> Installing dependencies for raqm-0.10.4
=> Tool dependency meson>=0: found meson-1.10.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.86.4
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.5.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.14.1
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.16
=> Full dependency harfbuzz>=12.1.0nb1: NOT found
=> Verifying reinstall for ../../fonts/harfbuzz
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for harfbuzz-12.3.2.tar.xz
=> Checksum SHA512 OK for harfbuzz-12.3.2.tar.xz
===> Installing dependencies for harfbuzz-12.3.2nb1
==========================================================================
The supported build options for harfbuzz are:

	doc introspection

The currently selected options are:

	doc introspection

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.harfbuzz (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
harfbuzz-12.3.2nb1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 313

Based on these variables, the following variables have been set:

        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency gtk-doc>=1.32nb9: NOT found
=> Verifying reinstall for ../../textproc/gtk-doc
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gtk-doc-1.34.0.tar.xz
=> Checksum SHA512 OK for gtk-doc-1.34.0.tar.xz
===> Installing dependencies for gtk-doc-1.34.0nb7
==========================================================================
The following variables will affect the build process of this package,
gtk-doc-1.34.0nb7.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 313

Based on these variables, the following variables have been set:

        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.86.4
=> Tool dependency meson>=0.55: found meson-1.10.1
=> Tool dependency xmlcatmgr-[0-9]*: found xmlcatmgr-2.2nb1
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency itstool-[0-9]*: NOT found
=> Verifying reinstall for ../../textproc/itstool
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for itstool-2.0.7.tar.bz2
=> Checksum SHA512 OK for itstool-2.0.7.tar.bz2
===> Installing dependencies for itstool-2.0.7nb5
==========================================================================
The following variables will affect the build process of this package,
itstool-2.0.7nb5.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 313

Based on these variables, the following variables have been set:

        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency py313-libxml2>=2.10.4nb4: NOT found
=> Verifying reinstall for ../../textproc/py-libxml2
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libxml2-2.15.1.tar.xz
=> Checksum SHA512 OK for libxml2-2.15.1.tar.xz
===> Installing dependencies for py313-libxml2-2.15.1
==========================================================================
The following variables will affect the build process of this package,
py313-libxml2-2.15.1.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 313

Based on these variables, the following variables have been set:

        * PYPACKAGE = python313

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency doxygen-[0-9]*: NOT found
=> Verifying reinstall for ../../devel/doxygen
ERROR: [can-be-built-here.mk] This package has PKG_FAIL_REASON set:
ERROR: [bsd.pkg.mk] Circular dependency detected
*** Error code 1

Stop.
make[8]: stopped making "reinstall" in /usr/pkgsrc/devel/doxygen
*** Error code 1

Stop.
make[7]: stopped making "reinstall" in /usr/pkgsrc/textproc/py-libxml2
*** Error code 1

Stop.
make[6]: stopped making "reinstall" in /usr/pkgsrc/textproc/itstool
*** Error code 1

Stop.
make[5]: stopped making "reinstall" in /usr/pkgsrc/textproc/gtk-doc
*** Error code 1

Stop.
make[4]: stopped making "reinstall" in /usr/pkgsrc/fonts/harfbuzz
*** Error code 1

Stop.
make[3]: stopped making "reinstall" in /usr/pkgsrc/graphics/raqm
*** Error code 1

Stop.
make[2]: stopped making "reinstall" in /usr/pkgsrc/graphics/gd
*** Error code 1

Stop.
make[1]: stopped making "reinstall" in /usr/pkgsrc/graphics/graphviz
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/devel/doxygen
>Fix:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.