conda-forge / podman-feedstock

A conda-smithy repository for podman.
BSD 3-Clause "New" or "Revised" License
1 stars 7 forks source link

Update to v3.2.0 #12

Closed dhirschfeld closed 2 years ago

dhirschfeld commented 3 years ago

Checklist

conda-forge-linter commented 3 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

dhirschfeld commented 3 years ago

Looks like the patch now applies:

Patch analysis gives:
[[ RA-MD1LOVE ]] - [[                             0001-Add-missing-defines-for-CentOS-6.patch ]]
[[ RA-MD1LOVE ]] - [[                 0002-Allow-relative-paths-for-system-config-files.patch ]]
dhirschfeld commented 3 years ago

...but then we run into:

+LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib
/home/conda/feedstock_root/build_artifacts/podman_1634789328980/_build_env/bin/../lib/gcc/x86_64-conda-linux-gnu/9.4.0/../../../../x86_64-conda-linux-gnu/bin/ld: /tmp/ccePq6wF.o: in function `main':
:(.text.startup.main+0x8): undefined reference to `setns'
collect2: error: ld returned 1 exit status

The build seems to keep on going and wants to download podman and finally fails on:

make: Leaving directory '$SRC_DIR/src/github.com/containers/podman'
2021-10-21T04:15:02.7631109Z go: downloading github.com/containers/podman v1.9.3
2021-10-21T04:15:09.2986348Z go get: github.com/containers/podman@v1.4.2 updating to
2021-10-21T04:15:09.2987245Z    github.com/containers/podman@v1.9.3: parsing go.mod:
2021-10-21T04:15:09.2987776Z    module declares its path as: github.com/containers/libpod
2021-10-21T04:15:09.2988345Z            but was required as: github.com/containers/podman
dhirschfeld commented 3 years ago

@conda-forge-admin, please rerender

dhirschfeld commented 3 years ago

Same error as previously, unfortunately:

make: Leaving directory '$SRC_DIR/src/github.com/containers/podman'
go: downloading github.com/containers/podman v1.9.3
go get: github.com/containers/podman@v1.4.2 updating to
    github.com/containers/podman@v1.9.3: parsing go.mod:
    module declares its path as: github.com/containers/libpod
            but was required as: github.com/containers/podman
dhirschfeld commented 3 years ago

That seemed to work (the error was about the missing license), so it seems go-licenses is broken for this repo

dhirschfeld commented 3 years ago

@conda-forge-admin, please rerender

dhirschfeld commented 3 years ago

Module errors :thinking:

make: Leaving directory '$SRC_DIR/src/github.com/containers/podman'
Error: go [list -e -json -compiled=false -test=false -export=false -deps=true -find=false -- .]: exit status 1: go: cannot find main module, but found .git/config in /home/conda/feedstock_root
    to create a module there, run:
    cd ../../.. && go mod init
dhirschfeld commented 3 years ago

A different error:

make: Leaving directory '$SRC_DIR/src/github.com/containers/podman'
Error: errors for ["_/home/conda/feedstock_root/build_artifacts/podman_1635216513544/work"]:
_/home/conda/feedstock_root/build_artifacts/podman_1635216513544/work: -: no Go files in /home/conda/feedstock_root/build_artifacts/podman_1635216513544/work
Usage:
  licenses save <package> [flags]

Flags:
      --force              Delete the destination directory if it already exists.
  -h, --help               help for save
      --save_path string   Directory into which files should be saved that are required by license terms

Global Flags:
      --alsologtostderr                  log to standard error as well as files
      --confidence_threshold float       Minimum confidence required in order to positively identify a license. (default 0.9)
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --logtostderr                      log to standard error instead of files
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

F1026 02:52:15.506201    8533 main.go:43] errors for ["_/home/conda/feedstock_root/build_artifacts/podman_1635216513544/work"]:
_/home/conda/feedstock_root/build_artifacts/podman_1635216513544/work: -: no Go files in /home/conda/feedstock_root/build_artifacts/podman_1635216513544/work

Looks like go-licenses can't find the source?

dhirschfeld commented 3 years ago

Still can't seem to find the source :/

Error: errors for ["github.com/containers/podman"]:
github.com/containers/podman: -: no Go files in /home/conda/feedstock_root/build_artifacts/podman_1635217534233/work/src/github.com/containers/podman
dhirschfeld commented 3 years ago
Error: errors for ["_/home/conda/feedstock_root/build_artifacts/podman_1635256254935/work/github.com/containers/podman/cmd/podman"]:
_/home/conda/feedstock_root/build_artifacts/podman_1635256254935/work/github.com/containers/podman/cmd/podman: -: cannot find package "." in:
    /home/conda/feedstock_root/build_artifacts/podman_1635256254935/work/github.com/containers/podman/cmd/podman
dhirschfeld commented 3 years ago

Same error :/

Error: errors for ["_/home/conda/feedstock_root/build_artifacts/podman_1635257263982/work/github.com/containers/podman/cmd"]:
_/home/conda/feedstock_root/build_artifacts/podman_1635257263982/work/github.com/containers/podman/cmd: -: cannot find package "." in:
    /home/conda/feedstock_root/build_artifacts/podman_1635257263982/work/github.com/containers/podman/cmd
dhirschfeld commented 3 years ago
Error: errors for ["src/github.com/containers/podman"]:
src/github.com/containers/podman: -: cannot find package "src/github.com/containers/podman" in any of:
    /home/conda/feedstock_root/build_artifacts/podman_1635335787970/_build_env/go/src/src/github.com/containers/podman (from $GOROOT)
    /home/conda/feedstock_root/build_artifacts/podman_1635335787970/work/src/src/github.com/containers/podman (from $GOPATH)

src/src looks suspect.

dhirschfeld commented 3 years ago
F1027 12:39:55.413230    8531 main.go:43] errors for ["/home/conda/feedstock_root/build_artifacts/podman_1635338180676/work"]:
/home/conda/feedstock_root/build_artifacts/podman_1635338180676/work: -: import "/home/conda/feedstock_root/build_artifacts/podman_1635338180676/work": cannot import absolute path

No joy with $GOPATH