Date: Mon, 7 Nov 2016 15:28:35 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: http://pkg.freebsd.org only has freebsd:11:aarch64:64 for aaarch64? How to boostrap aarch64 pkg for head (12-CURRENT)? Message-ID: <4c6a873a-a256-1a27-d78f-079319ce5615@freebsd.org> In-Reply-To: <65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A@dsl-only.net> References: <65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --10834Usr5XAhpEHu0Rcl0haLoJA763SGl Content-Type: multipart/mixed; boundary="AlphhrTMNRDbmJ07M61I4txJvkVg6QVwo"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-current@freebsd.org Message-ID: <4c6a873a-a256-1a27-d78f-079319ce5615@freebsd.org> Subject: Re: http://pkg.freebsd.org only has freebsd:11:aarch64:64 for aaarch64? How to boostrap aarch64 pkg for head (12-CURRENT)? References: <65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A@dsl-only.net> In-Reply-To: <65D8A8E5-07F0-4E0F-A412-C2CDE2D9982A@dsl-only.net> --AlphhrTMNRDbmJ07M61I4txJvkVg6QVwo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-11-07 15:19, Mark Millard wrote: > It looks like http://pkg.freebsd.org is still back as of head being 11-= CURRENT: http://pkg.freebsd.org shows only >=20 > =E2=80=A2 freebsd:11:aarch64:64 >=20 > (as http://pkg.freebsd.org/freebsd%3A11%3Aaarch64%3A64 ). >=20 > So on 12-CURRENT pkg bootstrapping gets: >=20 >> # 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/l= atest, please wait... >> pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:12:aarch64/latest/L= atest/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'. >=20 > but ld is also missing at this stage so one cannot link anything --and = pkg is not a route to make an ld available. >=20 > So how does one currently bootstrap a 12-CURRENT pkg for aarch64 (conte= xt: pine64+ 2GB)? >=20 > Create a /usr/local/etc/pkg/repos/FreeBSD.conf to reference FreeBSD:11:= aarch64 ? That just reports the wrong architecture is being attempted: >=20 >> # 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/l= atest, please wait... >> Verifying signature with trusted certificate pkg.freebsd.org.201310230= 1... 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 >> >> Failed to install the following 1 package(s): /tmp//pkg.txz.zkdHp2 >=20 >=20 > pkg-static install -f pkg fetches meta.txz and packagesite.txz first bu= t then also reports "wrong architecture": >=20 >> # 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 FreeB= SD:12:aarch64 >> pkg-static: repository FreeBSD contains packages with wrong ABI: freeb= sd: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 >=20 >=20 >=20 >=20 > Context details (was cross built from amd64 head -r308247): >=20 >> # 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/ob= j/arm64.aarch64/usr/src/sys/GENERIC-NODBG arm64 aarch64 1200014 1200014 >=20 >=20 >> # svnlite info /usr/ports | grep "Re[lv]" >> Relative URL: ^/head >> Revision: 424540 >> Last Changed Rev: 424540 >=20 >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >=20 Until the 12 packages are built, you can cheat: env ABI=3Dfreebsd:11:aarch64:64 pkg bootstrap --=20 Allan Jude --AlphhrTMNRDbmJ07M61I4txJvkVg6QVwo-- --10834Usr5XAhpEHu0Rcl0haLoJA763SGl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) iQIcBAEBAgAGBQJYIOP3AAoJEBmVNT4SmAt+QTwP/iDyPEQgtphyqTXtTknlm77A 0ETUtBpuA0D/tk7MSQetWtNbs4o2SC70hez1aKPIn9YwzuIHMB5miU6FnLGYUS1T Pvp96dhMi69MpM2bxxq6nWUMoZFcxcfgOOj0gZBGSrb3V5zXJ6NDKQLoD08zp3RK WbDn/k7JOIgPk+FiRvDRZB10fIEYucO9IjNjZuceHDEpHUr1mYzGu6NwYEO3PgWn E/J8/TyOoaNg7jXU+dRxWPagz6Zr5sp1JutonpBJbwS/bh52L+UlwSKaI8FXqZq0 fEg4/7NvMkkIQWWDPSOUAFFojdfn/R7S8OXa93TWjcellHpg4yalu01AcZvYriUw iizAMnyAFI6wzCu6qRFO+hhk6G/ql3QCO47KtmXgX8hcKQAmYkPKqazykldKvIzt LCu3IoT9QBGfXGZzTr0NKWov1DD70NEMihvDqkEfwQR92Alcillc5AVpuimhC67K n2e6hB4TwApcVqqL9xNtRAjmdhH2KzhAl+ZbeYZhxn8IlsHkUxPiITrPqS0RyVO5 f9waOo0sopYt6w3wfNNjQWl90s0JjFyjJt5C3E9qXcuV08f3cFSgCD28rrnsLATJ pktukjV+1D6FX8AHAeOU4aFU3dz5rQO6SBzjdlvAneqRjwQNwrnTijjEuw01Pykg 0fd54JQuanDXOc6fOyGd =ORO0 -----END PGP SIGNATURE----- --10834Usr5XAhpEHu0Rcl0haLoJA763SGl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c6a873a-a256-1a27-d78f-079319ce5615>