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

Dimitry Andric dim at FreeBSD.org
Mon May 16 11:44:23 UTC 2016


On 15 May 2016, at 00:24, Hamza Sheikh <fehrist at codeghar.com> wrote:
> 
> 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 releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2  arm
> 
> 
> freebsd at rpi2:~ % cat /etc/make.conf
> WITH_PKGNG=yes
> WRKDIRPREFIX=/tmp
> 
> 
> 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

From your build log, the lines before this message were:

[...]
 CC	obj/armv6-portbld-freebsd11.0/opt/smp/preload.o
 EMU_CC	obj/armv6-portbld-freebsd11.0/opt/smp/beam_emu.o
cc: error: unable to execute command: Killed
cc: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/beam_emu-d07c2e.c
cc: note: diagnostic msg: /tmp/beam_emu-d07c2e.sh
cc: note: diagnostic msg:

********************

This typically occurs when you run out of memory.  If you check dmesg,
you will probably see "swap_pager_getswapspace(nn): failed" messages,
followed by "pid nnnnn (cc), uid mm, was killed: out of swap space".

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160516/3b2afe5d/attachment.sig>


More information about the freebsd-ports mailing list