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

Bug 671380

Summary: dev-erlang/jose-1.8.4 : Compiling src/jose_public_key.erl failed:
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-erlang:jose-1.8.4:20181117-201420.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
jose-1.8.4_otp21.patch

Description Toralf Förster gentoo-dev 2018-11-17 23:32:19 UTC
src/jose_public_key.erl:122: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
src/jose_public_key.erl:234: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
Compiling src/jose_public_key.erl failed:
ERROR: compile failed while processing /var/tmp/portage/dev-erlang/jose-1.8.4/work/erlang-jose-1.8.4: rebar_abort
 * ERROR: dev-erlang/jose-1.8.4::gentoo failed (compile phase):
 *   rebar compile failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_test_20181106-171353

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

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

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems) *
  [3]   ruby25 (with Rubygems)
Available Rust versions:
  [1]   rust-1.30.1 *
  [2]   rust-bin-1.30.1
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-8]
2)	IcedTea JDK 3.9.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm 

emerge -qpvO dev-erlang/jose
[ebuild  N    ] dev-erlang/jose-1.8.4
Comment 1 Toralf Förster gentoo-dev 2018-11-17 23:32:21 UTC
Created attachment 555478 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-17 23:32:24 UTC
Created attachment 555480 [details]
dev-erlang:jose-1.8.4:20181117-201420.log
Comment 3 Toralf Förster gentoo-dev 2018-11-17 23:32:27 UTC
Created attachment 555482 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-11-17 23:32:30 UTC
Created attachment 555484 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-11-17 23:32:32 UTC
Created attachment 555486 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-17 23:32:35 UTC
Created attachment 555488 [details]
temp.tbz2
Comment 7 ZappeL 2018-12-14 12:49:05 UTC
Created attachment 557768 [details, diff]
jose-1.8.4_otp21.patch

This patch should fix the compile against otp21. 

Found here: https://github.com/maximvl/erlang-jose/commit/5f1b87b47b72cc5f215a3c7d19a0f276013210ce
Comment 8 Axel Fischer 2019-04-28 18:29:41 UTC
Bumping to 1.9.0 would resolve this issue. That version compiles.
Comment 9 Hanno Böck gentoo-dev 2019-09-18 11:28:33 UTC
Should be obsolete due to new version in the tree now.