Nightly builds not working on Fedora 30

Having trouble installing or compiling FreeCAD? Get help here.
rpress
Posts: 8
Joined: Mon Jul 01, 2019 10:40 pm

Nightly builds not working on Fedora 30

Postby rpress » Tue Jul 16, 2019 8:42 pm

I am trying to install freecad-0.19_pre-17320.x86_64 from here: https://copr.fedorainfracloud.org/coprs ... e/freecad/

The first error I see is with DNF:

Code: Select all

 Problem: cannot install the best candidate for the job
  - nothing provides python-pivy needed by freecad-1:0.19_pre-17320.x86_64
I can edit the RPM to remove that dependency, and it installs fine. I saw this commit but I guess it didn't work? https://github.com/FreeCAD/FreeCAD/comm ... ed5cb77fcd

When I try to run it I receive this error:

Code: Select all

FreeCAD 0.19, Libs: 0.19R17320 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Error in InitApplications type '_io._IOBase' participates in gc and is a base type but has inappropriate 
tp_free slot
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "<string>", line 241, in <module>
  File "<string>", line 54, in InitApplications
  File "/usr/lib64/python2.7/io.py", line 51, in <module>
    import _io
TypeError: type '_io._IOBase' participates in gc and is a base type but has inappropriate tp_free slot

--------------------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
#0  /lib64/libc.so.6(+0x37f00) [0x7f9548fc3f00]
#1  /lib64/libpython2.7.so.1.0(PyObject_GetAttrString+0x16) [0x7f954a356296]
0000002  /lib64/libpython2.7.so.1.0(PyObject_HasAttrString+0xd) [0x7f954a35623d]
0000003  /lib64/libpython2.7.so.1.0(PyImport_ImportModuleLevel+0x262) [0x7f954a3af592]
0000004  /lib64/libpython2.7.so.1.0(+0x11a5dc) [0x7f954a3965dc]
0000005  /lib64/libpython2.7.so.1.0(PyObject_Call+0x47) [0x7f954a317197]
0000006  /lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x4c) [0x7f954a402b5c]
0000007  /lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2961) [0x7f954a405a21]
0000008  /lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8) [0x7f954a40c938]
0000009  /lib64/libpython2.7.so.1.0(PyEval_EvalCode+0x1d) [0x7f954a40cafd]
0000010  /lib64/libpython2.7.so.1.0(PyImport_ExecCodeModuleEx+0xc1) [0x7f954a3b17b1]
0000011  /lib64/libpython2.7.so.1.0(+0x13523e) [0x7f954a3b123e]
0000012  /lib64/libpython2.7.so.1.0(PyImport_ImportModuleLevel+0x7e1) [0x7f954a3afb11]
0000013  /lib64/libpython2.7.so.1.0(+0x11a5dc) [0x7f954a3965dc]
0000014  /lib64/libpython2.7.so.1.0(PyObject_Call+0x47) [0x7f954a317197]
0000015  /lib64/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x4c) [0x7f954a402b5c]
0000016  /lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2961) [0x7f954a405a21]
0000017  /lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8) [0x7f954a40c938]
0000018  /lib64/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6b3e) [0x7f954a409bfe]
0000019  /lib64/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x7f8) [0x7f954a40c938]
0000020  /lib64/libpython2.7.so.1.0(PyEval_EvalCode+0x1d) [0x7f954a40cafd]
0000021  /lib64/libpython2.7.so.1.0(PyRun_StringFlags+0x78) [0x7f954a3ba3f8]
0000022  0x7f954a606fda in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /usr/lib64/freecad/lib/libFreeCADBase.so+0x6a

0000023  0x7f954af145b3 in Gui::Application::runInitGuiScript() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x43

0000024  0x7f954af1d039 in Gui::Application::runApplication() from /usr/lib64/freecad/lib/libFreeCADGui.so+0x13f9

0000025  FreeCAD(main+0x716) [0x55c56aad9046]
0000026  /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f9548faff33]
0000027  FreeCAD(_start+0x2e) [0x55c56aad93be]
It seems similar to here: https://forum.freecadweb.org/viewtopic.php?t=33810