[MacPorts] #62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon

MacPorts noreply at macports.org
Fri May 28 12:21:55 UTC 2021


#62027: qt5-qtwebkit fails to build on Big Sur 11.1 with Apple silicon
---------------------------+---------------------------------
  Reporter:  dfleck        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.4
Resolution:                |   Keywords:  bigsur arm64
      Port:  qt5-qtwebkit  |
---------------------------+---------------------------------

Comment (by ILMostro):

 Much better.  Thank you!

 There is yet another issue now while trying to compile mythfrontend v31.


 {{{
 ccache clang -c -pipe -D_FILE_OFFSET_BITS=64 -D_DARWIN_C_SOURCE
 -I/compat/dispatch_semaphore -DPIC -DZLIB_CONST -std=c11 -mdynamic-no-pic
 -DNDEBUG -fomit-frame-pointer -fPIC -pthread -I/opt/local/include/libxml2
 -I/opt/local/include/ossp -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -g -Wall -Wextra -Wdisabled-optimization
 -Wpointer-arith -Wwrite-strings -Wundef -Wno-pointer-to-int-cast -Wstrict-
 prototypes -Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign
 -Wno-unused-const-variable -Wno-bool-operation -O3 -fno-math-errno -fno-
 signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-
 function-declaration -Werror=return-type -fno-common  -arch arm64
 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
 -mmacosx-version-min=10.13 -w -DUSING_APPLEREMOTE -D_GNU_SOURCE
 -DHAVE_CONFIG_H -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I.
 -I/opt/local/libexec/qt5/include -I/opt/local/include/libxml2 -I. -I../..
 -I../../libs/libmythbase
 -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers
 -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -Imoc
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/AGL.framework/Headers
 -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib
 -o obj/udfread-version.o udfread-version.c
 rm -f libmythudfread-32.a
 ar rc libmythudfread-32.a obj/default_blockinput.o obj/ecma167.o
 obj/udfread.o obj/udfread-version.o
 ranlib libmythudfread-32.a
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -C
 libmythsoundtouch all
 ccache clang++ -c -pipe -stdlib=libc++ -D_FILE_OFFSET_BITS=64 -DPIC
 -std=c++17 -faligned-new -DNDEBUG -fomit-frame-pointer -fPIC
 -DQT_DISABLE_DEPRECATED_BEFORE=0x050900 -pthread -g -Wall -Wextra
 -Wpointer-arith -Wno-constant-logical-operand -Wno-unused-value -Qunused-
 arguments -Wimplicit-fallthrough -fPIC -std=gnu++1z  -arch arm64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk
 -mmacosx-version-min=10.13 -w -DUSING_APPLEREMOTE -D_GNU_SOURCE -I.
 -I/opt/local/libexec/qt5/include -I/opt/local/include/libxml2 -I. -I../..
 -I/opt/local/libexec/qt5/mkspecs/macx-clang -o obj/AAFilter.o AAFilter.cpp
 In file included from AAFilter.cpp:45:
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:309:
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:417:
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/cstddef:37:
 ../../version:1:1: error: C++ requires a type specifier for all
 declarations
 SOURCE_VERSION="v32-Pre"
 ^
 ../../version:1:25: error: expected ';' after top level declarator
 SOURCE_VERSION="v32-Pre"
                         ^
 In file included from AAFilter.cpp:45:
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:309:
 In file included from
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:418:
 ../../version:1:1: error: C++ requires a type specifier for all
 declarations
 SOURCE_VERSION="v32-Pre"
 ^
 ../../version:1:25: error: expected ';' after top level declarator
 SOURCE_VERSION="v32-Pre"
                         ^
 4 errors generated.
 make[2]: *** [obj/AAFilter.o] Error 1
 make[1]: *** [libmythsoundtouch-all] Error 2
 make: *** [external] Error 2
     Compiling Mythtv failed
 }}}

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


More information about the macports-tickets mailing list