Debian Buster Compilation Fails

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Debian Buster Compilation Fails

Post by bernd »

I might help, but I have not read the topic. It is just I am on Debian Buster too. I have compiled FreeCAD every week for the last few years. No problem in this regard. If should check somehting on my working system drop a note.
User avatar
hhassey
Posts: 247
Joined: Thu Jun 04, 2015 8:01 pm
Location: Ensenada, Mexico

Re: Debian Buster Compilation Fails

Post by hhassey »

I have not been successful so far. This issue is driving me crazy. I have two Debian systems, it compiles and works on one, and now it compiles with no errors, but the compilation is useless on the other.

I upgraded to Debian Bullseye boths systems, same exact deal, one compiles and works fine, second one compiles and creates a useless FreeCAD Bin.

I almost gave up to this as I don't have too much time and at this point have zero insights as of what is going wrong.

I have the "Bad" system running a 0.20 App image. and my personal system running the latest. (I compile FreeCAD maybe 2 times a week)

The system that fails, creates a FreeCAD bin that runs, but when you choose almost any workbench this happens:

Code: Select all

/opt/freecad-source/freecad-build/Mod/Part/Part.so: undefined symbol: _ZNK18Adaptor2d_HCurve2d11DynamicTypeEv
Traceback (most recent call last):
  File "<string>", line 43, in Initialize
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60) [0x7f4411aacd60]
#1  /lib/x86_64-linux-gnu/libc.so.6(+0x16161e) [0x7f4411bd261e]
#2  /lib/x86_64-linux-gnu/libCoin.so.80c(cc_glglue_instance+0x150) [0x7f441160bad0]
#3  0x7f441458c5b0 in SIM::Coin3D::Quarter::QuarterWidgetP::removeFromCacheContext(QuarterWidgetP_cachecontext*, QOpenGLWidget const*) from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0xc0
#4  0x7f441458c658 in SIM::Coin3D::Quarter::QuarterWidgetP::~QuarterWidgetP() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x18
#5  0x7f4414588538 in SIM::Coin3D::Quarter::QuarterWidget::~QuarterWidget() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0xb8
#6  0x7f44145c28f9 in Gui::View3DInventorViewer::~View3DInventorViewer() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x9
#7  0x7f44145b3d98 in Gui::View3DInventor::~View3DInventor() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x168
#8  0x7f44145b3ee9 in Gui::View3DInventor::~View3DInventor() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x9
#9  0x7f44120f6daf in QObject::event(QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x4f
#10  0x7f4412b8f15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x7f
#11  0x7f44142a5cc0 in Gui::GUIApplication::notify(QObject*, QEvent*) from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x60
#12  0x7f44120cafca in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x12a
#13  0x7f44120cda01 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /lib/x86_64-linux-gnu/libQt5Core.so.5+0x171
#14  0x7f44120d1c18 in QCoreApplication::exec() from /lib/x86_64-linux-gnu/libQt5Core.so.5+0xa8
#15  0x7f44142135ad in Gui::Application::runApplication() from /opt/freecad-source/freecad-build/lib/libFreeCADGui.so+0x1b0d
#16  ./FreeCAD(+0x4b88) [0x565271ba2b88]
#17  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f4411a97d0a]
#18  ./FreeCAD(+0x4e9a) [0x565271ba2e9a]
Post Reply