On Tue, 2 Jul 2024 14:46:29 +0200 Lucas Nussbaum <lu...@debian.org>
wrote:
> Source: kissplice
> Version: 2.6.2-3
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240702 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
>> The following tests FAILED:
>>        3 - KisspliceDBGTest (Failed)
>>        4 - KisspliceTwoSequencesTest (Failed)
>>        5 - KisspliceGraphAndSequenceTest (Failed)
>>        6 - KisspliceGraphTest (Failed)
>> Errors while running CTest

This failure can be fixed by applying upstream commit
640600862b1f77205e1bd1d6ce323f63a2f950cd (patch attached), which is also
part of the upstream release 2.6.5.

-- 
Benjamin Drung
Debian & Ubuntu Developer
From: Francois Gindraud <francois.gindr...@inria.fr>
Date: Fri, 24 May 2024 16:19:49 +0200
Subject: Fix syntax warning on regexp

Use raw string literal to prevent python from trying to interpret the \d

Closes: #1074658
LP: #2075171
Origin: upstream, https://gitlab.inria.fr/erable/kissplice/-/commit/640600862b1f77205e1bd1d6ce323f63a2f950cd
---
 kissplice.in.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kissplice.in.py b/kissplice.in.py
index 1c51fdf..0346f01 100755
--- a/kissplice.in.py
+++ b/kissplice.in.py
@@ -550,7 +550,7 @@ def splitT1T234(fName, fNameT1, fNameT234):
 	f=open(fName,"r")
 	f1=open(fNameT1,"w")
 	f234=open(fNameT234,"w")
-	retype = re.compile('Type_\d+')
+	retype = re.compile(r"Type_\d+")
 	line=f.readline()
 	while line:
 		t=retype.search(line).group()
@@ -1206,7 +1206,7 @@ def check_read_coverage_and_sort_all_bubbles(internal_bindir, readfiles, workdir
     l = cofile.readlines()
     l.sort(reverse=True)
     cofile.close()
-    retype = re.compile('Type_\d+')
+    retype = re.compile(r"Type_\d+")
     for event in l:
         try:
             type = retype.search(event).group()
@@ -1250,7 +1250,7 @@ def sort_all_bubbles(internal_bindir, readfiles, workdir, outdir, kval, output_s
 
     concatenate_graph_all_log_bcc_to_all_bcc_type0(workdir, kval, output_snps)
 
-    retype = re.compile('Type_\d+')
+    retype = re.compile(r"Type_\d+")
     eventsName = ["type_0a", "type_0b", "type_1", "type_2", "type_3", "type_4"]
     filel = []
     for i in range(0,6):

Reply via email to