Date: Wed, 27 Jul 2016 07:37:58 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-pkgbase@freebsd.org Subject: Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo Message-ID: <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> In-Reply-To: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> References: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kFxI9SJSBEi1BfVcBpmEU3kw7w82BvnBh Content-Type: multipart/mixed; boundary="grwkEVoXRVoorP8nw1ajQ7nihM5MbDtIH" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-pkgbase@freebsd.org Message-ID: <4793bae9-9346-300f-b331-96fb54f7d2a0@FreeBSD.org> Subject: Re: amd64 vs. x86:64 architecture mismatch in FreeBSD-base repo References: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> In-Reply-To: <0295c3e9-a6ed-9081-ae3d-0668138289d3@bluerosetech.com> --grwkEVoXRVoorP8nw1ajQ7nihM5MbDtIH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 26/07/2016 21:04, Mel Pilgrim wrote: > 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: >=20 > # env ABI=3D"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 >=20 > 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. Wh= y > doesn't pkg treat these two labels as equivalent? Interesting. I've just seen exactly the same thing when trying to update my CURRENT VM. It's the transition from FreeBSD:11:amd64 to FreeBSD:12:amd64 which seems to be the root cause. The old 'freebsd:12:x86:64' ABI style is something that pkg(8) moved away from many years ago. It appears in the package metadata as 'arch': # pkg info -RF FreeBSD-lib-12.0.s20160727061717.txz | head -10 name: "FreeBSD-lib" origin: "base" version: "12.0.s20160727061717" comment: "lib package" maintainer: "re@FreeBSD.org" www: "https://www.FreeBSD.org" abi: "FreeBSD:12:amd64" arch: "freebsd:12:x86:64" <<<----*** prefix: "/" flatsize: 106186 which I believe is more significant for certain ARM and MIPS architectures: i386 and amd64 only have one architecture variant apiece. Still, curious about how to get over this major version number bump. Cheers, Matthew --grwkEVoXRVoorP8nw1ajQ7nihM5MbDtIH-- --kFxI9SJSBEi1BfVcBpmEU3kw7w82BvnBh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXmFbNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATnXgP+QGAHeCItY4gt5HYo4iWvT/0 ZyxNHWg9qomgYO8X6qptODYpc2AT8w5USIIpyWb7QR5+CrQS5jfHtlNqGLCM3fIE zrhNJcvjx0ygdjVfcVh5lpjYHNZ47oPtsSHrsdMH+eFvHTzD+0tMgO4KqtWwbxzJ 1FlKwCBepFl6QSXK6bkspxpCzhpxGVSxaj5DgsYbgKZwXSMMuU45pg7O0lLHQ3M5 mAHxvgjpo4iVPTZPUQQu6ReFA1Mv+lqKoilyJD3sT/Bcu5fNC/WI4X2ydqsHPuHK kHX4NW7+dXJWny+UUi/0noFvfaFm537th9BLrPWRVbeTjF6/3dc+tQBFX7uab3lQ vI41s+YiVSAWKyhp9sMBcCfG+vOgUnY7eNUsmVsEdd7bi86wCEafw+oECab/JhU/ qP3wbJ7D6Efa1iFY2ptMZfizo1W/BZrKSgOxzXjtKhiCP0vSdD0ll6EXByw2qEs4 zxp7ETub/dGEBWY5xEsHTgsFnLpwnvhAH6yKPEgtET2F9QZ8Rip+J03gk5BuEoyL 82IOHeZ9XVlGVF73o8rB1qIRVR4JOGq9w35ByqrxHJe4x2f3Gd8yXY1xXVNSSQEM qZL1E+PxIymFtgBpUgj7AqEDsmSUEkikEyqtBPPv0DRQhpHmlzqxzdSCeiWIQ2TF AgrOVg5CA9X0JzMBjlxB =SwNE -----END PGP SIGNATURE----- --kFxI9SJSBEi1BfVcBpmEU3kw7w82BvnBh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4793bae9-9346-300f-b331-96fb54f7d2a0>