Date: Thu, 21 Sep 2023 08:52:01 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: Dimitry Andric <dim@FreeBSD.org> Cc: dev-commits-ports-main@freebsd.org Subject: Re: git: e0acbd158ec9 - main - security/rhash: update to 1.4.4 and fix build with lld 17 Message-ID: <20230921085201.0480bc8978594e0f11d9cedc@dec.sakura.ne.jp>
next in thread | raw e-mail | index | archive | help
Hi. Ports dependig on this should be forcibly bumped, as shlib major version is bumped from librhash.so.0 to librhash.so.1 (1.4.4). For example, math/suitesparse-config fails as cmake, which depends on security/rhash, cannot find librhash.so.0 anymore on poudriere build. By grep'ping /usr/ports, 3 ports below dependson security/rhash. devel/cmake-gui devel/cmake-core misc/mbuffer (with OPTION RHASH enabled) For me, simply deleting pkg of devel/cmake-core helped, so bumping PORTREVISION for above 3 ports would be sufficient. An example of failure is as follows. =>> Building math/suitesparse-config build started at Thu Sep 21 07:42:08 JST 2023 port directory: /usr/ports/math/suitesparse-config package name: suitesparse-config-7.2.0 building for: FreeBSD 14amd64-default-job-01 14.0-STABLE FreeBSD 14.0-STABLE 1400500 amd64 maintained by: fortran@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 549 Jul 2 07:09 /usr/ports/math/suitesparse-config/Makefile Ports top last git commit: 049f2d665bf0 Ports top unclean checkout: yes Port dir last git commit: b2bd64292999 Port dir unclean checkout: no Poudriere version: poudriere-git-3.3.99.20220831 Host OSVERSION: 1400500 Jail OSVERSION: 1400500 Job Id: 01 (snip) =======================<phase: configure>============================ ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for suitesparse-config-7.2.0 ===> Performing in-source build /bin/mkdir -p /wrkdirs/usr/ports/math/suitesparse-config/work/SuiteSparse-7.2.0/SuiteSparse_config ld-elf.so.1: Shared object "librhash.so.0" not found, required by "cmake" *** Error code 1 Stop. make: stopped in /usr/ports/math/suitesparse-config =>> Cleaning up wrkdir ===> Cleaning for suitesparse-config-7.2.0 build of math/suitesparse-config | suitesparse-config-7.2.0 ended at Thu Sep 21 07:42:13 JST 2023 build time: 00:00:05 !!! build failure encountered !!! Regards. > The branch main has been updated by dim: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=e0acbd158ec92f50ecbf8932a57b9d7587564138 > > commit e0acbd158ec92f50ecbf8932a57b9d7587564138 > Author: Dimitry Andric <dim@FreeBSD.org> > AuthorDate: 2023-09-14 08:45:45 +0000 > Commit: Dimitry Andric <dim@FreeBSD.org> > CommitDate: 2023-09-20 20:12:31 +0000 > > security/rhash: update to 1.4.4 and fix build with lld 17 > > With lld 17, which has become more strict about undefined symbols in > version scripts, security/rhash fails to link its librhash.so: > > ld: error: version script assignment of 'global' to symbol 'rhash_wfile' failed: symbol not defined > > This has been fixed in https://github.com/rhash/RHash/commit/e4b8b92, > which was included in rhash 1.4.4, so update the port to that version. > > Unfortunately this also requires a bunch of follow-up build fixes: > * https://github.com/rhash/RHash/commit/c804982: fix assignment > * https://github.com/rhash/RHash/commit/9ef90b9: build on *BSD > * https://github.com/rhash/RHash/commit/b8c91ea: build on Unix > > PR: 273775 > Approved by: danfe (maintainer) > MFH: 2023Q3 > --- -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230921085201.0480bc8978594e0f11d9cedc>