Devuan bug report logs - #657
Incompatible string concatination in matchit

version graph

Package: vim-runtime; Maintainer for vim-runtime is (unknown); Source for vim-runtime is src:vim.

Reported by: Klaus Ethgen <Klaus@ethgen.de>

Date: Sun, 23 Jan 2022 12:10:01 UTC

Severity: normal

Tags: debian, upstream

Found in version 2:8.2.3995-1

Fixed in version 2:8.2.4659-1

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#657; Package vim-runtime. (Sun, 23 Jan 2022 12:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Klaus Ethgen <Klaus@ethgen.de>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Sun, 23 Jan 2022 12:10:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Klaus Ethgen <Klaus@ethgen.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: Incompatible string concatination in matchit
Date: Sun, 23 Jan 2022 13:08:09 +0100
[Message part 1 (text/plain, inline)]
Package: vim-runtime
Version: 2:8.2.3995-1
Severity: normal

Upstream changed matchit.vim in commit fa3b72348 to not accept "." as
concatination anymore (updating scriptversion to 4). However, they
forgot to change all "." to "..".

This is a upstream bug still in the master branch.

The following patch will fix that:
--- /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim.orig        2022-01-23 12:54:50.973747466 +0100
+++ /usr/share/vim/vim82/pack/dist/opt/matchit/autoload/matchit.vim     2022-01-23 12:55:42.898040910 +0100
@@ -763,9 +763,9 @@
       let skip = "synIDattr(synID(line('.'),col('.'),1),'name') !~? '" ..
         \ strpart(skip,2) .. "'"
     elseif skip[0] == "r"
-      let skip = "strpart(getline('.'),0,col('.'))=~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))=~'" .. strpart(skip,2) .. "'"
     elseif skip[0] == "R"
-      let skip = "strpart(getline('.'),0,col('.'))!~'" . strpart(skip,2). "'"
+      let skip = "strpart(getline('.'),0,col('.'))!~'" .. strpart(skip,2) .. "'"
     endif
   endif
   return skip

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus/ceres)
Release:	5
Codename:	daedalus ceres
Architecture: x86_64

Kernel: Linux 5.13.4 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim             2:8.2.3995-1
ii  vim-gtk3 [vim]  2:8.2.3995-1
ii  vim-nox [vim]   2:8.2.3995-1

vim-runtime suggests no packages.

-- no debconf information

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
[signature.asc (application/pgp-signature, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#657; Package vim-runtime. (Sun, 23 Jan 2022 12:32:02 GMT) (full text, mbox, link).


Message #8 received at 657@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Klaus Ethgen <Klaus@ethgen.de>, 657@bugs.devuan.org
Subject: Re: bug#657: Incompatible string concatination in matchit
Date: Sun, 23 Jan 2022 12:29:53 +0000
Control: tag -1 debian upstream

Klaus

On Sun, Jan 23, 2022 at 01:08:09PM +0100, Klaus Ethgen wrote:
> Package: vim-runtime
> Version: 2:8.2.3995-1
> Severity: normal

Thanks for this. Devuan does not fork src:vim and we use Debian's packages
directly without recompilation. So this issue should be reported to Debian's BTS
and/or vim upstream (since you identified the upstream issue and have a patch to
offer).

Thanks

Mark

Added tag(s) upstream and debian. Request was from Mark Hindley <mark@hindley.org.uk> to 657-submit@bugs.devuan.org. (Sun, 23 Jan 2022 12:32:04 GMT) (full text, mbox, link).


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Wed, 11 Jan 2023 15:20:01 GMT) (full text, mbox, link).


Notification sent to Klaus Ethgen <Klaus@ethgen.de>:
bug acknowledged by developer. (Wed, 11 Jan 2023 15:20:03 GMT) (full text, mbox, link).


Message #15 received at 657-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Klaus Ethgen <Klaus@ethgen.de>, 657-done@bugs.devuan.org
Subject: Re: bug#657: Incompatible string concatination in matchit
Date: Wed, 11 Jan 2023 15:17:26 +0000
Version: 2:8.2.4659-1

Closing as fixed in Debian.

mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Nov 23 22:07:08 2024;