Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924756 - kde-frameworks/syntax-highlighting-5.115.0 fails tests: 4 - testhighlighter_test (Failed) - 5 - htmlhighlighter_test (Failed)
Summary: kde-frameworks/syntax-highlighting-5.115.0 fails tests: 4 - testhighlighter_t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://mail.kde.org/pipermail/kde-fr...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-17 07:51 UTC by Agostino Sarubbo
Modified: 2024-03-11 10:28 UTC (History)
0 users

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


Attachments
build.log (build.log,276.09 KB, text/plain)
2024-02-17 07:51 UTC, Agostino Sarubbo
Details
1-LastTest.log (1-LastTest.log,84.51 KB, text/plain)
2024-02-17 07:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-17 07:51:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: kde-frameworks/syntax-highlighting-5.115.0 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-17 07:51:34 UTC
Created attachment 885184 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-17 07:51:35 UTC
Created attachment 885185 [details]
1-LastTest.log

1-LastTest.log
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-17 07:51:36 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


	  4 - testhighlighter_test (Failed)
	  5 - htmlhighlighter_test (Failed)
fatal: not a git repository (or any of the parent directories): .git
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-18 06:46:12 UTC
--- /var/tmp/portage/kde-frameworks/syntax-highlighting-5.115.0/work/syntax-highlighting-5.115.0/autotests/reference/highlight.ly.ref	2024-02-03 15:28:05.000000000 +0100
+++ /var/tmp/portage/kde-frameworks/syntax-highlighting-5.115.0/work/syntax-highlighting-5.115.0_build/autotests/output/highlight.ly.ref	2024-02-17 05:43:19.344055750 +0100
@@ -9,7 +9,7 @@
 <Comment>%}</Comment><br/>
 <Normal Text></Normal Text><br/>
 <Keyword>\header {</Keyword><br/>
-<Normal Text>  title = </Normal Text><Quoted Text>"Katepart Lilypond syntax highlighting test file"</Quoted Text><br/>
+<Normal Text>  </Normal Text><Variable>title</Variable><Normal Text> = </Normal Text><Quoted Text>"Katepart Lilypond syntax highlighting test file"</Quoted Text><br/>
 <Normal Text>  </Normal Text><Variable>composer</Variable><Normal Text> = </Normal Text><Comment>%{"Wilbert Berendsen"%}</Comment><Normal Text> </Normal Text><Quoted Text>"Anonymus"</Quoted Text><br/>
 <Normal Text>  </Normal Text><Variable>poet</Variable><Normal Text> = </Normal Text><Quoted Text>"The KDE team"</Quoted Text><br/>
 <Normal Text>  </Normal Text><Variable>opus</Variable><Normal Text> = </Normal Text><Quoted Text>"1"</Quoted Text><br/>
FAIL!  : TestHighlighterTest::testHighlight(highlight.ly) Compared values are not the same
   Actual   (proc.exitCode()): 1
   Expected (0)              : 0
   Loc: [/var/tmp/portage/kde-frameworks/syntax-highlighting-5.115.0/work/syntax-highlighting-5.115.0_build/autotests/test-config.h(73)]

etc
Comment 5 Andreas Sturmlechner gentoo-dev 2024-03-11 10:21:52 UTC
Upstream CI experienced the same.
Comment 6 Larry the Git Cow gentoo-dev 2024-03-11 10:28:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3befb902c7b7db6ca70a2d144c0670814e6bc6f8

commit 3befb902c7b7db6ca70a2d144c0670814e6bc6f8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-11 10:25:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-11 10:27:34 +0000

    kde-frameworks/syntax-highlighting: use (?:sub){0,2}
    
    ... to work with all pcre versions
    
    See also:
    https://mail.kde.org/pipermail/kde-frameworks-devel/2024-March/123463.html
    
    Closes: https://bugs.gentoo.org/924756
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../syntax-highlighting-5.115.0-fix-tests.patch    | 85 ++++++++++++++++++++++
 ...build => syntax-highlighting-5.115.0-r1.ebuild} |  2 +
 2 files changed, 87 insertions(+)