Skip to content

pkg 1.2 fails to build on freebsd-arm with segfault #666

Closed
@seasox

Description

@seasox

pkg-1.2.1 and pkg-1.2 fail to build from ports on FreeBSD-ARM. I encountered this issue on a Raspberry Pi with FreeBSD 11.0-CURRENT installed:

# uname -a
FreeBSD raspberry-pi 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r258675: Wed Nov 27 19:33:10 CET 2013     root@freebsd:/usr/home/jb/rpi/crochet-freebsd-master/work/obj/arm.armv6/usr/home/jb/rpi/src/sys/RPI-B  arm

The error is:

# cd /usr/ports/port-mgmt/pkg
[a lot of building]
install -o root  -g wheel -m 555  pkg2ng  /usr/obj/usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin/pkg2ng
====> Compressing man pages (compress-man)
===>  Installing for pkg-1.2.1
===>  Checking if ports-mgmt/pkg already installed
Segmentation fault (core dumped)
*** Error code 139

Building pkg-1.1.4 (svn revision 334645) works on said RPi.

This issue has also been reported to the freebsd-arm mailing list: http://lists.freebsd.org/pipermail/freebsd-arm/2013-November/007005.html
I have saved the dumped pkg-static.core for further debugging, but can't upload it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions