[Bug 256659] ports-mgmt/poudriere-devel: creates broken i386 jails which are partially 64-bit

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Jun 2021 02:21:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256659

            Bug ID: 256659
           Summary: ports-mgmt/poudriere-devel: creates broken i386 jails
                    which are partially 64-bit
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: vas@sibptus.ru
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

When I create an i386 jail on a 12.2 amd64 system, the resulting jail is
partially 32-bit and partially 64-bit, so its useless for package building, any 
"poudriere bulk" command ends with a bunch of errors.

How to reproduce:

poudriere jail -m ftp -c -j 122i386 -a i386 -v 12.2-RELEASE
[downloading, extracting and updating the jail]
find /poudriere/jails/122i386/{bin,sbin,usr/bin,usr/sbin,usr/lib} |\
  xargs file | grep "64-bit LSB" | wc -l

The above will find 13 64-bit binaries:
/poudriere/jails/122i386/usr/lib/libssl.so.111 and others. The rest are 32-bit
binaries (1034 binaries)

FREEBSD_HOST=ftp://ftp.freebsd.org in poudriere.conf

I suspect the problem is somewhere in the code where binary updates are applied
to the jails.

-- 
You are receiving this mail because:
You are the assignee for the bug.