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

[net-kit] net-dns/coredns-1.10.1 doesn't compile

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • Blocks net-dns/coredns

      Step 13/16 : RUN eval 'mkdir -p /var/cache/portage/distfiles || true' && chown portage:portage -R /var/cache/portage/ && emerge -j ${JOBS} net-dns/coredns -pv -t
       ---> Running in 466cf82e852cPerforming Global Updates
      (Could take a couple of minutes if you have a lot of binary packages.)
        .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
        s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
        p='update /etc/portage/package.*'
      /var/git/meta-repo/kits/core-server-kit/profiles/updates/1Q-2022.
      /var/git/meta-repo/kits/core-kit/profiles/updates/1Q-2019.................
      /var/git/meta-repo/kits/core-kit/profiles/updates/2Q-2019...
      /var/git/meta-repo/kits/core-kit/profiles/updates/3Q-2019..
      /var/git/meta-repo/kits/core-kit/profiles/updates/0Q-2020.
      /var/git/meta-repo/kits/core-kit/profiles/updates/4Q-2021..These are the packages that would be merged, in reverse order:Calculating dependencies  ... done!
      [ebuild  N     ] net-dns/coredns-1.10.1::net-kit  194,386 KiBTotal: 1 package (1 new), Size of downloads: 194,386 KiB
      Removing intermediate container 466cf82e852c
       ---> 02357c38d6a8
      Step 14/16 : RUN emerge -j ${JOBS} --nodeps net-dns/coredns
       ---> Running in 7f6b52de143f
      >>> Verifying ebuild manifests
      >>> Jobs: 0 of 1 complete, 1 running                Load avg: 2.76, 1.61, 1.43
      >>> Emerging (1 of 1) net-dns/coredns-1.10.1::net-kit
      >>> Jobs: 0 of 1 complete, 1 running                Load avg: 2.76, 1.61, 1.43
      >>> Failed to emerge net-dns/coredns-1.10.1, Log file:
      >>> Jobs: 0 of 1 complete, 1 running                Load avg: 6.09, 5.64, 4.30
      >>>  '/var/tmp/portage/net-dns/coredns-1.10.1/temp/build.log'
      >>> Jobs: 0 of 1 complete, 1 running                Load avg: 6.09, 5.64, 4.30
      >>> Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 6.09, 5.64, 4.30
      >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 6.09, 5.64, 4.30 * Package:    net-dns/coredns-1.10.1
       * Repository: net-kit
       * USE:        amd64 elibc_glibc kernel_linux userland_GNU
       * FEATURES:   preserve-libs userpriv
      >>> Unpacking source...
      >>> Unpacking coredns-v1.10.1.tar.gz to /var/tmp/portage/net-dns/coredns-1.10.1/work
      /var/tmp/portage/net-dns/coredns-1.10.1/temp/environment: line 407: cd: /var/tmp/portage/net-dns/coredns-1.10.1/work/coredns-1.10.1: No such file or directory
       * Tidying go.mod/go.sum
       * ERROR: net-dns/coredns-1.10.1::net-kit failed (unpack phase):
       *   Failed to tidy go.mod/go.sum: go: go.mod file not found in current directory or any parent directory; see 'go help modules'
       * 
       * Call stack:
       *     ebuild.sh, line  93:  Called src_unpack
       *   environment, line 721:  Called go-module_src_unpack
       *   environment, line 651:  Called _go-module_src_unpack_gosum
       *   environment, line 362:  Called _go-module_src_unpack_verify_gosum
       *   environment, line 411:  Called die
       * The specific snippet of code:
       *           die "Failed to tidy go.mod/go.sum: ${_go_mod_tidy_output}";
       * 
       * If you need support, post the output of `emerge --info '=net-dns/coredns-1.10.1::net-kit'`,
       * the complete build log and the output of `emerge -pqv '=net-dns/coredns-1.10.1::net-kit'`.
       * The complete build log is located at '/var/tmp/portage/net-dns/coredns-1.10.1/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/net-dns/coredns-1.10.1/temp/environment'.
       * Working directory: '/var/tmp/portage/net-dns/coredns-1.10.1/work'
       * S: '/var/tmp/portage/net-dns/coredns-1.10.1/work/coredns-1.10.1'
       * Messages for package net-dns/coredns-1.10.1:
       * ERROR: net-dns/coredns-1.10.1::net-kit failed (unpack phase):
       *   Failed to tidy go.mod/go.sum: go: go.mod file not found in current directory or any parent directory; see 'go help modules'
       * 
       * Call stack:
       *     ebuild.sh, line  93:  Called src_unpack
       *   environment, line 721:  Called go-module_src_unpack
       *   environment, line 651:  Called _go-module_src_unpack_gosum
       *   environment, line 362:  Called _go-module_src_unpack_verify_gosum
       *   environment, line 411:  Called die
       * The specific snippet of code:
       *           die "Failed to tidy go.mod/go.sum: ${_go_mod_tidy_output}";
       * 
       * If you need support, post the output of `emerge --info '=net-dns/coredns-1.10.1::net-kit'`,
       * the complete build log and the output of `emerge -pqv '=net-dns/coredns-1.10.1::net-kit'`.
       * The complete build log is located at '/var/tmp/portage/net-dns/coredns-1.10.1/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/net-dns/coredns-1.10.1/temp/environment'.
       * Working directory: '/var/tmp/portage/net-dns/coredns-1.10.1/work'
       * S: '/var/tmp/portage/net-dns/coredns-1.10.1/work/coredns-1.10.1'
      The command '/bin/sh -c emerge -j ${JOBS} --nodeps net-dns/coredns' returned a non-zero code: 1
       

      It seems that the last coredns ebuild is broken. It seems related to last change of go-modules.eclass

            geaaru geaaru
            geaaru geaaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: