Date: Sun, 27 Mar 2022 01:42:49 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Yasuhiro Kimura <yasu@FreeBSD.org> 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 Message-ID: <a6dc-ql86-wny@FreeBSD.org> In-Reply-To: <20220326.070901.887642314776104130.yasu@FreeBSD.org> (Yasuhiro Kimura's message of "Sat, 26 Mar 2022 07:09:01 %2B0900 (JST)") References: <202203251715.22PHF28Y016653@gitrepo.freebsd.org> <20220326.070901.887642314776104130.yasu@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Yasuhiro Kimura <yasu@FreeBSD.org> writes: > Hi Daniel, > > From: Daniel Engberg <diizzy@FreeBSD.org> > 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 <diizzy@FreeBSD.org> >> AuthorDate: 2022-03-25 16:51:30 +0000 >> Commit: Daniel Engberg <diizzy@FreeBSD.org> >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a6dc-ql86-wny>