Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788826 - dev-python/strict-rfc3339: RuntimeError: dictionary changed size during iteration when emerging with pypy3
Summary: dev-python/strict-rfc3339: RuntimeError: dictionary changed size during itera...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 20:54 UTC by Johannes Hirte
Modified: 2021-05-08 19:15 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,8.00 KB, text/x-log)
2021-05-07 20:55 UTC, Johannes Hirte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2021-05-07 20:54:16 UTC
When trying emerge dev-python/strict-rfc3339 with PYTHON_TARGETS pypy3, this fails with

>>> Install dev-python/strict-rfc3339-0.7-r1 into /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image
 * pypy3: running distutils-r1_run_phase distutils-r1_python_install
pypy3 setup.py install --skip-build --root=/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3
running install
running install_lib
creating /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3
creating /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr
creating /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr/lib
creating /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr/lib/pypy3.7
creating /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr/lib/pypy3.7/site-packages
copying /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7-pypy3/lib/strict_rfc3339.py -> /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr/lib/pypy3.7/site-packages
byte-compiling /var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3/usr/lib/pypy3.7/site-packages/strict_rfc3339.py to strict_rfc3339.pypy37.pyc
Traceback (most recent call last):
  File "setup.py", line 24, in <module>
    "Programming Language :: Python :: 3"
  File "/usr/lib/pypy3.7/lib-python/3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/pypy3.7/lib-python/3/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/pypy3.7/lib-python/3/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/pypy3.7/lib-python/3/distutils/command/install.py", line 594, in run
    self.run_command(cmd_name)
  File "/usr/lib/pypy3.7/lib-python/3/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/pypy3.7/lib-python/3/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/pypy3.7/lib-python/3/distutils/command/install_lib.py", line 97, in run
    self.byte_compile(outfiles)
  File "/usr/lib/pypy3.7/lib-python/3/distutils/command/install_lib.py", line 138, in byte_compile
    verbose=self.verbose, dry_run=self.dry_run)
  File "/usr/lib/pypy3.7/lib-python/3/distutils/util.py", line 369, in byte_compile
    from tempfile import mkstemp
  File "/usr/lib/pypy3.7/lib-python/3/tempfile.py", line 45, in <module>
    from random import Random as _Random
  File "/usr/lib/pypy3.7/lib-python/3/random.py", line 46, in <module>
    from hashlib import sha512 as _sha512
  File "/usr/lib/pypy3.7/lib-python/3/hashlib.py", line 161, in <module>
    import _hashlib
  File "/usr/lib/pypy3.7/lib_pypy/_hashlib/__init__.py", line 4, in <module>
    from _cffi_ssl._stdssl.utility import (_str_to_ffi_buffer, _bytes_with_len,
  File "/usr/lib/pypy3.7/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 18, in <module>
    from _cffi_ssl._stdssl.certificate import (_test_decode_cert,
  File "/usr/lib/pypy3.7/lib_pypy/_cffi_ssl/_stdssl/certificate.py", line 7, in <module>
    from _cffi_ssl._stdssl.error import ssl_error, pyssl_error
  File "/usr/lib/pypy3.7/lib_pypy/_cffi_ssl/_stdssl/error.py", line 3, in <module>
    import socket
  File "/usr/lib/pypy3.7/lib-python/3/socket.py", line 86, in <module>
    lambda C: C.isupper() and C.startswith('MSG_'))
  File "/usr/lib/pypy3.7/lib-python/3/enum.py", line 660, in _convert
    for name in source.keys()
  File "/usr/lib/pypy3.7/lib-python/3/enum.py", line 659, in <listcomp>
    (name, source[name])
RuntimeError: dictionary changed size during iteration
 * ERROR: dev-python/strict-rfc3339-0.7-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_install
 *   environment, line 2752:  Called distutils-r1_src_install
 *   environment, line 1147:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_install'
 *   environment, line  431:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 2436:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 1968:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line 1966:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_install'
 *   environment, line  733:  Called distutils-r1_run_phase 'distutils-r1_python_install'
 *   environment, line 1115:  Called distutils-r1_python_install
 *   environment, line 1014:  Called esetup.py 'install' '--skip-build' '--root=/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/image/_pypy3'
 *   environment, line 1503:  Called die
 * The specific snippet of code:
 *       "${@}" || die -n;
 * 
 * If you need support, post the output of `emerge --info '=dev-python/strict-rfc3339-0.7-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/strict-rfc3339-0.7-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7'
 * S: '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/work/strict-rfc3339-version-0.7'

>>> Failed to emerge dev-python/strict-rfc3339-0.7-r1, Log file:

>>>  '/var/tmp/portage/dev-python/strict-rfc3339-0.7-r1/temp/build.log'

Reproducible: Always




emerge --info
Portage 3.0.18 (python 3.7.10-final-0, default/linux/amd64/17.1/systemd, gcc-11.1.0, glibc-2.33, 5.11.18 x86_64)
=================================================================
System uname: Linux-5.11.18-x86_64-AMD_Ryzen_5_PRO_2500U_w-_Radeon_Vega_Mobile_Gfx-with-gentoo-2.7
KiB Mem:    14251856 total,   3014544 free
KiB Swap:    2097148 total,    861188 free
Head commit of repository gentoo: b377ae58b15f06ce458e8f8fe2ce26de1d651201

Head commit of repository kde: 27c33d94a434a3b01b81a541d627062f9f038025

Head commit of repository qt: bec4eaa82a9ef038679ee01705476eb116752591

Head commit of repository x11: 308a1716b7915e524a73298e0751d7ab4bf8d76f

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.7.10_p3::gentoo, 3.8.10::gentoo, 3.9.5::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/ccache:          4.2.1::gentoo
dev-util/cmake:           3.20.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 50

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/db/repos/steam-overlay
    masters: gentoo
    priority: 50

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/x11.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /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-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8 -l8"
PKGDIR="/var/cache/binpkgs"
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="/var/tmp"
USE="X a52 aac aacplus acl activities alsa alt-svc amd64 amr amrenc anacron avif berkdb blake2 bluetooth brotli bzip2 cairo caps celt chm cleartype_hinting cli corefonts crypt cryptsetup cups d3d9 dav1d dbus dell device-mapper djvu dri drm dvd ebook editorconfig efi egl eps epub evdev exif faac fdk ffmpeg fftw flac fontconfig fortran gbm gdbm gif git glamor glslang gmp gold gpg gphoto2 gpm graphviz harfbuzz heif http2 hwloc iconv icu id3tag io-uring ipv6 ithreads jpeg kate kipi lcms lensfun libaom libatomic libcxx libcxxabi libffi libglvnd libinput libkms libsamplerate libtirpc libunwind libxml2 lm-sensors lz4 lzma lzo mad matroska mjpeg mmap mng mobi modern-top mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ogg openal opencv openexr opengl openmp openssl opus pam parted pcre pcre16 pdf png policykit postscript pulseaudio python qml qt5 raw readline rtmp s3tc schroedinger screencast sdl sdl2 seccomp sift smp sndfile sox speex spice split-usr sqlite ssl subversion svg system-jsoncpp system-sqlite system-zlib systemd taglib tcpd tesseract theora threads thumbnail tiff truetype udev uefi unicode urandom usb usbredir user-session v4l vaapi vde vdpau vhosts virgl virt-network virtfs vorbis vpx vte vulkan wavpack wayland webp wmf x264 x265 xattr xcb xcomposite xkb xml xmp xpm xv xvid xxhash zink zip zlib zstd" ABI_X86="64" 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" CAMERAS="canon ricoh ricoh_g3" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" 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" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1 lua5-2 lua5-3 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_7 python3_8 python3_9 pypy3" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Johannes Hirte 2021-05-07 20:55:24 UTC
Created attachment 706551 [details]
build.log