Greg Troxel <gdt%ir.bbn.com@localhost> writes: > Both of you reported this: > > /usr/src/sys/arch/x86/acpi/acpi_wakeup.c:108:27: fatal error: > acpi_wakecode.h: No such file or directory > compilation terminated. > nbmkdep: compile failed. > *** [acpi_wakeup.d] Error code 1 > > and I am seeing it too (with -j4). > > I think the problem is that acpi_wakecode.h is a generated file, and > while there is a dependency rule to generate it when needed, the rule > that generates acpi_wakeup.d reads acpi_wakeup.c but does not depend on > acpi_wakecode.h. > > In other words, having implicit mkdep-style dependencies on files that > exist is fine, but not on files generated by other rules in the same > makefile. This is apparently fixed with src/sys/arch/x86/acpi/Makefile.wakecode.inc rev 1.8. (Reverts should probably be done with e.g. -j1.6 -j1.5 since that seems less likely to introduce typos. Typos in dependencies only needed for parallel builds seem particularly tricky to detect...)
Attachment:
pgp69FvkVxJYD.pgp
Description: PGP signature