← Back to team overview

kicad-developers team mailing list archive

Re: Fedora Rawhide build failures

 

I figured the commands out, and you are right - the same problem occurs.  I'll report it on the Fedora devel list:

rawhide# python
Python 3.8.1 (default, Jan 30 2020, 00:00:00)
[GCC 10.0.1 20200126 (Red Hat 10.0.1-0.6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
import wx
Traceback (most recent call last):
  File "<stdin>", 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


	Steve


On 2/10/20 11:51 AM, Steven A. Falco wrote:
I have a rawhide vm running here, and I can try that test.  I'm not too familiar with python though.  What commands would you like me to try?

     Steve

On 2/10/20 11:39 AM, Ian McInerney wrote:
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 <mailto: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 <http://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 <http://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 <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~kicad-developers
    More help   : https://help.launchpad.net/ListHelp





Follow ups

References