From nobody Wed Apr 06 15:28:39 2022 X-Original-To: ports-bugs@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 716D61A831F1 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 4KYT1h0Vfqz3sJy for ; Wed, 6 Apr 2022 15:28:40 +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 83F621D462 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 236FSdPn013221 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 236FSdGW013220 for ports-bugs@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 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263094] textproc/libxml2: incorrect LIBXML_VERSION_STRING in 2.9.13 Date: Wed, 06 Apr 2022 15:28:39 +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 Many People X-Bugzilla-Who: mike.dalessio@gmail.com 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 flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649258920; 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=S7s6qfD5VoppTzGqYETBd8R0vuhEk83MKEpuyZElxm0=; b=EhJ+L+1k5+9Gr3hR6M94xvo8Ify47ueTCCOQ2+9aLIV/GCGW0wJGMG1Be4zE78WJTb/gmC Gw6JswvJZFO9z9gzLjiubXiMziZwGD1K3nJhsa6q3EZnQm7rissW76pPoI/rAZSgRbk/X9 ACKTRuKXkDIjmJYmiXmS6xe6NycW+paKvaz1j5h03Xmr10Av5R4zQZ++TtAkGSjvBQiVBP nPdF0A7k557vPv9rjXiRsPS5CIw5iATX3e8sjyzFlo4uVL7Wq56kFiZl0ILMcRu4HAzjq3 5W2G1tz45JHeKoo4KjmT02aPHqFSHFCgwNHa9oZa4LCaTvjDPmgq6Oq0QRpc3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649258920; a=rsa-sha256; cv=none; b=aXC9c8iBpPpUfxKpYQmTzbtFIQWr7IdSP/yFvOax2mmVANiqFpGztlUkXw4XErwd6bHFGM HcRtN0ekGupGVSA8s7ulL5oqblnf6YwGRCPc4ehzoKRb6y7TeDoCoL2RrbczWaHkVvsb8u 3JQXoBFawXzm04YYFc0tEtIwQ+1d1mi3KZeqco/JJgFCCCob1ZLtKZYvSyODW7UFQ06oS6 oqjF+o32+oB60054s3j2FCsyebqR4zqeVRkYmcZh4fM/3YJ9HjuhpLZs0/urrVlELv0192 1yAwyiiyv9TVWXI4iYBA0zsEu9UJpwlV5blG0AeVTMMpIhvRaNNR/hn9ccSbSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263094 Bug ID: 263094 Summary: textproc/libxml2: incorrect LIBXML_VERSION_STRING in 2.9.13 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: mike.dalessio@gmail.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) 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! --=20 You are receiving this mail because: You are the assignee for the bug.=