"Panic: No Major Version Found"

Anyone have a clue what this means?

I've been getting it when trying to build the cores I maintain using 1.8.15 and I cannot fathom what it means how how I might go about fixing it.

Cores are manually installed, reverting to 1.8.13 fixes it.

How do I correct my cores so that they don't trigger this incomprehensible error. Google is giving me basically nothing.....

Arduino: 1.8.15 (Windows 10), Board: "ATtiny3224/1624/1614/1604/824/814/804/424/414/404/214/204, ATtiny1614, 20 MHz internal, 1.8V (5 MHz or less), Disabled/Disabled, EEPROM retained, Enabled (default timer), 8ms, Ignore (saves flash, almost always fine)"





















C:\arduino-1.8.15\arduino-builder -dump-prefs -logger=machine -hardware C:\arduino-1.8.15\hardware -hardware C:\Users\Spence\AppData\Local\Arduino15\packages -hardware C:\Users\Spence\Documents\Arduino\hardware -tools C:\arduino-1.8.15\tools-builder -tools C:\arduino-1.8.15\hardware\tools\avr -tools C:\Users\Spence\AppData\Local\Arduino15\packages -built-in-libraries C:\arduino-1.8.15\libraries -libraries C:\Users\Spence\Documents\Arduino\libraries -fqbn=megaTinyCore:megaavr:atxy4:chip=1614,clock=20internal,bodvoltage=1v8,bodmode=disabled,eesave=enable,millis=enabled,startuptime=8,uartvoltage=skip -ide-version=10815 -build-path C:\Users\Spence\AppData\Local\Temp\arduino_build_307933 -warnings=all -prefs=build.warn_data_percentage=75 -verbose C:\Users\Spence\Documents\Arduino\sketches\SPIPrintDebug\SPIPrintDebug.ino

panic: no major version found



goroutine 1 [running]:

go.bug.st/relaxed-semver.MustParse(...)

	/home/jenkins/go/pkg/mod/go.bug.st/relaxed-semver@v0.0.0-20190922224835-391e10178d18/parser.go:19

github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*PackageManager).loadPlatforms(0x12506220, 0x1263ed00, 0x12650560, 0xa, 0x12492750)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/arduino/cores/packagemanager/loader.go:175 +0x14f6

github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*PackageManager).LoadHardwareFromDirectory(0x12506220, 0x12c79538, 0x0, 0x0)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/arduino/cores/packagemanager/loader.go:120 +0x42b

github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*PackageManager).LoadHardwareFromDirectories(0x12506220, 0x12405230, 0x3, 0x4, 0x4, 0xcb63b2)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/arduino/cores/packagemanager/loader.go:45 +0x4f

github.com/arduino/arduino-cli/legacy/builder.(*HardwareLoader).Run(0x13db448, 0x124dc000, 0x13db448, 0x0)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/legacy/builder/hardware_loader.go:29 +0x150

github.com/arduino/arduino-cli/legacy/builder.(*ContainerSetupHardwareToolsLibsSketchAndProps).Run(0x13db448, 0x124dc000, 0x0, 0x0)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/legacy/builder/container_setup.go:50 +0x2b1

github.com/arduino/arduino-cli/legacy/builder.runCommands(0x124dc000, 0x1246bee8, 0x2, 0x2, 0x0, 0x0)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/legacy/builder/builder.go:191 +0x198

github.com/arduino/arduino-cli/legacy/builder.(*ParseHardwareAndDumpBuildProperties).Run(0x1246bf26, 0x124dc000, 0x13db380, 0x12c795b8)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/legacy/builder/builder.go:182 +0x8f

github.com/arduino/arduino-cli/legacy/builder.RunParseHardwareAndDumpBuildProperties(...)

	/home/jenkins/go/pkg/mod/github.com/arduino/arduino-cli@v0.0.0-20210514123546-d710b642ef79/legacy/builder/builder.go:214

main.main()

	/home/jenkins/workspace/arduino-builder-all-cross-cli-inception/main.go:391 +0x7de

C:\arduino-1.8.15\arduino-builder returned 2



Error compiling for board ATtiny3224/1624/1614/1604/824/814/804/424/414/404/214/204.


Hi @DrAzzy. hansibull/MCUdude brought this up a while back during a discussion in the MightyCore repo. I investigated and explained the cause of the error here:

I did report the bug to the Arduino CLI developers (this originates in the Arduino CLI code base) but they haven't had a chance to work on it yet. If you like, you can submit a bug report in the Arduino CLI repo's issue tracker (I submitted my report via the internal issue tracker) that might motivate someone, whether it be from Arduino or the community, to make a fix.

Thanks for the info. That is a shame, the reason I have it like that is, quite simply, that i have this far failed utterly st managing the versions recorded in the platform.txt when i release. Until this can be corrected I will document that manual installation is not supported on versions after 1.8.13 and do my development on that versionm

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.