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

[next] app-editors/neovim-0.9.0 emerge failure

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • next users trying to emerge neovim

      Recently Neovim 0.9 has been released. But this version fails to emerge.

      # emerge -av neovim
      
      These are the packages that would be merged, in order:
      
      Calculating dependencies... done!
      [ebuild     U  ] app-editors/neovim-0.9.0::editors-kit [0.8.3::editors-kit] USE="lto luajit nvimpager tui" 0 KiB
      
      Total: 1 package (1 upgrade), Size of downloads: 0 KiB
      
      Would you like to merge these packages? [Yes/No] Yes
      
      >>> Verifying ebuild manifests
      
      >>> Emerging (1 of 1) app-editors/neovim-0.9.0::editors-kit
       * neovim-0.9.0-040f1459849ab05b04f6bb1e77b3def16b4c2f2b.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                             [ ok ]
      >>> Unpacking source...
      >>> Unpacking neovim-0.9.0-040f1459849ab05b04f6bb1e77b3def16b4c2f2b.tar.gz to /var/tmp/portage/app-editors/neovim-0.9.0/work
      >>> Source unpacked in /var/tmp/portage/app-editors/neovim-0.9.0/work
      >>> Preparing source in /var/tmp/portage/app-editors/neovim-0.9.0/work/neovim-0.9.0 ...
       * Applying neovim-cmake-release-type.patch ...
      can't find file to patch at input line 5
      Perhaps you used the wrong -p or --strip option?
      The text leading up to this was:
      --------------------------
      |Ensure that :checkhealth is happy with the Gentoo build type.
      |https://bugs.gentoo.org/757744
      |--- a/runtime/autoload/health/nvim.vim
      |+++ b/runtime/autoload/health/nvim.vim
      --------------------------
      No file to patch.  Skipping patch.
      1 out of 1 hunk ignored
      patching file CMakeLists.txt
      Hunk #1 FAILED at 137.
      1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej                                                                                                                                                                                     [ !! ]
       * ERROR: app-editors/neovim-0.9.0::editors-kit failed (prepare phase):
       *   patch -p1  failed with /var/tmp/portage/app-editors/neovim-0.9.0/files/neovim-cmake-release-type.patch
       * 
       * Call stack:
       *               ebuild.sh, line   93:  Called src_prepare
       *             environment, line 1981:  Called cmake_src_prepare
       *             environment, line  817:  Called default_src_prepare
       *      phase-functions.sh, line  920:  Called __eapi6_src_prepare
       *             environment, line  199:  Called eapply '/var/tmp/portage/app-editors/neovim-0.9.0/files/neovim-cmake-release-type.patch' '/var/tmp/portage/app-editors/neovim-0.9.0/files/neovim-cmake_lua_version.patch'
       *             environment, line  968:  Called _eapply_patch '/var/tmp/portage/app-editors/neovim-0.9.0/files/neovim-cmake-release-type.patch'
       *             environment, line  906:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-editors/neovim-0.9.0/files/neovim-cmake-release-type.patch'
       *   isolated-functions.sh, line  112:  Called die
       * The specific snippet of code:
       *              die "$@"
       * 
       * If you need support, post the output of `emerge --info '=app-editors/neovim-0.9.0::editors-kit'`,
       * the complete build log and the output of `emerge -pqv '=app-editors/neovim-0.9.0::editors-kit'`.
       * The complete build log is located at '/var/log/portage/app-editors:neovim-0.9.0:20230410-062518.log'.
       * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-editors/neovim-0.9.0/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/app-editors/neovim-0.9.0/temp/environment'.
       * Working directory: '/var/tmp/portage/app-editors/neovim-0.9.0/work/neovim-0.9.0'
       * S: '/var/tmp/portage/app-editors/neovim-0.9.0/work/neovim-0.9.0'
      
      >>> Failed to emerge app-editors/neovim-0.9.0, Log file:
      
      >>>  '/var/log/portage/app-editors:neovim-0.9.0:20230410-062518.log'
      

      Patches of 0.8.x are not compatible with 0.9.

            s4uliu5 s4uliu5
            s4uliu5 s4uliu5
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: