Summary: | =app-containers/podman-4.7.2 relocation target not defined | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rick Farina (Zero_Chaos) <zerochaos> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | me, parona, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/containers/podman/issues/13297 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Rick Farina (Zero_Chaos)
2023-12-06 03:01:58 UTC
Created attachment 877655 [details]
build.log
MAKEOPTS="-j1 --shuffle=none"
Confirmed, I did add lto to my setup systemwide recently enough that it may be the cause. That said, I'm having a hard time testing that as a fix. I tried filter-lto from flag-o-matic at the top of src_prepare and src_compile and it still fails to build. I don't know much about how go works, but I'm able to test fixes if you have ideas. go-module.eclass sets up *FLAGS via go-env_set_compile_environment called in src_unpack which makes filter-lto hard to use at any reasonable point.. we'll have to call it in src_unpack before calling go-module_src_unpack Based on the URL it looks like this isn't podman specific, it's a go thing in general? Would it make more sense to just filter-lto in go-module_src_unpack ? Also, this very simple patch didn't fix the issue: diff --git a/app-containers/podman/podman-4.7.2.ebuild b/app-containers/podman/podman-4.7.2.ebuild index 2905f1069a60..759385c754bc 100644 --- a/app-containers/podman/podman-4.7.2.ebuild +++ b/app-containers/podman/podman-4.7.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module tmpfiles linux-info +inherit flag-o-matic go-module tmpfiles linux-info DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI" HOMEPAGE="https://github.com/containers/podman/ https://podman.io/" @@ -62,6 +62,11 @@ pkg_setup() { linux-info_pkg_setup } +src_unpack() { + filter-lto + go-module_src_unpack +} + src_prepare() { default This appears to have been caused by me overriding something in the wrong place and accidentally dumping most of my cflags. Fixed my bug and no longer able to replicate. |