pourdiere broken for i386 jails ? (or maybe not poudriere per se)

From: Victor Sudakov <vas_at_sibptus.ru>
Date: Sun, 13 Jun 2021 09:25:17 UTC
Dear Colleagues,

Suddenly poudriere and poudriere-devel stopped working for i386 jails. I
can't say when exactly this happened but probably after a recent
freebsd-update.

root@svn:~ # uname -rm
12.2-RELEASE-p7 amd64

root@svn:~ # poudriere bulk -j 114i386 -f
/usr/local/etc/poudriere.d/pkglist.txt
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for 114i386-default
[00:00:00] Using packages from previously failed build:
/poudriere/data/packages/114i386-default/.building
[00:00:00] Mounting ports from: /poudriere/ports/default
[00:00:00] Mounting packages from:
/poudriere/data/packages/114i386-default
[00:00:00] Mounting distfiles from: /usr/ports/distfiles
[00:00:00] Copying /var/db/ports from:
/usr/local/etc/poudriere.d/options
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
/etc/resolv.conf ->
/poudriere/data/.m/114i386-default/ref/etc/resolv.conf
[00:00:00] Starting jail 114i386-default
ELF interpreter /libexec/ld-elf.so.1 not found, error 8
Abort trap
[00:00:00] Error: Unable to execute id(1) in jail. Emulation or ABI wrong.
[00:00:01] Cleaning up
[00:00:01] Unmounting file systems
root@svn:~ # 

I tried deleting and recreating the "114i386" jail to no avail. I remember
having this problem several years ago but cannot recall how it resolved. Moreover:

root@svn:~ # chroot /poudriere/jails/114i386
ELF interpreter /libexec/ld-elf.so.1 not found, error 8
Abort
root@svn:~ # /poudriere/jails/114i386/bin/ls
ELF interpreter /libexec/ld-elf.so.1 not found, error 8
Abort
root@svn:~ # 

root@svn:~ # file /poudriere/jails/114i386/libexec/ld-elf.so.1
/poudriere/jails/114i386/libexec/ld-elf.so.1: ELF 64-bit LSB shared
object, x86-64, version 1 (FreeBSD), dynamically linked, stripped
root@svn:~ # 



-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet