Re: armv7 chroot on aarch64 (at least): various packages report lua script failure but seemed to install
Mark Millard via freebsd-arm <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On 2020-Dec-14, at 13:09, Mark Millard <[email protected]> wrote: > On a aarch64 system but chroot'ed to a armv7 directory tree I got the following going from pkg 1.14.5 to 1.15.10 : > > # chroot /usr/obj/DESTDIRs/clang-armv7-on-aarch64/ > . . . > [1/1] Installing pkg-1.15.10... > Extracting pkg-1.15.10: 100% > pkg: Failed to execute lua script: [string "args = {}..."]:11: attempt to call a nil value (field 'stat') > pkg: lua script failed > > The context has the likes of: > > # ls -ldT /dev/null > crw-rw-rw- 1 root wheel 0x19 Dec 14 20:20:03 2020 /dev/null > > Despite the "failed" notices, afterwards pkg reported: > > # pkg -v > 1.15.10 > > I'm unsure what to make of this combination of things. I do not know what other types of contexts get similar results. > > > Context details . . . > > I had used: > > # pkg install -f /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/All/pkg-1.15.10.txz > > to do the above because the earlier pkg upgrade silently did not try to upgrade pkg (but did upgrade everything else, 126 packages). > > For reference (in the chroot context): > > # uname -apKU > FreeBSD FBSDmacch 13.0-CURRENT FreeBSD 13.0-CURRENT #47 r368500M: Thu Dec 10 03:15:10 PST 2020 root@FBSDFHUGE:/usr/obj/cortexA72_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG arm armv7 1300131 1300131 > > The aarch64 context is also at -r368500 and 13000131. > > The armv7 ports were built from: > > # svnlite info /usr/ports/ > Path: /usr/ports > Working Copy Root Path: /usr/ports > URL: svn://svn.freebsd.org/ports/head > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 557893 > Node Kind: directory > Schedule: normal > Last Changed Author: manu > Last Changed Rev: 557893 > Last Changed Date: 2020-12-13 03:53:57 -0800 (Sun, 13 Dec 2020) > > via use of: > > # poudriere jail -jFBSDFSSDjailArmV7 -i > Jail name: FBSDFSSDjailArmV7 > Jail version: 13.0-CURRENT > Jail arch: arm.armv7 > Jail method: null > Jail mount: /usr/obj/DESTDIRs/clang-armv7-installworld-poud > Jail fs: > Jail updated: 2020-04-21 22:39:35 > > /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/ in the chroot is a copy of the one from the poudriere run: > > # rsync -axHh --info=progress2 --delete -r /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/* /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/.buildname /usr/obj/DESTDIRs/clang-armv7-on-aarch64/usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/ The lua script issue is not limited to pkg installing itself. For example: [29/124] Extracting dbus-1.12.20_3: 100% pkg: Failed to execute lua script: [string "args = {}..."]:11: attempt to call a nil value (field 'stat') pkg: lua script failed [30/124] Upgrading ca_root_nss from 3.55 to 3.58... [30/124] Extracting ca_root_nss-3.58: 100% pkg: Failed to execute lua script: [string "args = {}..."]:11: attempt to call a nil value (field 'stat') pkg: lua script failed === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"