← Back to team overview

kicad-developers team mailing list archive

Re: Fedora Rawhide build failures

 

That looks like it is an internal error to wxPhoenix. Was wxPhoenix rebuilt
once Python 3.8 was pushed to Rawhide? It could be that there is a version
mismatch there.

I was going to try a VM install of Rawhide tonight and see if wxPhoenix can
be imported into a normal python console (my hunch is it will throw this
error as well).

-Ian

On Mon, 10 Feb 2020, 16:35 Steven A. Falco, <stevenfalco@xxxxxxxxx> wrote:

> Fedora Rawhide supplies python3.8.  This has been working fine, but we've
> just started getting a failure early in the setup phase, at the point that
> CMakeModules/FindwxPython.cmake attempts to detect wxPython/Phoenix.  Below
> is part of the build log from a failing build.  I've attached the failing
> build log, as well as part of a passing build log for comparison.
>
> It doesn't look like the python-wxpython4 package has changed on Fedora
> Rawhide recently.  Has anything changed in KiCad that might account for the
> failure?
>
>         Steve
>
> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.1",
> minimum required is "3.3")
> -- Check for installed Python Interpreter -- found
> -- Python module install path: lib/python3.8/site-packages
> -- Found PythonLibs: /usr/lib64/libpython3.8.so (found suitable version
> "3.8.1", minimum required is "3.3")
> Traceback (most recent call last):
>    File "<string>", line 1, in <module>
>    File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in
> <module>
>      from wx.core import *
>    File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in
> <module>
>      from ._core import *
> ImportError: /usr/lib64/python3.8/site-packages/wx/_
> core.cpython-38-x86_64-linux-gnu.so: undefined symbol:
> _ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE9_M_createERmm,
> version WXU_3.0
> CMake Error at CMakeModules/FindwxPython.cmake:52 (message):
>    wxPython/Phoenix does not appear to be installed on the system
> Call Stack (most recent call first):
>    CMakeLists.txt:784 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> See also
> "/builddir/build/BUILD/kicad-r17590-1190e60d/CMakeFiles/CMakeOutput.log".
> error: Bad exit status from /var/tmp/rpm-tmp.9agHdw (%build)
>
>
> RPM build errors:
>      Bad exit status from /var/tmp/rpm-tmp.9agHdw (%build)
> Child return code was: 1
> EXCEPTION: [Error()]
> Traceback (most recent call last):
>    File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py",
> line 95, in trace
>      result = func(*args, **kw)
>    File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 746, in
> do_with_status
>      raise exception.Error("Command failed: \n # %s\n%s" % (command,
> output), child.returncode)
> mockbuild.exception.Error: Command failed:
>   # /usr/bin/systemd-nspawn -q -M a9d5f8d136064f78bda0a0421696296a -D
> /var/lib/mock/fedora-rawhide-x86_64/root -a --capability=cap_ipc_lock
> --bind=/tmp/mock-resolv.cznd4waa:/etc/resolv.conf --setenv=TERM=vt100
> --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock
> --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf
> "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$
> --setenv=LANG=en_US.utf8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb
> --target x86_64 --nodeps /builddir/build/SPECS/kicad.spec
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References