Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 635100

Summary: dev-util/source-highlight-3.1.8: tests: parallel build issue
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: normal CC: leio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: build.log

Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-10-22 20:41:25 UTC
Created attachment 499690 [details]
build.log

[...]
> y = bison.lang
> yacc = bison.lang
> yy = bison.lang
> zsh = zsh.lang
make[1]: *** [Makefile:2250: check_langelems] Error 1
make[1]: *** Waiting for unfinished jobs....
expect no output from diff
diff ./test.bib.html test.bib.out.html
tr -d '\r' < outlang.out.list > temp.output && cp -f temp.output outlang.out.list
expect no output from diff
diff ./lang.list lang.out.list
diff ./outlang.list outlang.out.list
../src/source-highlight --binary-output --gen-version --data-dir ../src/ -s style -f html --style-file ../src/default.style -i ./syslog.style -o syslog.style.out.html
expect no output from diff
diff ./log.lang.html log.lang.out.html
diff ./c.lang.html c.lang.out.html
diff ./default.style.html default.style.out.html
diff ./syslog.style.html syslog.style.out.html
make[1]: Leaving directory '/var/tmp/portage/dev-util/source-highlight-3.1.8/work/source-highlight-3.1.8/tests'
make: *** [Makefile:951: check-recursive] Error 1



I am unable to reproduce with MAKEOPTS=-j1.
Comment 1 ernsteiswuerfel archtester 2017-10-23 12:24:41 UTC
Similar parallel build issues on ppc. Also unable to reproduce with MAKEOPTS=-j1.
Comment 2 Mart Raudsepp gentoo-dev 2018-05-13 10:43:10 UTC
Also failing on arm64 with -j99 while passing with -j1
Comment 3 Larry the Git Cow gentoo-dev 2019-04-13 13:57:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=364ab66d47a0098019eb131714254a8b38a3afc4

commit 364ab66d47a0098019eb131714254a8b38a3afc4
Author:     Tiziano Müller <dev-zero@gentoo.org>
AuthorDate: 2019-04-13 13:56:35 +0000
Commit:     Tiziano Müller <dev-zero@gentoo.org>
CommitDate: 2019-04-13 13:57:20 +0000

    dev-util/source-highlight: serialize tests
    
    Upstream uses the same intermediate files in multiple tests, running
    them in parallel by make will eventually break one or more tests.
    
    Closes: https://bugs.gentoo.org/635100
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Tiziano Müller <dev-zero@gentoo.org>

 dev-util/source-highlight/source-highlight-3.1.8.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)