[Kicad-developers] Fedora Rawhide build failures

2020-02-10 Thread Steven A. Falco

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 "", line 1, in 
  File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in 
from wx.core import *
  File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in 
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;\007" 
--setenv=PS1= \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
Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kicad.spec'], chrootPath='/var/lib/mock/1233869-fedora-rawhide-x86_64-1581291545.062393/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v3lr2yvi:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v3lr2yvi:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f1e7eb3c5a014ec5a46bc183f65adff2', '-D', '/var/lib/mock/1233869-fedora-rawhide-x86_64-1581291545.062393/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v3lr2yvi:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kicad.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/kicad-r17590-1190e60d.fc32.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kicad.spec'], chrootPath='/var/lib/mock/1233869-fedora-rawhide-x86_64-1581291545.062393/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '

Re: [Kicad-developers] Fedora Rawhide build failures

2020-02-10 Thread Ian McInerney
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,  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 "", line 1, in 
>File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in
> 
>  from wx.core import *
>File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in
> 
>  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;\007" --setenv=PS1= \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@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Fedora Rawhide build failures

2020-02-10 Thread Steven A. Falco

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, mailto:stevenfa...@gmail.com>> 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 "", line 1, in 
    File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in 

      from wx.core import *
    File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in 

      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;\007" 
--setenv=PS1= \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@lists.launchpad.net 

Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Fedora Rawhide build failures

2020-02-10 Thread Steven A. Falco

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 "", line 1, in 
  File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in 
from wx.core import *
  File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in 
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, mailto:stevenfa...@gmail.com>> 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 "", line 1, in 
    File "/usr/lib64/python3.8/site-packages/wx/__init__.py", line 17, in 

      from wx.core import *
    File "/usr/lib64/python3.8/site-packages/wx/core.py", line 12, in 

      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;\007" 
--setenv=PS1= \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@lists.launchpad.net 

    Unsubscribe : https://launchpad.net/~kicad-developers
    More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.n