Opened 3 years ago

Closed 3 years ago

#63822 closed defect (duplicate)

qt5-qtbase @5.15.2_2 missing MoltenVK headers

Reported by: MaddTheSane (C.W. Betts) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), chrstphrchvz (Christopher Chavez)
Port: qt5-qtbase

Description

When building Qt5 on my Apple Silicon MacBook Pro, it fails to build due to missing MoltenVK headers:

:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -Oz -std=c++1z  -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -mmacosx-version-min=12.0 -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 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.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/qcocoaapplication.o qcocoaapplication.mm
:info:build In file included from qcocoawindowmanager.mm:41:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qcocoawindowmanager.o] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build In file included from qnsview.mm:43:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build In file included from qnswindow.mm:43:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qnswindow.o] Error 1
:info:build In file included from qnswindowdelegate.mm:42:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qnswindowdelegate.o] Error 1
:info:build In file included from qcocoanativeinterface.mm:41:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qnsview.o] Error 1
:info:build In file included from qcocoaeventdispatcher.mm:75:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qcocoaeventdispatcher.o] Error 1
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qcocoanativeinterface.o] Error 1
:info:build In file included from qcocoaapplication.mm:79:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build In file included from qcocoaapplicationdelegate.mm:76:
:info:build In file included from ./qcocoaintegration.h:46:
:info:build ./qcocoawindow.h:56:10: fatal error: 'MoltenVK/mvk_vulkan.h' file not found
:info:build #include <MoltenVK/mvk_vulkan.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~~~
:info:build make[4]: *** [.obj/qcocoaapplication.o] Error 1
:info:build 1 error generated.
:info:build make[4]: *** [.obj/qcocoaapplicationdelegate.o] Error 1
:info:build make[4]: Leaving directory 

This is true even if the MoltenVK package is installed.

Attachments (1)

main.log.zip (111.2 KB) - added by MaddTheSane (C.W. Betts) 3 years ago.
Failed build log

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by MaddTheSane (C.W. Betts)

Attachment: main.log.zip added

Failed build log

comment:1 Changed 3 years ago by MaddTheSane (C.W. Betts)

And yes, I'm on Monterey.

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Possible duplicate of #62104?

comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:4 in reply to:  2 Changed 3 years ago by MaddTheSane (C.W. Betts)

Replying to chrstphrchvz:

Possible duplicate of #62104?

Yep, this one is older, thus this one is the duplicate.

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.