Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 08:20:31 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        current@FreeBSD.org, ports@FreeBSD.org
Subject:   (head users) 64-bit inodes: Packages heads up and Poudriere errors
Message-ID:  <fb9d4f9b-4d68-7680-a121-ed908837e7f4@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uiOGc6uvPsKo3XBHI2f48fOeLHrFl0FII
Content-Type: multipart/mixed; boundary="DabqeoUXQjH9mhswMwg2LEd17Js19q5p2";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: current@FreeBSD.org, ports@FreeBSD.org
Message-ID: <fb9d4f9b-4d68-7680-a121-ed908837e7f4@FreeBSD.org>
Subject: (head users) 64-bit inodes: Packages heads up and Poudriere errors

--DabqeoUXQjH9mhswMwg2LEd17Js19q5p2
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable


For those running FreeBSD head, the ABI was majorly changed in r318736
for 64-bit inodes.  This change was *backwards compatible* but not
*forward compatible*.  This is normal and expected.

For Pkg users:

You are advised to upgrade your system past r318736 soon or avoid using
official packages until you do.  Portmgr may upgrade the package
builders at any time and without much notice.

For Poudriere users:

What this means is that you may see warnings like this in Poudriere:

> [00:00:01] =3D=3D=3D=3D>> Warning: !!! Jail is newer than host. (Jail: =
1200031, Host: 1200030) !!!
> [00:00:01] =3D=3D=3D=3D>> Warning: This is not supported.
> [00:00:01] =3D=3D=3D=3D>> Warning: Host kernel must be same or newer th=
an jail.
> [00:00:01] =3D=3D=3D=3D>> Warning: Expect build failures.

This warning is quite old and usually can be ignored as the
__FreeBSD_version number it is tracking is normally bumped for minor
things.  Large ABI breakage is relatively rare.  In this case it matters
though.

=2E..
> [00:00:03] =3D=3D=3D=3D>> Starting jail exp-head-commit-test
> [00:00:03] =3D=3D=3D=3D>> Error: Unable to execute id(1) in jail. Emula=
tion or ABI wrong.

This is due to the ABI breakage - your older kernel cannot run the newer
binary from the jail.  The solution is to upgrade your host system past
r318736.  Be sure to follow the proper (and normal) upgrade procedure as
documented in UPDATING.
(For people finding this error on Google, it can indicate anything wrong
in the jail that is disallowing binaries from running from a broken QEMU
to a non-forward-compatible ABI change to simply missing files or broke
jail setup)

Lastly, Poudriere normally automatically rebuilds packages for head
jails anytime the VCS revision is changed, so SVN revision or GIT hash.
This is important in these ABI-breaking cases as you want all packages
to use the new ABI.  I am changing this in the next Poudriere updates to
track __FreeBSD_version for svn/git/-m src=3D builds.  It will still
continue to track "Release name" for other methods.  This will do 2 thing=
s:
1. Rebuild less often and only when someone updates __FreeBSD_version.
This is more proper and we should strive to update this only as needed
to rebuild things.
2. Fix -m src=3D *not* rebuilding packages after the recent ABI breakage.=

If your jail uses -m src=3D I recommend forcifully doing a bulk -c once t=
o
ensure you get working packages.


--=20
Regards,
Bryan Drewery


--DabqeoUXQjH9mhswMwg2LEd17Js19q5p2--

--uiOGc6uvPsKo3XBHI2f48fOeLHrFl0FII
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

iQEcBAEBAgAGBQJZKEfEAAoJEDXXcbtuRpfPAKQIALLJffPO/3hB8ekKxY+Afex1
oHRAUPp3q9IxaGTfaC8c9HG1QMVGyjDVhr4OvNK2Nu2H5UGR2DO6FE7+YP740zrR
aEX75jCKbkJ42oooji0qlPBoM2FRt6yrf/8UcX13lkl/LR/Tzm0zQ/PDij9+aJxm
6/rIErVZdDlKVLYGIvg6iI0at7bZf3X5LiLR8Z4xxpdxhTi+PNLrVWqszEZZ1J15
stK+0K6NL/DXpy1Jdtf6Ew2g21t8SqjXRA/SU3p+9rjvtc8knDAYEaMWUwePMx7R
0S5rqxuAFDEJsGIi9WhGP1IxSuBpaPXM/grWNVxGZD8/oUK6M78PoQMec4IG1PU=
=LvmR
-----END PGP SIGNATURE-----

--uiOGc6uvPsKo3XBHI2f48fOeLHrFl0FII--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb9d4f9b-4d68-7680-a121-ed908837e7f4>