Skip to content

The build fails on a ESP8266 V3.1.1 project #1547

@jantje

Description

@jantje

After fixing issue #1546 the build still fails but regression tests locally on my windows system report success.
The root cause of the failure is here
https://github.com/Sloeber/arduino-eclipse-plugin/actions/runs/3924285135/jobs/6708444570#step:4:2500
If I look at the log of the windows run I see
Using preferences from 'C:\Users\jan\AppData\local\Arduino15\preferences.txt'
In the linux run I see

 *** File preferences.txt not found on Linux *** 'preferences.txt' file missing from well known locations. 

I think both logs are problametic.
The windows Sloeber takes an arduino ide preferences.txt file. The Linux doesn't find one. Probably because there is no arduino IDE installed on the build machine.

Investigating further I see that the Pre build command uses the environment variable runtime.ide.path which does not resolve to a value in Sloeber.
As this environment var is defined in the Arduino framework this is a short coming of Sloeber. https://arduino.github.io/arduino-cli/0.29/platform-specification/
However fixing this problem will probaby not fix the build issue as there will not be a '${ runtime.ide.path}\preferences.txt'`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions