Commit bef413e
committed
podman: fix cross compilation build
- See `Nixpkgs` issue 467994 for detailed build logs showing the
failure.
- `Podman` will use its vendored version of `go-md2man` when the
`GOMD2MAN` environment variable is unset.
- When cross compiling from `x86_64-linux` to `aarch64-linux`, this
results in the tool being compiled with the `aarch64-linux` compiler
using `x86_64-linux` options. The compiler arch is wrong, so the build
fails.
- To circumvent this use `Nixpkgs` version of `go-md2man`.
- The current vendored version matches `Nixpkgs` version (v2.0.7):
containers/podman@7e14a03
- The reason for the vendoring is detailed in this commit:
containers/podman@dfec510
(cherry picked from commit 0dd94f0)1 parent 33c80e5 commit bef413e
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments