Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525940 - dev-python/pypy-2.4.0[jit,-sse2] - [translation:ERROR] Exception: unexpected prebuilt constant: <staticmethod object at 0xf51c177c>
Summary: dev-python/pypy-2.4.0[jit,-sse2] - [translation:ERROR] Exception: unexpected ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-20 06:39 UTC by Patrick Lauer
Modified: 2017-10-15 09:51 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 Patrick Lauer gentoo-dev 2014-10-20 06:39:07 UTC
[Timer] Timings:
[Timer] annotate                       ---  495.2 s
[Timer] rtype_lltype                   --- 1455.8 s
[Timer] pyjitpl_lltype                 --- 1026.2 s
[Timer] ===========================================
[Timer] Total:                         --- 2977.2 s
[translation:info] Error:
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/translator/goal/translate.py", line 316, in main
[translation:info]     drv.proceed(goals)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/translator/driver.py", line 531, in proceed
[translation:info]     return self._execute(goals, task_skip = self._maybe_skip())
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/translator/tool/taskengine.py", line 114, in _execute
[translation:info]     res = self._do(goal, taskcallable, *args, **kwds)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/translator/driver.py", line 276, in _do
[translation:info]     res = func()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/translator/driver.py", line 359, in task_pyjitpl_lltype
[translation:info]     backend_name=self.config.translation.jit_backend, inline=True)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/jit/metainterp/warmspot.py", line 50, in apply_jit
[translation:info]     warmrunnerdesc.finish()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/jit/metainterp/warmspot.py", line 243, in finish
[translation:info]     self.annhelper.finish()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/annlowlevel.py", line 219, in finish
[translation:info]     self.finish_rtype()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/annlowlevel.py", line 269, in finish_rtype
[translation:info]     rtyper.specialize_more_blocks()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rtyper.py", line 218, in specialize_more_blocks
[translation:info]     self.specialize_block(block)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rtyper.py", line 336, in specialize_block
[translation:info]     self.translate_hl_to_ll(hop, varmapping)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rtyper.py", line 465, in translate_hl_to_ll
[translation:info]     resultvar = hop.dispatch()
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rtyper.py", line 687, in dispatch
[translation:info]     return translate_meth(self)
[translation:info]    File "<42432-codegen /var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rtyper.py:535>", line 4, in translate_op_call_args
[translation:info]     return r_arg1.rtype_call_args(hop)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rpbc.py", line 671, in rtype_call_args
[translation:info]     return self.redispatch_call(hop, call_args=True)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rpbc.py", line 698, in redispatch_call
[translation:info]     hop.llops, hop)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rclass.py", line 487, in rtype_new_instance
[translation:info]     return rinstance.new_instance(llops, classcallhop)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/lltypesystem/rclass.py", line 531, in new_instance
[translation:info]     r.convert_desc_or_const(value))
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/rmodel.py", line 116, in convert_desc_or_const
[translation:info]     return self.convert_const(desc_or_const.value)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/rtyper/lltypesystem/rpbc.py", line 158, in convert_const
[translation:info]     funcdesc = self.rtyper.annotator.bookkeeper.getdesc(value)
[translation:info]    File "/var/tmp/portage/dev-python/pypy-2.4.0/work/pypy-2.4.0-src/rpython/annotator/bookkeeper.py", line 394, in getdesc
[translation:info]     raise Exception("%s: %r" % (msg, pyobj))
[translation:ERROR] Exception: unexpected prebuilt constant: <staticmethod object at 0xf51c177c>
[translation] batch mode, not calling interactive helpers
 * ERROR: dev-python/pypy-2.4.0::gentoo failed (compile phase):
 *   compile error


Portage 2.2.14_rc1 (python 2.7.8-final-0, default/linux/x86/13.0, gcc-4.8.3, glibc-2.19-r1, 3.12.21-gentoo-r1 i686)
=================================================================
System uname: Linux-3.12.21-gentoo-r1-i686-Intel-R-_Xeon-R-_CPU_E31275_@_3.40GHz-with-gentoo-2.2
KiB Mem:    32800460 total,   7750496 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 20 Oct 2014 04:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30
dev-lang/perl:            5.20.1-r1
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo mgorny
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mgorny"
USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline session ssl tcpd unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-06 08:55:15 UTC
We'd use a full build log or at least USE flags and rpython invocation.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-09 23:14:38 UTC
So it's the known issue. I'll attach a build log later, if I don't forget about it.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-15 09:51:02 UTC
The ebuilds are enforcing the correct set of flags, and I don't see us putting any effort to fix this. If upstream fixed it in the meantime, feel free to tell us and we'll reenable the flag combination. Otherwise, feel free to talk upstream into supporting this case.