https://github.com/golang/go/issues/8912 /usr/lib/go/pkg/tool/linux_ppc64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -X=runtime.godebugDefault=panicnil=1 -buildmode=exe -buildid=Cl8ZOdBFbbmsIf-i-cA5/OB50AZBmRgKA13frQ9u2/AfmGELV9V-MU5YHKICVo/Cl8ZOdBFbbmsIf-i-cA5 -X github.com/containers/podman/v4/libpod/define.buildInfo=1708466759 -X github.com/containers/podman/v4/libpod/config._installPrefix=/usr -X github.com/containers/podman/v4/libpod/config._etcDir=/etc -X github.com/containers/podman/v4/pkg/systemd/quadlet._binDir=/usr/bin -X github.com/containers/common/pkg/config.additionalHelperBinariesDir= -extld=powerpc64-unknown-linux-gnu-gcc $WORK/b001/_pkg_.a # github.com/containers/podman/v4/cmd/podman /usr/lib/go/pkg/tool/linux_ppc64/link: external linking not supported for linux/ppc64 Reproducible: Always
Created attachment 885554 [details] build.log and emerge --info
Seems to affect big-endian only, so you can mask on BE.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7797eab2a68ffc219de2f76dfb664d61182e83cb commit 7797eab2a68ffc219de2f76dfb664d61182e83cb Author: Rahil Bhimjiani <me@rahil.rocks> AuthorDate: 2024-03-20 13:25:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-23 08:29:01 +0000 app-containers/podman: mask on ppc64 BE Upstream Issue: https://github.com/golang/go/issues/8912 Closes: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/powerpc/ppc64/64ul/package.mask | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
This bug report says that podman fails to build on ppc64 big endian. But the commit added a package mask to 64ul directory, which is a parent of little endian as well. Is this an error? mask commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7797eab2a6 ref: https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/arch/ppc64/little-endian/parent
Thanks Scott for pointing this out. So maybe I should mask it in https://gitweb.gentoo.org/repo/gentoo.git/tree/profiles/features/big-endian/package.mask. Btw what is the full form of 64ul ?
Unfortunately due to the profile structure you have to mask it in 64ul, and then unmask it in 64le.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90efc92240abee01a7845943a9ab17b440c59d76 commit 90efc92240abee01a7845943a9ab17b440c59d76 Author: Rahil Bhimjiani <me@rahil.rocks> AuthorDate: 2024-03-26 12:55:52 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2024-03-27 03:02:02 +0000 app-containers/podman: unmask in ppc64 LE Bug: https://bugs.gentoo.org/925111 Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> Closes: https://github.com/gentoo/gentoo/pull/35929 Signed-off-by: Zac Medico <zmedico@gentoo.org> profiles/arch/powerpc/ppc64/64le/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
According to the discussion in March, this package builds on ppc64le, but not ppc64. But it is masked again for both. The commit that undid the careful masking is: https://gitweb.gentoo.org/repo/gentoo.git/commit/profiles/arch/powerpc/ppc64/64le?id=dd7cb10ad6 A related bug ID for that commit is: https://bugs.gentoo.org/934215
That commit is definitely wrong. It interfered with another bug I was working on as well. Let me ask for it to be reverted.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5429444982127a776b997c0d35c9e828143a63fb commit 5429444982127a776b997c0d35c9e828143a63fb Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-26 05:24:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-26 05:25:40 +0000 Revert "profiles: powerpc/ppc64/64le: Cleanup UnmatchedProfilePackageUnmask" This reverts commit dd7cb10ad6297c4a26d5e229cdde8c842ea2b552. See also a49990c1a1781052620a5b53581e80ae288e290a. Bug: https://bugs.gentoo.org/918647 Bug: https://bugs.gentoo.org/925111 Bug: https://github.com/pkgcore/pkgcheck/issues/685 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/powerpc/ppc64/64le/package.mask | 9 +++++++++ 1 file changed, 9 insertions(+)