Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9825

[core-kit] app-emulation/containerd-1.5.9 emake error inconsistent vendoring

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • sudo emerge -av1 =app-emulation/containerd-1.5.9
    • Bad version of containerd's go.sum.

      During the testing the rebuilding all my installed golang-modules I resurfaced this compilation error with containerd-1.5.9 that has been lingering. It impacts both Funtoo 1.4 and Funtoo next:

       

      >>> Compiling source in /var/tmp/portage/app-emulation/containerd-1.5.9/work/containerd-1.5.9 ...
      make -j32 'BUILDTAGS=no_btrfs seccomp' LDFLAGS= REVISION=1407cab509ff0d96baa4f0eb6ff9980270e6e620 VERSION=v1.5.9 man -j1
      + man/ctr.8
      go run cmd/gen-manpages/main.go ctr.8 man
      WORK=/var/tmp/portage/app-emulation/containerd-1.5.9/temp/go-build1831973790
      go: inconsistent vendoring in /var/tmp/portage/app-emulation/containerd-1.5.9/work/containerd-1.5.9:
          github.com/containerd/containerd: is marked as replaced in vendor/modules.txt, but not replaced in go.mod    To ignore the vendor directory, use -mod=readonly or -mod=mod.
          To sync the vendor directory, run:
                  go mod vendor
      make: *** [Makefile:245: man/ctr.8] Error 1
       * ERROR: app-emulation/containerd-1.5.9::core-kit failed (compile phase):
       *   emake failed
       

      Looking at there upstream releases I think it would be sensible to bump this package version to the latest patch releases: https://github.com/containerd/containerd/releases/tag/v1.5.11

      Runc will also have to be bumped as well to match this version of containerd.

            siris siris
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: