Opened 2 years ago

Closed 2 years ago

#56275 closed defect (fixed)

nomacs @3.8.0_0: does not build

Reported by: abouteiller (Aurelien Bouteiller) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: nomacs

Description

The port install is not successful, there is a build error (excerpt from the log file attached inline).

:info:build /opt/local/bin/cmake -E cmake_link_script CMakeFiles/nomacsCore.dir/link.txt --verbose=ON
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -std=c++11 -Wno-unknown-pragmas -arch x86_64 -mmacosx-version-min=10.13 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -o libnomacsCore.dylib -install_name /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build/libnomacsCore.dylib CMakeFiles/nomacsCore.dir/src/DkGui/DkBaseWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkBatch.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkCentralWidget.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkConnection.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkControlWidget.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkDialog.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkDockWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkManipulatorWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkMenu.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkMetaDataWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkNetwork.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkNoMacs.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkPong.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkPreferenceWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkQuickAccess.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkSettingsWidget.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkThumbsWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkToolbars.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkViewPort.cpp.o CMakeFiles/nomacsCore.dir/src/DkGui/DkWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkActionManager.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkBaseViewPort.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkBasicLoader.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkBasicWidgets.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkBatchInfo.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkDependencyResolver.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkImageContainer.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkImageLoader.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkImageStorage.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkManipulators.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkManipulatorsIpl.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkMath.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkMessageBox.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkMetaData.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkPluginManager.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkProcess.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkSaveDialog.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkSettings.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkStatusBar.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkThumbs.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkTimer.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkUpdater.cpp.o CMakeFiles/nomacsCore.dir/src/DkCore/DkUtils.cpp.o CMakeFiles/nomacsCore.dir/qrc_nomacs.cpp.o CMakeFiles/nomacsCore.dir/3rdparty/libqpsd/qpsdhandler.cpp.o CMakeFiles/nomacsCore.dir/3rdparty/libqpsd/qpsdplugin.cpp.o CMakeFiles/nomacsCore.dir/nomacsCore_autogen/mocs_compilation.cpp.o  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build -Wl,-rpath,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build -lexiv2 -lraw -lstdc++ -llcms2 -lopencv_core -lopencv_imgproc /opt/local/lib/libtiff.dylib /opt/local/libexec/qt5/lib/QtNetwork.framework/QtNetwork /opt/local/libexec/qt5/lib/QtPrintSupport.framework/QtPrintSupport /opt/local/libexec/qt5/lib/QtConcurrent.framework/QtConcurrent /opt/local/libexec/qt5/lib/QtSvg.framework/QtSvg /opt/local/libexec/qt5/lib/QtWidgets.framework/QtWidgets /opt/local/libexec/qt5/lib/QtGui.framework/QtGui /opt/local/libexec/qt5/lib/QtCore.framework/QtCore 
:info:build Undefined symbols for architecture x86_64:
:info:build   "vtable for QPsdPlugin", referenced from:
:info:build       QPsdPlugin::QPsdPlugin(QObject*) in qpsdplugin.cpp.o
:info:build       QPsdPlugin::QPsdPlugin(QObject*) in qpsdplugin.cpp.o
:info:build   NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [libnomacsCore.dylib] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build'
:info:build make[1]: *** [CMakeFiles/nomacsCore.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build Failed to build nomacs: command execution failed
:debug:build Error code: CHILDSTATUS 59802 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_nomacs/nomacs/main.log for details.

Change History (3)

comment:1 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:2 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

This has been reported and fixed upstream.

comment:3 Changed 2 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.