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

Bug 664130

Summary: media-gfx/gnuclad-0.2.4 : gnuclad.cpp:145:21: error: catching polymorphic type class std::exception by value [-Werror=catch-value=]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-gfx:gnuclad-0.2.4:20180820-173045.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-20 17:54:23 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -Wall -Wextra -Werror -pedantic-errors -ansi -O2   -O2 -pipe -march=native -c -o gnuclad-gnuclad.o `test -f 'gnuclad.cpp' || echo './'`gnuclad.cpp
gnuclad.cpp: In function ‘int main(int, char**)’:
gnuclad.cpp:145:21: error: catching polymorphic type ‘class std::exception’ by value [-Werror=catch-value=]
   } catch(exception e) {
                     ^
cc1plus: all warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20180818-160152

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-gfx/gnuclad
[ebuild  N    ] media-gfx/gnuclad-0.2.4  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2018-08-20 17:54:26 UTC
Created attachment 544176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-20 17:54:29 UTC
Created attachment 544178 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-20 17:54:32 UTC
Created attachment 544180 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-20 17:54:34 UTC
Created attachment 544182 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-20 17:54:37 UTC
Created attachment 544184 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-20 17:54:40 UTC
Created attachment 544186 [details]
media-gfx:gnuclad-0.2.4:20180820-173045.log
Comment 7 Toralf Förster gentoo-dev 2018-08-20 17:54:43 UTC
Created attachment 544188 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-12-07 22:27:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffd17d07108d43117d5b14594b98a70fdd62774

commit 6ffd17d07108d43117d5b14594b98a70fdd62774
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2018-12-07 22:27:13 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2018-12-07 22:27:30 +0000

    media-gfx/gnuclad: Disable -Werror, bug 664130
    
    Closes: https://bugs.gentoo.org/664130
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 media-gfx/gnuclad/files/gnuclad-0.2.4-werror.patch |  9 +++++++++
 media-gfx/gnuclad/gnuclad-0.2.4.ebuild             | 13 ++++++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)