After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786834 - mozjs52: --enable-posix-nspr-emulation doesn't work
mozjs52: --enable-posix-nspr-emulation doesn't work
Status: RESOLVED NOTGNOME
Product: gjs
Classification: Bindings
Component: general
1.49.x
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-26 12:18 UTC by Jeremy Bicha
Modified: 2017-08-27 21:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build log (783.17 KB, text/plain)
2017-08-26 12:18 UTC, Jeremy Bicha
Details

Description Jeremy Bicha 2017-08-26 12:18:07 UTC
Created attachment 358469 [details]
build log

I tried building the latest mozjs52 tarball (August 8, from treeherder) with --enable-posix-nspr-emulation but the build fails.

I have applied this patch and I believe all other relevant patches from the mozjs52 branch there:
https://github.com/ptomato/mozjs/commit/4c5d336b4

Packaging is at
https://anonscm.debian.org/git/pkg-gnome/mozjs52.git/

Build flags are in debian/rules
Patches are in debian/patches and listed in debian/patches/series .

I'm attaching a build log.
Comment 1 Philip Chimento 2017-08-27 21:37:21 UTC
If you use --enable-ctypes, then you need NSPR after all. I confirmed this on IRC with the SpiderMonkey team.

Reported upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1394254