Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635482 - app-editors/vim-8.0.1188, app-editors/gvim-8.0.1188: Failures in update_vim_symlinks()
Summary: app-editors/vim-8.0.1188, app-editors/gvim-8.0.1188: Failures in update_vim_s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 635512 635612 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-26 00:52 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-10-28 07:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (vim-8.0.1188:20171026-000251.log.gz,35.84 KB, application/gzip)
2017-10-26 00:52 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-26 00:52:26 UTC
Created attachment 500182 [details]
build.log.gz

* Calling eselect vi update...
 * ERROR: app-editors/vim-8.0.1188::gentoo failed (postinst phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called pkg_postinst
 *   environment, line 2498:  Called update_vim_symlinks
 *   environment, line 4475:  Called die
 * The specific snippet of code:
 *               ln -s vim "${EROOT}"/usr/bin/${f} 2> /dev/null || die;


 * Package:    app-editors/vim-8.0.1188
 * Repository: gentoo
 * Maintainer: vim@gentoo.org
 * USE:        abi_x86_64 acl amd64 elibc_glibc kernel_linux minimal nls perl python_single_target_python3_4 python_targets_python2_7 pyt
hon_targets_python3_4 userland_GNU
 * FEATURES:   ccache preserve-libs sandbox test userpriv usersandbox
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-10-26 01:56:25 UTC
app-editors/gvim is also affected.
Comment 2 A Blamey 2017-10-26 12:32:45 UTC
Identical problem with vim-9999
Comment 3 Larry the Git Cow gentoo-dev 2017-10-26 13:01:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f8fefc6905683de7773b0805bfdc31e44c86bf5

commit 0f8fefc6905683de7773b0805bfdc31e44c86bf5
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2017-10-26 11:12:31 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-26 13:01:27 +0000

    app-editors/vim: do away with symlinks and just call eselect vi update.
    
    This commit also updates the 9999 ebuild.
    
    Closes: https://bugs.gentoo.org/635482
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-editors/vim/vim-8.0.1188.ebuild | 43 +++++++------------------------------
 app-editors/vim/vim-9999.ebuild     | 43 +++++++------------------------------
 2 files changed, 16 insertions(+), 70 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50686d6e0a840e65a2f040e43496148daed5bfb7

commit 50686d6e0a840e65a2f040e43496148daed5bfb7
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2017-10-26 11:15:27 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-10-26 13:01:25 +0000

    app-editors/gvim: do away with symlinks and just call eselect vi update.
    
    This commit also update the 9999 ebuild.
    
    Bug: https://bugs.gentoo.org/635482
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-editors/gvim/gvim-8.0.1188.ebuild | 43 +++++++----------------------------
 app-editors/gvim/gvim-9999.ebuild     | 43 +++++++----------------------------
 2 files changed, 16 insertions(+), 70 deletions(-)}
Comment 4 Patrice Clement gentoo-dev 2017-10-26 13:05:46 UTC
Kent, Arfrever and I talked on IRC about this bug and we've come to the conclusion the part of that updates symlinks is now obsolete and can go away. The remaining part of the function that's left is the eselect vi update call. Thanks for the heads up.
Comment 5 Patrice Clement gentoo-dev 2017-10-26 13:07:38 UTC
re last comment: *just* Arfrever and I talked on IRC. The wording of the sentence suggests that Kent also was involved in the discussion. :)
Comment 6 Patrice Clement gentoo-dev 2017-10-26 16:44:49 UTC
*** Bug 635512 has been marked as a duplicate of this bug. ***
Comment 7 Patrice Clement gentoo-dev 2017-10-28 07:30:48 UTC
*** Bug 635612 has been marked as a duplicate of this bug. ***