#62104 closed defect (fixed)
qt5-qtbase @5.15.2_1+debug+openssl fails to build due to missing MoltenVK header
Reported by: | cooljeanius (Eric Gallager) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez), MaddTheSane (C.W. Betts) | |
Port: | qt5-qtbase |
Description
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,@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,@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,@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,@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.
Attachments (1)
Change History (20)
Changed 4 years ago by cooljeanius (Eric Gallager)
Attachment: | qt5-qtbase_main.log.bz2 added |
---|
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Cc: | MarcusCalhoun-Lopez removed |
---|---|
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
comment:2 Changed 4 years ago by kencu (Ken)
just for a sanity check, please ensure you can build from source the default build like everyone else can, and then we'll see about getting your debug variant going if we can.
comment:3 follow-up: 4 Changed 4 years ago by cooljeanius (Eric Gallager)
Yeah building minus the debug variant fails for me like it does with the debug variant
comment:4 follow-up: 19 Changed 4 years ago by cooljeanius (Eric Gallager)
Replying to cooljeanius:
Yeah building minus the debug variant fails for me like it does with the debug variant
Update: I tried building with trace mode turned on and that makes it fail with a different error:
/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 -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_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -D_REENTRANT -I. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I.rcc -I../../include -I../../include/QtCore -I../../include/QtCore/5.15.2 -I../../include/QtCore/5.15.2/QtCore -I.moc -I.tracegen -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I../../mkspecs/macx-clang -o .obj/qmimeglobpattern.o mimetypes/qmimeglobpattern.cpp perl /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/corelib/mimetypes/mime/generate.pl --zstd mimetypes/mime/packages/freedesktop.org.xml > .rcc/qmimeprovider_database.cpp perl: posix_spawn: /opt/local/var/macports/sip-workaround/502/usr/bin/perl5.18: No such file or directory make[2]: *** [.rcc/qmimeprovider_database.cpp] Error 1 make[2]: *** Waiting for unfinished jobs.... 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/corelib' make[1]: *** [sub-corelib-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 Warning: The following existing files were hidden from the build system by trace mode: /Library/Frameworks/Foundation.framework/Foundation /opt/local/bin/perl /opt/local/include/Block.h /opt/local/include/mach-o/fat.h /opt/local/include/mach-o/loader.h /opt/local/lib/libunwind.dylib /private/var/select/sh The following files would have been hidden from the build system by trace mode if they existed: /AppleInternal/Library/Preferences/com.apple.versioner.perl.plist /Library/Frameworks/AppKit.framework/AppKit /Library/Frameworks/AppKit.framework/AppKit.prl /Library/Frameworks/AppKit.framework/Resources/AppKit /Library/Frameworks/AppKit.framework/Resources/AppKit.prl /Library/Frameworks/ApplicationServices.framework/ApplicationServices /Library/Frameworks/ApplicationServices.framework/ApplicationServices.prl /Library/Frameworks/ApplicationServices.framework/Resources/ApplicationServices /Library/Frameworks/ApplicationServices.framework/Resources/ApplicationServices.prl /Library/Frameworks/CoreFoundation.framework/CoreFoundation /Library/Frameworks/CoreFoundation.framework/CoreFoundation.prl /Library/Frameworks/CoreFoundation.framework/Resources/CoreFoundation /Library/Frameworks/CoreFoundation.framework/Resources/CoreFoundation.prl /Library/Frameworks/CoreServices.framework/CoreServices /Library/Frameworks/CoreServices.framework/CoreServices.prl /Library/Frameworks/CoreServices.framework/Resources/CoreServices /Library/Frameworks/CoreServices.framework/Resources/CoreServices.prl /Library/Frameworks/DiskArbitration.framework/DiskArbitration /Library/Frameworks/DiskArbitration.framework/DiskArbitration.prl /Library/Frameworks/DiskArbitration.framework/Resources/DiskArbitration /Library/Frameworks/DiskArbitration.framework/Resources/DiskArbitration.prl /Library/Frameworks/Foundation.framework/Foundation.prl /Library/Frameworks/Foundation.framework/Resources/Foundation /Library/Frameworks/Foundation.framework/Resources/Foundation.prl /Library/Frameworks/IOKit.framework/IOKit /Library/Frameworks/IOKit.framework/IOKit.prl /Library/Frameworks/IOKit.framework/Resources/IOKit /Library/Frameworks/IOKit.framework/Resources/IOKit.prl /Library/Frameworks/Security.framework/Resources/Security /Library/Frameworks/Security.framework/Resources/Security.prl /Library/Frameworks/Security.framework/Security /Library/Frameworks/Security.framework/Security.prl /Network/Library/Preferences/com.apple.versioner.perl.plist /Users/macports/.CFUserTextEncoding /Users/macports/Library/Preferences/com.apple.versioner.perl.plist /opt/.qmake.super /usr/gnu/include /usr/local/cuda-7.0 /usr/local/cuda-7.5 /usr/local/cuda-8.0 /usr/local/cuda/include Error: Failed to build qt5-qtbase: command execution failed DEBUG: Error code: CHILDSTATUS 77315 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. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port qt5-qtbase failed
comment:5 follow-up: 7 Changed 4 years ago by kencu (Ken)
I would uninstall qt5-qtbase completely, then rebuild it.
If that didn't work, and it was still moltenvk-corrupted, uninstall all qt5 stuff, remove any config code in your home dir, and then reinstall it all from the buildbot?
then, when that works, if you need some part of qt5 built as debug, rebuild just that part.
comment:6 Changed 4 years ago by kencu (Ken)
btw, what is up with the qt59 error? are you mixing versions of thing somehow?
DEBUG: Registry error: qt59-qtbase not registered as installed & active.
comment:7 follow-up: 8 Changed 4 years ago by cooljeanius (Eric Gallager)
Replying to kencu:
I would uninstall qt5-qtbase completely, then rebuild it.
If that didn't work, and it was still moltenvk-corrupted, uninstall all qt5 stuff, remove any config code in your home dir, and then reinstall it all from the buildbot?
then, when that works, if you need some part of qt5 built as debug, rebuild just that part.
ok I installed it from the binary package; I'll try to see how other qt5 stuff builds now...
Replying to kencu:
btw, what is up with the qt59 error? are you mixing versions of things somehow?
DEBUG: Registry error: qt59-qtbase not registered as installed & active.
Sometimes Macports gets confused and prints registry errors about ports I'm not even trying to install; I think it's a known issue but I forget where I've seen it before
comment:8 Changed 4 years ago by cooljeanius (Eric Gallager)
Replying to cooljeanius:
Replying to kencu:
I would uninstall qt5-qtbase completely, then rebuild it.
If that didn't work, and it was still moltenvk-corrupted, uninstall all qt5 stuff, remove any config code in your home dir, and then reinstall it all from the buildbot?
then, when that works, if you need some part of qt5 built as debug, rebuild just that part.
ok I installed it from the binary package; I'll try to see how other qt5 stuff builds now...
So, installing from the binary package meant I had to reinstall a bunch of the other qt5 ports with their debug variants removed, too, as trying to build debug against non-debug didn't work. I forget which ones exactly I had to do this for, but it was a good number of them; I remember qt5-qtdeclarative in particular being a pain.
comment:10 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:11 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
qt5-qtbase does not appear to normally configure with Vulkan support enabled. Is qt5-qtbase opportunistically trying to build with Vulkan support enabled when it detects headers for it somewhere, e.g. from MoltenVK or other Vulkan port?
comment:12 follow-up: 15 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Possible workaround might be to specify -no-feature-vulkan
in the portfile, unless always building with Vulkan support is desirable.
comment:13 Changed 3 years ago by MaddTheSane (C.W. Betts)
Cc: | MaddTheSane added |
---|
comment:14 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
I believe at least qt513-qtbase is likely also affected (since Qt has MoltenVK support since 5.12). However Vulkan support for other platforms appears to go back at least to 5.10, so I wonder if qt511-qtbase is potentially affected as well.
comment:15 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Replying to chrstphrchvz:
Possible workaround might be to specify
-no-feature-vulkan
in the portfile
Pull request for this workaround: https://github.com/macports/macports-ports/pull/12837
comment:16 Changed 3 years ago by jhoyt4
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:17 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
This ticket was closed early; still need to merge https://github.com/macports/macports-ports/pull/12837
comment:18 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
comment:19 Changed 3 years ago by chrstphrchvz (Christopher Chavez)
Replying to cooljeanius:
Update: I tried building with trace mode turned on and that makes it fail with a different error:
… perl /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/corelib/mimetypes/mime/generate.pl --zstd mimetypes/mime/packages/freedesktop.org.xml > .rcc/qmimeprovider_database.cpp perl: posix_spawn: /opt/local/var/macports/sip-workaround/502/usr/bin/perl5.18: No such file or directory make[2]: *** [.rcc/qmimeprovider_database.cpp] Error 1
I encountered a nearly identical error building a different port, and have an idea of what may be causing it: #64061
bzipped main.log for this failed qt5-qtbase build