From owner-freebsd-pkgbase@freebsd.org Tue Jul 26 20:05:02 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 5DC28BA5FC2 for ; Tue, 26 Jul 2016 20:05:02 +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 4D5FC1682 for ; Tue, 26 Jul 2016 20:05:02 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (unknown [IPv6:2601:1c2:1402:3a86:21c:c0ff:fe7f:96ee]) by echo.brtsvcs.net (Postfix) with ESMTPS id 2699F50004 for ; Tue, 26 Jul 2016 20:05:01 +0000 (UTC) Received: from [IPv6:2601:1c2:1402:3a86:c5ff:60f1:bd31:a4eb] (unknown [IPv6:2601:1c2:1402:3a86:c5ff:60f1:bd31:a4eb]) by chombo.houseloki.net (Postfix) with ESMTPSA id 3E3E61A21 for ; Tue, 26 Jul 2016 13:05:00 -0700 (PDT) To: freebsd-pkgbase@freebsd.org From: Mel Pilgrim Subject: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo Message-ID: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> Date: Tue, 26 Jul 2016 13:04:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; 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: Tue, 26 Jul 2016 20:05:02 -0000 I'm trying out pkgbase, using the BETA2 release with src checked out at r303326 (current at the time of checkout). I've run the buildworld, buildkernel, and packages targets, and added the appropriate bits to /usr/local/etc/pkg/repos/FreeBSD-base.conf, but when I try to get the catalogue, I ran into a problem with ABI mismatches: # env ABI="FreeBSD:12:amd64" pkg update -r FreeBSD-base pkg: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended Updating FreeBSD-base repository catalogue... Fetching meta.txz: 100% 264 B 0.3kB/s 00:01 Fetching packagesite.txz: 100% 48 KiB 49.0kB/s 00:01 Processing entries: 0% pkg: wrong architecture: freebsd:12:x86:64 instead of FreeBSD:12:amd64 pkg: repository FreeBSD-base contains packages with wrong ABI: freebsd:12:x86:64 Processing entries: 100% Unable to update repository FreeBSD-base I fixed that problem by renaming the directory and repointing the "latest" symlink (why wasn't it relative?), but this seems like a bug where one part of the repo building code is using the running system's architecture, and another part is using the src tree's architecture. Why doesn't pkg treat these two labels as equivalent?