From nobody Sun Mar 27 00:42:49 2022 X-Original-To: dev-commits-ports-main@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 52EB01A3CD9E; Sun, 27 Mar 2022 00:42:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQxrF1tfMz4nqv; Sun, 27 Mar 2022 00:42:53 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648341773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ciJ/HrY6s+5IgplzG4LOUREEUyqE5NCUQQ+DmsYpzhw=; b=IYKwQPfAxWDrtryyd/77JGhtUky0+fvqzGpHaHJazUJUDMp3BObzmXue7or+Cw8WZMmYVN F8DlzDML0kLGkh7sBTAP+eOuaUeZzTCFJf9SXSpsbj8fV2YjM9LTt1t2R0SjcCZ26kgJJX Zur1+tfaUiyzVK/qvfMh4VIN6J9bSBxKRiWc7RGafwMZfiKk18ib/6S6RVnlkL/XB8OUTD mt+8PkPxxOPM2XXdxmMGNZVuu5KPzwOsRXL8QgLWBvFoHH/Pggz97mjeXz/OufuvmKVa4y 5uU1qWKnqBQL2xwgktbcg2rkuG+8gd2g0Leiuaic7XZPDan+KccHTpeM9KkFfg== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 2662514796; Sun, 27 Mar 2022 00:42:53 +0000 (UTC) From: Jan Beich To: Yasuhiro Kimura Cc: diizzy@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: a13ec21cd733 - main - textproc/libxml2: Update to 2.9.13 and migrate to CMake References: <202203251715.22PHF28Y016653@gitrepo.freebsd.org> <20220326.070901.887642314776104130.yasu@FreeBSD.org> Date: Sun, 27 Mar 2022 01:42:49 +0100 In-Reply-To: <20220326.070901.887642314776104130.yasu@FreeBSD.org> (Yasuhiro Kimura's message of "Sat, 26 Mar 2022 07:09:01 +0900 (JST)") Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648341773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ciJ/HrY6s+5IgplzG4LOUREEUyqE5NCUQQ+DmsYpzhw=; b=VLcYhlWsR/gHxykumTjoC+t8frTjX+tcjB20XD/gKlXI/nD+a8BBdD+mlER8k/N4fr+ANh q5JlxRZ9l2Pk5hTPz69pbJ62lgukVVcs+duSI7HL4lv/f+qEC/ySIDfeK/Qkzytphg0MG1 ztBjFts+1KTn5wkljhvW4vO9wAGqZrWEsp097sy/pfndkWpKXvxee5JfMAdGKziDYgwnLG RPl/Uw/0fDJ8yCAJ+h8rJakRwciEQWt2i1/A9NOVYtKtUqpV11dHPsAdC6ukASL7y9pexc 7GwYRMunhLnZVJgszaRW4+775SPlwCk1sj1P1PGu2OKQuiGQFzae90jwZEFRbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648341773; a=rsa-sha256; cv=none; b=XKjJgQUOdu4QaAue/dpbqlxzdmbrbmR37e5mqeOb+qT/n4fZ7dQbDFDcmfmiCWetfKdWNC FyNZpICwF706Ov0Tfb/SGC9/NTuyi56kJxhhjhwqCJq9i8qsPrZLRJDRfAklQC8iCb8ens XgBIqTLiaBFqr/Kjq5fPN/GGKxygNbDJ6AE3ikgVChFo1YCg11iSpfW0Kx/APhnzZq8ShW jBSpgZHO/3vpqLodHhXaO0709IPiLsIeBhKCdztxoms0CWVZ6+ZG62nSV/rMupaO+vAETV MEpyknmSzwnYs71e4fkwBYr/fIt2XO8z6EWOoW6Vjwa8CyzOyZJNWI7s944Bpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Yasuhiro Kimura writes: > Hi Daniel, > > From: Daniel Engberg > Subject: git: a13ec21cd733 - main - textproc/libxml2: Update to 2.9.13 and migrate to CMake > Date: Fri, 25 Mar 2022 17:15:02 GMT > >> The branch main has been updated by diizzy: >> >> URL: https://cgit.FreeBSD.org/ports/commit/?id=a13ec21cd733f67a9fc0dc00ab45268bdc236246 >> >> commit a13ec21cd733f67a9fc0dc00ab45268bdc236246 >> Author: Daniel Engberg >> AuthorDate: 2022-03-25 16:51:30 +0000 >> Commit: Daniel Engberg >> CommitDate: 2022-03-25 17:14:39 +0000 >> >> textproc/libxml2: Update to 2.9.13 and migrate to CMake >> >> Depend on ICU and (lib)readline to follow other distros >> >> Changelog: https://gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.13 >> >> I'd like to thank both tcberner and mandree for reviewing, >> suggesting improvements and helping out in general. I'd also like >> thank antoine for doing exp-runs. >> >> PR: 262288 >> Reviewed by: tcberner, mandree >> Approved by: desktop (tcberner) >> Differential Revision: https://reviews.freebsd.org/D34338 >> Exp-run by: antoine > > After libxml2.so is updated runtime error such as following happens > with consumers. > > yasu@rolling-vm-freebsd2[1015]% dig > ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.6.0 required by /usr/local/bin/dig not defined > yasu@rolling-vm-freebsd2[1016]% > > And it is fixed by rebuilding them. > > So PORTREVISION of all consumers need to be bumped. While bumped in 247c7db7513f the actual issue is missing symbol versioning due to switch from autotools to cmake. For example, LIBXML2_2.6.0 is defined in libxml2.syms but only Makefile.am uses it via -Wl,--version-script. Other distros still use autotools, so didn't experience the ABI break. See also https://wiki.freebsd.org/SymbolVersioning for a FreeBSD example