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

Bug 608920

Summary: dev-python/jpype-0.6.2 : native/.../jpype.h:30:53: error: throw will always call terminate() [-Werror=terminate]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrice Clement <monsieurp>
Status: RESOLVED FIXED    
Severity: normal CC: java, plevine457, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
dev-python:jpype-0.6.2:20170211-023224.log
emerge-history.txt
environment
etc.portage.tbz2

Description Toralf Förster gentoo-dev 2017-02-11 10:19:46 UTC
This is an unstable amd64 chroot image (named gnome-systemd-libressl-unstable_20170208-211807) at a hardened host acting as a tinderbox.
  -----------------------------------------------------------------

In file included from native/common/jp_field.cpp:17:0:
native/common/jp_field.cpp: In destructor ‘virtual JPField::~JPField()’:
native/common/include/jpype.h:30:53: error: throw will always call terminate() [-Werror=terminate]
 #define TRACE_OUT } catch(...) { _trace.gotError(); throw; }

                                                     ^

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config --version:
3.9.1
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Comment 1 Toralf Förster gentoo-dev 2017-02-11 10:19:50 UTC
Created attachment 463238 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-11 10:19:53 UTC
Created attachment 463240 [details]
dev-python:jpype-0.6.2:20170211-023224.log
Comment 3 Toralf Förster gentoo-dev 2017-02-11 10:19:56 UTC
Created attachment 463242 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-11 10:19:59 UTC
Created attachment 463244 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-11 10:20:03 UTC
Created attachment 463246 [details]
etc.portage.tbz2
Comment 6 Peter Levine 2017-02-12 04:44:58 UTC
https://github.com/originell/jpype/pull/207
Comment 7 Peter Levine 2017-07-24 07:30:04 UTC
PR: https://github.com/gentoo/gentoo/pull/5194
Comment 8 Patrice Clement gentoo-dev 2017-07-24 14:30:14 UTC
commit 561d2af41a1662af7b81bedefc55a3f2e7f2ff70 (HEAD -> master, origin/master, origin/HEAD)
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: Mon Jul 24 03:26:40 2017 -0400
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Mon Jul 24 16:28:12 2017 +0200

dev-python/jpype: fix building with -Werror=terminate using GCC-6.

Gentoo-Bug: https://bugs.gentoo.org/608920
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/5194

dev-python/jpype/files/jpype-gcc6-noexcept.patch | 57 ++++++++++++++++++++++++
dev-python/jpype/jpype-0.6.1.ebuild              |  4 +-
dev-python/jpype/jpype-0.6.2.ebuild              |  2 +
3 files changed, 62 insertions(+), 1 deletion(-)
create mode 100644 dev-python/jpype/files/jpype-gcc6-noexcept.patch

PR merged, thanks!