From nobody Wed May 08 09:49:12 2024 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 4VZ9Ms1fYKz5Kl1Q; Wed, 08 May 2024 09:49:13 +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 4VZ9Mr6t1hz43Qr; Wed, 8 May 2024 09:49:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715161753; 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=FCgVTpRNjlUFLMY/2ZRnk6lsdIEqBwkji27QXKZRDvE=; b=yJxsQ8fFfsyc0Ue9Z/PepJ93LPWwVOx/ObJOzoindkZ61tiMeEbknzltQQ70zc4kQuiUC7 3oDlCqLnjhYX8rqgVuZ1h9IjcesLH6qws+z4vx0VnqLqM7Emavpsh7cmk42hEOvEI9jTXS CJBulX1VT97YVb964uKyjtN1GB/vAgmslgT3kUGn8KaMhFSv1v7+6V0ZNWp+7VRYwPECe+ dd1A3Obz0BhiXo0yfodFiGSczXnwqZ+LhNVYhI/N9sSWpOhHb5MylbGjR4tenlmAcd8+zU V9nHTem4IC6/TvD48zW+rk4n1jkqNwd/OKS4bNZp0VAeMMl8eVmjxojKyduVsg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715161753; a=rsa-sha256; cv=none; b=a3y0xKbGYwt2tPp5B4KCIkH/L5aKhnCiU3bQFFib0sLqZ53u/N9z1TV7x4xH2Q6R6u3OKB rOtKnPWqW98GZeFFmz3SMqWA7Z7fYfWWV9XqdVOA9adhsEYvtETcPjV4GtwcrYViKU6XIX ABvgd9uqpHE1EBNxp6RPNfM3O/wFzRnREyvSqfFiexMopjIXdeCPej7BgVe2YxsJX4+/Hb mGWeepXUfWTxHqVoPpsgccxMur61L0qRd87r66KunZao5Mjo7yjM1RJmgiDXWCIx1k8iTx +BxUvblDxRI0/884FbXLspx8qWF29yH5hjPwHaN/dyIOFihUo1TkYLDsQ0qMtQ== 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=1715161753; 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=FCgVTpRNjlUFLMY/2ZRnk6lsdIEqBwkji27QXKZRDvE=; b=QqcNTVQlNsfvIrjWx3deyKDEJ54q5iy/hd+UcQXSk9AgBegiKdaoNmdLahmB7D/Ox/VzOf icHEYxolNGPVBa384veun3S1lFl+PAK6k1wEeEH6KzJEcOhZsvUTqRX0BeX8qXGR2KUkfT mIJWWc5izOs/fMFbaQKIquZWQiBKBwMA3jfAe2jcu0jKki0+eyPtHKii2l48UeKMlzTZvX +9pFnUDITJS0pQbnNWt2fkFxShWJc0fjhA9hs4v0K4byWuSCAnbfleF5Y1paLO2+QJdhfC JOxZGLcHZ/d1MaW73owcCjMn8SVOj/rfY/b8DV2+Wwt0Wh6TIAvgVkajxq9qGA== 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 4VZ9Mr6QTRzKTV; Wed, 8 May 2024 09:49:12 +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 4489nCAa041293; Wed, 8 May 2024 09:49:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4489nCp1041290; Wed, 8 May 2024 09:49:12 GMT (envelope-from git) Date: Wed, 8 May 2024 09:49:12 GMT Message-Id: <202405080949.4489nCp1041290@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 7bfbd1d1f55a - main - devel/fbthrift: Fix build with ninja >= 1.12.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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bfbd1d1f55a76537ef8923b903507f9a682bcb8 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bfbd1d1f55a76537ef8923b903507f9a682bcb8 commit 7bfbd1d1f55a76537ef8923b903507f9a682bcb8 Author: Jason E. Hale AuthorDate: 2024-05-08 09:44:49 +0000 Commit: Jason E. Hale CommitDate: 2024-05-08 09:48:58 +0000 devel/fbthrift: Fix build with ninja >= 1.12.0 Address a potential race condition where generated headers not created before they used in the build. https://github.com/facebook/fbthrift/pull/599 PR: 278693 Approved by: portmgr (blanket) --- .../files/patch-thrift_lib_cpp2_CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/devel/fbthrift/files/patch-thrift_lib_cpp2_CMakeLists.txt b/devel/fbthrift/files/patch-thrift_lib_cpp2_CMakeLists.txt new file mode 100644 index 000000000000..b5d6202999fc --- /dev/null +++ b/devel/fbthrift/files/patch-thrift_lib_cpp2_CMakeLists.txt @@ -0,0 +1,18 @@ +Fix race condition with Ninja >= 1.12.0 where any_rep_types.h is not generated +before Any.cpp is compiled. + +https://github.com/facebook/fbthrift/pull/599 + +--- thrift/lib/cpp2/CMakeLists.txt.orig 2024-05-02 22:42:02 UTC ++++ thrift/lib/cpp2/CMakeLists.txt +@@ -109,8 +109,8 @@ add_library( + type/TypeRegistry.cpp + type/UniversalName.cpp + ) +-add_dependencies(thrifttype type-cpp2-target thriftannotation thrifttyperep +- thriftprotocol) ++add_dependencies(thrifttype any_rep-cpp2-target type-cpp2-target ++ thriftannotation thrifttyperep thriftprotocol) + target_link_libraries( + thrifttype + PUBLIC