Created attachment 216328 [details]
Patch to fix an installed iocage on i386
On a 32-bit X86 jail host, iocage fetch fails because it is looking for lib32.txz in an i386 repo. The lib32.txz archive is only present in the amd64 repo because it is not required for i386 machines.
I found the bug in /usr/local/lib/python3.7/site-packages/iocage_lib/iocage.py
The attached patch fixes an already installed iocage. I sent email to upstream but have not received a reply yet.
The patch also fixes missing lib32 support on amd64 jails.
Over to the maintainer.
Thanks for submitting. Looking at your patch, in the second part it seems like you confused "arm64" with "amd64" (happened to me first as well). Installing lib32.txz probably doesn't make sense on arm64.
Anyway, good news is that upstream fixed the problem on i386, I'll pull in the fix to the port, thanks for reporting!
A commit references this bug:
Date: Sun Jul 19 11:54:48 UTC 2020
New revision: 542567
Fix `iocage fetch' on i386.
While there, switch to fetching all patches directly from github.
Reported by: Vincent Bentley