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

From: Victor Sudakov <vas_at_sibptus.ru>
Date: Tue, 15 Jun 2021 08:39:29 UTC
Victor Sudakov wrote:
> 
> 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.

What surprises me is that a simple jail would not start:

# jail -c path=/poudriere/jails/114i386 mount.devfs host.hostname=test32bit command=/bin/tcsh
ELF interpreter /libexec/ld-elf.so.1 not found, error 8
jail: /bin/tcsh: exited on signal 6

# 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

Why is ld-elf.so.1 in an i386 jail a 64-bit executable? Compare:

# file /poudriere/jails/122i386/libexec/ld-elf.so.1
/poudriere/jails/122i386/libexec/ld-elf.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped

# file /poudriere/jails/114i386/bin/ls
/poudriere/jails/114i386/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 11.4, FreeBSD-style, stripped


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