public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Marie Loise Nolden <loise@kde.org>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6-qtwebengine] epel9: rhel10 build fix
Date: Thu, 08 Oct 2026 20:25:33 GMT	[thread overview]
Message-ID: <179149113303.1.247161501602400314.rpms-qt6-qtwebengine-bdd79b9a0050@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/qt6-qtwebengine
            Branch : epel9
            Commit : bdd79b9a00500481e0c209ca41b8bb93299d62ea
            Author : Marie Loise Nolden <loise@kde.org>
            Date   : 2025-06-07T05:52:10+00:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/bdd79b9a00500481e0c209ca41b8bb93299d62ea?branch=epel9

            Log:
            rhel10 build fix

To build on RHEL 10, using system zlib-ng must currently be disabled (or the error patched out)

Error message on RHEL 10 build:

[13653/22150] /usr/bin/g++ -MD -MF obj/third_party/zlib/google/zip/zip_internal.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -Igen -I../../../../../src/3rdparty/chromium -I../../../../../src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../../../../src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../src/3rdparty/chromium/third_party/ced/src -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -O2 -fdata-sections -ffunction-sections -fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g1 -fvisibility=hidden -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc -o obj/third_party/zlib/google/zip/zip_internal.o
FAILED: obj/third_party/zlib/google/zip/zip_internal.o 
/usr/bin/g++ -MD -MF obj/third_party/zlib/google/zip/zip_internal.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -Igen -I../../../../../src/3rdparty/chromium -I../../../../../src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../../../../src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../src/3rdparty/chromium/third_party/ced/src -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-misleading-indentation -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -O2 -fdata-sections -ffunction-sections -fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g1 -fvisibility=hidden -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-invalid-offsetof -Wno-deprecated-copy -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc -o obj/third_party/zlib/google/zip/zip_internal.o
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:180:1: error: ‘uLong’ does not name a type; did you mean ‘ulong’?
  180 | uLong ReadZipBuffer(void* opaque, void* /*stream*/, void* buf, uLong size) {
      | ^~~~~
      | ulong
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:195:1: error: ‘uLong’ does not name a type; did you mean ‘ulong’?
  195 | uLong WriteZipBuffer(void* /*opaque*/,
      | ^~~~~
      | ulong
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc: In function ‘void* zip::internal::PrepareMemoryForUnzipping(const std::string&)’:
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:323:30: error: ‘ReadZipBuffer’ was not declared in this scope
  323 |   zip_functions.zread_file = ReadZipBuffer;
      |                              ^~~~~~~~~~~~~
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:324:31: error: ‘WriteZipBuffer’ was not declared in this scope
  324 |   zip_functions.zwrite_file = WriteZipBuffer;
      |                               ^~~~~~~~~~~~~~
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc: In function ‘bool zip::internal::ZipOpenNewFileInZip(zipFile, const std::string&, base::Time, Compression)’:
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:360:9: error: ‘uLong’ does not name a type; did you mean ‘ulong’?
  360 |   const uLong LANGUAGE_ENCODING_FLAG = 0x1 << 11;
      |         ^~~~~
      |         ulong
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:373:17: error: ‘Z_DEFAULT_COMPRESSION’ was not declared in this scope
  373 |       /*level=*/Z_DEFAULT_COMPRESSION,
      |                 ^~~~~~~~~~~~~~~~~~~~~
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:377:20: error: ‘Z_DEFAULT_STRATEGY’ was not declared in this scope
  377 |       /*strategy=*/Z_DEFAULT_STRATEGY,
      |                    ^~~~~~~~~~~~~~~~~~
../../../../../src/3rdparty/chromium/third_party/zlib/google/zip_internal.cc:381:20: error: ‘LANGUAGE_ENCODING_FLAG’ was not declared in this scope
  381 |       /*flagBase=*/LANGUAGE_ENCODING_FLAG,
      |

---
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index 00ca0e3..d4c8037 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -36,6 +36,10 @@
 %global use_system_harfbuzz 0
 %endif
 
+%if 0%{?rhel} && 0%{?rhel} == 10
+%global use_system_zlib 0
+%endif
+
 # ppc64le builds currently fail with V8/XFA enabled (qt 6.9.0)
 %ifarch ppc64le
 %global enable_pdf_v8 0

                 reply	other threads:[~2026-10-08 20:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179149113303.1.247161501602400314.rpms-qt6-qtwebengine-bdd79b9a0050@fedoraproject.org \
    --to=loise@kde.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox