Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682026 - dev-python/pypy3 - [translation:ERROR] UnsupportedFieldExc: unexpected array(struct(struct))
Summary: dev-python/pypy3 - [translation:ERROR] UnsupportedFieldExc: unexpected array(...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-29 17:55 UTC by Jan Vesely
Modified: 2019-03-31 18:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vesely 2019-03-29 17:55:03 UTC
Trying to emerge dev-python/pypy3:

[jitcodewriter:info] Produced 500 jitcodes
+++++**%#%%***********************************%%************%#%**+++[1ac43] translation-task}

[Timer] Timings:
[Timer] annotate                       ---  255.9 s
[Timer] rtype_lltype                   ---  744.0 s
[Timer] pyjitpl_lltype                 ---   80.3 s
[Timer] ===========================================
[Timer] Total:                         --- 1080.2 s
[translation:info] Error:
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/translator/goal/translate.py", line 318, in main
    drv.proceed(goals)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/translator/driver.py", line 554, in proceed
    result = self._execute(goals, task_skip = self._maybe_skip())
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/translator/tool/taskengine.py", line 114, in _execute
    res = self._do(goal, taskcallable, *args, **kwds)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/translator/driver.py", line 278, in _do
    res = func()
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/translator/driver.py", line 361, in task_pyjitpl_lltype
    backend_name=self.config.translation.jit_backend, inline=True)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/metainterp/warmspot.py", line 49, in apply_jit
    **kwds)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/metainterp/warmspot.py", line 280, in __init__
    jitcodes = self.codewriter.make_jitcodes(verbose=verbose)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/codewriter.py", line 73, in make_jitcodes
    self.transform_graph_to_jitcode(graph, jitcode, verbose, len(all_jitcodes))
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/codewriter.py", line 40, in transform_graph_to_jitcode
    transform_graph(graph, self.cpu, self.callcontrol, portal_jd)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 31, in transform_graph
    t.transform(graph)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 72, in transform
    self.optimize_block(block)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 96, in optimize_block
    oplist = self.rewrite_operation(op)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 242, in rewrite_operation
    return rewrite(self, op)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 374, in rewrite_op_direct_call
    return getattr(self, 'handle_%s_call' % kind)(op)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/jtransform.py", line 432, in handle_residual_call
    calling_graph=self.graph)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/call.py", line 317, in getcalldescr
    extradescr, self.collect_analyzer.analyze(op, self.seen_gc),
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/effectinfo.py", line 352, in effectinfo_from_writeanalyze
    add_array(write_descrs_arrays, tup)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/effectinfo.py", line 309, in add_array
    descr = cpu.arraydescrof(ARRAY)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/backend/llsupport/llmodel.py", line 372, in arraydescrof
    return get_array_descr(self.gc_ll_descr, A)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/backend/llsupport/descr.py", line 373, in get_array_descr
    ARRAY_INSIDE, get_field_descr=get_interiorfield_descr)
   File "/var/tmp/portage/dev-python/pypy3-7.1.0/work/pypy3.6-v7.1.0-src/rpython/jit/codewriter/heaptracker.py", line 111, in all_interiorfielddescrs
    raise UnsupportedFieldExc("unexpected array(struct(struct))")
[translation:ERROR] UnsupportedFieldExc: unexpected array(struct(struct))
[translation] batch mode, not calling interactive helpers
Comment 1 Jan Vesely 2019-03-29 17:56:31 UTC
emerge --info dev-python/pypy3:
$ emerge --info dev-python/pypy3
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-8.2.0, glibc-2.28-r5, 5.0.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    12192712 total,   3505652 free
KiB Swap:    8388604 total,   8250044 free
Timestamp of repository gentoo: Fri, 29 Mar 2019 14:44:27 +0000
Head commit of repository gentoo: f88a4172b2fb9e503a0477b0cdc588a62ec14d96

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    sync-user: portage:portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/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=native -mtune=native -fomit-frame-pointer -pipe"
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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en_US en"
MAKEOPTS="-j8"
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="/var/tmp"
USE="X a52 aac acl aio amd64 apng aura avx bash-completion berkdb bluetooth branding bzip2 cairo caps chroot cilk clang cli client cloudprint clutter colord colordiff connection-sharing crypt cryptsetup css ctype cups curl custom-optimization cxx d3d9 dbus dga dnssec dri dri3 drm dts dv dvi dvipdfm eds egl eglfs enca evdev exif expat faac faad fdt ffmpeg filter flac fontconfig fortran fpm fpx gbm gd gdbm gdm gif gimp git glamor gles gles1 glib gmp gnome gnome-keyring gnome-online-accounts gnutls google googledrive gpg gphoto2 gpm graphics graphite gstreamer gtk gtk3 gtkstyle gudev hardened hddtemp hdri highlight hostonly hpn http2 hwaccel hwdb hybrid iconv icu id3tag idle imagemagick initramfs inspector introspection ipv6 irc ithreads jemalloc jit jpeg jpeg2k json justify keymap lapack lcms ldns libdrm libinput libkms libnotify libsecret libtirpc llvm lm_sensors logrotate lto lvm mad mbox mikmod minizip mktemp mng modern-top mount mozilla mp3 mp4 mpeg mpx mtp multicall multilib multitarget musepack mysqli mysqlnd nat nautilus ncurses networkmanager nls nptl ocl-icd ocl20 office ogg oom openal opencl opengl openmp openpgp openrc optimization opus osmesa pam pcap pch pcmcia pcre pcre16 pdf pdfimport pkcs11 playlist png policykit postproc postscript publishers pulseaudio pwquality quicktime raw readline reencrypt rtc s3tc samba science sdl2 seccomp secure-delete security sha512 smp sockets speex spell split-usr sqlite srv ssl staging strong-optimization svc svg syslog system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libevent system-libvpx system-llvm system-sqlite systemd sysvipc t1lib tci telepathy templates terminal theora threads threadsafe thunar tiff timezone tokenizer tor-hardening tordns truetype udev unicode upower usb user-session uvm v4l vaapi vdo vdpau vhosts vim-syntax virgl vorbis vulkan wavpack wayland wayland-compositor webgl webp widevine wmf x264 x265 xanim xattr xcb xcomposite xfs xkb xml xmp xmpp xpm xrandr xv xvid xwayland zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="alias auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd dir env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic negotiation proxy rewrite setenvif so status unique_id userdir vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64 multiboot" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm ppc aarch64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965" 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

=================================================================
                        Package Settings
=================================================================

dev-python/pypy3-7.0.0-r1::gentoo was built with the following:
USE="bzip2 gdbm jit ncurses sqlite -libressl -low-memory (-sandbox) -tk" ABI_X86="(64)"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-30 09:46:48 UTC
Please attach the entire build log to this bug report.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-30 20:56:50 UTC
What python2 are you using to build it?  Older version of PyPy?
Comment 4 Jan Vesely 2019-03-31 18:08:27 UTC
(In reply to Michał Górny from comment #3)
> What python2 are you using to build it?  Older version of PyPy?

I was using dev-lang/python-2.7.15.

My second attempt to get the build log emerged OK. I'm not sure what has changed. I'm closing this as invalid.

sorry for the noise.