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

Bug#1008391: marked as done (qtbase5-dev: Build failures with GCC 11 when including qtconcurrentthreadengine.h)



Your message dated Sat, 02 Apr 2022 18:49:15 +0000
with message-id <E1naioF-000Ik7-Q3@fasolo.debian.org>
and subject line Bug#1008391: fixed in qtbase-opensource-src 5.15.2+dfsg-16
has caused the Debian Bug report #1008391,
regarding qtbase5-dev: Build failures with GCC 11 when including qtconcurrentthreadengine.h
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.)


-- 
1008391: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008391
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qtbase5-dev
Version: 5.15.2+dfsg-15
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi, when compiling a program that makes use of the qtconcurrentthreadengine.h
header with GCC 11 compilation failures occur. This issue has been already
reported and fixed upstream, but it will take a lot of time before the fix
lands in a point release of the open source Qt version. You can find the bug
report here: https://codereview.qt-project.org/c/qt/qtbase/+/339417

It's a two line patch, and should be trivial to apply.

I've encountered this issue when building yuzu, a package I'm working on.

Thanks :)


- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qtbase5-dev depends on:
pn  libegl-dev                     <none>
pn  libgl-dev                      <none>
pn  libglu1-mesa-dev | libglu-dev  <none>
pn  libqt5concurrent5              <none>
ii  libqt5core5a                   5.15.2+dfsg-15
ii  libqt5dbus5                    5.15.2+dfsg-15
ii  libqt5gui5                     5.15.2+dfsg-15
ii  libqt5network5                 5.15.2+dfsg-15
ii  libqt5printsupport5            5.15.2+dfsg-15
ii  libqt5sql5                     5.15.2+dfsg-15
pn  libqt5test5                    <none>
ii  libqt5widgets5                 5.15.2+dfsg-15
ii  libqt5xml5                     5.15.2+dfsg-15
pn  libvulkan-dev                  <none>
pn  libxext-dev                    <none>
pn  qt5-qmake                      <none>
pn  qtbase5-dev-tools              <none>
pn  qtchooser                      <none>

Versions of packages qtbase5-dev recommends:
pn  libqt5opengl5-dev  <none>

Versions of packages qtbase5-dev suggests:
pn  default-libmysqlclient-dev  <none>
pn  firebird-dev                <none>
pn  libpq-dev                   <none>
pn  libsqlite3-dev              <none>
pn  unixodbc-dev                <none>

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

iIoEARYIADIWIQRm3vFSgpkMIZnvqAGooSioqxzuSQUCYj+DSRQcYW5kcmVhQHBh
cHBhY29kYS5pdAAKCRCooSioqxzuSdX7AQDzE0JywexOYKsCY2ihVOhMnh5FKWbT
GoJYTIQ6HvRRHgEA79+v3Lq7RlgonreT/ECVEkBOLcV07Gxge3J/mTsQdQo=
=2ZRd
-----END PGP SIGNATURE-----
From 659f7a06e91c04b239e3f4c0bcfccbe3581af1c3 Mon Sep 17 00:00:00 2001
From: Sona Kurazyan <sona.kurazyan@qt.io>
Date: Wed, 17 Mar 2021 16:04:00 +0100
Subject: [PATCH] Remove the unnecessary template parameter from the class specialization

This seems to cause errors when compiling with gcc-11. Although this is
most likely a compiler bug, specifiying the template parameter type in
this case isn't necessary.

Fixes: QTBUG-91909
Fixes: QTBUG-90568
Pick-to: 6.0 6.1 5.15
Change-Id: Ib231257ccb2e16cc533f23ca5840d31e26a66d53
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
---

diff --git a/src/concurrent/qtconcurrentthreadengine.h b/src/concurrent/qtconcurrentthreadengine.h
index cbd8ad04..4cd5b85 100644
--- a/src/concurrent/qtconcurrentthreadengine.h
+++ b/src/concurrent/qtconcurrentthreadengine.h
@@ -256,8 +256,8 @@
 class ThreadEngineStarter<void> : public ThreadEngineStarterBase<void>
 {
 public:
-    ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
-    :ThreadEngineStarterBase<void>(_threadEngine) {}
+    ThreadEngineStarter(ThreadEngine<void> *_threadEngine)
+        : ThreadEngineStarterBase<void>(_threadEngine) {}
 
     void startBlocking()
     {

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.15.2+dfsg-16
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtbase-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 1008391@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 qtbase-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: Sat, 02 Apr 2022 21:23:38 +0300
Source: qtbase-opensource-src
Architecture: source
Version: 5.15.2+dfsg-16
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 1008391
Changes:
 qtbase-opensource-src (5.15.2+dfsg-16) unstable; urgency=medium
 .
   [ Andrea Pappacoda ]
   * Backport upstream patch to fix qtconcurrentthreadengine.h with GCC 11.
     - Closes: #1008391
Checksums-Sha1:
 ff9b11a3e210a7a948f628349a592191227f0da3 5483 qtbase-opensource-src_5.15.2+dfsg-16.dsc
 082c8458aef253fc0252ec1edf800008217bb9a5 270492 qtbase-opensource-src_5.15.2+dfsg-16.debian.tar.xz
 1c457bf47db75bbba64b82f9b7385fe4f991a837 14663 qtbase-opensource-src_5.15.2+dfsg-16_source.buildinfo
Checksums-Sha256:
 3c48b787c07adf3efff567d80af8d1bdc83799392130c91ff274a07a94017a75 5483 qtbase-opensource-src_5.15.2+dfsg-16.dsc
 884c4738a64036964e25449f083bfc81519c14c4a3bf25fa49148f9d1e81db75 270492 qtbase-opensource-src_5.15.2+dfsg-16.debian.tar.xz
 8d0e751f55db2a138d46c74a8b42532bda81eb649212d3eabe456ad933390908 14663 qtbase-opensource-src_5.15.2+dfsg-16_source.buildinfo
Files:
 af91fcd616ef651b02754be0ce616e90 5483 libs optional qtbase-opensource-src_5.15.2+dfsg-16.dsc
 284749c1ebdc663c584d966a6389f79e 270492 libs optional qtbase-opensource-src_5.15.2+dfsg-16.debian.tar.xz
 8b5ced2252fcf961d87c143766ae1b48 14663 libs optional qtbase-opensource-src_5.15.2+dfsg-16_source.buildinfo

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

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmJIlYQTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDyxPAEACtB+P7V+SB5B8RI5BN9gRWmQKzXIDO
Ct0NLSro7FPzUOsfpbZ0tcdHYbSFWy3psuUWxIVwzMN1CLokLeOLpzvg0OGU1RnA
/muyAl6z/Oy9N8Opi9wsRk/6LIJJBNn2TBSeTsP45LxEJHm7pS3wX2VWIsUOWsYy
fXrjtXlCkTWghPSkd4CdELjPW4Efga9rQPOAHgJS88JiUO7XqEMjYrufAv2/Jcpj
lPVG8MAnUqAe7a6R2NR8oHOrmM9sD99sZtasT9DdjFjJil8nRqNEn7FGk7mpTwqg
dgQECXDIkW4dIIbyPe7KJ/p0S4gsUbbPJLFO2bB+bloXtY44ic4QVAOVjzCCf6AD
NxyLH2V6oWRvhSWM86LqYPFoK2zbb03vADduTB/NxGn5nvCem1Yp+KQSUTPZ0aox
MsiD9uNW43LtVJNwb+2KH/XkFuFw0bnbYQoXzaG5zOFcOTTYmwWegxSwT1xzxaJN
WS+h9VXbwIuVe+bKCTIBzE8onJQKJ3bUL0g8t/FhHFI2xbplhihKsSA6ZyObMV8L
/nGUjHFI0awpTTpW2CvKPePcXuZxqvh359TIHvUcb0LNisdr7QphfT/vX4GCTawX
OxgTNIK0r8Y/vtO8Yc5WcW4JE8PEppHDw8eAf4xOBGrG5dquTssIaHWhS6QFYNre
pGzjg5X9Pm/v2g==
=vMqc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: