From nobody Wed Sep 20 23:52:01 2023 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 4Rrb1529GPz4vLYT for ; Wed, 20 Sep 2023 23:52:09 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Rrb133620z4fyM; Wed, 20 Sep 2023 23:52:06 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-80-101.area1b.commufa.jp [123.1.80.101]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 38KNq1p4054109; Thu, 21 Sep 2023 08:52:01 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Thu, 21 Sep 2023 08:52:01 +0900 From: Tomoaki AOKI To: Dimitry Andric 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> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: + X-Spamd-Result: default: False [1.15 / 15.00]; FAKE_REPLY(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; NEURAL_HAM_LONG(-0.58)[-0.584]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.20)[0.204]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; DMARC_NA(0.00)[sakura.ne.jp]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-main@freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[] X-Rspamd-Queue-Id: 4Rrb133620z4fyM 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) =================================================== ===== 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 > AuthorDate: 2023-09-14 08:45:45 +0000 > Commit: Dimitry Andric > 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