[Pkg-erlang-devel] Bug#884282: Bug#884282: erlang: Please build erlang-base-hipe for arm64

Sergei Golovan sgolovan at gmail.com
Wed Dec 13 11:32:42 UTC 2017


tags 884282 + moreinfo
thanks

Hi Marcin,

On Wed, Dec 13, 2017 at 2:08 PM, Marcin Juszkiewicz
<marcin.juszkiewicz at linaro.org> wrote:
>
> I am building OpenStack components as Docker images (using Kolla
> project as a tool).
>
> One of components is 'rabbitmq' for which we grab arch:all package from
> upstream and install it with rest of dependencies taken from Debian
> 'stretch' repositories.

Where exactly do you get the rabbitmq binaries? May be it's better to
report a bug with the dependency (erlang-base-hipe | erlang-base should
work)?

>
> The problem is that package depends on 'erlang-base-hipe' which is not
> built for arm64 architecture.
>
> I have to admit that I have no idea what that 'hipe' thing is (nor have
> any knowledge about Erlang). Tried to enable it for arm64 and got it
> built but do not know how to test does it work.

Can you show the build log (all messages which are emitted during the build)?
At least I'll see if the HiPE is in fact compiled in.

>
> Can it be enabled and tested on arm64? Backport of such change to
> stretch-backports would be lovely but I can handle package rebuild on my
> own.
>
HiPE in Erlang means High Performance, i.e. the Erlang virtual machine
flavor which can compile native binaries instead of a bytecoded ones.

As far as I know, there shoudn't be any reason to require erlang-base-hipe,
erlang-base should work just fine. Mostly, the dependency line looks like
erlang-base | erlang-base-hipe.

Though if indeed the erlang-base-hipe is necessary, I'll try to enable
it on arm64
(if I'll find an appropriate machine for testing).

Cheers!
-- 
Sergei Golovan



More information about the Pkg-erlang-devel mailing list