Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635100 - dev-util/source-highlight-3.1.8: tests: parallel build issue
Summary: dev-util/source-highlight-3.1.8: tests: parallel build issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2017-10-22 20:41 UTC by Thomas Deutschmann (RETIRED)
Modified: 2023-12-20 08:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,162.20 KB, text/plain)
2017-10-22 20:41 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)