From nobody Wed Apr 06 15:28:39 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 6BB901A8324C for ; Wed, 6 Apr 2022 15:28:40 +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 4KYT1g43Mfz3sH2 for ; Wed, 6 Apr 2022 15:28:39 +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 643BA1DA2C for ; Wed, 6 Apr 2022 15:28:39 +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 236FSdQk013217 for ; Wed, 6 Apr 2022 15:28:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 236FSdWY013216 for desktop@FreeBSD.org; Wed, 6 Apr 2022 15:28:39 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 263094] textproc/libxml2: incorrect LIBXML_VERSION_STRING in 2.9.13 Date: Wed, 06 Apr 2022 15:28:39 +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 Many People 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=1649258919; 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=JwFj/nF8gwd8nhxC7kgZ2qBUp5EYui89TKNzycHKnkg=; b=LWUvAneQY+9xNxZDHFsOaF71T1Hbq5I/Vhh5xifV6g7hI8500X6GkAEndBz17Xfu+uI7sa eymZvjk9XiYHJNk27k6S93kMiKC6N6rEpqcXtnpUIgAJiRlQVkzq9lA+2GvKebXgc8VTUw Enbar2rLID/CIV34Do2Bm8WfW1F/JcbyCz95YJBA9ddUk9ZJYYQAgMj85FbPXUq6ZGRcRP 2D7bePa+Jl5WVrHnQvAmJTV7ct0bSB79U0UIMV0BAC2zpRkr8H6eFGeN9GjIxzNj5u56zR HW+TamikfTDJVR9M69lUxQN2bX1TmoIiJwudQS8bZ2DKaU0bdASvaiZp4rY3LQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649258919; a=rsa-sha256; cv=none; b=V9spUq01bL6QLqtFV7wkZ4yQzucrcqHRq7z4F630RxKM0zvLUlaDpWxGEGkxrTdgAtTc2T 7mKAUSswLzdagSnFj9QYjRNVKwbWXLGtsKBjSBX5s6yxFWmTZm0rPBPxfg6ONUpE+du60S 4i7xWzHS8wx8Nutf2MUzugCVGpKwQmPwBo/me/IZOcE56UHJzYPsv5FNKEykeTt8RWlHJs IEtsf4u4HOzmyk9a5zYgF684PGnw6c/3fwdXhMRqYEGO1iIgC7FmRccKDNAg6dhxSxHo+6 YZCXP3aZSx/EQVd1E2ai2UVKNeKg18yMRgoCEBbFHeO9fe6GVnYVXbSV8Gv4zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-desktop (Team) for maintainer-feedback: Bug 263094: textproc/libxml2: incorrect LIBXML_VERSION_STRING in 2.9.13 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263094 --- Description --- On FreeBSD 13, the `libxml2-2.9.13` package has an unexpected value in the `xmlParserVersion` global variable. Expected: "20913" Actual: "209013" (note the additional "0" between the "9" and "13"). For comparison, in the `libxml2-2.9.12` package this value was correctly se= t to "20912". Looking at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262288 this appears to be happening because of this diff: ``` /** * LIBXML_VERSION: * * the version number: 1.2.3 value is 10203 */ -#define LIBXML_VERSION 20912 +#define LIBXML_VERSION 209013 /** * LIBXML_VERSION_STRING: * * the version number string, 1.2.3 value is "10203" */ -#define LIBXML_VERSION_STRING "20912" +#define LIBXML_VERSION_STRING "209013" ``` (see https://bz-attachments.freebsd.org/attachment.cgi?id=3D232326 for the = full diff) I'm not sure why this has happened, but it's not uncommon for downstream us= ers of libxml2 to sanity-check this string to make sure the version dynamically loaded is the same version that was compiled. See https://github.com/sparklemotion/nokogiri/issues/2506 for an example. I'd like to suggest that these strings should be set to "20913" in the next release of the package. Thank you!