Skip to content

false "file not found" errors during compile #2500

@PerennialNovice

Description

@PerennialNovice

During compile, it sometimes happens that there is one or more "file not found" error.
But if I rebuild the same project immediately, there are no more errors.

recipe.c.o.pattern
'Finished building: C:\Sloeber\arduinoPlugin\packages\STMicroelectronics\hardware\stm32\2.7.1\libraries\SrcWrapper\src\HAL\stm32yyxx_hal_pcd_ex.c'
process_begin: CreateProcess(NULL, recipe.c.o.pattern, ...) failed.
make (e=2): The system cannot find the file specified.

make[1]: *** [libraries\SrcWrapper\src\HAL\subdir.mk:929: libraries\SrcWrapper\src\HAL\stm32yyxx_hal_qspi.c.o] Error 2
make[1]: *** Waiting for unfinished jobs....
'Starting C compile'
recipe.c.o.pattern
process_begin: CreateProcess(NULL, recipe.c.o.pattern, ...) failed.
make (e=2): The system cannot find the file specified.

make[1]: *** [libraries\SrcWrapper\src\HAL\subdir.mk:936: libraries\SrcWrapper\src\HAL\stm32yyxx_hal_ramcfg.c.o] Error 2
' '
'Finished building: C:\Sloeber\arduinoPlugin\packages\STMicroelectronics\hardware\stm32\2.7.1\libraries\SrcWrapper\src\HAL\stm32yyxx_hal_pka.c'
' '
'Finished building: C:\Sloeber\arduinoPlugin\packages\STMicroelectronics\hardware\stm32\2.7.1\libraries\SrcWrapper\src\HAL\stm32yyxx_hal_pssi.c'
'Finished building: C:\Sloeber\arduinoPlugin\packages\STMicroelectronics\hardware\stm32\2.7.1\libraries\SrcWrapper\src\HAL\stm32yyxx_hal_pwr.c'

This is quite a big project with >100 files and I use parallel build.
It happens way more often when doing a clean build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions