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

Victor Sudakov vas at sibptus.ru
Tue Jun 15 08:39:37 UTC 2021

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
2:5005/49 at fidonet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210615/a7e9e7c9/attachment.sig>

More information about the freebsd-questions mailing list