Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506160 - dev-lang/spidermonkey-17.0.0-r3 - .../work/mozjs17.0.0/js/src/jsval.h:307:13: error: 'jsuword' does not name a type
Summary: dev-lang/spidermonkey-17.0.0-r3 - .../work/mozjs17.0.0/js/src/jsval.h:307:13:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InVCS
: 507704 (view as bug list)
Depends on:
Blocks: 507568
  Show dependency tree
 
Reported: 2014-03-29 14:57 UTC by Dave
Modified: 2014-04-17 22:35 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,8.61 KB, text/plain)
2014-03-29 14:58 UTC, Dave
Details
build.log (build.log,37.35 KB, text/plain)
2014-03-29 14:58 UTC, Dave
Details
patched spidermonkey ebuild (spidermonkey-17.0.0-r4.ebuild,3.43 KB, text/plain)
2014-04-16 14:09 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2014-03-29 14:57:39 UTC
powerpc64-unknown-linux-gnu-g++ -o jsanalyze.o -c  -fvisibility=hidden -DIMPL_MFBT -DEXPORT_JS_API -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include  -I/usr/include/nspr      -I. -I./assembler -I./yarr  -fPIC  -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -O2 -pipe -mcpu=970 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks  -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1   -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsanalyze.o.pp /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r3/work/mozjs17.0.0/js/src/jsanalyze.cpp
jsapi.cpp
In file included from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r3/work/mozjs17.0.0/js/src/jsapi.h:23:0,
                 from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r3/work/mozjs17.0.0/js/src/jscntxt.h:17,
                 from /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r3/work/mozjs17.0.0/js/src/jsalloc.cpp:9:
/var/tmp/portage/dev-lang/spidermonkey-17.0.0-r3/work/mozjs17.0.0/js/src/jsval.h:307:13: error: 'jsuword' does not name a type
             jsuword        word;



Reproducible: Always

Steps to Reproduce:
1. emerge consolekit polkit
2. ebuilds pull in spidermonkey-17
3. fails to compile spidermonkey-17
Comment 1 Dave 2014-03-29 14:58:18 UTC
Created attachment 373824 [details]
emerge --info
Comment 2 Dave 2014-03-29 14:58:42 UTC
Created attachment 373826 [details]
build.log
Comment 3 Jory A. Pratt gentoo-dev 2014-04-15 13:02:32 UTC
*** Bug 507704 has been marked as a duplicate of this bug. ***
Comment 4 Pacho Ramos gentoo-dev 2014-04-15 21:23:56 UTC
The duplicated one suggest a possible fix:
http://pkgs.fedoraproject.org/cgit/mozjs17.git/tree/js17-jsval.patch
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2014-04-16 13:51:25 UTC
yeah I know.

So https://bugzilla.mozilla.org/show_bug.cgi?id=618485 seems to be the reference for this.

The patch that added the jsuword word was first landed to support 64bit big endian, and it seems now it has been removed to support 64bit big endian.

I'm ok with removing that line in general, but I would really like someone to thoroughly runtime-test it before it hits the tree...
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2014-04-16 14:09:30 UTC
Created attachment 375084 [details]
patched spidermonkey ebuild

Here's an ebuild that sed's out the offending line during src_prepare -- please test.  I don't know if src_test is going to be effective or not but it's worth a shot; USE="-minimal" will provide a "js" binary shell that you can interactively feed javascript code into, as a worst-case runtime test...
Comment 7 Agostino Sarubbo gentoo-dev 2014-04-16 14:58:14 UTC
@axs/mozilla

the patch works here. You can commit it.
Comment 8 Jory A. Pratt gentoo-dev 2014-04-17 13:26:08 UTC
Updated ebuild in tree, will close in 12 hours after mirrors have had time to populate.