Erlang port build fails on 11.0-CURRENT on Raspberry Pi 2

Hamza Sheikh fehrist at
Sat May 14 22:24:32 UTC 2016

I tried building Erlang from ports on a Raspberry Pi 2 running FreeBSD 
11.0-CURRENT snapshot r298793:

freebsd at rpi2:~ % uname -a
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r298793: Sat Apr 30 
06:39:54 UTC 2016 
root at  arm

freebsd at rpi2:~ % cat /etc/make.conf

freebsd at rpi2:~ % cat /etc/fstab
# Custom /etc/fstab for FreeBSD embedded images
/dev/ufs/rootfs   /       ufs     rw      1       1
/dev/msdosfs/MSDOSBOOT /boot/msdos msdosfs rw,noatime 0 0
tmpfs /tmp tmpfs rw,mode=1777 0 0

Here's the error I got:

armv6-portbld-freebsd11.0/Makefile:672: recipe for target 
'obj/armv6-portbld-freebsd11.0/opt/smp/beam_emu.o' failed
gmake[4]: *** [obj/armv6-portbld-freebsd11.0/opt/smp/beam_emu.o] Error 254
gmake[4]: Leaving directory 
/tmp/usr/ports/lang/erlang/work/otp_src_18.3/make/ recipe 
for target 'opt' failed
gmake[3]: *** [opt] Error 2
gmake[3]: Leaving directory 
Makefile:61: recipe for target 'smp' failed
gmake[2]: *** [smp] Error 2
gmake[2]: Leaving directory 
Makefile:444: recipe for target 'emulator' failed
gmake[1]: *** [emulator] Error 2
gmake[1]: Leaving directory '/tmp/usr/ports/lang/erlang/work/otp_src_18.3'
*** Error code 1

Build log and beam_emu-d07ce.{c,sh} files are available from

Hamza Sheikh
Twitter: @aikchar

More information about the freebsd-ports mailing list