Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714164 - dev-libs/mongo-c-driver-1.15.1 fails to build: Warning, treated as error: the taglist extension is not safe for parallel reading
Summary: dev-libs/mongo-c-driver-1.15.1 fails to build: Warning, treated as error: the...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-24 12:47 UTC by Alexey Skobkin
Modified: 2020-04-11 21:15 UTC (History)
5 users (show)

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


Attachments
build.log.gz (build.log.gz,10.99 KB, application/gzip)
2020-03-24 12:48 UTC, Alexey Skobkin
Details
patch (sphinx-1.15.1.patch,725 bytes, patch)
2020-03-27 06:08 UTC, Joshua Clayton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Skobkin 2020-03-24 12:47:02 UTC
Portage 2.3.95 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r6, 5.5.5-gentoo-skobkin x86_64)
=================================================================
System uname: Linux-5.5.5-gentoo-skobkin-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-gentoo-2.7
KiB Mem:    32817440 total,  19031280 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 24 Mar 2020 08:38:44 +0000
Head commit of repository gentoo: f9528fdc339b85968a16c2a5ff5bdb73b818bf4a

Head commit of repository lbry: 9893468f6c06d386e6c91d47b56f09c29644e53d

sh bash 5.0_p16
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p16::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo, 3.8.2::gentoo, 3.9.0_alpha2::gentoo
dev-util/cmake:           3.17.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: true

lbry
    location: /usr/local/portage/overlays/lbry
    sync-type: git
    sync-uri: https://github.com/lbryio/lbry-gentoo-overlay.git
    masters: gentoo

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

miramir
    location: /var/lib/layman/miramir
    sync-type: laymansync
    sync-uri: https://github.com/miramir/miramir-layman.git
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    sync-type: laymansync
    sync-uri: https://github.com/msva/mva-overlay
    masters: gentoo
    priority: 50

obs-studio-overlay
    location: /var/lib/layman/obs-studio-overlay
    masters: gentoo
    priority: 50

ssnb
    location: /var/lib/layman/ssnb
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/user/ssnb.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news nodoc parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j32"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi activities amd64 avx bash-completion bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl curlwrappers cxx dbus declarative dga djvu dri dts dv dvd dvdr emboss encode exif fbcon ffmpeg flac fortran gif git gnutls gpm gtk gtk3 gzip hddtemp iconv icu idn imagemagick inotify ipv6 jabber jit jpeg kde kipi kwallet lame lcms libass libglvnd libnotify libtirpc lm_sensors lzma lzo mad matroska mhash mime mmap mmx mmxext mng modemmanager mp3 mp4 mpeg mplayer multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pch pcre pdf phonon plasma png policykit posix ppds pulseaudio qml qt5 raw readline samba sasl sdl seccomp semantic-desktop session sharedmem smp sockets sound spell split-usr sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg syslog systemd taglib tcmalloc tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vhosts videos vnc vorbis wayland widgets wxwidgets x264 x265 xattr xcb xcomposite xft xinerama xml xmpp xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="conf conf-window-manipulation conf-window-remembers" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1. Build dev-libs/mongo-c-driver-1.15.1
Comment 1 Alexey Skobkin 2020-03-24 12:48:39 UTC
Created attachment 625000 [details]
build.log.gz
Comment 2 Victor Mataré 2020-03-25 18:28:52 UTC
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.
Comment 3 Tomáš Mózes 2020-03-25 19:04:31 UTC
Tried 1.16.2, but it failed the same. Building the docs with 1 thread is a possible workaround until it's fixed upstream.
Comment 4 Joshua Clayton 2020-03-26 13:47:32 UTC
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.
Comment 5 Joshua Clayton 2020-03-26 14:05:30 UTC
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.
Comment 6 Tomáš Mózes 2020-03-26 16:24:16 UTC
It's detecting the number of cpus in cmake so settings jinja/make flags won't help here.
Comment 8 Victor Mataré 2020-03-26 16:28:50 UTC
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.
Comment 9 Tomáš Mózes 2020-03-26 16:35:24 UTC
I agree, we can open a bug report upstream.
Comment 10 Joshua Clayton 2020-03-27 06:08:51 UTC
Created attachment 626374 [details, diff]
patch

patch gets rid of sphinx parrallelization
Comment 11 Tomáš Mózes 2020-03-27 11:45:07 UTC
Yes, it's part of the PR with bump to 1.6.2.
Comment 12 Tomáš Mózes 2020-03-27 11:45:29 UTC
(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.
Comment 13 Larry the Git Cow gentoo-dev 2020-04-11 21:15:11 UTC
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(+)