Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787128

Summary: media-libs/liblastfm-1.1.0_pre20190625 - /.../Fingerprint.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: leonchik1976, zeekec
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/lastfm/liblastfm/issues/39
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
media-libs:liblastfm-1.1.0_pre20190625:20210430-002006.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-30 13:19:54 UTC
In file included from /var/tmp/portage/media-libs/liblastfm-1.1.0_pre20190625/work/liblastfm-f867df52757c569d97d9755c911ac9dec146f365/src/fingerprint/Fingerprint.cpp:21:
/var/tmp/portage/media-libs/liblastfm-1.1.0_pre20190625/work/liblastfm-f867df52757c569d97d9755c911ac9dec146f365/src/fingerprint/Fingerprint.h:74:49: error: ISO C++17 does not allow dynamic exception specifications
   74 |         void generate( FingerprintableSource* ) throw( Error );
      |                                                 ^~~~~
/var/tmp/portage/media-libs/liblastfm-1.1.0_pre20190625/work/liblastfm-f867df52757c569d97d9755c911ac9dec146f365/src/fingerprint/Fingerprint.h:85:86: error: ISO C++17 does not allow dynamic exception specifications
   85 |         void decode( QNetworkReply*, bool* lastfm_needs_a_complete_fingerprint = 0 ) throw( Error );

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 29 22:50:17 UTC 2021

emerge -qpvO media-libs/liblastfm
[ebuild  N    ] media-libs/liblastfm-1.1.0_pre20190625  USE="fingerprint -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-30 13:19:55 UTC
Created attachment 704388 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 13:19:57 UTC
Created attachment 704391 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-30 13:19:58 UTC
Created attachment 704394 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-30 13:19:59 UTC
Created attachment 704397 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-30 13:20:00 UTC
Created attachment 704400 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-30 13:20:02 UTC
Created attachment 704403 [details]
media-libs:liblastfm-1.1.0_pre20190625:20210430-002006.log
Comment 7 Toralf Förster gentoo-dev 2021-04-30 13:20:03 UTC
Created attachment 704406 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-20 22:30:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7d4793015745ee7ae403c7dc7466fa748f131e

commit 5d7d4793015745ee7ae403c7dc7466fa748f131e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-05-20 22:29:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-05-20 22:29:49 +0000

    media-libs/liblastfm: Force c++14 to fix build with GCC-11
    
    Closes: https://bugs.gentoo.org/787128
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/liblastfm/liblastfm-1.1.0_pre20190625.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)