From the build log: ==> pleroma Could not find "rebar3", which is needed to build dependency :eblurhash I can install a local copy which is just used by Mix Shall I install rebar3? (if running non-interactively, use "mix local.rebar --force") [Yn] ** (Mix) Could not find "rebar3" to compile dependency :eblurhash, please ensure "rebar3" is available * ERROR: www-apps/pleroma-2.5.2::guru failed (compile phase): * mix release --overwrite --path pleroma failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 585: Called emix 'release' '--overwrite' '--path' 'pleroma' * environment, line 480: Called die * The specific snippet of code: * MIX_ENV="${MIX_ENV}" mix "$@" || die -n "mix $@ failed" --- But rebar3 is installed and available: $ command -v rebar3 /usr/bin/rebar3 $ eix -e rebar [I] dev-util/rebar Available versions: (0) 2.6.4-r1 (3) 3.19.0^t 3.20.0^t ~3.20.0-r1^t ~3.21.0^t {test} Installed versions: 3.20.0(3)^t(01:41:57 2023-07-07)(-test) Homepage: https://www.rebar3.org https://github.com/erlang/rebar3 Description: A sophisticated build-tool for Erlang projects that follows OTP principles --- $ emerge -pqv '=www-apps/pleroma-2.5.2::guru' [ebuild N ] www-apps/pleroma-2.5.2 Reproducible: Always Steps to Reproduce: 1. emerge --ask www-apps/pleroma Actual Results: Dependencies installed without issue, but the pleroma package itself failed to compile as noted above. This is a new installation on this particular machine. Dependencies were built successfully, including rebar and elixir. postgresql required a USE flag change to enable uuid.
Created attachment 865214 [details] emerge --info output
Created attachment 865215 [details] www-apps/pleroma full build log
It fails to compile with dev-util/rebar-3.20.0 It compiles fine with dev-util/rebar-3.21.0
(In reply to Viorel Munteanu from comment #3) > It fails to compile with dev-util/rebar-3.20.0 > > It compiles fine with dev-util/rebar-3.21.0 I can confirm that the pleroma does successfully build after upgrading rebar:3 to 3.21.0 The ebuild for pleroma should be updated to specify that version of rebar, unless I'm mistaken.
to be sure, could you also test with `=rebar-3.20.0-r1` ? Issue at hand should simply be `MIX_REBAR3` not being defined in env.d
(In reply to Haelwenn (lanodan) Monnier from comment #5) > to be sure, could you also test with `=rebar-3.20.0-r1` ? Issue at hand > should simply be `MIX_REBAR3` not being defined in env.d Confirmed: pleroma does build without error using rebar-3.20.0-r1 as well as 3.21.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3c776fefdc4838be7b251f62f9a4e090a7d4725 commit f3c776fefdc4838be7b251f62f9a4e090a7d4725 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2023-07-07 20:29:00 +0000 Commit: Haelwenn (lanodan) Monnier <contact@hacktivis.me> CommitDate: 2023-07-08 02:36:55 +0000 www-apps/pleroma: Needs >=rebar-3.20.0-r1 for MIX_REBAR3 Closes: https://bugs.gentoo.org/909814 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> www-apps/pleroma/pleroma-2.5.2.ebuild | 2 +- www-apps/pleroma/pleroma-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)