[MacPorts] #63154: qt5-qtbase @5.15.2_2+openssl: make: c: No such file or directory

MacPorts noreply at macports.org
Fri Oct 29 11:44:07 UTC 2021


#63154: qt5-qtbase @5.15.2_2+openssl: make: c: No such file or directory
---------------------------+---------------------------------
  Reporter:  jtdx-project  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.99
Resolution:                |   Keywords:  arm64
      Port:  qt5-qtbase    |
---------------------------+---------------------------------

Comment (by jwhowarth):

 I'm seeing a build failure later for qt5-base on Monterey with Xcode 13.1.


 {{{
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -c -pipe -stdlib=libc++ -Oz -std=c++1z  -arch x86_64 -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_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/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/_Users_howarth_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.2/lib -o .obj/qiosurfacegraphicsbuffer.o
 qiosurfacegraphicsbuffer.mm
 In file included from qiosurfacegraphicsbuffer.mm:40:
 ./qiosurfacegraphicsbuffer.h:54:32: error: unknown type name
 'CGColorSpaceRef'; did you mean 'QColorSpace'?
     void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);
                                ^~~~~~~~~~~~~~~
                                QColorSpace
 ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:2090:1:
 note: 'QColorSpace' declared here
 QT_FOR_EACH_STATIC_GUI_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
 ^
 ../../../../include/QtCore/../../src/corelib/kernel/qmetatype.h:178:24:
 note: expanded from macro 'QT_FOR_EACH_STATIC_GUI_CLASS'
     F(QColorSpace, 87, QColorSpace) \
                        ^
 qiosurfacegraphicsbuffer.mm:90:32: error: out-of-line definition of
 'setColorSpace' does not match any declaration in
 'QIOSurfaceGraphicsBuffer'
 void QIOSurfaceGraphicsBuffer::setColorSpace(QCFType<CGColorSpaceRef>
 colorSpace)
                                ^~~~~~~~~~~~~
 ./qiosurfacegraphicsbuffer.h:54:24: note: type of 1st parameter of member
 declaration does not match definition ('QCFType<QColorSpace>' vs
 'QCFType<CGColorSpaceRef>')
     void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);
                        ^
 2 errors generated.
 }}}

 Note that I also had to switch from...

 sudo xcode-select -s /Library/Developer/CommandLineTools

 to

 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

 in order to suppress an error...

 {{{
 DEBUG: Starting logging for qt5-qtbase @5.15.2_2+openssl
 DEBUG: macOS 12.0.1 (darwin/21.1.0) arch i386
 DEBUG: MacPorts 2.7.1
 DEBUG: Xcode none
 DEBUG: SDK 12
 DEBUG: MACOSX_DEPLOYMENT_TARGET: 12.0
 DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_Users_howarth_ports_aqua_qt5/qt5-qtbase/work
 /Users/howarth/ports/aqua/qt5/work
 DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
 Error: Port qt5-qtbase requires a full Xcode installation, which was not
 found on your system.
 Error: You can install Xcode from the Mac App Store or
 https://developer.apple.com/xcode/
 Error: See
 /opt/local/var/macports/logs/_Users_howarth_ports_aqua_qt5/qt5-qtbase/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port pymol failed
 }}}

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


More information about the macports-tickets mailing list