guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50844] [PATCH] Update vim to v8.2.3455


From: Steve George
Subject: [bug#50844] [PATCH] Update vim to v8.2.3455
Date: Tue, 5 Oct 2021 12:25:34 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0

Hi Tobias/Efraim,

Apologies for the delay, this is my first attempt at a contribution and I've been learning/struggling with my set-ups repeatability.

The Test_shellxquote (from test_shell.vim) test fails for me consistently after patch 3061.

I can get the current version in Guix to build fine:

  guix environment guix --pure
  ./pre-inst-env guix environment vim

./pre-inst-env guix build vim --no-substitutes --verbosity=3 --keep-failed 2>&1 | tee ../8.2.2689-vim-build.log

In 3061 (https://github.com/vim/vim/commit/054794c20f6322bbd9482c4124041dc0a140c78e) the shell tests were changed. This build fails for me:

./pre-inst-env guix build vim --no-substitutes --verbosity=3 --with-git-url=vim=https://github.com/vim/vim --with-commit=vim=v8.2.3061 --keep-failed 2>&1 | tee ../8.2.3061-git-vim-build.log

Failures:
        From test_shell.vim:
        Found errors in Test_shellxquote():
Caught exception in Test_shellxquote(): Vim(call):E484: Can't open file Xlog @ command line..script /tmp/guix-build-vim-8.2.3477.drv-0/source/src/testdir/runtest.vim[486]..function RunTheTest[44]..Test_shellxquote, line 13

In the tests log it says:

Cannot execute shell ./Xtestshell

The issue appears to be that if the Xtestshell file is there already then it fails.

I can build it fine manually:

  guix environment guix --pure
  ./pre-inst-env guix environment vim --ad-hoc less
  cd <source location>
  source ./environment-variables
  cd src/testdir
  mv Xtestshell Xtestshell.bak
  make

That's as far as I've got at this point.

Are either of you able to confirm that you can:

a. Build versions before 3061 (ie 3060)

b. That with 3061 if you move Xtestshell it builds

c. Suggest any paths from here?


Thanks,

Steve


On 10/3/21 3:56 PM, Tobias Geerinckx-Rice wrote:
Steve,

I've also tried to build this new vim about 10 times now, never
successfully.  In my experience spurious test failures aren't unusual
for vim, but it's not usually this hard to get them to pass.

Did you manage to build and use this new version from the first try?

Kind regards,

T G-R






reply via email to

[Prev in Thread] Current Thread [Next in Thread]