public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Steffan <jsteffan@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perfetto] rawhide: More parallel build ordering issue fixes.
Date: Sat, 31 Oct 2026 21:11:59 GMT	[thread overview]
Message-ID: <179348111994.1.1233851042388810355.rpms-perfetto-4c39a1cea39e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perfetto
Branch : rawhide
Commit : 4c39a1cea39e674a1bff0d31e8a660e858ee08f9
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-10-31T15:11:48-06:00
Stats  : +42/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/perfetto/c/4c39a1cea39e674a1bff0d31e8a660e858ee08f9?branch=rawhide

Log:
More parallel build ordering issue fixes.

---
diff --git a/perfetto-traced-relay-gen-deps.patch b/perfetto-traced-relay-gen-deps.patch
new file mode 100644
index 0000000..9640422
--- /dev/null
+++ b/perfetto-traced-relay-gen-deps.patch
@@ -0,0 +1,40 @@
+From: Fedora
+Subject: [PATCH] gn: traced_relay:lib exposes generated ipc headers via public_deps
+
+relay_service.h includes relay_ipc_client.h, which includes the generated
+protos/perfetto/ipc/relay_port.ipc.h. The proto target and producer:relay were
+only private deps of :lib, so dependents such as :unittests had no ninja
+ordering dependency on the header generator and could fail to compile in
+highly parallel builds.
+
+--- a/src/traced_relay/BUILD.gn
++++ b/src/traced_relay/BUILD.gn
+@@ -26,7 +26,11 @@
+ }
+
+ source_set("lib") {
+-  public_deps = [ "../../include/perfetto/ext/tracing/ipc" ]
++  public_deps = [
++    "../../include/perfetto/ext/tracing/ipc",
++    "../../protos/perfetto/ipc",
++    "../tracing/ipc/producer:relay",  # For relay_ipc_client.h
++  ]
+   sources = [
+     "relay_service.cc",
+     "relay_service.h",
+@@ -36,7 +40,6 @@
+   deps = [
+     "../../gn:default_deps",
+     "../../include/perfetto/ext/traced",
+-    "../../protos/perfetto/ipc",
+     "../../protos/perfetto/ipc:wire_protocol_cpp",
+     "../base",
+     "../base:clock_snapshots",
+@@ -44,7 +47,6 @@
+     "../base:version",
+     "../ipc:perfetto_ipc",
+     "../tracing/ipc:default_socket",
+-    "../tracing/ipc/producer:relay",  # For relay_ipc_client.h
+   ]
+ }
+

diff --git a/perfetto.spec b/perfetto.spec
index 6709978..04ca90d 100644
--- a/perfetto.spec
+++ b/perfetto.spec
@@ -30,6 +30,8 @@ Patch1:         perfetto-system-gtest.patch
 Patch2:         perfetto-versioned-soname.patch
 # order consumers of proto source_sets after the generated headers
 Patch3:         perfetto-proto-gen-header-deps.patch
+# traced_relay:lib exposes generated ipc headers; make those deps public
+Patch4:         perfetto-traced-relay-gen-deps.patch
 
 BuildRequires:  chrpath
 BuildRequires:  expat-devel

                 reply	other threads:[~2026-10-31 21:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179348111994.1.1233851042388810355.rpms-perfetto-4c39a1cea39e@fedoraproject.org \
    --to=jsteffan@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox