Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664130 - media-gfx/gnuclad-0.2.4 : gnuclad.cpp:145:21: error: catching polymorphic type class std::exception by value [-Werror=catch-value=]
Summary: media-gfx/gnuclad-0.2.4 : gnuclad.cpp:145:21: error: catching polymorphic typ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-20 17:54 UTC by Toralf Förster
Modified: 2018-12-07 22:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.21 KB, text/plain)
2018-08-20 17:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.06 KB, text/plain)
2018-08-20 17:54 UTC, Toralf Förster
Details
environment (environment,14.92 KB, text/plain)
2018-08-20 17:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.45 KB, application/x-bzip)
2018-08-20 17:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.37 KB, application/x-bzip)
2018-08-20 17:54 UTC, Toralf Förster
Details
media-gfx:gnuclad-0.2.4:20180820-173045.log (media-gfx:gnuclad-0.2.4:20180820-173045.log,4.49 KB, text/plain)
2018-08-20 17:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,6.42 KB, application/x-bzip)
2018-08-20 17:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)