[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121677: marked as done (qtwebengine-opensource-src FTBFS with ICU 78.1)



Your message dated Mon, 08 Dec 2025 08:47:59 +0000
with message-id <E1vSWuV-00FCEt-0v@fasolo.debian.org>
and subject line Bug#1121677: fixed in qtwebengine-opensource-src 5.15.19+dfsg2-2
has caused the Debian Bug report #1121677,
regarding qtwebengine-opensource-src FTBFS with ICU 78.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1121677: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121677
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebengine-opensource-src
Version: 5.15.19+dfsg2-1
Severity: normal
Tags: ftbfs patch
X-Debbugs-Cc: gcs@debian.org

Hi,

Your package participates in the upcoming ICU transition. It FTBFS due
to ICU adding a new LineBreak character. Arch Linux has a fix that I
add here to make life easier.

Regards,
Laszlo/GCS
https://unicode-org.github.io/icu-docs/apidoc/dev/icu4c/uchar_8h_source.html
https://github.com/unicode-org/icu/blame/main/icu4c/source/common/unicode/uchar.h
/usr/include/unicode/uchar.h

ICU78 adds LineBreak U_LB_UNAMBIGUOUS_HYPHEN = 48,/*[HH]*/.
U_LB_COUNT goes from 48 to 49.

kBreakAllLineBreakClassTable is expected to be square with
the same number of bits across as the lines down for every
U_LB_COUNT LineBreak. This table should have U_LB_COUNT=49
bit columns and 49 rows with a bunch of 1 bits sprinkled
all over and should expand each time a new LineBreak is
added. Rather than fiddling with the BA_LB_COUNT math or
keep extending the table with zeros across and down as they
did here:

https://src.opensuse.org/nodejs/nodejs-electron/src/commit/ee8e43b84d0e17b17d817943357e74dee3e5474ae7e6eaff93c60926bfc3780a/text_break_iterator-icu74-breakAllLineBreakClassTable-should-be-consistent.patch

we just hard set the table to 40 lines to support 0XX-39RI.
ShouldBreakAfterBreakAll for LineBreak >= 40EB always
return 0/false which is what the recent table patches were
doing anyways. Look at the columns RI to VI and lines
[RI]-[VI]. It's all zeros so everyone gave up extending
this table with cleverly placed 1's years ago and just came
up with Whatever Works (TM) patches. LineBreak support >=
39RI running with 0 may be less than optimal. Here's
another patch.

https://bugs.gentoo.org/917635

The original table code and patches since are all garbage
anyways. Noone seems to understand what this table does. I
don't either but I do know its limits and proper shape and
that it's not required to have lines and columns added for
each new LineBreak unless you want perfect support for new
LineBreak.

The NodeJS patch adds a 6th array column which won't
compile on earlier ICU versions where U_LB_COUNT is small.

static const unsigned char kBreakAllLineBreakClassTable[][BA_LB_COUNT / 8 + 1] = {

This line is written wrong. It creates an extra byte
column when BA_LB_COUNT is divisible by 8. Our example of
40 LineBreak can be stored in 40/8=5 column bytes yet this
sets the column count to 40/8+1=6. This would be correct
though with the size of this code I don't see a problem
allocating 40 extra bytes.

static const unsigned char kBreakAllLineBreakClassTable[][(BA_LB_COUNT-1) / 8 + 1] = {

severach@aur
https://aur.archlinux.org/packages/qt5-webengine

$ notepadqq
Cannot mix incompatible Qt library (5.15.17) with this library (5.15.18)

If you have trouble with an application not working, look
through this list for packages with old versions.

pacman -Qs qt5-

local/qt5-base 5.15.18+kde+r109-2 (qt5)
*   A cross-platform application and UI framework
local/qt5-webchannel 5.15.17+kde+r3-1 (qt5)
*   Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients

diff -pNaru3 a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc	2025-11-11 01:42:16.454081862 -0500
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator.cc	2025-11-11 01:49:41.838185933 -0500
@@ -163,7 +163,7 @@ static const unsigned char kAsciiLineBre
 // clang-format on
 
 #if U_ICU_VERSION_MAJOR_NUM >= 74
-#define BA_LB_COUNT (U_LB_COUNT - 8)
+#define BA_LB_COUNT (40) /* (U_LB_COUNT - 8) */
 #elif U_ICU_VERSION_MAJOR_NUM >= 58
 #define BA_LB_COUNT (U_LB_COUNT - 3)
 #else

--- End Message ---
--- Begin Message ---
Source: qtwebengine-opensource-src
Source-Version: 5.15.19+dfsg2-2
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtwebengine-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1121677@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebengine-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 08 Dec 2025 10:52:16 +0300
Source: qtwebengine-opensource-src
Built-For-Profiles: noudeb
Architecture: source
Version: 5.15.19+dfsg2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1121677 1122105
Changes:
 qtwebengine-opensource-src (5.15.19+dfsg2-2) unstable; urgency=medium
 .
   * Add a patch from Arch Linux to fix build with ICU 78 (closes: #1121677,
     #1122105).
Checksums-Sha1:
 9585c07dbbde68b0a3eea5921449373d782a86ff 5683 qtwebengine-opensource-src_5.15.19+dfsg2-2.dsc
 1e3c4d13573128dcd28b0770a248c0ad90fbc13e 420496 qtwebengine-opensource-src_5.15.19+dfsg2-2.debian.tar.xz
 0ed23dcb5768d8617b7f6eaeb77d47efaf25428d 19503 qtwebengine-opensource-src_5.15.19+dfsg2-2_source.buildinfo
Checksums-Sha256:
 45fc0e2fc28b205d5f88f6bd01177c2a43172c1af43b2c9dcee1d135f8c73325 5683 qtwebengine-opensource-src_5.15.19+dfsg2-2.dsc
 233d34895b41035439a318abb851dfb594c71316cdc43a59d27db1edf99fe41e 420496 qtwebengine-opensource-src_5.15.19+dfsg2-2.debian.tar.xz
 a7b5acdf69fa4093ef26e524c554300fa53183141e42a1fc2a847ec6c3c50b9f 19503 qtwebengine-opensource-src_5.15.19+dfsg2-2_source.buildinfo
Files:
 eefc817b519b240c940b501d91349418 5683 libs optional qtwebengine-opensource-src_5.15.19+dfsg2-2.dsc
 f68651c1f4dfc4fae0b93697987e918b 420496 libs optional qtwebengine-opensource-src_5.15.19+dfsg2-2.debian.tar.xz
 040139f97ef834ae87772a7a528705bf 19503 libs optional qtwebengine-opensource-src_5.15.19+dfsg2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmk2hNYTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4ETND/0aiMQqMZCKLuqyLhSL+i3ykcMyTXEd
coSVyM1/cjBQh2Bb7TBbjkQNMpvgPDCqpT74wWS1ViyMLsZyNnu1tcyLH9qJmhO0
ssSU5SjDQVbzDIRQ4g+Vkprqx4UxjMLQRRbm9lKHdOeYbFx3mrXZNOqGyXq892SJ
Gnx5Svre5R7Vs2fBoGMBWXfLzi9nNWmM3QuwfY5YF8evoeMJY+jirPGUpEoKJB75
J/KD2Q+60g1BAlu9QlpX3ZrKKDvunDXyu9g9A4U7/AH4V96lXweDeyHjOKLLxhke
tn3EIS1BrrCaySgl7vykWM+JkhWuOwF4MSfYS73a/nfxqIQa3zkbRtOAftwCer5f
HiInD4PQMjF+G9ZhGcQW+X26CjX9qoAFjH1lRn3Nhbs20oy4eSu45RSfG2JZJ8Rw
rIHPpED4wkeHW4sALKwLaowczwCsVJWf/HrhrJMx1nAf5VJCxssLn1v28JYzzPL+
rswhFQo1wHmxxL92j2u7BtMUq5P7iP84W/abXf83/3ZdLNcEDlL3EWKwLdM50VNx
wDet7XF8Tk7iyE1aJ/nwrFXfJ7YXXBdloHhVIhncJ5Ku/bY4mXp+9dITGjxqkWqy
UpZORFkydPHOn6nvhVUvX06cjKoG9O8LLq80LCQdhqtesst7H3jgY/eHuPCM8brP
tFo0d6l6hAMRZA==
=uTIb
-----END PGP SIGNATURE-----

Attachment: pgp3rq8e0EK5K.pgp
Description: PGP signature


--- End Message ---

Reply to: