Date: Mon, 14 Dec 2020 13:09:27 -0800 From: Mark Millard <marklmi@yahoo.com> To: freebsd-arm <freebsd-arm@freebsd.org> Subject: armv7 chroot on aarch64 (at least): pkg updating itself to 1.15.10 reported lua script failure but seemed to install (when forced) Message-ID: <C68837D4-004D-4752-BD2F-EC254A6B72EF@yahoo.com> References: <C68837D4-004D-4752-BD2F-EC254A6B72EF.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D {}..."]: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/p= kg-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.aarch6= 4/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: =20 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=3Dprogress2 --delete -r = /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/* = /usr/local/poudriere/data/packages/FBSDFSSDjailArmV7-default/.latest/.buil= dname = /usr/obj/DESTDIRs/clang-armv7-on-aarch64/usr/local/poudriere/data/packages= /FBSDFSSDjailArmV7-default/.latest/ =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C68837D4-004D-4752-BD2F-EC254A6B72EF>