Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 12:19:24 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
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>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A>