Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138486

Build failure with bundled zlib

    XMLWordPrintable

Details

    • macOS
    • 1d29d95bf (122-based)

    Description

      macOS 15.5, Xcode 16.4

      configure -openssl-linked -prefix /usr/local/Qt/6.8.4 -release -no-opengl -nomake tests -nomake examples -webengine-pepper-plugins -webengine-proprietary-codecs -no-sql-psql -no-sql-oci -no-sql-mysql -no-sql-ibase -no-sql-db2 -platform macx-clang -- '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' -DCMAKE_OPENSSL_ROOT_DIR=/usr/local/Qt/6.8.4
      
      [1161/45308] CC obj/third_party/zlib/bundled_zlib/zutil.o
      FAILED: obj/third_party/zlib/bundled_zlib/zutil.o
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/usr/bin/clang -MMD -MF obj/third_party/zlib/bundled_zlib/zutil.o.d -DOFFICIAL_BUILD -DTOOLKIT_QT -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -DCR_XCODE_VERSION=1640 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DZLIB_IMPLEMENTATION -DADLER32_SIMD_NEON -DINFLATE_CHUNK_SIMD_NEON -DINFLATE_CHUNK_READ_64LE -DDEFLATE_SLIDE_HASH_NEON -DCRC32_ARMV8_CRC32 -DARMV8_OS_MACOS -Igen -I../../../../../../qtwebengine/src/3rdparty/chromium -I../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-argument -Wno-unknown-attributes -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-predefined-identifier-outside-function -Wno-self-assign -Wno-unknown-pragmas -fcolor-diagnostics -fmerge-all-constants --target=arm64-apple-macos -mno-outline -O2 -fno-math-errno -fno-omit-frame-pointer -g0 -isysroot ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -mmacos-version-min=12 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable -Wno-c++11-narrowing -Wno-unused-but-set-variable -Wno-misleading-indentation -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-deprecated-declarations -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -Wno-thread-safety-reference-return -O3 -fno-math-errno -Wno-incompatible-pointer-types -Wunused-variable -std=c11 -c ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.c -o obj/third_party/zlib/bundled_zlib/zutil.o
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.c:8:
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:185:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
      185 | # define OS_CODE 19
      | ^
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:156:11: note: previous definition is here
      156 | # define OS_CODE 7
      | ^
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.c:10:
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/gzguts.h:20:
      In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/stdio.h:61:
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
      318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
      | ^
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:162:33: note: expanded from macro 'fdopen'
      162 | # define fdopen(fd,mode) NULL /* No fdopen() */
      | ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
      26 | #define NULL ((void*)0)
      | ^
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.c:10:
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/gzguts.h:20:
      In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/stdio.h:61:
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:318:7: error: expected ')'
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:162:33: note: expanded from macro 'fdopen'
      162 | # define fdopen(fd,mode) NULL /* No fdopen() */
      | ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
      26 | #define NULL ((void*)0)
      | ^
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:318:7: note: to match this '('
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:162:33: note: expanded from macro 'fdopen'
      162 | # define fdopen(fd,mode) NULL /* No fdopen() */
      | ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
      26 | #define NULL ((void*)0)
      | ^
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.c:10:
      In file included from ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/gzguts.h:20:
      In file included from ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/stdio.h:61:
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:318:7: error: expected ')'
      318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
      | ^
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:162:33: note: expanded from macro 'fdopen'
      162 | # define fdopen(fd,mode) NULL /* No fdopen() */
      | ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
      26 | #define NULL ((void*)0)
      | ^
      ../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:318:7: note: to match this '('
      ../../../../../../qtwebengine/src/3rdparty/chromium/third_party/zlib/zutil.h:162:33: note: expanded from macro 'fdopen'
      162 | # define fdopen(fd,mode) NULL /* No fdopen() */
      | ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
      26 | #define NULL ((void*)0)
      | ^
      1 warning and 3 errors generated.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anualiyas Anu Aliyas
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes