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

MacPorts noreply at macports.org
Thu Jan 21 05:31:54 UTC 2021


#62104: qt5-qtbase @5.15.2_1+debug+openssl fails to build due to missing MoltenVK
header
--------------------------+---------------------------------
  Reporter:  cooljeanius  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:               |   Keywords:
      Port:  qt5-qtbase   |
--------------------------+---------------------------------

Comment (by cooljeanius):

 Replying to [comment:3 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
 }}}

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


More information about the macports-tickets mailing list