Skip to content

Conversation

@eli-schwartz
Copy link
Contributor

Given sufficiently high or simply random parallelism, it was possible to build various source files that included this generated header, without having coincidentally built the header previously. It then failed to compile, since there was no actual guarantee the header would come first. Add explicit header-only dependencies by adding the header as additional sources to targets that draw it in.

Fixes:

 * QA Notice: missing ninja dependencies in /var/tmp/portage/x11-wm/muffin-6.4.1/work/muffin-6.4.1-build:
[...]
 * Processed 517 nodes.
 * Error: There are 249 missing dependency paths.
 * 249 targets had depfile dependencies on 1 distinct generated inputs (from 1 rules)  without a non-depfile dep path to the generator.
 * There might be build flakiness if any of the targets listed above are built alone, or not late enough, in a clean output directory.

Given sufficiently high or simply random parallelism, it was possible to
build various source files that included this generated header, without
having coincidentally built the header previously. It then failed to
compile, since there was no actual guarantee the header would come
first. Add explicit header-only dependencies by adding the header as
additional sources to targets that draw it in.

Fixes:

```
 * QA Notice: missing ninja dependencies in /var/tmp/portage/x11-wm/muffin-6.4.1/work/muffin-6.4.1-build:
[...]
 * Processed 517 nodes.
 * Error: There are 249 missing dependency paths.
 * 249 targets had depfile dependencies on 1 distinct generated inputs (from 1 rules)  without a non-depfile dep path to the generator.
 * There might be build flakiness if any of the targets listed above are built alone, or not late enough, in a clean output directory.
```

Signed-off-by: Eli Schwartz <[email protected]>
@mtwebster mtwebster merged commit 604e0b5 into linuxmint:master Mar 28, 2025
2 checks passed
@eli-schwartz eli-schwartz deleted the missingdeps branch March 28, 2025 13:59
SunPodder pushed a commit to SunPodder/muffin that referenced this pull request Apr 13, 2025
…inuxmint#716)

Given sufficiently high or simply random parallelism, it was possible to
build various source files that included this generated header, without
having coincidentally built the header previously. It then failed to
compile, since there was no actual guarantee the header would come
first. Add explicit header-only dependencies by adding the header as
additional sources to targets that draw it in.

Fixes:

```
 * QA Notice: missing ninja dependencies in /var/tmp/portage/x11-wm/muffin-6.4.1/work/muffin-6.4.1-build:
[...]
 * Processed 517 nodes.
 * Error: There are 249 missing dependency paths.
 * 249 targets had depfile dependencies on 1 distinct generated inputs (from 1 rules)  without a non-depfile dep path to the generator.
 * There might be build flakiness if any of the targets listed above are built alone, or not late enough, in a clean output directory.
```

Signed-off-by: Eli Schwartz <[email protected]>
Sunderland93 pushed a commit to Sunderland93/muffin that referenced this pull request Aug 14, 2025
…inuxmint#716)

Given sufficiently high or simply random parallelism, it was possible to
build various source files that included this generated header, without
having coincidentally built the header previously. It then failed to
compile, since there was no actual guarantee the header would come
first. Add explicit header-only dependencies by adding the header as
additional sources to targets that draw it in.

Fixes:

```
 * QA Notice: missing ninja dependencies in /var/tmp/portage/x11-wm/muffin-6.4.1/work/muffin-6.4.1-build:
[...]
 * Processed 517 nodes.
 * Error: There are 249 missing dependency paths.
 * 249 targets had depfile dependencies on 1 distinct generated inputs (from 1 rules)  without a non-depfile dep path to the generator.
 * There might be build flakiness if any of the targets listed above are built alone, or not late enough, in a clean output directory.
```

Signed-off-by: Eli Schwartz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants