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

Bug 612938

Summary: media-gfx/opentoonz-1.1.2 : /.../tiio_mov_proxy.cpp:210:44: error: throw will always call terminate() [-Werror=terminate]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: otakuto.gentoo
Status: RESOLVED FIXED    
Severity: normal CC: plevine457, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-gfx:opentoonz-1.1.2:20170317-053410.log.bz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-03-17 17:04:43 UTC
cd /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2_build/image && /usr/bin/x86_64-pc-linux-gnu-g++  -DIMAGE_EXPORTS -DLINUX -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SCRIPT_LIB -DQT_SHARED -DQT_WIDGETS_LIB -DTNZIMAGE_DLL -DTNZ_LITTLE_ENDIAN=1 -D_USRDLL -Dimage_EXPORTS -I/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2_build/image -I/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/image -I/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/include -isystem /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/BEFORE -isystem /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/thirdparty/tiff-4.0.3/libtiff -isystem /usr/include/libusb-1.0 -isystem /usr/include/superlu/superlu -isystem /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/thirdparty/LibJPEG/jpeg-9 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtScript   -DNDEBUG -Wwrite-strings -Wundef -Wmissing-declarations -Werror=terminate -O2 -pipe -march=native -fpermissive -lstdc++ -std=c++11 -fPIC   -fPIC -std=gnu++11 -o CMakeFiles/image.dir/mov/tiio_mov_proxy.cpp.o -c /var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/image/mov/tiio_mov_proxy.cpp
/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/image/mov/tiio_mov_proxy.cpp: In destructor ‘virtual TLevelWriterMov::~TLevelWriterMov()’:
/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/image/mov/tiio_mov_proxy.cpp:210:44: error: throw will always call terminate() [-Werror=terminate]
     throw TException("Unable to write file");
                                            ^
/var/tmp/portage/media-gfx/opentoonz-1.1.2/work/opentoonz-1.1.2/toonz/sources/image/mov/tiio_mov_proxy.cpp:210:44: note: in C++11 destructors default to noexcept

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

  This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.9 [icedtea-7]
2)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
3)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-03-17 17:04:47 UTC
Created attachment 467342 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-17 17:04:50 UTC
Created attachment 467344 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-03-17 17:04:54 UTC
Created attachment 467346 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-03-17 17:04:58 UTC
Created attachment 467348 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-03-17 17:05:02 UTC
Created attachment 467350 [details]
media-gfx:opentoonz-1.1.2:20170317-053410.log.bz2
Comment 6 Toralf Förster gentoo-dev 2017-03-17 17:05:05 UTC
Created attachment 467352 [details]
temp.tbz2
Comment 7 otakuto.gentoo 2017-04-18 04:40:02 UTC
Thank you for your report.
I report this bug at github.
https://github.com/opentoonz/opentoonz/issues/1161
Comment 8 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-04-26 20:38:15 UTC
please try compiling it using 
make CXXFLAGS='-Wno-error=terminate'
Comment 9 Peter Levine 2017-05-07 23:53:41 UTC
PR: https://github.com/opentoonz/opentoonz/pull/1182
Comment 10 Peter Levine 2017-07-20 06:59:26 UTC
Gentoo PR: https://github.com/gentoo/gentoo/pull/5145
Comment 11 David Seifert gentoo-dev 2017-07-30 09:14:01 UTC
commit ef1a25ce2dff306620f671e330b7bccc50e7f7da
Author: Peter Levine <plevine457@gmail.com>
Date:   Thu Jul 20 02:53:08 2017 -0400

    media-gfx/opentoonz: Fix building with GCC-6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=612938
Comment 12 Larry the Git Cow gentoo-dev 2018-07-23 08:42:31 UTC
The bug has been closed via the following commit(s):

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

commit f6a0df382ce2a8668a9573f661213aaa19fa3997
Author:     Tact Yoshida <otakuto.gentoo@gmail.com>
AuthorDate: 2018-07-18 18:59:44 +0000
Commit:     Tony Vroon <chainsaw@gentoo.org>
CommitDate: 2018-07-23 08:42:20 +0000

    media-gfx/opentoonz: Version bump to 1.2.1
    
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9276
    Closes: https://bugs.gentoo.org/612938

 media-gfx/opentoonz/Manifest                       |  1 +
 ...ntoonz-1.2.1-gcc6-no-throw-in-destructors.patch | 38 +++++++++
 media-gfx/opentoonz/opentoonz-1.2.1.ebuild         | 94 ++++++++++++++++++++++
 3 files changed, 133 insertions(+)