I just tried to compile dev-libs/appstream-0.12.11 with gcc 8.3.0 and it fails to compile with the following message: FAILED: qt/becf854@@AppStreamQt@sha/contentrating.cpp.o x86_64-pc-linux-gnu-g++ -Iqt/becf854@@AppStreamQt@sha -Iqt/ -I../AppStream-0.12.11/qt -Isrc/ -I../AppStream-0.12.11/src -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu++14 -Wno-unused-parameter -Wno-error=deprecated-copy -march=native -O2 -fPIC -pthread -DQT_CORE_LIB -MD -MQ 'qt/becf854@@AppStreamQt@sha/contentrating.cpp.o' -MF 'qt/becf854@@AppStreamQt@sha/contentrating.cpp.o.d' -o 'qt/becf854@@AppStreamQt@sha/contentrating.cpp.o' -c ../AppStream-0.12.11/qt/contentrating.cpp cc1plus: error: -Werror=deprecated-copy: no option -Wdeprecated-copy I have also attached a build log. Switching to latest gcc 9.2 fixes it, i.e. it emerges successfully. Note that gcc 8.3 works on appstream-0.12.7. I did not test any in-between gcc version to determine exactly where it breaks. Reproducible: Always
Created attachment 650582 [details] Error log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c62c63c81a738a960c6d3c5cf66d075296b038c commit 8c62c63c81a738a960c6d3c5cf66d075296b038c Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-26 20:01:23 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-26 20:02:38 +0000 dev-libs/appstream: Fix build with older GCC Reported-by: Dion Moult <dion@thinkmoult.com> Closes: https://bugs.gentoo.org/733774 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-libs/appstream/appstream-0.12.11-r1.ebuild | 80 ++++++++++++++++++++ .../appstream-0.12.11-disable-Werror-flags.patch | 12 +++ .../files/appstream-0.12.11-no-highlight.js.patch | 86 ++++++++++++++++++++++ ...12.11-qt-add-missing-provided-kindid-enum.patch | 24 ++++++ 4 files changed, 202 insertions(+)