[MacPorts] #62104: qt5-qtbase @5.15.2_1+debug+openssl fails to build due to missing MoltenVK header

MacPorts noreply at macports.org
Wed Jan 20 11:56:27 UTC 2021


#62104: qt5-qtbase @5.15.2_1+debug+openssl fails to build due to missing MoltenVK
header
-------------------------+------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:               |       Port:  qt5-qtbase
-------------------------+------------------------
 I am on macOS Catalina using Xcode 12.3. When trying to upgrade
 qt5-qtbase, it fails with the following output:
 {{{
 ./Frameworks -single_module -dynamiclib -o libqoffscreen.dylib
 .obj/release/main.o .obj/release/qoffscreenintegration.o
 .obj/release/qoffscreenwindow.o .obj/release/qoffscreencommon.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib/libQt5EventDispatcherSupport.a
 -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib/libQt5FontDatabaseSupport.a -framework
 CoreFoundation -framework CoreGraphics -framework CoreText -framework
 Foundation -lfreetype -lz -framework QtGui -framework AppKit -framework
 Metal -framework QtCore -framework DiskArbitration -framework IOKit
 -framework OpenGL -framework AGL
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libgthread-2.0.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libglib-2.0.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libintl.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libfreetype.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libz.dylib
 In file included from qcocoawindowmanager.mm:41:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [.obj/debug/qcocoawindowmanager.o] Error 1
 make[5]: *** Waiting for unfinished jobs....
 /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z  -arch x86_64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-
 min=10.15 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions
 -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-ivars
 -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_NO_FOREACH -DQT_DEPRECATED_WARNINGS
 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION
 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
 -DQT_PLUGIN -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB
 -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GRAPHICS_SUPPORT_LIB
 -DQT_VULKAN_SUPPORT_LIB -DQT_CLIPBOARD_SUPPORT_LIB -DQT_PRINTSUPPORT_LIB
 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include
 -I../../../../include/QtAccessibilitySupport
 -I../../../../include/QtAccessibilitySupport/5.15.2
 -I../../../../include/QtAccessibilitySupport/5.15.2/QtAccessibilitySupport
 -I../../../../include/QtThemeSupport
 -I../../../../include/QtThemeSupport/5.15.2
 -I../../../../include/QtThemeSupport/5.15.2/QtThemeSupport
 -I../../../../include/QtFontDatabaseSupport
 -I../../../../include/QtFontDatabaseSupport/5.15.2
 -I../../../../include/QtFontDatabaseSupport/5.15.2/QtFontDatabaseSupport
 -I../../../../include/QtGraphicsSupport
 -I../../../../include/QtGraphicsSupport/5.15.2
 -I../../../../include/QtGraphicsSupport/5.15.2/QtGraphicsSupport
 -I../../../../include/QtVulkanSupport
 -I../../../../include/QtVulkanSupport/5.15.2
 -I../../../../include/QtVulkanSupport/5.15.2/QtVulkanSupport
 -I../../../../include/QtPrintSupport/5.15.2
 -I../../../../include/QtPrintSupport/5.15.2/QtPrintSupport
 -I../../../../include/QtWidgets/5.15.2
 -I../../../../include/QtWidgets/5.15.2/QtWidgets
 -I../../../../include/QtGui/5.15.2
 -I../../../../include/QtGui/5.15.2/QtGui
 -I../../../../include/QtClipboardSupport
 -I../../../../include/QtClipboardSupport/5.15.2
 -I../../../../include/QtClipboardSupport/5.15.2/QtClipboardSupport
 -I../../../../include/QtPrintSupport -I../../../../include/QtWidgets
 -I../../../../include/QtGui -I../../../../include/QtCore/5.15.2
 -I../../../../include/QtCore/5.15.2/QtCore -I../../../../include/QtCore
 -I.moc/release
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o .obj/release/qnswindowdelegate.o
 qnswindowdelegate.mm
 mv -f libqoffscreen.dylib
 ../../../../plugins/platforms/libqoffscreen.dylib
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/offscreen'
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/offscreen'
 /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -fvisibility=hidden -fvisibility-inlines-hidden -fno-
 exceptions -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-
 ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 -DGL_SILENCE_DEPRECATION -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB
 -DQT_CORE_LIB -I. -I../../../../include/QtNetwork/5.15.2
 -I../../../../include/QtNetwork/5.15.2/QtNetwork
 -I../../../../include/QtCore/5.15.2
 -I../../../../include/QtCore/5.15.2/QtCore -I../../../../include
 -I../../../../include/QtNetwork -I../../../../include/QtCore
 -I.moc/release -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o
 .obj/release/moc_qnetworksession_impl.o
 .moc/release/moc_qnetworksession_impl.cpp
 rm -f libqxdgdesktopportal.dylib
 /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++
 -headerpad_max_install_names -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -Wl,-rpath, at executable_path/../Frameworks -single_module
 -dynamiclib -o libqxdgdesktopportal.dylib .obj/release/main.o
 .obj/release/qxdgdesktopportaltheme.o
 .obj/release/qxdgdesktopportalfiledialog.o
 .obj/release/moc_qxdgdesktopportalfiledialog_p.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib/libQt5ThemeSupport.a -framework QtGui
 -framework AppKit -framework Metal -framework QtDBus -framework QtCore
 -framework DiskArbitration -framework IOKit -framework OpenGL -framework
 AGL
 mv -f libqxdgdesktopportal.dylib
 ../../../../plugins/platformthemes/libqxdgdesktopportal.dylib
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platformthemes/xdgdesktopportal'
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platformthemes/xdgdesktopportal'
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platformthemes'
 /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z  -arch x86_64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-
 min=10.15 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions
 -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-ivars
 -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_NO_FOREACH -DQT_DEPRECATED_WARNINGS
 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION
 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
 -DQT_PLUGIN -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB
 -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GRAPHICS_SUPPORT_LIB
 -DQT_VULKAN_SUPPORT_LIB -DQT_CLIPBOARD_SUPPORT_LIB -DQT_PRINTSUPPORT_LIB
 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include
 -I../../../../include/QtAccessibilitySupport
 -I../../../../include/QtAccessibilitySupport/5.15.2
 -I../../../../include/QtAccessibilitySupport/5.15.2/QtAccessibilitySupport
 -I../../../../include/QtThemeSupport
 -I../../../../include/QtThemeSupport/5.15.2
 -I../../../../include/QtThemeSupport/5.15.2/QtThemeSupport
 -I../../../../include/QtFontDatabaseSupport
 -I../../../../include/QtFontDatabaseSupport/5.15.2
 -I../../../../include/QtFontDatabaseSupport/5.15.2/QtFontDatabaseSupport
 -I../../../../include/QtGraphicsSupport
 -I../../../../include/QtGraphicsSupport/5.15.2
 -I../../../../include/QtGraphicsSupport/5.15.2/QtGraphicsSupport
 -I../../../../include/QtVulkanSupport
 -I../../../../include/QtVulkanSupport/5.15.2
 -I../../../../include/QtVulkanSupport/5.15.2/QtVulkanSupport
 -I../../../../include/QtPrintSupport/5.15.2
 -I../../../../include/QtPrintSupport/5.15.2/QtPrintSupport
 -I../../../../include/QtWidgets/5.15.2
 -I../../../../include/QtWidgets/5.15.2/QtWidgets
 -I../../../../include/QtGui/5.15.2
 -I../../../../include/QtGui/5.15.2/QtGui
 -I../../../../include/QtClipboardSupport
 -I../../../../include/QtClipboardSupport/5.15.2
 -I../../../../include/QtClipboardSupport/5.15.2/QtClipboardSupport
 -I../../../../include/QtPrintSupport -I../../../../include/QtWidgets
 -I../../../../include/QtGui -I../../../../include/QtCore/5.15.2
 -I../../../../include/QtCore/5.15.2/QtCore -I../../../../include/QtCore
 -I.moc/release
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o .obj/release/qcocoanativeinterface.o
 qcocoanativeinterface.mm
 27 warnings generated.
 /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -fvisibility=hidden -fvisibility-inlines-hidden -fno-
 exceptions -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-
 ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 -DGL_SILENCE_DEPRECATION -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB
 -DQT_CORE_LIB -I. -I../../../../include/QtNetwork/5.15.2
 -I../../../../include/QtNetwork/5.15.2/QtNetwork
 -I../../../../include/QtCore/5.15.2
 -I../../../../include/QtCore/5.15.2/QtCore -I../../../../include
 -I../../../../include/QtNetwork -I../../../../include/QtCore
 -I.moc/release -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o .obj/release/moc_qbearerengine_impl.o
 .moc/release/moc_qbearerengine_impl.cpp
 In file included from qnsview.mm:43:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z  -arch x86_64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-
 min=10.15 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions
 -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-ivars
 -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_NO_FOREACH -DQT_DEPRECATED_WARNINGS
 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION
 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
 -DQT_PLUGIN -DQT_ACCESSIBILITY_SUPPORT_LIB -DQT_THEME_SUPPORT_LIB
 -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GRAPHICS_SUPPORT_LIB
 -DQT_VULKAN_SUPPORT_LIB -DQT_CLIPBOARD_SUPPORT_LIB -DQT_PRINTSUPPORT_LIB
 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include
 -I../../../../include/QtAccessibilitySupport
 -I../../../../include/QtAccessibilitySupport/5.15.2
 -I../../../../include/QtAccessibilitySupport/5.15.2/QtAccessibilitySupport
 -I../../../../include/QtThemeSupport
 -I../../../../include/QtThemeSupport/5.15.2
 -I../../../../include/QtThemeSupport/5.15.2/QtThemeSupport
 -I../../../../include/QtFontDatabaseSupport
 -I../../../../include/QtFontDatabaseSupport/5.15.2
 -I../../../../include/QtFontDatabaseSupport/5.15.2/QtFontDatabaseSupport
 -I../../../../include/QtGraphicsSupport
 -I../../../../include/QtGraphicsSupport/5.15.2
 -I../../../../include/QtGraphicsSupport/5.15.2/QtGraphicsSupport
 -I../../../../include/QtVulkanSupport
 -I../../../../include/QtVulkanSupport/5.15.2
 -I../../../../include/QtVulkanSupport/5.15.2/QtVulkanSupport
 -I../../../../include/QtPrintSupport/5.15.2
 -I../../../../include/QtPrintSupport/5.15.2/QtPrintSupport
 -I../../../../include/QtWidgets/5.15.2
 -I../../../../include/QtWidgets/5.15.2/QtWidgets
 -I../../../../include/QtGui/5.15.2
 -I../../../../include/QtGui/5.15.2/QtGui
 -I../../../../include/QtClipboardSupport
 -I../../../../include/QtClipboardSupport/5.15.2
 -I../../../../include/QtClipboardSupport/5.15.2/QtClipboardSupport
 -I../../../../include/QtPrintSupport -I../../../../include/QtWidgets
 -I../../../../include/QtGui -I../../../../include/QtCore/5.15.2
 -I../../../../include/QtCore/5.15.2/QtCore -I../../../../include/QtCore
 -I.moc/release
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o .obj/release/qcocoaeventdispatcher.o
 qcocoaeventdispatcher.mm
 In file included from qnswindow.mm:43:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 rm -f libqminimal.dylib
 /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++
 -headerpad_max_install_names -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -Wl,-rpath, at executable_path/../Frameworks -single_module
 -dynamiclib -o libqminimal.dylib .obj/release/main.o
 .obj/release/qminimalintegration.o .obj/release/qminimalbackingstore.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib/libQt5EventDispatcherSupport.a
 -L/opt/local/lib -lgthread-2.0 -lglib-2.0 -lintl
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib/libQt5FontDatabaseSupport.a -framework
 CoreFoundation -framework CoreGraphics -framework CoreText -framework
 Foundation -lfreetype -lz -framework QtGui -framework AppKit -framework
 Metal -framework QtCore -framework DiskArbitration -framework IOKit
 -framework OpenGL -framework AGL -L/opt/local/lib -lfreetype -lz
 In file included from qcocoawindowmanager.mm:41:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [.obj/release/qcocoawindowmanager.o] Error 1
 make[5]: *** Waiting for unfinished jobs....
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libgthread-2.0.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libglib-2.0.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libintl.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libfreetype.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libz.dylib
 1 error generated.
 mv -f libqminimal.dylib ../../../../plugins/platforms/libqminimal.dylib
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/minimal'
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/minimal'
 make[5]: *** [.obj/debug/qnswindow.o] Error 1
 rm -f libqmacstyle.dylib
 /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++
 -headerpad_max_install_names -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -Wl,-rpath, at executable_path/../Frameworks -single_module
 -dynamiclib -o libqmacstyle.dylib .obj/release/main.o
 .obj/release/qmacstyle_mac.o .obj/release/moc_qmacstyle_mac_p.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -framework QtWidgets -framework QtGui
 -framework AppKit -framework Metal -framework QtCore -framework
 DiskArbitration -framework IOKit -framework OpenGL -framework AGL
 -framework AppKit
 mv -f libqmacstyle.dylib ../../../../plugins/styles/libqmacstyle.dylib
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/styles/mac'
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/styles/mac'
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/styles'
 rm -f libqgenericbearer.dylib
 /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++
 -headerpad_max_install_names -fapplication-extension  -arch x86_64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=10.15 -Wl,-rpath, at executable_path/../Frameworks -single_module
 -dynamiclib -o libqgenericbearer.dylib .obj/release/qgenericengine.o
 .obj/release/qnetworksession_impl.o .obj/release/main.o
 .obj/release/moc_qgenericengine.o .obj/release/moc_qnetworksession_impl.o
 .obj/release/moc_qbearerengine_impl.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -framework QtNetwork -framework QtCore
 -framework DiskArbitration -framework IOKit -lssl -lcrypto
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libssl.dylib
 ld: warning: linking against a dylib which is not safe for use in
 application extensions: /opt/local/lib/libcrypto.dylib
 mv -f libqgenericbearer.dylib
 ../../../../plugins/bearer/libqgenericbearer.dylib
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/bearer/generic'
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/bearer/generic'
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/bearer'
 1 error generated.
 make[5]: *** [.obj/debug/qnsview.o] Error 1
 In file included from qcocoanativeinterface.mm:41:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 In file included from qnswindowdelegate.mm:42:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 In file included from qnsview.mm:43:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [.obj/debug/qnswindowdelegate.o] Error 1
 In file included from qcocoaeventdispatcher.mm:75:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [.obj/debug/qcocoaeventdispatcher.o] Error 1
 In file included from qnswindow.mm:43:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 make[5]: *** [.obj/debug/qcocoanativeinterface.o] Error 1
 1 error generated.
 make[5]: *** [.obj/release/qnswindow.o] Error 1
 1 error generated.
 make[5]: *** [.obj/release/qnsview.o] Error 1
 In file included from qcocoanativeinterface.mm:41:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 In file included from qcocoaapplicationdelegate.mm:76:
 In file included from ./qcocoaintegration.h:46:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 In file included from qnswindowdelegate.mm:42:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 In file included from qcocoaeventdispatcher.mm:75:
 ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not
 found
 #include <MoltenVK/mvk_vulkan.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 1 error generated.
 make[5]: *** [.obj/release/qnswindowdelegate.o] Error 1
 make[5]: *** [.obj/debug/qcocoaapplicationdelegate.o] Error 1
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/cocoa'
 make[4]: *** [debug-all] Error 2
 make[4]: *** Waiting for unfinished jobs....
 1 error generated.
 make[5]: *** [.obj/release/qcocoaeventdispatcher.o] Error 1
 1 error generated.
 make[5]: *** [.obj/release/qcocoanativeinterface.o] Error 1
 make[5]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/cocoa'
 make[4]: *** [release-all] Error 2
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms/cocoa'
 make[3]: *** [sub-cocoa-make_first] Error 2
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins/platforms'
 make[2]: *** [sub-platforms-make_first] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src/plugins'
 make[1]: *** [sub-plugins-make_first] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/src'
 make: *** [sub-src-make_first] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2" && /usr/bin/make -j16 -w
 Exit code: 2
 Error: Failed to build qt5-qtbase: command execution failed
 DEBUG: Error code: CHILDSTATUS 12758 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$nice $fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log
 for details.
 DEBUG: Registry error: qt59-qtbase not registered as installed & active.
 }}}
 I had the MoltenVK port installed previously, but I have since deactivated
 it, and it makes no difference whether that port is active or not, as I
 get the same failure either way.

-- 
Ticket URL: <https://trac.macports.org/ticket/62104>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list