[SOLVED]Compilation failed - release mega-20220809

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 419
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

[SOLVED]Compilation failed - release mega-20220809

#1 Post by mackowiakp » 11 Aug 2022, 02:32

Release mega-20220809.
I know there have been a lot of changes to the general directives for Platformio but I have a problem that FW won't compile.
Below are the error messages:

Code: Select all

Processing custom_ESP8266_4M1M (platform: espressif8266@2.6.3; board: esp8266_4M1M_board; framework: arduino)
---------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Error: Unknown board ID 'esp8266_4M1M_board'
========================================= [FAILED] Took 0.42 seconds =========================================

Environment          Status    Duration
-------------------  --------  ------------
custom_ESP8266_4M1M  FAILED    00:00:00.425
==================================== 1 failed, 0 succeeded in 00:00:00.425 ====================================

 *  The terminal process "platformio 'run', '--environment', 'custom_ESP8266_4M1M'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.
Maybe someone will tell me where I am making a mistake?
Last edited by mackowiakp on 12 Aug 2022, 03:12, edited 1 time in total.

TD-er
Core team member
Posts: 6481
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Compilation failed - release mega-20220809

#2 Post by TD-er » 11 Aug 2022, 09:10

Did you fetch all files?
No changes?

For example, you have a folder named "boards" with all kinds of JSON files, including esp8266_4M1M_board.json ?

mackowiakp
Normal user
Posts: 419
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Compilation failed - release mega-20220809

#3 Post by mackowiakp » 11 Aug 2022, 09:24

Will check when be back home evening.

mackowiakp
Normal user
Posts: 419
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Compilation failed - release mega-20220809

#4 Post by mackowiakp » 12 Aug 2022, 02:44

OK, I downloaded the ESPEasy-mega-20220809.zip file, unpacked it to a directory and tried to compile.
Previously - I don't know why - not everything was downloaded.
Currently showing the following errors (copy/paste to G translator):

Code: Select all

error: The server does not allow a request for an unannounced object 159e31b689577dbf69cf0683bbaffbd71fa5ee10
Downloaded from "tools / sdk / lwip2 / builder / lwip2-src" submodule path, but not 159e31b689577dbf69cf0683bbaffbd71fa5ee10. Direct download of this save has failed.
Sub-module path "tools / sdk / ssl / bearssl": selected "89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa"
Unable to go down to the sub-module path "tools / sdk / lwip2 / builder"
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', '2.6.2', 'https: // github.com/esp8266/Arduino.git ',' /home/maciek/.platformio/.cache/tmp/pkg-installing-63f__2ey ']

 * Terminal process 'platformio' run ',' --environment ',' normal_ESP8266_4M1M '' exited with exit code: 1.
As you can see some problems with downloading modules from Git.
I'm doing something wrong, just what?

mackowiakp
Normal user
Posts: 419
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Re: Compilation failed - release mega-20220809

#5 Post by mackowiakp » 12 Aug 2022, 03:11

Gee ... I'm sorry, TD-er. My mistake. Again, I have the ESPEasy source files on another drive connected to Platformio via a symbolic link.
Well, I just did not give the appropriate UID/GID for the directory.
I should think first and then write.
I promise to improve for the future! :D

TD-er
Core team member
Posts: 6481
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Compilation failed - release mega-20220809

#6 Post by TD-er » 12 Aug 2022, 09:40

mackowiakp wrote: 12 Aug 2022, 03:11 [...]
I promise to improve for the future! :D
Hmm even more complex failures in the future? You're making me curious ;)

FreakErn
Normal user
Posts: 2
Joined: 30 Jun 2020, 13:22

Re: [SOLVED]Compilation failed - release mega-20220809

#7 Post by FreakErn » 21 Sep 2022, 10:25

Important to note, if someone else finds this post, like i did.

In the Releases of ESPEasy in that Mega zip file (in my case the ESPEasy-mega-20220809.zip), the boards folder is missing.
Like in the Documentation: "If you have PIO (PlatformIO) installed and the source tree cloned to your hard drive, then you can open the main dir of the repository"

So don't use the Releases zip, even it contains a platformio.ini, it will not work to compile. Clone/Download the Tagged version like this one: https://github.com/letscontrolit/ESPEas ... a-20220809 and use the source folder for compiling.

TD-er
Core team member
Posts: 6481
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: [SOLVED]Compilation failed - release mega-20220809

#8 Post by TD-er » 21 Sep 2022, 10:56

OK, so I actually need to make sure the boards folder is included in the "released" zip file with the source code...

Made a Todo issue for this: https://github.com/letscontrolit/ESPEasy/issues/4274

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest