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 C16AF1A4DE6C for ; Wed, 30 Mar 2022 15:26:13 +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 4KT9J43r4Xz3Pnq 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 60B9515D02 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 22UFQCnO036206 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 22UFQCI6036205 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 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [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-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None 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: diizzy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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; bh=w/5NSn9H1tO+AIDWvKotA60NdgbkLfwbDj1Y3CsAA5A=; b=eCKj5BfOI10jZ6IaxJaDOHEG9MGqW16c1OqSdvGVLV5qLydfgkx4/Rjz7qBQqwDZOc97AS 8bccDfyJqZfSPH7OoahiHsCG7OOZacdCerGL1mmXhuFWIc7VTHpLW1aJh/m/LVNzOcdE0R R0bro3/zGXNbYpdSh6AF1YwpAblJaCfX5yKw3W736TjGy2rbrgzyLd0sSZLJF0WxwiDrIl GHbXBPPSqy74mgHuigQgDHGrmZRORtdEll89WdVVypzGLjSNIfTNzYgQik5wS4FtAal32l xT2awYo8IIonQFP3Kft9eSGEv60gQg/2mb8pB9hxqxd52+M08KG/+RetH7eaiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648653972; a=rsa-sha256; cv=none; b=XfTxLqmSFcOoOTUV9wc4bWz0fk+0wMzHXyrJiZlgdv8BcYLJVMBvxJRcQXE4Wi5P5aZfaB LrJq1dBRbGRLtY04UOoMduCGlnGGKS3QTx269f82mkAI1cz8V7MHh47PEsRyyuKkdtcn9X dQ9yKPtOqisL8kEg5rY+vGxhM21R7Nqoil8PVmm6jG1bdAAyFuZVJngFwEQ9q9YiVKrxaH VDHJ1142zmbXfrPpuMzk3rJW4/ONt5WcwS1phX6egFjlkTfWM5R6nR9do9j0yW/vaMmb/d Ft2NzfbQuKSw/OGMzA/GVwQJjEiyEJ6kfoqSixMi4uKWYs3IbXa1uNNktiqFmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262940 Bug ID: 262940 Summary: textproc/libxml2 and textproc/py-libxml2: Revert back to GNU Autotools due to some curl dependencies? Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: diizzy@FreeBSD.org CC: jbeich@FreeBSD.org, mandree@FreeBSD.org, sunpoet@FreeBSD.org, tcberner@freebsd.org, tijl@FreeBSD.org, yasu@freebsd.org Flags: maintainer-feedback?(desktop@FreeBSD.org) Created attachment 232821 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232821&action= =3Dedit Patch for libxml2 and py-libxml2 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 --=20 You are receiving this mail because: You are the assignee for the bug.=