Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versions 1.8.14 and later (including 1.8.19) broke the expansion of property references in the version property in platform.txt #11813

Closed
ObviousInRetrospect opened this issue Aug 11, 2022 · 1 comment
Labels
arduino-cli Related to the arduino-cli tool Component: Compilation Related to compilation of Arduino sketches Type: Bug Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature

Comments

@ObviousInRetrospect
Copy link

Arduino 1.8.13 supported a version like:

(platform.txt, from https://github.com/SpenceKonde/megaTinyCore/blob/edd683dc9074a0e9844adb825cfb388f5fa74d04/megaavr/platform.txt)

name=megaTinyCore
versionnum.major=2
versionnum.minor=6
versionnum.patch=0
versionnum.postfix=
versionnum.released=0

version={versionnum.major}.{versionnum.minor}.{versionnum.patch}{versionnum.postfix}

in 1.8.14 this stopped working. This is causing the author of a few fairly well used cores @SpenceKonde (megaTinyCore, DxCore, ATTinyCore) to recommend the continued use of 1.8.13 as the most recent working build. Unfortunately that build has a vulnerable version of Log4J and lacks a lot of the other good work done since.

This was reported for 2.0 by @per1234 in arduino/arduino-cli#1823 and fixed by @cmaglie in arduino/arduino-cli#1830

Is there any chance of getting this fix back ported to a 1.8.x release since the behavior used to work in 1.8.13?

If not, can the documentation be updated to say this is not a supported feature and won't be fixed?

Thanks and sorry it wasn't reported sooner after it broke. Because it only applies to manual installation it took a while to figure out the root cause and was considered nondeterministic for a long time.

@per1234
Copy link
Collaborator

per1234 commented Sep 21, 2022

The Arduino IDE 1.x project is now in maintenance mode so the backport will not be possible.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2022
@per1234 per1234 added the Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arduino-cli Related to the arduino-cli tool Component: Compilation Related to compilation of Arduino sketches Type: Bug Type: Wontfix Arduino has decided that it will not resolve the reported issue or implement the requested feature
Projects
None yet
Development

No branches or pull requests

2 participants