SoQt linking error on Mavericks (10.9.3)
Mark Brethen
mark.brethen at gmail.com
Thu Jun 26 21:03:45 PDT 2014
After installing Coin, I get the following error with SoQt:
---> Found 1 broken file(s), matching files to ports
Error: Port SoQt is still broken after rebuilding it more than 3 times.
Error: Please run port -d -y rev-upgrade and use the output to report a bug.
Running port -d -y rev-upgrade gives:
Could not open Inventor.framework/Versions/C/Inventor: Error opening or reading file (referenced from /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib)
DEBUG: Marking /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.5.0.dylib as broken
---> Found 1 broken file(s), matching files to ports
Coin and SoQt were built as frameworks with qt4-mac. 'Inventor.framework/Versions/C/Inventor' is a link to 'Inventor.framework/Versions/C/Libraries/libCoin.60.1.3.dylib'.
From SoQt main.log:
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_marbre_ports_graphics_SoQt/SoQt/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
There were numerous warnings such as:
:info:build SoQtInputFocus.cpp:64:34: warning: unused parameter 'widget' [-Wunused-parameter]
:info:build SoQtInputFocus::enable(QWidget * widget, SoQtEventHandler * handler, void * closure)
and
:info:build ../../../../src/Inventor/Qt/viewers/SoQtViewer.cpp:979:18: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
:info:build if (SOQT_DEBUG && 0) { // debug
:info:build ^ ~
:info:build ../../../../src/Inventor/Qt/viewers/SoQtViewer.cpp:979:18: note: use '&' for a bitwise operation
finally
:info:build /usr/bin/clang++ -dynamiclib -o .libs/libSoQt.20.5.0.dylib .libs/SoQt.o .libs/SoQtSignalThread.o .libs/SoQtComponent.o .libs/SoQtGLWidget.o .libs/SoQtImageReader.o .libs/SoAny.o .libs/SoQtCursor.o .libs/SoQtObject.o .libs/SoQtCommon.o .libs/SoQtComponentCommon.o .libs/SoQtGLWidgetCommon.o .libs/SoQtRenderArea.o .libs/libSoQt.lax/libSoQtDevices.a/6DOFEvents.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtDevice.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtDeviceCommon.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtInputFocus.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtInputFocusCommon.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtKeyboard.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtKeyboardCommon.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtMouse.o .libs/libSoQt.lax/libSoQtDevices.a/SoQtMouseCommon.o .libs/libSoQt.lax/libSoQtDevices.a/spwinput_win32.o .libs/libSoQt.lax/libSoQtDevices.a/spwinput_x11.o .libs/libSoQt.lax/libSoQtEditors.a/SoQtColorEditor.o .libs/libSoQt.lax/libSoQtEditors.a/SoQtMaterialEditor.o .libs/libSoQt.lax/libSoGuiEngines.a/Engines.o .libs/libSoQt.lax/libSoGuiEngines.a/Format.o .libs/libSoQt.lax/libSoGuiEngines.a/RadioGroup.o .libs/libSoQt.lax/libSoGuiNodes.a/ClickCounter.o .libs/libSoQt.lax/libSoGuiNodes.a/ColorEditor.o .libs/libSoQt.lax/libSoGuiNodes.a/Frame.o .libs/libSoQt.lax/libSoGuiNodes.a/Image.o .libs/libSoQt.lax/libSoGuiNodes.a/Label.o .libs/libSoQt.lax/libSoGuiNodes.a/MaterialEditor.o .libs/libSoQt.lax/libSoGuiNodes.a/Nodes.o .libs/libSoQt.lax/libSoGuiNodes.a/Pane.o .libs/libSoQt.lax/libSoGuiNodes.a/Position.o .libs/libSoQt.lax/libSoGuiNodes.a/RadioButton.o .libs/libSoQt.lax/libSoGuiNodes.a/SceneTexture2.o .libs/libSoQt.lax/libSoGuiNodes.a/Slider1.o .libs/libSoQt.lax/libSoGuiNodes.a/Slider2.o .libs/libSoQt.lax/libSoGuiNodes.a/ToggleButton.o .libs/libSoQt.lax/libSoGuiNodes.a/Translation.o .libs/libSoQt.lax/libSoGuiNodes.a/ViewpointWrapper.o .libs/libSoQt.lax/libSoGuiNodes.a/ViewportFix.o .libs/libSoQt.lax/libSoQtViewers.a/ExaminerViewer.o .libs/libSoQt.lax/libSoQtViewers.a/FullViewer.o .libs/libSoQt.lax/libSoQtViewers.a/PlaneViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtConstrainedViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtExaminerViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtFlyViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtFullViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtPlaneViewer.o .libs/libSoQt.lax/libSoQtViewers.a/SoQtViewer.o .libs/libSoQt.lax/libSoQtWidgets.a/QtNativePopupMenu.o .libs/libSoQt.lax/libSoQtWidgets.a/SoAnyThumbWheel.o .libs/libSoQt.lax/libSoQtWidgets.a/SoQtGLArea.o .libs/libSoQt.lax/libSoQtWidgets.a/SoQtPopupMenu.o .libs/libSoQt.lax/libSoQtWidgets.a/SoQtThumbWheel.o -L/opt/local/lib -lQtOpenGL -lQtGui -lQtCore -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-F/opt/local/Library/Frameworks -Wl,-framework -Wl,Inventor -Wl,-framework -Wl,OpenGL -install_name /opt/local/Library/Frameworks/SoQt.framework/Versions/A/Libraries/libSoQt.20.dylib -compatibility_version 26 -current_version 26.0 -Wl,-single_module
:info:build dsymutil .libs/libSoQt.20.5.0.dylib || :
:info:build warning: no debug symbols in executable (-arch x86_64)
:info:build (cd .libs && rm -f libSoQt.20.dylib && ln -s libSoQt.20.5.0.dylib libSoQt.20.dylib)
:info:build (cd .libs && rm -f libSoQt.dylib && ln -s libSoQt.20.5.0.dylib libSoQt.dylib)
I posted a bug report over at the Coin3D site, as I did not find anything like this reported. Any thoughts?
Mark
More information about the macports-dev
mailing list