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

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 16 Jun 2021 16:47:01 UTC
Victor Sudakov <vas@sibptus.ru> writes:

> 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

Maybe try asking on ports@ list.

11.4/12.2/13.0/14.0 i386 jails work fine for me on 14.0 amd64 host.
IIRC, pkg.freebsd.org for i386 are built in a similar way but it's hard
to confirm because the host arch doesn't show up in build logs.

> 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

I wanted to suggest to re-create the jails with "-a i386" but...

$ file /poudriere/jails/*i386/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
/poudriere/jails/122i386/libexec/ld-elf.so.1:   ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped
/poudriere/jails/130i386/libexec/ld-elf.so.1:   ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, for FreeBSD 13.0 (1300139), stripped
/poudriere/jails/main-i386/libexec/ld-elf.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, for FreeBSD 14.0 (1400023), not stripped

See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256652