From owner-freebsd-ports@FreeBSD.ORG Sun Jun 22 19:59:56 2014 Return-Path: Delivered-To: freebsd-ports@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 3E7B4D43 for ; Sun, 22 Jun 2014 19:59:56 +0000 (UTC) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id C57D92146 for ; Sun, 22 Jun 2014 19:59:55 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 4C9CFB843; Sun, 22 Jun 2014 21:59:46 +0200 (SAST) Date: Sun, 22 Jun 2014 21:59:46 +0200 From: John Hay To: freebsd-ports@freebsd.org Subject: pkg fail to install on AVILA/CAMBRIA arm boards Message-ID: <20140622195946.GA66332@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2014 19:59:56 -0000 Hi Guys, I'm trying to build and install some port on a nfs booted CAMBRIA arm board using FreeBSD-head. All depend on the new pkg and I can build the whole pkg, but then when trying to install, I get ############# root@:/usr/ports/ports-mgmt/pkg # make install ===> Installing for pkg-1.2.7_3 ===> Checking if ports-mgmt/pkg already installed pkg-static: failed to find the version elf note ===> Registering installation for pkg-1.2.7_3 pkg-static: failed to find the version elf note pkg-static: failed to find the version elf note Installing pkg-1.2.7_3...pkg-static: package field incomplete: architecture pkg-static: the package is not valid pkg-static: sqlite: cannot rollback - no transaction is active If you are upgrading from the old package format, first run: # pkg2ng *** Error code 70 Stop. make[1]: stopped in /export/ports/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /export/ports/ports-mgmt/pkg ############## root@:~ # uname -a FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r267633M: Thu Jun 19 14:32:34 SAST 2014 jhay@dolphin.meraka.csir.co.za:/usr/obj/arm.armeb/snaps/arm/11-tst/src/sys/CAMBRIA arm ############## Is there some bootstrapping that I need to do? My previous arm stuff is on 9 and used the old pkg system, but I thought it is time to upgrade. Should I rather build the old pkg for arm and -current? Regards John -- John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za / jhay@FreeBSD.org