From nobody Wed Mar 30 15:26:12 2022 X-Original-To: desktop@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E4C991A4E0CA for ; Wed, 30 Mar 2022 15:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KT9J42FdPz3Pnk for ; Wed, 30 Mar 2022 15:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2D2A215C88 for ; Wed, 30 Mar 2022 15:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22UFQCsS036200 for ; Wed, 30 Mar 2022 15:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22UFQC5q036199 for desktop@FreeBSD.org; Wed, 30 Mar 2022 15:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 262940] textproc/libxml2 and textproc/py-libxml2: Revert back to GNU Autotools due to some curl dependencies? Date: Wed, 30 Mar 2022 15:26:12 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648653972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s4Pks0ZMtID8mILU+gHg+irxN4kyjNRXA0+xjWf77To=; b=QsyxBHjx5VVosbNTm0E6PSI3gwpSYpAkPgiwrdpe6B31NZiIcu+MuSgRfCZUz7qWzMFpmN jMOx61J5NiqjUY2xBpHKDM/HLg4jfWtTDxCn02FGCOSuW9sVKWtr4IreLVwDPAAD09XojW vqIGgzSPAyGvBUOtfU2sJSfzDoHzSx6EKKO/GqMYHyfJ3UL6E5N9P/DZZPdkl6NFrqFMYU flFO4ht922eI0e7TIe6CuvWZn6oBpyTI/QZ0my/SSHfnQWecNAMZTKAfV3VnFK3V1H+4tC k4Z1s8OGbFXWEsSgGgFo8K/nLiPdV2XIZW9jVKyCoySmJ0d8o5PNNkVAhBkTaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648653972; a=rsa-sha256; cv=none; b=SCIS24A/hmLYGMjV94Agl4YzrAwPMjMi1jCJLYJiQqH73C9s+m1uQ83p72obpQUOmvSIWa /H8mwMWHnejj8CHbgHzI61gr2Hwpavp2FX1/vGvg9gqSr+KI/LyGoY9ycg5/RAPbaQyWry 9bbXrq0mn+uU6Hkl8Q5VoC0ZzQ/MeH0PiBXfxrFCWzN1aGngqLmozVOaficsppp9A3XMkv uZUMXWy3N67gY7X1iz2aD2hkUOwOc8+V3jGACvMo3uEI1AEUUBxkTrNsOsylQXLmjm19Ft 6WcXdUQ5gxNoE9NIjoOErLPAkA+oYJwagSbKJ7HDtww53D3bw/Mn6ezOqA9ZaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-desktop (Team) for maintainer-feedback: Bug 262940: textproc/libxml2 and textproc/py-libxml2: Revert back to GNU Autotools due to some curl dependencies? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262940 --- Description --- Unfortunately the change to CMake causes circular dependency for some non default options in (lib)curl that I missed during testing. Examples : textproc/libxslt depends on --> textproc/libxml2 textproc/libxml2 depends on --> devel/cmake (currently) devel/cmake depends on --> ftp/curl Circular issues I found looking at it closer: (lib)psl option in curl depends on libxslt gnutls option in curl depends on (lib)unbound via DANE option (non default option), (lib)unbound depends on protobuf-c via DNSTRAP option (non default option) which depends on cmake gnutls also depends on trousers via TPM option (default), trousers depends = on tpm-emulator which depends on cmake Based on the information above I used repology to look at others distros an= d it looks like this: Alpine Linux --> no libpsl (hardset), openssl (no option to change crypto l= ib) Arch Linux --> libpsl (by default), openssl (no option to change crypto lib) Debian --> libpsl (by default), gnutls flavour (offers gnutls with dane support, no tpm support (hardset)), builds unbound with protobuf support Fedora --> libpsl (full package only), openssl (no option to change crypto = lib) Gentoo --> no libpsl (hardset), gnutls flavour (offers gnutls with dane support, no tpm support (hardset)), builds unbound with protobuf support OpenBSD --> no libpsl (hardset), open/libretls (no option to change crypto = lib) OpenSUSE --> libpsl (by default), openssl and nss flavours One option would be to at least for now disable those two conflicting optio= ns if its acceptable to limit some functionality (which is up to the maintaine= r to decide in the end imo).=20 While it might not add much to the decision making upstream have expressed = some struggles with Autotools such as here https://gitlab.gnome.org/GNOME/libxslt/-/issues/36#note_765202 although wan= ts to keep it as preferred option for Unix https://gitlab.gnome.org/GNOME/libxml2/-/issues/360 . However upstream is a= lso willing to accept patches to improve both build systems (I have submitted f= ew simple ones). Meanwhile I've tried to clean up the port to the best of my ability but I'd appreciate a review or two if we device to go back. Sorry but the issues caused by this change but as they say, you learn from = your mistakes. Compile tested on FreeBSD 13.0-STABLE #2 stable/13-n248607-93a95ebbf7c (amd= 64) (make, make check-plist) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 13.0-RELEASE (i386) This also includes py-libxml2 Tested ports (consumers): devel/glib20 devel/libnotify dns/libpsl graphics/wayland irc/bitlbee mail/neomutt security/libsecret security/p11-kit textproc/xmlto audio/icecast devel/tclxml net/yaz devel/libaravis