portmaster breaks with devel/glib20 and devel/gobject-introspection intent or neglect?

The error occurs because devel/glib20 and devel/gobject-introspection have a circular dependency: newer versions of glib require gobject-introspection to build, while gobject-introspection requires glib. This loop causes the build to fail when attempting to create the bootstrap marker file.

To resolve this, you must manually break the cycle by building the bootstrap flavor of glib first, which does not depend on gobject-introspection. Execute the following commands in sequence:

  1. Build the bootstrap version of glib to provide the necessary tools without the circular dependency:

    cd /usr/ports/devel/glib20
    make FLAVOR=bootstrap clean reinstall clean

  2. Build gobject-introspection now that the bootstrap glib tools are available:

    cd /usr/ports/devel/gobject-introspection
    make clean reinstall clean
  3. Rebuild the default version of glib to get the full package with introspection support:

    cd /usr/ports/devel/glib20
    make FLAVOR=default clean reinstall clean
 
Back
Top