[Bug 262940] textproc/libxml2 and textproc/py-libxml2: Revert back to GNU Autotools due to some curl dependencies?

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Apr 2022 05:52:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262940

--- Comment #12 from Daniel Engberg <diizzy@FreeBSD.org> ---
Update on current issues,

(lib)psl issue fixed as of
https://cgit.freebsd.org/ports/commit/?id=97e347a3a6aa4792eacaa10e6fbf41d8b8c73526

- GnuTLS dependencies -
If you go a few levels down like enabling DNSTRAP and further you'll run into
circular dependency depending on what options you enable even using Autotools
(tested) so changning back won't fix the issue. Some for example ends up having
ports depending on CMake which isn't available at the time and there are also
other libs/ports involved. This is probably why you don't see a Gnutls variant
in some distros or we add a note that you may run into circular dependencies by
enabling Gnutls and other features for ports that are dependencies (not the
best solution).

Irregardless on what route we take Gnutls and the TPM(1) option (which also
causes circular dependency) is probably something we should disable as
recommended by upstream and look at supporting TPM2.
https://www.gnutls.org/manual/html_node/Trusted-Platform-Module.html but
further discussion about this should be made in a for a separate PR (263107).

Upstream is very supportive, patches have been merged and issues have also been
resolved that we've submitted so I'd like to propose that we keep CMake and
backport upstream fixes and add symbol versioning back for now (upstream may
remove it later on though, https://gitlab.gnome.org/GNOME/libxml2/-/issues/360)

I'll prepare a patch during the weekend to collect all issue reported for
review.

Best regards,
Daniel

-- 
You are receiving this mail because:
You are the assignee for the bug.