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

Bug#964690: marked as done (signon-plugin-oauth2: FTBFS: oauth1plugin.cpp:147:51: error: ‘void QUrl::addQueryItem(const QString&, const QString&)’ is deprecated [-Werror=deprecated-declarations])



Your message dated Fri, 01 Jan 2021 00:04:20 +0000
with message-id <E1kv7vY-000H84-Bn@fasolo.debian.org>
and subject line Bug#964690: fixed in signon-plugin-oauth2 0.25-1
has caused the Debian Bug report #964690,
regarding signon-plugin-oauth2: FTBFS: oauth1plugin.cpp:147:51: error: ‘void QUrl::addQueryItem(const QString&, const QString&)’ is deprecated [-Werror=deprecated-declarations]
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.)


-- 
964690: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964690
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: signon-plugin-oauth2
Version: 0.22-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> g++ -c -pipe -fno-exceptions -fno-rtti -Werror -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/src=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -Wextra -D_REENTRANT -fPIC -DSIGNON_TRACE -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/signon-qt5 -isystem /usr/include/signon-qt5/SignOn -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/signon-plugins -isystem /usr/include/signon-plugins/SignOn -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o oauth1plugin.o oauth1plugin.cpp
> oauth1plugin.cpp: In member function ‘void OAuth2PluginNS::OAuth1Plugin::sendOAuth1AuthRequest()’:
> oauth1plugin.cpp:147:51: error: ‘void QUrl::addQueryItem(const QString&, const QString&)’ is deprecated [-Werror=deprecated-declarations]
>   147 |     url.addQueryItem(OAUTH_TOKEN, d->m_oauth1Token);
>       |                                                   ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:124:13: note: declared here
>   124 | inline void QUrl::addQueryItem(const QString &key, const QString &value)
>       |             ^~~~
> oauth1plugin.cpp:150:60: error: ‘void QUrl::addQueryItem(const QString&, const QString&)’ is deprecated [-Werror=deprecated-declarations]
>   150 |         url.addQueryItem(SCREEN_NAME, d->m_oauth1ScreenName);
>       |                                                            ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:124:13: note: declared here
>   124 | inline void QUrl::addQueryItem(const QString &key, const QString &value)
>       |             ^~~~
> oauth1plugin.cpp:151:60: error: ‘void QUrl::addQueryItem(const QString&, const QString&)’ is deprecated [-Werror=deprecated-declarations]
>   151 |         url.addQueryItem(FORCE_LOGIN, d->m_oauth1ScreenName);
>       |                                                            ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:124:13: note: declared here
>   124 | inline void QUrl::addQueryItem(const QString &key, const QString &value)
>       |             ^~~~
> oauth1plugin.cpp: In member function ‘QByteArray OAuth2PluginNS::OAuth1Plugin::constructSignatureBaseString(const QString&, const OAuth2PluginNS::OAuth1PluginData&, const QString&, const QString&)’:
> oauth1plugin.cpp:361:69: error: ‘QList<QPair<QString, QString> > QUrl::queryItems() const’ is deprecated [-Werror=deprecated-declarations]
>   361 |     QList<QPair<QString, QString> > queryItems = fullUrl.queryItems();
>       |                                                                     ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:126:40: note: declared here
>   126 | inline QList<QPair<QString, QString> > QUrl::queryItems() const
>       |                                        ^~~~
> oauth1plugin.cpp: In member function ‘virtual void OAuth2PluginNS::OAuth1Plugin::userActionFinished(const SignOn::UiSessionData&)’:
> oauth1plugin.cpp:506:36: error: ‘bool QUrl::hasQueryItem(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   506 |     if (url.hasQueryItem(AUTH_ERROR)) {
>       |                                    ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:128:13: note: declared here
>   128 | inline bool QUrl::hasQueryItem(const QString &key) const
>       |             ^~~~
> oauth1plugin.cpp:508:77: error: ‘QString QUrl::queryItemValue(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   508 |         emit error(Error(Error::NotAuthorized, url.queryItemValue(AUTH_ERROR)));
>       |                                                                             ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:130:16: note: declared here
>   130 | inline QString QUrl::queryItemValue(const QString &key) const
>       |                ^~~~
> oauth1plugin.cpp:512:40: error: ‘bool QUrl::hasQueryItem(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   512 |     if (url.hasQueryItem(OAUTH_VERIFIER)) {
>       |                                        ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:128:13: note: declared here
>   128 | inline bool QUrl::hasQueryItem(const QString &key) const
>       |             ^~~~
> oauth1plugin.cpp:513:69: error: ‘QString QUrl::queryItemValue(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   513 |         d->m_oauth1TokenVerifier = url.queryItemValue(OAUTH_VERIFIER);
>       |                                                                     ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:130:16: note: declared here
>   130 | inline QString QUrl::queryItemValue(const QString &key) const
>       |                ^~~~
> oauth1plugin.cpp:518:44: error: ‘bool QUrl::hasQueryItem(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   518 |     else if (url.hasQueryItem(OAUTH_PROBLEM)) {
>       |                                            ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:128:13: note: declared here
>   128 | inline bool QUrl::hasQueryItem(const QString &key) const
>       |             ^~~~
> oauth1plugin.cpp:519:66: error: ‘QString QUrl::queryItemValue(const QString&) const’ is deprecated [-Werror=deprecated-declarations]
>   519 |         handleOAuth1ProblemError(url.queryItemValue(OAUTH_PROBLEM));
>       |                                                                  ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qurl.h:419,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborvalue.h:51,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcborarray.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:38,
>                  from oauth1plugin.h:27,
>                  from oauth1plugin.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qurlquery.h:130:16: note: declared here
>   130 | inline QString QUrl::queryItemValue(const QString &key) const
>       |                ^~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [Makefile:441: oauth1plugin.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/signon-plugin-oauth2_0.22-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: signon-plugin-oauth2
Source-Version: 0.25-1
Done: Pino Toscano <pino@debian.org>

We believe that the bug you reported is fixed in the latest version of
signon-plugin-oauth2, 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 964690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated signon-plugin-oauth2 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: Fri, 01 Jan 2021 00:35:11 +0100
Source: signon-plugin-oauth2
Architecture: source
Version: 0.25-1
Distribution: unstable
Urgency: medium
Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 964690
Changes:
 signon-plugin-oauth2 (0.25-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Diane Trout ]
   * New upstream release.
   * Update watch file for new gitlab url format
 .
   [ Rohan Garg ]
   * Drop unused-variable.patch, applied upstream
 .
   [ Pino Toscano ]
   * New upstream release.
   * Update watch file.
   * Remove commented bits of -dbg packages, now obsolete by dbgsym packages.
   * Remove the unwanted files after dh_auto_install, instead of right before
     dh_install.
   * Switch Vcs-* fields to salsa.debian.org.
   * Add the configuration for the CI on salsa.
   * Update the patches:
     - dont-install-examples.patch: drop, as the examples are no more built by
       default
     - hardening.patch: refresh
   * Do not build with -Werror; patch disable-werror.diff. (Closes: #964690)
   * Bump the debhelper compatibility to 13:
     - switch the debhelper build dependency to debhelper-compat 13
     - remove debian/compat
     - stop passing --list-missing to dh_install, as the default now is
       --fail-missing
   * Add Rules-Requires-Root: no.
   * Bump Standards-Version to 4.5.1, no changes required.
   * Drop patch hardening.patch, hopefully all the required flags are respected
     now.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * Remove the dh_auto_test override, as now the tests are executed now.
   * Remove the unused libqt5xmlpatterns5-dev build dependency.
   * Do not pass PREFIX=/usr to qmake, as it is already passed by debhelper.
   * Switch from /usr/share/dpkg/default.mk to /usr/share/dpkg/architecture.mk,
     as we need bits only from the latter.
   * Remove the dh_auto_clean override, as it seems not needed now.
 .
   [ Helmut Grohne ]
   * Let dh_auto_configure pass cross tools to qmake. (see #881761)
Checksums-Sha1:
 d0434077fb7877630263fe3619f6e1c8df5b3e7b 2226 signon-plugin-oauth2_0.25-1.dsc
 367d04a6787844f8b914e96785394105ef8a0de4 41090 signon-plugin-oauth2_0.25.orig.tar.gz
 d9ddd8d5a4381a81c420275120b53362e2c3d24e 3132 signon-plugin-oauth2_0.25-1.debian.tar.xz
 efb96407ae18f86c0f6d6419f320fc14d5b851b4 10321 signon-plugin-oauth2_0.25-1_source.buildinfo
Checksums-Sha256:
 67b1030f129ee1818db159f6ccdbce1e33f99d4b8cf0548fa59240cfe9b88d20 2226 signon-plugin-oauth2_0.25-1.dsc
 48a5bb61bf74fca458c870c1a27eedfe058b20f016c19a72aad2f5b151516447 41090 signon-plugin-oauth2_0.25.orig.tar.gz
 0e3c2a256c92224dc8df25bc455eed7c6af9f0dc5840dcac02baa63e137c0d57 3132 signon-plugin-oauth2_0.25-1.debian.tar.xz
 0ddb1f77b168593eb4e9c371ce2a84ba14764caaa5dc1ce35abd052598981f6e 10321 signon-plugin-oauth2_0.25-1_source.buildinfo
Files:
 f07afb389a19cfdbe5bae29b2a96bef6 2226 utils optional signon-plugin-oauth2_0.25-1.dsc
 751e4a178f1d0c397baa2c6b7e7b6538 41090 utils optional signon-plugin-oauth2_0.25.orig.tar.gz
 dfd4f6ae678987d0f00aa520b21da1bb 3132 utils optional signon-plugin-oauth2_0.25-1.debian.tar.xz
 49ee35c795a55f6709f9abdab728a12d 10321 utils optional signon-plugin-oauth2_0.25-1_source.buildinfo

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

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAl/uYGQACgkQLRkciEOx
P02joRAAo7z0fz6xLHciJtTf8qIlRII8RMNb8Kon0uXrDYQDgl/vIyRC8oVtNEgY
2vGy3KnhBxx86XcTSRIjuP6VEQpkA10DVbYH+/fmfDW7bSUERU4B3XdQIo6rVLi1
vzBDLZLltraTZqKl7Sh5ykacH/67qCNsikWMOW6vRu7BO3ZmaXoXdhkO0yjePpZy
Pqvx4AxHXu2/VnQ0hYdTgwfUqcyN8xYMNn2ov3/x/5t3gWb2u5Y8hz+WW/qF+0xf
5JGxTkn8ZPGk14EAZrgP555eGCRxwfZgd0gWSIhK6k8YJLX1wfTiW4G8GFsCuXr2
T/qNx2aiYVJljcwIOVR1H57QeinQBeXITxRLqXnzk+CgWafx/L8DrYbOcC5KvXfw
FTE7yEkF1W8EXMPRaYWpVmuomKKvQSykdo7Ldr2G00+ik7qgYlppoIVgXyn/DigE
XVPSM8aG+5iZMKNJb2Tuu59ZhQnxUz7FBYRRlKWNAvljauQEm16vDN7X2lHJIQQ6
9SnwcPKSrutO66W3kl2aTEQk2k/qEgmSOSKH+9hLQHf4nUabnJFpmFWS40N7xiVT
URl34K4T6huQylaFQdlrVb7kusisVBN4eeWF1z0RjdjD37BIaqe8NP46ymISsutw
6MYs6OyPOD7YufU7AuXwJ+nssBZriNwNpCkX2w+Imbe6meYIHuk=
=O1nV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: