Summary: | dev-libs/mongo-c-driver-1.15.1 fails to build: Warning, treated as error: the taglist extension is not safe for parallel reading | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexey Skobkin <skobkin-ru> |
Component: | Current packages | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hydrapolic, jstein, lotgyero, stillcompiling, vmatare+gbug |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/15104 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.gz
patch |
Description
Alexey Skobkin
2020-03-24 12:47:02 UTC
Created attachment 625000 [details]
build.log.gz
fixed upstream by https://github.com/mongodb/mongo-c-driver/commit/4371355188f3eca8b666c2613107f257f9ab885f Part of the 1.16 release, so simply updating should fix the issue. Tried 1.16.2, but it failed the same. Building the docs with 1 thread is a possible workaround until it's fixed upstream. I haven't tried 1.16 yet. This is becoming an issue because 1.15.1 is being rebuilt due to an updated icu library, and this rebuild is failing. I tried # NINJAFLAGS="-j1" MAKEOPTS="-j1" emerge -1 dev-libs/mongo-c-driver just in case. No a single threaded build can't forestall an upgrade. Changing build flags to allow deprecated api might solve it, but this is Gentoo! Lets boldly go to the newest version. The deprecated call above "The iterable will become an iterator instead of a list in Docutils > 0.19" fails the same. It's detecting the number of cpus in cmake so settings jinja/make flags won't help here. I noticed that too, which is pretty annoying. IMO that's an upstream bug. Build systems should honour external settings like MAKEOPTS, especially if they unexpectedly do auto-parallelization. I agree, we can open a bug report upstream. Created attachment 626374 [details, diff]
patch
patch gets rid of sphinx parrallelization
Yes, it's part of the PR with bump to 1.6.2. (In reply to Tomáš Mózes from comment #11) > Yes, it's part of the PR with bump to 1.6.2. I mean 1.16.2. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b63cf35840b8b1cde6189a648e4311d4963d73f commit 8b63cf35840b8b1cde6189a648e4311d4963d73f Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2020-03-25 07:32:41 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-04-11 21:13:25 +0000 dev-libs/mongo-c-driver: bump to 1.16.2 Closes: https://bugs.gentoo.org/714164 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-libs/mongo-c-driver/Manifest | 1 + .../files/mongo-c-driver-1.16.2-enable-tests.patch | 35 ++++++++ .../mongo-c-driver-1.16.2-single-doc-job.patch | 22 +++++ .../mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 94 ++++++++++++++++++++++ 4 files changed, 152 insertions(+) |