Page MenuHomeSolus

kicad: Version mismatch
Closed, ResolvedPublic

Description

Hello Solus community,

today I have installed kicad 5.1.6 from the Solus repository and encountered a version mismatch error:

Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8).
[1]    18069 abort (core dumped)  kicad

A rebuild of 5.1.6 nor an update to 5.1.8 have resolved the issue.

If it is not a Solus problem, I will go to the KiCAD bug tracker.

Thank you,

Maik Wöhl

Event Timeline

DataDrake triaged this task as High priority.
DataDrake moved this task from Backlog to Package Fixes on the Software board.
DataDrake added subscribers: livingsilver94, DataDrake.

Looks like @livingsilver94 removed a patch from wxwidgets in D9740 that he shouldn't have. Adding that patch back in should fix it.

I'm doing a build at the moment with the patch re-added and will send this off to shannon once it's build locally, validated, and pushed to unstable.

Will still like an explanation on why the file was removed.

I thought that patch was about build time checks, and in fact my local building tests passed. I'm deeply sorry.

Pushed to build server now. Should be sorted soon.

@livingsilver94 Yea let's just be a tad bit more careful when it comes to patch deletion. May be worth checking Phabricator / git log/blame on a file to see the originating reason it was added. wxWidgets is certainly one of those weird ones and its behavior with being so quick to treating something as a fatal error isn't really warranted.

Also my fault for not catching it during the review process. Unfortunately Phabricator condenses deleted diffs so it wasn't immediately obvious to me.