Erlang/OTP 21.1.4 is missing but only for arm 64

Could we please get otp 21.1.4 for arm 64 as well? It’s available for Arm32 arm and intel.

https://travis-ci.com/volvo-cars/signalbroker-server/jobs/266689054

many thanks

boing…
some advice here would be great

I am not familiar with both erlang and elixir

Your .travis.yml and the CI result page show the language: elixir.

https://github.com/volvo-cars/signalbroker-server/blob/master/.travis.yml#L6

language: elixir

https://travis-ci.com/volvo-cars/signalbroker-server/jobs/266689054
“Elixir: 1.7.4 OTP Release: 21.1.4”

Do you want to use Erlang? or Elixir?

Can you put the tag “Multi CPU Architecture” to this thread as it is ?

It’s available for Arm32 arm and intel.

How did you know it was available on Arm32 and Intel?

I am seeing your arch: arm32 case.

https://travis-ci.com/volvo-cars/signalbroker-server/jobs/266689053

And the result is 64-bit.

$ elixir --version
Erlang/OTP 21 [erts-10.1.3] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]

And now I a little understand that elixir is a language on Erlang.

In the meantime, is elixir installed in language: generic environment?

Or how about just using available version of Erlang/otp version, seeing the document if there is elixir? https://docs.travis-ci.com/user/languages/elixir/

matrix:
  include:
    - arch: amd64
      elixir: '1.7.4'
      otp_release: '21.1.4'
    - arch: arm64
      elixir: '1.7.4'
      otp_release: 'X.Y.Z'

And it’s weird. And I am not sure that arch: arm32 is available.
There is no arm32 in the document.

This thread’s category “Languages Erlang” is a little wrong isn’t it?
There is a category “Languages Elixir” here.
https://travis-ci.community/c/languages/elixir/42

well looking through my simple .travis.xml i actually use docker for building. So the dependency issue is gone by removing elixir and otp.

results here https://travis-ci.com/volvo-cars/signalbroker-server/builds/141906662
using this travis file
https://github.com/volvo-cars/signalbroker-server/blob/f741be7ba7cdc0f058b8fd2558ead9ffabe4aba4/.travis.yml

Guess the reported problem does exist but it’s not really an issue for me. - somewhat embarrassing :slight_smile:

the arm32 (raspian or simiar) was a surprise to me; but given your observation it likely doesn’t work. Guess this should be added to some wish list. And in the multiarch topic.

for reference: arm32: https://travis-ci.com/volvo-cars/signalbroker-server/builds/141907715

many thanks.

well looking through my simple .travis.xml i actually use docker for building. So the dependency issue is gone by removing elixir and otp.

I am happy to see the issue is gone by using docker container.
Yes, I think using the docker container is a good approach.

the arm32 (raspian or simiar) was a surprise to me; but given your observation it likely doesn’t work. Guess this should be added to some wish list. And in the multiarch topic.

for reference: arm32: https://travis-ci.com/volvo-cars/signalbroker-server/builds/141907715

There is a way to run arm32 on arch: arm64 in Travis like this using dpkg --add-architecture and setarch command.

sudo dpkg --add-architecture armhf
sudo apt-get -yq install libc6:armhf

I remember I shared the way to a multiarch topic category’s thread in the past.

Here is the example.

I suppose Travis is already adding arch: arm32 feature to their wish list, as for example Drone CI already has it.
If you want to run your container on arm32 environment relatively easier, I would recommend to take a look at Drone CI.

Here is the example.

Cheers,
Jun

1 Like

I’ll definitely dive in to those great advices. Many thanks!

sharing my findings, to build arm32/arm64 and amd64, i used dockerx which is well described in this blogpost

however i had to add an intermediate step to make it work like:

install: 
  - # Install QEMU
  - docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

Build time is quite long, but i’m consider this multiarch feature as quite nice!

Erlang versions available for install are listed in https://docs.travis-ci.com/user/languages/erlang/#otprelease-versions.

21.1.4 is not in that list for arch64 but 21.2.3 is.

1 Like