From owner-freebsd-toolchain@freebsd.org Mon Nov 7 20:26:07 2016 Return-Path: Delivered-To: freebsd-toolchain@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 70C9EC35115 for ; Mon, 7 Nov 2016 20:26:07 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-55.reflexion.net [208.70.210.55]) (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 1FD1DC9D for ; Mon, 7 Nov 2016 20:26:06 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 32027 invoked from network); 7 Nov 2016 20:19:14 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 7 Nov 2016 20:19:14 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.10.1) with SMTP; Mon, 07 Nov 2016 15:19:30 -0500 (EST) Received: (qmail 7498 invoked from network); 7 Nov 2016 20:19:30 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 7 Nov 2016 20:19:30 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1DDB1EC7888; Mon, 7 Nov 2016 12:19:25 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: http://pkg.freebsd.org only has freebsd:11:aarch64:64 for aaarch64? How to boostrap aarch64 pkg for head (12-CURRENT)? Message-Id: <65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A@dsl-only.net> Date: Mon, 7 Nov 2016 12:19:24 -0800 To: FreeBSD Toolchain , freebsd-arm , FreeBSD-STABLE Mailing List , FreeBSD Current X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2016 20:26:07 -0000 It looks like http://pkg.freebsd.org is still back as of head being = 11-CURRENT: http://pkg.freebsd.org shows only =E2=80=A2 freebsd:11:aarch64:64 (as http://pkg.freebsd.org/freebsd%3A11%3Aaarch64%3A64 ). So on 12-CURRENT pkg bootstrapping gets: > # pkg > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from = pkg+http://pkg.FreeBSD.org/FreeBSD:12:aarch64/latest, please wait... > pkg: Error fetching = http://pkg.FreeBSD.org/FreeBSD:12:aarch64/latest/Latest/pkg.txz: Not = Found > A pre-built version of pkg could not be found for your system. > Consider changing PACKAGESITE or installing it from ports: = 'ports-mgmt/pkg'. but ld is also missing at this stage so one cannot link anything --and = pkg is not a route to make an ld available. So how does one currently bootstrap a 12-CURRENT pkg for aarch64 = (context: pine64+ 2GB)? Create a /usr/local/etc/pkg/repos/FreeBSD.conf to reference = FreeBSD:11:aarch64 ? That just reports the wrong architecture is being = attempted: > # pkg > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from = pkg+http://pkg.FreeBSD.org/FreeBSD:11:aarch64/latest, please wait... > Verifying signature with trusted certificate = pkg.freebsd.org.2013102301... done > pkg-static: Warning: Major OS version upgrade detected. Running = "pkg-static install -f pkg" recommended > Installing pkg-1.9.2... > pkg-static: wrong architecture: FreeBSD:11:aarch64 instead of = FreeBSD:12:aarch64 >=20 > Failed to install the following 1 package(s): /tmp//pkg.txz.zkdHp2 pkg-static install -f pkg fetches meta.txz and packagesite.txz first but = then also reports "wrong architecture": > # pkg-static install -f pkg > pkg-static: Warning: Major OS version upgrade detected. Running = "pkg-static install -f pkg" recommended > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 =20 > Fetching packagesite.txz: 100% 4 MiB 4.3MB/s 00:01 =20 > Processing entries: 0% > pkg-static: wrong architecture: freebsd:11:aarch64:64 instead of = FreeBSD:12:aarch64 > pkg-static: repository FreeBSD contains packages with wrong ABI: = freebsd:11:aarch64:64 > Processing entries: 100% > Unable to update repository FreeBSD > All repositories are up-to-date. > pkg-static: Repository FreeBSD cannot be opened. 'pkg update' required > pkg-static: No packages available to install matching 'pkg' have been = found in the repositories Context details (was cross built from amd64 head -r308247): > # uname -apKU > FreeBSD pine64 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r308247M: Thu Nov = 3 07:10:44 PDT 2016 = markmi@FreeBSDx64:/usr/local/src/crochet/work/obj/arm64.aarch64/usr/src/sy= s/GENERIC-NODBG arm64 aarch64 1200014 1200014 > # svnlite info /usr/ports | grep "Re[lv]" > Relative URL: ^/head > Revision: 424540 > Last Changed Rev: 424540 =3D=3D=3D Mark Millard markmi at dsl-only.net