From owner-freebsd-arm@FreeBSD.ORG Sun Dec 8 23:05:43 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5987362D for ; Sun, 8 Dec 2013 23:05:43 +0000 (UTC) Received: from hal.g7iii.net (unknown [IPv6:2600:3c02::f03c:91ff:feae:1cbe]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 399C416D1 for ; Sun, 8 Dec 2013 23:05:43 +0000 (UTC) Received: from [192.168.39.76] (157.17.187.81.in-addr.arpa [81.187.17.157]) by hal.g7iii.net (Postfix) with ESMTP id 1CA4F20A70 for ; Sun, 8 Dec 2013 23:05:34 +0000 (UTC) Message-ID: <52A4FB3E.9090602@g7iii.net> Date: Sun, 08 Dec 2013 23:05:34 +0000 From: Iain Young User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-arm@FreeBSD.org Subject: Problem when trying to install pkg from ports Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 23:05:43 -0000 Hi Folks, Now that I have some decent PPS sources, I am resurrecting using my Beaglebone's (White), as time pieces, using FreeBSD as the base O/S I recopied the image that some kind folks here created for me some months ago, ran postsnap fetch etc etc, then came to try and install a few essentials from the ports collection prior to building a new kernel (subversion etc) The first thing it tries to install is pkg, but unfortunately, this fails when "attempting to register pkg...". Tail end of the output from doing a make install clean for subversion is as follows: ---BEGIN INCLUDE TEXT--- ===> Checking if ports-mgmt/pkg already installed ===> Registering installation for pkg-1.2.1 *** [fake-pkg] Signal 11 Stop in /usr/ports/ports-mgmt/pkg. *** [/usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** [install] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** [pkg-depends] Error code 1 Stop in /usr/ports/ports-mgmt/dialog4ports. *** [install] Error code 1 Stop in /usr/ports/ports-mgmt/dialog4ports. ===> Options unchanged You can have the repository created for you by defining WITH_REPOSITORY_CREATION. Make sure that: * all your svn users are members of a common group * this group is the group id of the db/ and locks/ subdirectories of your repository * the above subdirectories are writable by this group Many useful scripts will be installed into /usr/local/share/subversion ===> License AL2 accepted by the user ===> subversion-1.8.5 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing for pkg-1.2.1 ===> Checking if ports-mgmt/pkg already installed ===> Registering installation for pkg-1.2.1 *** [fake-pkg] Signal 11 Stop in /usr/ports/ports-mgmt/pkg. *** [/usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** [pkg-depends] Error code 1 Stop in /usr/ports/devel/subversion. *** [install] Error code 1 Stop in /usr/ports/devel/subversion. ---END INCLUDE TEXT--- I did check if the same think happened when installing pkg and dialog4ports manually, and, yes it did. Digging a bit further, seems it's fake-pkg SEGVing. Googling around, I found a bug and a patch from 2012, but certainly the tree I have already seems to have it in. The other advice I found on the net was to disable tracking of shlibs for the build, but despite trying, I couldn't find out how! Anyone got any ideas ? It's a tad frustrating not being able to rebuild the kernel, when I need to add a couple of patches, and turn off a few things, esp when I'm not actually going to make much use of pkg! Iain