Gentoo Archives: gentoo-user

From: urpion@×××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update
Date: Fri, 19 Jun 2020 10:28:33
Message-Id: <20200619101510.GA3316@imap.gmx.com:993>
In Reply to: Re: [gentoo-user] =dev-lang/spidermonkey-60.5.2_p0-r4 fails @world update by Dale
1 On Fri, Jun 19, 2020 at 02:37:24AM -0500, Dale wrote:
2 > urpion@×××.com wrote:
3 > > Greetings. I have just installed Gentoo on a macbook pro 9,1. I have
4 > > successfuly updated @world with default/linux/amd64/17.1 profile.
5 > > After selectimg default/linux/amd64/17.1/desktop profile and emerge -uND @world,
6 > > '=dev-lang/spidermonkey-60.5.2_p0-r4::gentoo' fails.
7 > > Any ideas? Thank you.
8 > >
9 > > ===============================================================================================================================================================
10 > > #eselect python list:
11 > >
12 > > Available Python interpreters, in order of preference:
13 > > [1] python2.7
14 > > [2] python3.7
15 > > [3] python3.8 (fallback)
16 > > ===============================================================================================================================================================
17 > > #ls -l /dev/ |grep shm:
18 > >
19 > > drwxrwxrwt 2 root root 40 Jun 19 10:21 shm
20 > > ===============================================================================================================================================================
21 > > #emerge -pqv '=dev-lang/spidermonkey-60.5.2_p0-r4::gentoo':
22 > >
23 > > [ebuild N ] dev-lang/spidermonkey-60.5.2_p0-r4 USE="jit system-icu -custom-cflags -custom-optimization -debug -minimal -test"
24 > > ===============================================================================================================================================================
25 > > tail -n 27 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/temp/build.log:
26 > >
27 > > /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/Value.h: In member function 'virtual js::jit::MDefinition* js::jit::MSignExtendInt32::foldsTo(js::jit::TempAllocator&)':
28 > > /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/Value.h:960:47: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 > > 960 | return fromTagAndPayload(JSVAL_TAG_INT32, uint32_t(i));
30 > > | ^~~~~~~~~~~
31 > > In file included from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/js/src/Unified_cpp_js_src18.cpp:38:
32 > > /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/MIR.cpp:3956:13: note: 'res' was declared here
33 > > 3956 | int32_t res;
34 > > | ^~~
35 > > /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/MIR.cpp: In member function 'virtual js::jit::MDefinition* js::jit::MSignExtendInt64::foldsTo(js::jit::TempAllocator&)':
36 > > /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/MIR.cpp:3987:31: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
37 > > 3987 | return MConstant::NewInt64(alloc, res);
38 > > | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
39 > > make[3]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/js/src'
40 > > make[2]: *** [/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/config/recurse.mk:73: js/src/target] Error 2
41 > > make[2]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj'
42 > > make[1]: *** [/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/config/recurse.mk:33: compile] Error 2
43 > > make[1]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj'
44 > > make: *** [/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/config/rules.mk:442: default] Error 2
45 > > * ERROR: dev-lang/spidermonkey-60.5.2_p0-r4::gentoo failed (compile phase):
46 > > * emake failed
47 > > *
48 > > * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-60.5.2_p0-r4::gentoo'`,
49 > > * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-60.5.2_p0-r4::gentoo'`.
50 > > * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/temp/build.log'.
51 > > * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/temp/environment'.
52 > > * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj'
53 > > * S: '/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2'
54 > > ===============================================================================================================================================================
55 > > emerge --info '=dev-lang/spidermonkey-60.5.2_p0-r4::gentoo':
56 > >
57 > > Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.30-r8, 5.6.14-rt-rt7 x86_64)
58 > > =================================================================
59 > > System Settings
60 > > =================================================================
61 > > System uname: Linux-5.6.14-rt-rt7-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.6
62 > > KiB Mem: 3935124 total, 2893316 free
63 > > KiB Swap: 0 total, 0 free
64 > > Timestamp of repository gentoo: Thu, 18 Jun 2020 00:05:28 +0000
65 > > Head commit of repository gentoo: 7d48127ce4de25a3b8576758aa2b9e1901447a43
66 > >
67 > > sh bash 5.0_p17
68 > > ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
69 > > ccache version 3.7.9 [enabled]
70 > > app-shells/bash: 5.0_p17::gentoo
71 > > dev-lang/perl: 5.30.3::gentoo
72 > > dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
73 > > dev-util/ccache: 3.7.9::gentoo
74 > > dev-util/cmake: 3.16.5::gentoo
75 > > sys-apps/baselayout: 2.6-r1::gentoo
76 > > sys-apps/openrc: 0.42.1::gentoo
77 > > sys-apps/sandbox: 2.18::gentoo
78 > > sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
79 > > sys-devel/automake: 1.16.1-r1::gentoo
80 > > sys-devel/binutils: 2.33.1-r1::gentoo
81 > > sys-devel/gcc: 9.3.0::gentoo
82 > > sys-devel/gcc-config: 2.2.1::gentoo
83 > > sys-devel/libtool: 2.4.6-r6::gentoo
84 > > sys-devel/make: 4.2.1-r4::gentoo
85 > > sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
86 > > sys-libs/glibc: 2.30-r8::gentoo
87 > > Repositories:
88 > >
89 > > gentoo
90 > > location: /var/db/repos/gentoo
91 > > sync-type: git
92 > > sync-uri: https://github.com/gentoo-mirror/gentoo
93 > > priority: -1000
94 > >
95 > > ACCEPT_KEYWORDS="amd64"
96 > > ACCEPT_LICENSE="@FREE"
97 > > CBUILD="x86_64-pc-linux-gnu"
98 > > CFLAGS="-march=native -O2 -pipe"
99 > > CHOST="x86_64-pc-linux-gnu"
100 > > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
101 > > 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"
102 > > CXXFLAGS="-march=native -O2 -pipe"
103 > > DISTDIR="/var/cache/distfiles"
104 > > ENV_UNSET="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"
105 > > FCFLAGS="-march=native -O2 -pipe"
106 > > FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news 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 xattr"
107 > > FFLAGS="-march=native -O2 -pipe"
108 > > GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo https://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
109 > > LANG="C.UTF8"
110 > > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
111 > > MAKEOPTS="-j5"
112 > > PKGDIR="/var/cache/binpkgs"
113 > > PORTAGE_CONFIGROOT="/"
114 > > 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"
115 > > PORTAGE_TMPDIR="/var/tmp"
116 > > USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx f16c pclmul popcnt sse3 sse4_1 sse4_2 ssse3" 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-64" INPUT_DEVICES="libinput mtrack" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i915" 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"
117 > > Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
118 > >
119 > >
120 > >
121 >
122 >
123 > You need to go back further for the error.  I see Error 2 but don't see
124 > Error 1.  Sometimes you have to go back a good ways, depends on CPU
125 > cores/threads and such.  When you find Error 1, go back at least a
126 > couple dozen lines, just to be fairly sure. 
127 >
128 > Dale
129 >
130 > :-)  :-) 
131 Thanks Dale :-)
132
133 Error 1:
134 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/gc/Zone.h:667:31: required from here
135 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:1613:13: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'js::detail::HashTable<js::HashMapEntry<js::gc::Cell*, long unsigned int>, js::HashMap<js::gc::Cell*, long unsigned int, js::PointerHasher<js::gc::Cell*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::gc::Cell*, long unsigned int> >'} with no trivial copy-assignment [-Wclass-memaccess]
136 1613 | memset(table, 0, sizeof(*table) * capacity());
137 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:772:7: note: 'js::detail::HashTable<js::HashMapEntry<js::gc::Cell*, long unsigned int>, js::HashMap<js::gc::Cell*, long unsigned int, js::PointerHasher<js::gc::Cell*>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Entry' {aka 'class js::detail::HashTableEntry<js::HashMapEntry<js::gc::Cell*, long unsigned int> >'} declared here
139 772 | class HashTableEntry {
140 | ^~~~~~~~~~~~~~
141 In file included from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/BitSet.h:12,
142 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/Safepoints.h:10,
143 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames.h:13,
144 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames-inl.h:10,
145 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames.cpp:7,
146 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/js/src/Unified_cpp_js_src17.cpp:2:
147 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitAllocPolicy.h: In instantiation of 'T* js::jit::JitAllocPolicy::maybe_pod_calloc(size_t) [with T = js::detail::HashTableEntry<js::HashMapEntry<JS::Value, unsigned int> >; size_t = long unsigned int]':
148 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:1214:59: required from 'static js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry* js::detail::HashTable<T, HashPolicy, AllocPolicy>::createTable(AllocPolicy&, uint32_t, js::detail::HashTable<T, HashPolicy, AllocPolicy>::FailureBehavior) [with T = js::HashMapEntry<JS::Value, unsigned int>; HashPolicy = js::HashMap<JS::Value, unsigned int, js::jit::LIRGraph::ValueHasher, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; js::detail::HashTable<T, HashPolicy, AllocPolicy>::Entry = js::detail::HashTableEntry<js::HashMapEntry<JS::Value, unsigned int> >; uint32_t = unsigned int]'
149 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:1283:24: required from 'bool js::detail::HashTable<T, HashPolicy, AllocPolicy>::init(uint32_t) [with T = js::HashMapEntry<JS::Value, unsigned int>; HashPolicy = js::HashMap<JS::Value, unsigned int, js::jit::LIRGraph::ValueHasher, js::jit::JitAllocPolicy>::MapHashPolicy; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]'
150 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:93:67: required from 'bool js::HashMap<Key, Value, HashPolicy, AllocPolicy>::init(uint32_t) [with Key = JS::Value; Value = unsigned int; HashPolicy = js::jit::LIRGraph::ValueHasher; AllocPolicy = js::jit::JitAllocPolicy; uint32_t = unsigned int]'
151 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/LIR.h:1630:34: required from here
152 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitAllocPolicy.h:87:30: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class js::detail::HashTableEntry<js::HashMapEntry<JS::Value, unsigned int> >' with no trivial copy-assignment [-Wclass-memaccess]
153 87 | if (MOZ_LIKELY(p)) memset(p, 0, numElems * sizeof(T));
154 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 In file included from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/TracingAPI.h:11,
156 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/GCPolicyAPI.h:47,
157 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/RootingAPI.h:22,
158 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/CallArgs.h:73,
159 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jsapi.h:29,
160 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jsfriendapi.h:17,
161 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/gc/Heap.h:19,
162 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/IonCode.h:16,
163 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JSJitFrameIter.h:12,
164 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames.h:12,
165 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames-inl.h:10,
166 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/js/src/jit/JitFrames.cpp:7,
167 from /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/js/src/Unified_cpp_js_src17.cpp:2:
168 /var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/jsobj/dist/include/js/HashTable.h:772:7: note: 'class js::detail::HashTableEntry<js::HashMapEntry<JS::Value, unsigned int> >' declared here
169 772 | class HashTableEntry {
170 | ^~~~~~~~~~~~~~
171 make[3]: *** [/var/tmp/portage/dev-lang/spidermonkey-60.5.2_p0-r4/work/mozjs-60.5.2/config/rules.mk:1056: Unified_cpp_js_src1.o] Error 1