pkg fails to install on aarch64/rpi3
Shawn Webb
shawn.webb at hardenedbsd.org
Mon Jan 2 20:45:07 UTC 2017
On Mon, Jan 02, 2017 at 01:35:27PM +0000, tech-lists wrote:
> Hello list,
>
> It seems jemalloc path from the system that created the crochet rpi3
> image is remembered by the image, so ports won't install. The quoted
> path in the error below doesn't exist on my rpi3 system.
>
> Are ports meant to be working for the rpi3?
>
> root at rpi3:/usr/ports/ports-mgmt/pkg # make install clean
> ===> Installing for pkg-1.9.4_1
> ===> Checking if pkg already installed
> ===> Registering installation for pkg-1.9.4_1
> <jemalloc>:
> /root/tmp/crochet/fbsd12-src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/tcache.h:346:
> Failed assertion: "binind < nhbins"
> Child process pid=73566 terminated abnormally: Abort trap
> *** Error code 134
>
> Stop.
> make[1]: stopped in /usr/ports/ports-mgmt/pkg
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/ports-mgmt/pkg
> root at rpi3:/usr/ports/ports-mgmt/pkg #
This is due to either a bug in jemalloc or a bug in freebsd's locking
code. You can work around it by running this command:
ln -s 'tcache:false' /etc/malloc.conf
Thanks,
--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD
GPG Key ID: 0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20170102/1d574693/attachment.sig>
More information about the freebsd-arm
mailing list