Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925111 - app-containers/podman-4.9.3 fails to build on ppc64: /usr/lib/go/pkg/tool/linux_ppc64/link: external linking not supported for linux/ppc64
Summary: app-containers/podman-4.9.3 fails to build on ppc64: /usr/lib/go/pkg/tool/li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Zac Medico
URL: https://github.com/golang/go/issues/8912
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 914624
  Show dependency tree
 
Reported: 2024-02-20 22:37 UTC by matoro
Modified: 2024-03-27 03:02 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,410.86 KB, application/gzip)
2024-02-20 22:39 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-02-20 22:37:56 UTC
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
Comment 1 matoro archtester 2024-02-20 22:39:37 UTC
Created attachment 885554 [details]
build.log and emerge --info
Comment 2 matoro archtester 2024-02-21 01:05:55 UTC
Seems to affect big-endian only, so you can mask on BE.
Comment 3 Larry the Git Cow gentoo-dev 2024-03-23 08:29:47 UTC
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(-)
Comment 4 Scott Howard 2024-03-26 01:40:10 UTC
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
Comment 5 Rahil Bhimjiani 2024-03-26 01:49:20 UTC
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 ?
Comment 6 matoro archtester 2024-03-26 04:29:57 UTC
Unfortunately due to the profile structure you have to mask it in 64ul, and then unmask it in 64le.
Comment 7 Larry the Git Cow gentoo-dev 2024-03-27 03:02:07 UTC
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(+)