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

Bug 612238

Summary: app-crypt/qca-2.1.3 : /.../mem_pool.cpp:178:69: error: throw will always call terminate() [-Werror=terminate]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: alonbl, kde, plevine457, qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
app-crypt:qca-2.1.3:20170310-175548.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-03-10 18:38:53 UTC
cd /var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3-qt5/src && /usr/bin/x86_64-pc-linux-gnu-g++  -DBOTAN_EXT_ALLOC_MMAP -DBOTAN_EXT_MUTEX_QT -DBOTAN_KARAT_MUL_THRESHOLD=12 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_NO_CONF_H -DBOTAN_NO_INIT_H -DBOTAN_TOOLS_ONLY -DBOTAN_TYPES_QT -DQCA_MAKEDLL -DQCA_PLUGIN_PATH=\"/usr/lib64/qt5/plugins\" -DQCA_SYSTEMSTORE_PATH=\"/etc/ssl/certs/ca-certificates.crt\" -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_NO_DEBUG -D_DEFAULT_SOURCE -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3-qt5/src -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/include/QtCrypto -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3-qt5 -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/support -I/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/botantools/botan -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtNetwork   -DNDEBUG -Werror=terminate -O2 -pipe -march=native -Wcast-align -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-check-new -fno-common -fPIC   -fPIC -std=gnu++11 -o CMakeFiles/qca-qt5.dir/botantools/botan/mem_pool.cpp.o -c /var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/botantools/botan/mem_pool.cpp
/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/botantools/botan/mem_pool.cpp: In destructor ‘virtual QCA::Botan::Pooling_Allocator::~Pooling_Allocator()’:
/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/botantools/botan/mem_pool.cpp:178:69: error: throw will always call terminate() [-Werror=terminate]
       throw Invalid_State("Pooling_Allocator: Never released memory");
                                                                     ^
/var/tmp/portage/app-crypt/qca-2.1.3/work/qca-2.1.3/src/botantools/botan/mem_pool.cpp:178:69: 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]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-03-10 18:38:56 UTC
Created attachment 466584 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-10 18:38:59 UTC
Created attachment 466586 [details]
app-crypt:qca-2.1.3:20170310-175548.log
Comment 3 Toralf Förster gentoo-dev 2017-03-10 18:39:02 UTC
Created attachment 466588 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-10 18:39:05 UTC
Created attachment 466590 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-10 18:39:09 UTC
Created attachment 466592 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-10 18:39:12 UTC
Created attachment 466594 [details]
temp.tbz2
Comment 7 Peter Levine 2017-03-21 03:21:43 UTC
Upstream PR: https://github.com/KDE/qca/pull/4
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2017-03-21 10:41:53 UTC
Added, thanks!