user/spack: (pmmx) FTBFS: Error: the "target" field in compilers.yaml accepts only target families
Found on pmmx:
>>> spack: Building user/spack 0.17.2-r1 (using abuild 3.4.2-r2) started Thu, 28 Jul 2022 15:37:29 +0000
>>> spack: Checking sanity of /root/packages/user/spack/APKBUILD...
>>> spack: Analyzing dependencies...
(1/5) Installing libffi (3.4.2-r0)
(2/5) Installing sqlite-libs (3.38.3-r0)
(3/5) Installing python3 (3.10.4-r0)
(4/5) Installing python3-dev (3.10.4-r0)
(5/5) Installing .makedepends-spack (20220728.153730)
OK: 477 MiB in 98 packages
>>> spack: Cleaning temporary build dirs...
>>> spack: Fetching https://git.adelielinux.org/adelie/spack/-/archive/bb8fbb9b589e667f92ce7d56b3802ba44cb188ec/spack-bb8fbb9b589e667f92ce7d56b3802ba44cb188ec.tar.bz2
>>> spack: Fetching https://git.adelielinux.org/adelie/spack/-/archive/bb8fbb9b589e667f92ce7d56b3802ba44cb188ec/spack-bb8fbb9b589e667f92ce7d56b3802ba44cb188ec.tar.bz2
>>> spack: Checking sha512sums...
spack-bb8fbb9b589e667f92ce7d56b3802ba44cb188ec.tar.bz2: OK
>>> spack: Unpacking /var/cache/distfiles/spack-bb8fbb9b589e667f92ce7d56b3802ba44cb188ec.tar.bz2...
==> "github-actions-v0.1" is now untrusted and will not be used for bootstrapping
==> "github-actions-v0.2" is now untrusted and will not be used for bootstrapping
==> Error: the "target" field in compilers.yaml accepts only target families [replace "i686" with "x86" in "gcc@8.5.0" specification]
>>> ERROR: spack: check failed
>>> spack: Uninstalling dependencies...
(1/5) Purging .makedepends-spack (20220728.153730)
(2/5) Purging python3-dev (3.10.4-r0)
(3/5) Purging python3 (3.10.4-r0)
(4/5) Purging libffi (3.4.2-r0)
(5/5) Purging sqlite-libs (3.38.3-r0)
OK: 373 MiB in 93 packages
Note: the easiest way to reproduce this is with setarch i686 $SHELL
.