From owner-freebsd-pkgbase@freebsd.org Wed Jul 27 22:56:53 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2082BA686C for ; Wed, 27 Jul 2016 22:56:53 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [IPv6:2607:f740:c::4ae]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A78B5197A; Wed, 27 Jul 2016 22:56:53 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (c-73-240-250-185.hsd1.or.comcast.net [73.240.250.185]) by echo.brtsvcs.net (Postfix) with ESMTPS id 9259050004; Wed, 27 Jul 2016 22:56:47 +0000 (UTC) Received: from [IPv6:2601:1c2:1402:3a86:f0de:b09b:2125:59e5] (unknown [IPv6:2601:1c2:1402:3a86:f0de:b09b:2125:59e5]) by chombo.houseloki.net (Postfix) with ESMTPSA id 8EE851B6F; Wed, 27 Jul 2016 15:56:46 -0700 (PDT) Subject: Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo To: Ben Woods , Matthew Seaman References: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> Cc: "freebsd-pkgbase@freebsd.org" From: Mel Pilgrim Message-ID: Date: Wed, 27 Jul 2016 15:56:48 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2016 22:56:53 -0000 On 2016-07-27 15:42, Ben Woods wrote: > Ok, it seems the PkgBase repo is located in a directory that uses the > ABI style FreeBSD:12:amd64 in the directory name, but the packages > contained within that repo are built for ABI freebsd:12:x86:64. > > The following should be a suitable work-around: > > 1. Change the contents of /usr/local/etc/pkg/repo/FreeBSD-base.conf, > updating the url line to remove the ${ABI} variable and instead be: > > url: "file:///usr/obj/usr/src/repo/FreeBSD:12:amd64/latest", > > > 2. Perform the upgrade by running the command: > > - > > # env ABI=freebsd:12:x86:64 pkg upgrade -r FreeBSD-base > > > > This likely needs to be fixed so that the work around is not necessary, but > hopefully that gets you going in the mean time. You can also symlink FreeBSD:12:x86:64 to FreeBSD:12:amd64 in /usr/obj/usr/src/repo. That effectively makes the same repo available for both ABI strings.