http://bugzilla.opensuse.org/show_bug.cgi?id=1039384 Bug ID: 1039384 Summary: mozjs24 fails to build with GCC7 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Firefox Assignee: bnc-team-mozilla@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de CC: martin.liska@suse.com, wolfgang@rosenauer.org Depends on: 1032474 Blocks: 1030236 Found By: --- Blocker: --- Can be seen here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:C... [ 352s] /home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/jsoptparse.cpp:256:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] [ 352s] if (value[0] == '\0') [ 352s] ^~~~ [ 352s] make[2]: *** [../config/rules.mk:1140: jsoptparse.o] Error 1 [ 352s] make[2]: *** Waiting for unfinished jobs.... [ 358s] /home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/js.cpp: In function 'JSBool Evaluate(JSContext*, unsigned int, jsval*)': [ 358s] /home/abuild/rpmbuild/BUILD/mozjs-24.2.0/js/src/shell/js.cpp:1036:20: warning: '*((void*)(& ancx)+32).js::AutoCompartment::origin_' may be used uninitialized in this function [-Wmaybe-uninitialized] [ 358s] AutoNewContext ancx; Likely the patch is not too different from what was merged for mozjs17 -- You are receiving this mail because: You are on the CC list for the bug.