[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 Thu, 07 Apr 2022 16:18:59 +0000
with message-id <E1ncUqZ-000Fgj-BK@fasolo.debian.org>
and subject line Bug#1008391: fixed in qtbase-opensource-src 5.15.3+dfsg-2
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.3+dfsg-2
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: Thu, 07 Apr 2022 18:50:52 +0300
Source: qtbase-opensource-src
Architecture: source
Version: 5.15.3+dfsg-2
Distribution: experimental
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.3+dfsg-2) experimental; urgency=medium
 .
   [ Andrea Pappacoda ]
   * Backport upstream patch to fix qtconcurrentthreadengine.h with GCC 11.
     - Closes: #1008391
 .
   [ Dmitry Shachnev ]
   * Backport upstream patch to fix parsing include inside enum (LP: #1968074).
Checksums-Sha1:
 4324160b7a671732ded5c487ab25f005cf640d4b 5479 qtbase-opensource-src_5.15.3+dfsg-2.dsc
 32623bb79b0f12dcc6207109e58bf1691368527f 270160 qtbase-opensource-src_5.15.3+dfsg-2.debian.tar.xz
 bde7b8b79370fdefc8994e758666a2d1d9ac1b52 14645 qtbase-opensource-src_5.15.3+dfsg-2_source.buildinfo
Checksums-Sha256:
 863f3202b5cc53527acdbf052d1ea0fbbf51fef37ed97a8a918391fb25d66b98 5479 qtbase-opensource-src_5.15.3+dfsg-2.dsc
 d6a5173cf413944a2be44becc659c1bf14851efb3e9d68076d8dd7996ee5b2dd 270160 qtbase-opensource-src_5.15.3+dfsg-2.debian.tar.xz
 32e21dde67b89da13a63f03bae1f797286e6511f708084fd4f8d322ef29f29dc 14645 qtbase-opensource-src_5.15.3+dfsg-2_source.buildinfo
Files:
 32fd66ace62e76584f3fe55906552c12 5479 libs optional qtbase-opensource-src_5.15.3+dfsg-2.dsc
 d4056514b8e8acdb72b9757a017a1dd2 270160 libs optional qtbase-opensource-src_5.15.3+dfsg-2.debian.tar.xz
 d8de7bbbc93688b0f34deaf084255097 14645 libs optional qtbase-opensource-src_5.15.3+dfsg-2_source.buildinfo

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

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmJPCdsTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy2lnEACYMqaCJuRRLBDcRzFbiulHQHJkZYiG
X5/HtCfG/FUaPOX941PSya8JwGjHPAR48C94PPgZnaLEsKQE/da2jp9coHimtaUT
eMofpbGefRdtBmYsZVrxhR4OmjsKrw/v8Pc96KWZ/e70eFQoTb5cHNW/uwAEaAAL
JL318dtqzqRoPP8P2l9J3VVfQU9xVBrl5xiw/W4nsE680jfi89Dv3bOruX/N8efi
+hfkCzwYs5tJmW8E5n6me356ZkeveNwwyOrCBAAwamqffhnKrghSVKwx6gQCt75i
kJNixmeNq5ZWOyjomg/TPVSFqDCbZRLhwcNUjB3wKJyU9IxlMdTugRGJJKuHRphG
cQWJ/mSTEVuFQ/79pbbZ60xh8PouZqT0mzO+nmQ28DdLNC5g+B/mDC0KhqFGu9t+
IvQkvsnKQAundqcOn0MkfLdbY/bufR94HMF3sCGMxPYEw8n3AU66osicxIau0zCR
wM+NiyVjChU0Dehi+3rVWTSQzLpCM/Lc6YIM/c3VkGjJDaH5F/szcs5W93luoR8K
phxkUMO/OOzufJshIDcksdf+kBOD4fJnFzCtndSloEmVp7scVZyANIDP5O8ae5Sk
v3OLZA5BtdSknq94+jwunA32/W48+M5DC/NFF36WJqN359Kt8H6lcUlACY7FWEEq
Gg58ogAOG6iPiw==
=GMvu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: