Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932614 - dev-erlang/jose-1.11.10 - [ncurses-6.5] [gcc-15] [llvm] Compiling .../jose_jwa.erl failed:
Summary: dev-erlang/jose-1.11.10 - [ncurses-6.5] [gcc-15] [llvm] Compiling .../jose_jw...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: ejabberd Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 07:09 UTC by Toralf Förster
Modified: 2024-06-08 16:04 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.87 KB, text/plain)
2024-05-24 07:09 UTC, Toralf Förster
Details
dev-erlang:jose-1.11.10:20240524-040307.log (dev-erlang:jose-1.11.10:20240524-040307.log,5.92 KB, text/plain)
2024-05-24 07:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.16 KB, text/plain)
2024-05-24 07:09 UTC, Toralf Förster
Details
environment (environment,39.66 KB, text/plain)
2024-05-24 07:09 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.23 KB, application/x-xz)
2024-05-24 07:09 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.88 KB, application/x-xz)
2024-05-24 07:09 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.10 KB, application/x-xz)
2024-05-24 07:09 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,11.71 KB, application/x-xz)
2024-05-24 07:09 UTC, Toralf Förster
Details
Patch for jose (0001-Removed-warnings_as_errors.patch,596 bytes, patch)
2024-06-06 08:35 UTC, gjdijkman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-05-24 07:09:34 UTC
Compiled src/jwa/curve448/jose_curve448_crypto.erl
Compiled src/jwa/curve25519/jose_curve25519_unsupported.erl
Compiled src/jwa/curve25519/jose_curve25519_libsodium.erl
Compiled src/jwa/curve25519/jose_curve25519_libdecaf.erl
src/jwa/jose_jwa.erl:120:2: public_key:decrypt_private/3 is deprecated; do not use
src/jwa/jose_jwa.erl:127:2: public_key:encrypt_public/3 is deprecated; do not use
Compiling src/jwa/jose_jwa.erl failed:
ERROR: compile failed while processing /var/tmp/portage/dev-erlang/jose-1.11.10/work/erlang-jose-1.11.10: rebar_abort
 * ERROR: dev-erlang/jose-1.11.10::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_llvm_systemd-20240520-084001

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6+libcxx
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6+libcxx
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit dde8d18900cb68323eaaaf323acbc105b4f04b58
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 24 03:03:41 2024 +0000

    2024-05-24 03:03:40 UTC

emerge -qpvO dev-erlang/jose
[ebuild  N    ] dev-erlang/jose-1.11.10
Comment 1 Toralf Förster gentoo-dev 2024-05-24 07:09:35 UTC
Created attachment 894144 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-24 07:09:36 UTC
Created attachment 894145 [details]
dev-erlang:jose-1.11.10:20240524-040307.log
Comment 3 Toralf Förster gentoo-dev 2024-05-24 07:09:37 UTC
Created attachment 894146 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-05-24 07:09:38 UTC
Created attachment 894147 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-24 07:09:39 UTC
Created attachment 894148 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-24 07:09:40 UTC
Created attachment 894149 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-24 07:09:41 UTC
Created attachment 894150 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-24 07:09:42 UTC
Created attachment 894151 [details]
temp.tar.xz
Comment 9 gjdijkman 2024-06-06 08:34:42 UTC
The error is on the Jose side itself see: https://github.com/potatosalad/erlang-jose/issues/168

disabeling warnings_as_errors in erlang-jose/rebar.config fixes the error.

I've made a patch for that in my overlay: https://git.gjdwebserver.nl/gjdwebserver/gjdwebserver-overlay/src/branch/master/dev-erlang/jose

Will add it here aswell.
Comment 10 gjdijkman 2024-06-06 08:35:42 UTC
Created attachment 895232 [details, diff]
Patch for jose