FS#52735 - wxPython needs rebuild after wxGTK update
Attached to Project:
Arch Linux
Opened by Kyle (2bluesc) - Friday, 27 January 2017, 20:07 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 26 July 2017, 15:08 GMT
Opened by Kyle (2bluesc) - Friday, 27 January 2017, 20:07 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 26 July 2017, 15:08 GMT
|
Details
Description:
It appears that wxpython rebuild is needed following the wxgtk update. Opening an application such as kicad's pcbnew which uses wxpython generates a warning: > Mismatch between the program and library build versions detected. > The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8), > and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8). Additional info: * wxpython-3.0.2.0-2 * wxgtk-3.0.2-6 * kicad 4.0.5-2 Steps to reproduce: 1. Update to latest packages 2. Open kicad pcbnew 3. Warning will pop-up To resolve the issue, I rebuilt wxgtk-3.0.2-6 and re-installed it. Warning went away. I assume other packages are also affected by this but may not be checking. |
This task depends upon
wxgtk was recompiled recently using gcc 6.3, wxpython was packaged in 2015 using gcc 5.2 or 5.3. That's where the C++ ABI mismatch comes from.
As for the last two reopen requests: yes we patch the error back to warning, as the ABI mismatch isn't fatal in most cases. We don't want to rebuild all wxgtk applications on a gcc update.
I understand why the patch is there as a fatal error would just break everything except in perfect-lockstep update. I was thinking of a different wx logging level that goes right to console, but debug and verbose don't do anything in non-debug builds, so I'm not sure.
This should then avoid this problem for all wx libraries (not just wxPython).