From nobody Fri Oct 06 17:50:56 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 4S2GDw6mCLz4w0dp; Fri, 6 Oct 2023 17:50:56 +0000 (UTC) (envelope-from git@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 4S2GDw5pt6z4cr4; Fri, 6 Oct 2023 17:50:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696614656; 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=1fdavl9p0pXiTpsNk1quo42QXUCrK8lZl3ZqT1dA9Tk=; b=w4UCNcOwcnbXzn7mSmmp57xkbu7+RyvRtHC/MwEWwON6NKCPGT9LX2K/0lS+xMOzbgOCs9 zWm7YCwqaKn2KXJWA5nItJBh6Wz4L7sx0eV/MH0UVx3S6Xmp8UDjzSj8lvMGZIWhlfygOn OBVlFrqytBPkie6fwlLlgZRBJonJIUEpQxg/Kwihr4flWfKn0B+tzrXeqH1CDD7YkGY/13 B2QanMl+O0Z17f2ZR9v4OdtI8YsnLWySX+v2qpWJRvHZItDhW7JUzIltPLLmCTLD3Eyaz2 ohq+Ix4562j7DOtkW/B+RY6i0Z0aZF/TkWz2AndZHVe4pNQTgZYzIjE8gFf+vg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696614656; a=rsa-sha256; cv=none; b=jcsaQGlt9QIB32V2hEnbyuLv2f7nwCLFv8bW8XugeZEixzpc1OxUXAPO1C1k3RO4Gu4yVo wG2NM2OIGH0At6FUpJKLGdGbn1RXsrrcDjOZ4QdB19ev3bZnXU5XhlG907mAylzdML+xHF xc4wO1nBxke1dwTV99dXc+bYPQdD7XCC6GCiuS2Bc7J8p0N+YqQjhLWEN2LT+kj3is1HMj zWhl61/ALXV4kuBjYWjQGqRJY25skWgHlIcpsjUPBvQMGqPv3iMG4LLo3z+S9FjDIsl37F 0dyiTBHXoNRsG6YsSIx4aAKGvpSD92hQSVcZAVQ04E5jiXC5eNNHDjuOyKeibA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696614656; 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=1fdavl9p0pXiTpsNk1quo42QXUCrK8lZl3ZqT1dA9Tk=; b=VI+VrWwpMtTMMlPn4UOHiAOpp2NyzssIZbtd8m0UAbO8vU6y/4Eh01OajablHCJ2zBIJ8H XUPOMuyWnypDE/eSmVCzQSyDSO337xJJRtMv+iyotHK7Q3HKfho6VtcjEhoSFxTSUbdDA1 ZD3GXVgYA2OuKBxipSU3UEoX8uY/jQthud/hUWjce901AFnwK+gs3VINSqySoKw9ZTDXie +RgyaTwzlUJC4LZ8AbbniZ8erR7KoskDpjaozSiDADMOnnX8TQX82jRWueZrUfYMG1gPRC HEKmvgQSldgkqpOAOcGHjCAa7b24DeomHNooNCcAPZwv5XdSPZTHxm5V7UzhoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4S2GDw4lYFzxNX; Fri, 6 Oct 2023 17:50:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 396Houms039242; Fri, 6 Oct 2023 17:50:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 396Houcx039239; Fri, 6 Oct 2023 17:50:56 GMT (envelope-from git) Date: Fri, 6 Oct 2023 17:50:56 GMT Message-Id: <202310061750.396Houcx039239@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 9b934eb81abe - main - devel/gamin: fix build with lld 17 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9b934eb81abe3155ced3ea0a592b6256169ea595 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b934eb81abe3155ced3ea0a592b6256169ea595 commit 9b934eb81abe3155ced3ea0a592b6256169ea595 Author: Dimitry Andric AuthorDate: 2023-09-25 19:19:43 +0000 Commit: Dimitry Andric CommitDate: 2023-10-06 17:48:53 +0000 devel/gamin: fix build with lld 17 Building devel/gamin with lld 17 results in the following link error: cc -shared .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o -lpthread -L/usr/local/lib -fstack-protector-strong -Wl,--version-script=./gamin_sym.version -fstack-protector-strong -Wl,-soname -Wl,libfam.so.0 -o .libs/libfam.so.0.0.0 ld: error: version script assignment of 'global' to symbol 'FAMDebugLevel' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'FAMDebug' failed: symbol not defined cc: error: linker command failed with exit code 1 (use -v to see invocation) This is because the FAMDebugLevel and FAMDebug symbols are only defined when gamin is configured with --enable-debug, which we have no option for in the port. So fix it by removing the undefined symbols from the linker version script. PR: 274089 MFH: 2023Q4 --- devel/gamin/files/patch-libgamin_gamin__sym.version | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/devel/gamin/files/patch-libgamin_gamin__sym.version b/devel/gamin/files/patch-libgamin_gamin__sym.version new file mode 100644 index 000000000000..34fa1968003a --- /dev/null +++ b/devel/gamin/files/patch-libgamin_gamin__sym.version @@ -0,0 +1,11 @@ +--- libgamin/gamin_sym.version.orig 2007-07-04 13:36:48 UTC ++++ libgamin/gamin_sym.version +@@ -2,8 +2,6 @@ + global: + FAMCancelMonitor; + FAMClose; +- FAMDebugLevel; +- FAMDebug; + FamErrlist; + FAMErrno; + FAMMonitorCollection;