Compilaton errors in newest Code

Moderators: grovkillen, Stuntteam, TD-er

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

Compilaton errors in newest Code

#1 Post by mackowiakp » 12 May 2023, 07:20

My compilation environment:

Code: Select all

Wersja: 1.78.2
Zatwierdzenie: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Data: 2023-05-10T14:47:05.613Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 5.15.106-desktop-2.mga8
Sandboxed: No
This is just today installed version of code.
Initialization rapports such errors.
Is it Code issue ?

Code: Select all

TypeError: can only concatenate deque (not "list") to deque:
  File "/home/maciek/.platformio/penv/lib/python3.8/site-packages/platformio/builder/main.py", line 174:
    env.SConscript("$BUILD_SCRIPT")
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py", line 598:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py", line 285:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/home/maciek/.platformio/platforms/espressif8266@2.6.3/builder/main.py", line 238:
    target_elf = env.BuildProgram()
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
    return self.method(*nargs, **kwargs)
  File "/home/maciek/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/piobuild.py", line 61:
    env.ProcessProjectDeps()
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
    return self.method(*nargs, **kwargs)
  File "/home/maciek/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/piobuild.py", line 163:
    plb.env.BuildSources(
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
    return self.method(*nargs, **kwargs)
  File "/home/maciek/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/piobuild.py", line 352:
    nodes = env.CollectBuildFiles(variant_dir, src_dir, src_filter)
  File "/home/maciek/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py", line 242:
    return self.method(*nargs, **kwargs)
  File "/home/maciek/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/piobuild.py", line 298:
    new_node = callback(new_node)
  File "/home/maciek/TMP/ESPEasy-mega-20230508/tools/pio/generate-compiletime-defines.py", line 107:
    CPPDEFINES=env["CPPDEFINES"]
========================== [FAILED] Took 9.29 seconds ==========================

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

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

Re: Compilaton errors in newest Code

#2 Post by TD-er » 12 May 2023, 08:26

You must update the source code of ESPEasy as I have spent all Tuesday and the entire Wednesday to fix those issues to support the changes in PlatformIO 6.1.7.

Or... you downgrade platformio to 6.1.6

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

Re: Compilaton errors in newest Code

#3 Post by mackowiakp » 12 May 2023, 08:38

You must update the source code of ESPEasy
Yes, I download the newest release source code of ESPEasy just today too.

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

Re: Compilaton errors in newest Code

#4 Post by TD-er » 12 May 2023, 08:42

That's strange as I did fix this in the generate-compiletime-defines.py
Without it, GitHub Actions would not compile.

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

Re: Compilaton errors in newest Code

#5 Post by TD-er » 12 May 2023, 08:44

Just wait a minute... how did you download it?
From the source code zip on de 'releases' page? That's the latest code from the latest release build.
You should use the "code" button here: https://github.com/letscontrolit/ESPEasy
and download the zip.

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

Re: Compilaton errors in newest Code

#6 Post by mackowiakp » 12 May 2023, 09:03

You should use the "code" button
THX. It resolved the problem. Compilation works as it should!
THX once more for help.

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

Re: Compilaton errors in newest Code

#7 Post by TD-er » 12 May 2023, 09:08

I am tempted to make a new build because of these issues, but on the other hand I have just merged a huge PR to support ESP32-S and -C3 processors.
And those changes have not yet been tested a lot.

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

Re: Compilaton errors in newest Code

#8 Post by mackowiakp » 12 May 2023, 09:18

I wish you only positive test results. :D
So far - for me - problem solved.

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests