Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails at mozjs_sys on Archlinux #15025

Closed
mdevlamynck opened this issue Jan 14, 2017 · 6 comments
Closed

Build fails at mozjs_sys on Archlinux #15025

mdevlamynck opened this issue Jan 14, 2017 · 6 comments
Labels

Comments

@mdevlamynck
Copy link
Contributor

@mdevlamynck mdevlamynck commented Jan 14, 2017

I get a build error when compiling mozjs_sys on Archlinux.
The dependencies listed in the README are installed.
This is the log file I get ./target/debug/build/mozjs_sys-365f6a67e79262dc/out/config.log.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:841: checking host system type
configure:862: checking target system type
configure:880: checking build system type
configure:2216: checking for gcc
configure:2329: checking whether the C compiler (/usr/lib/hardening-wrapper/bin/gcc -std=gnu99  ) works
configure:2345: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c  1>&5
configure:2342:1: warning: return type defaults to 'int' [-Wimplicit-int]
configure:2371: checking whether the C compiler (/usr/lib/hardening-wrapper/bin/gcc -std=gnu99  ) is a cross-compiler
configure:2376: checking whether we are using GNU C
configure:2385: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -E conftest.c
configure:2404: checking whether /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 accepts -g
configure:2440: checking for c++
configure:2472: checking whether the C++ compiler (/usr/lib/hardening-wrapper/bin/g++ -std=gnu++11  ) works
configure:2488: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest    conftest.C  1>&5
configure:2514: checking whether the C++ compiler (/usr/lib/hardening-wrapper/bin/g++ -std=gnu++11  ) is a cross-compiler
configure:2519: checking whether we are using GNU C++
configure:2528: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -E conftest.C
configure:2547: checking whether /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 accepts -g
configure:2581: checking for ranlib
configure:2613: checking for as
configure:2667: checking for ar
configure:2702: checking for ld
configure:2737: checking for strip
configure:2772: checking for windres
configure:2862: checking how to run the C preprocessor
configure:2942: checking how to run the C++ preprocessor
configure:2960: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -E  conftest.C >/dev/null 2>conftest.out
configure:3392: checking for sb-conf
configure:3392: checking for ve
configure:3588: checking for gmake
configure:3588: checking for make
configure:3655: checking for X
configure:3722: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:3972: checking for dnet_ntoa in -ldnet
configure:3991: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c -ldnet   1>&5
/usr/bin/ld: cannot find -ldnet
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 3980 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4013: checking for dnet_ntoa in -ldnet_stub
configure:4032: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c -ldnet_stub   1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 4021 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:4061: checking for gethostbyname
configure:4093: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c  1>&5
configure:4163: checking for connect
configure:4195: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c  1>&5
configure:4259: checking for remove
configure:4291: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c  1>&5
configure:4355: checking for shmat
configure:4387: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    conftest.c  1>&5
configure:4460: checking for IceConnectionNumber in -lICE
configure:4479: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    -L/usr/lib64 conftest.c -lICE   1>&5
configure:4710: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c   conftest.c 1>&5
configure: In function 'main':
configure:4706:15: error: '__thumb2__' undeclared (first use in this function)
configure:4706:15: note: each undeclared identifier is reported only once for each function it appears in
configure: failed program was:
#line 4703 "configure"
#include "confdefs.h"

int main() {
return sizeof(__thumb2__);
; return 0; }
configure:4955: checking that static assertion macros used in autoconf tests work
configure:4976: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c   conftest.c 1>&5
configure:4993: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c   conftest.c 1>&5
configure: In function 'main':
configure:4990:68: error: size of array 'static_assert_line_4993' is negative
configure:4989:55: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
configure:4988:44: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT_IMPL'
configure:4993:1: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT'
configure: failed program was:
#line 4986 "configure"
#include "confdefs.h"

#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]

int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:5016: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c   conftest.C 1>&5
configure:5033: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c   conftest.C 1>&5
configure: In function 'int main()':
configure:5030:114: error: size of array 'static_assert_line_5033' is negative
configure:5029:55: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
configure:5028:44: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT_IMPL'
configure:5033:1: note: in expansion of macro 'CONFIGURE_STATIC_ASSERT'
configure: failed program was:
#line 5026 "configure"
#include "confdefs.h"

#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]

int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:5422: checking for --noexecstack option to as
configure:5433: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Wa,--noexecstack  conftest.c 1>&5
configure:5446: checking for -z noexecstack option to ld
configure:5457: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    -Wl,-z,noexecstack conftest.c  1>&5
configure:5470: checking for -z text option to ld
configure:5481: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    -Wl,-z,noexecstack -Wl,-z,text conftest.c  1>&5
configure:5495: checking for --build-id option to ld
configure:5506: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest    -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c  1>&5
configure:5553: checking whether the C compiler supports -Wclass-varargs
configure:5576: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wclass-varargs  conftest.c 1>&5
gcc: error: unrecognized command line option '-Wclass-varargs'; did you mean '-Wno-varargs'?
configure: failed program was:
#line 5569 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:5604: checking whether the C compiler supports -Wloop-analysis
configure:5627: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wloop-analysis  conftest.c 1>&5
gcc: error: unrecognized command line option '-Wloop-analysis'
configure: failed program was:
#line 5620 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:5710: checking whether the C compiler supports -Wstring-conversion
configure:5733: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wstring-conversion  conftest.c 1>&5
gcc: error: unrecognized command line option '-Wstring-conversion'; did you mean '-Wint-conversion'?
configure: failed program was:
#line 5726 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:5761: checking whether the C compiler supports -Wthread-safety
configure:5784: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wthread-safety  conftest.c 1>&5
gcc: error: unrecognized command line option '-Wthread-safety'; did you mean '-fthread-jumps'?
configure: failed program was:
#line 5777 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:5821: checking whether the C compiler supports -Wno-error=maybe-uninitialized
configure:5844: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wno-error=maybe-uninitialized  conftest.c 1>&5
configure:5872: checking whether the C compiler supports -Wno-error=deprecated-declarations
configure:5895: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wno-error=deprecated-declarations  conftest.c 1>&5
configure:5923: checking whether the C compiler supports -Wno-error=array-bounds
configure:5946: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -Werror -Wno-error=array-bounds  conftest.c 1>&5
configure:6139: checking whether the C++ compiler supports -Wc++11-compat-pedantic
configure:6162: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wc++11-compat-pedantic  conftest.C 1>&5
g++: error: unrecognized command line option '-Wc++11-compat-pedantic'; did you mean '-Wc++11-compat'?
configure: failed program was:
#line 6155 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6190: checking whether the C++ compiler supports -Wc++14-compat
configure:6213: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wc++14-compat  conftest.C 1>&5
configure:6241: checking whether the C++ compiler supports -Wc++14-compat-pedantic
configure:6264: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wc++14-compat-pedantic  conftest.C 1>&5
g++: error: unrecognized command line option '-Wc++14-compat-pedantic'; did you mean '-Wc++14-compat'?
configure: failed program was:
#line 6257 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6292: checking whether the C++ compiler supports -Wc++1z-compat
configure:6315: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wc++1z-compat  conftest.C 1>&5
g++: error: unrecognized command line option '-Wc++1z-compat'; did you mean '-Wc++11-compat'?
configure: failed program was:
#line 6308 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6343: checking whether the C++ compiler supports -Wclass-varargs
configure:6366: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wclass-varargs  conftest.C 1>&5
g++: error: unrecognized command line option '-Wclass-varargs'; did you mean '-Wno-varargs'?
configure: failed program was:
#line 6359 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6394: checking whether the C++ compiler supports -Wimplicit-fallthrough
configure:6417: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wimplicit-fallthrough  conftest.C 1>&5
g++: error: unrecognized command line option '-Wimplicit-fallthrough'; did you mean '-Wno-fallthrough'?
configure: failed program was:
#line 6410 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6445: checking whether the C++ compiler supports -Wloop-analysis
configure:6468: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wloop-analysis  conftest.C 1>&5
g++: error: unrecognized command line option '-Wloop-analysis'
configure: failed program was:
#line 6461 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6551: checking whether the C++ compiler supports -Wstring-conversion
configure:6574: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wstring-conversion  conftest.C 1>&5
g++: error: unrecognized command line option '-Wstring-conversion'; did you mean '-Wint-conversion'?
configure: failed program was:
#line 6567 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6602: checking whether the C++ compiler supports -Wthread-safety
configure:6625: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wthread-safety  conftest.C 1>&5
g++: error: unrecognized command line option '-Wthread-safety'; did you mean '-fthread-jumps'?
configure: failed program was:
#line 6618 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6660: checking whether the C++ compiler supports -Wno-inline-new-delete
configure:6683: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Winline-new-delete  conftest.C 1>&5
g++: error: unrecognized command line option '-Winline-new-delete'
configure: failed program was:
#line 6676 "configure"
#include "confdefs.h"

int main() {
return(0);
; return 0; }
configure:6718: checking whether the C++ compiler supports -Wno-error=maybe-uninitialized
configure:6741: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wno-error=maybe-uninitialized  conftest.C 1>&5
configure:6769: checking whether the C++ compiler supports -Wno-error=deprecated-declarations
configure:6792: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wno-error=deprecated-declarations  conftest.C 1>&5
configure:6820: checking whether the C++ compiler supports -Wno-error=array-bounds
configure:6843: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -Werror -Wno-error=array-bounds  conftest.C 1>&5
configure:6993: checking for 64-bit OS
configure:7002: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c   conftest.c 1>&5
configure:7777: checking whether the C++ compiler (/usr/lib/hardening-wrapper/bin/g++ -std=gnu++11  -fno-rtti  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler
configure:7796: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C  1>&5
configure:8039: checking for ANSI C header files
configure:8052: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:8119: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c  1>&5
configure: In function 'main':
configure:8114:67: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
configure:8114:67: warning: incompatible implicit declaration of built-in function 'exit'
configure:8114:67: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:8115:1: warning: incompatible implicit declaration of built-in function 'exit'
configure:8115:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:8146: checking for working const
configure:8200: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8224: checking for mode_t
configure:8260: checking for off_t
configure:8296: checking for pid_t
configure:8332: checking for size_t
configure:8382: checking for ssize_t
configure:8395: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8424: checking for endian.h
configure:8437: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8480: checking for machine/endian.h
configure:8493: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8487:28: fatal error: machine/endian.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 8485 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <machine/endian.h>
int main() {

; return 0; }
configure:8536: checking for sys/isa_defs.h
configure:8549: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8543:26: fatal error: sys/isa_defs.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 8541 "configure"
#include "confdefs.h"

#include <sys/isa_defs.h>
int main() {

; return 0; }
configure:8606: checking whether 64-bits std::atomic requires -latomic
configure:8619: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C  1>&5
configure:8714: checking for dirent.h that defines DIR
configure:8727: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8755: checking for opendir in -ldir
configure:8774: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldir   1>&5
/usr/bin/ld: cannot find -ldir
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 8763 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:8849: checking for sys/byteorder.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8856:27: fatal error: sys/byteorder.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"

#include <sys/byteorder.h>
int main() {

; return 0; }
configure:8849: checking for compat.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8856:20: fatal error: compat.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"

#include <compat.h>
int main() {

; return 0; }
configure:8849: checking for getopt.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for sys/bitypes.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for memory.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for unistd.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for gnu/libc-version.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for nl_types.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for malloc.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for X11/XKBlib.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8849: checking for io.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8856:16: fatal error: io.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"

#include <io.h>
int main() {

; return 0; }
configure:8849: checking for cpuid.h
configure:8862: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8897: checking for sys/statvfs.h
configure:8910: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8897: checking for sys/statfs.h
configure:8910: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8897: checking for sys/vfs.h
configure:8910: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8897: checking for sys/mount.h
configure:8910: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8944: checking for sys/quota.h
configure:8957: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:8990: checking for linux/quota.h
configure:9003: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:9099: checking for sys/cdefs.h
configure:9112: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:9162: checking for linux/perf_event.h
configure:9175: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno   conftest.c 1>&5
configure:9190: checking for perf_event_open system call
configure:9202: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno   conftest.c 1>&5
configure:9234: checking for gethostbyname_r in -lc_r
configure:9253: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lc_r   1>&5
/usr/bin/ld: cannot find -lc_r
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 9242 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gethostbyname_r();

int main() {
gethostbyname_r()
; return 0; }
configure:9290: checking for library containing dlopen
configure:9308: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c  1>&5
/tmp/ccZAhhVr.o: In function `main':
conftest.c:(.text+0x1f): undefined reference to `dlopen'
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 9297 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dlopen();

int main() {
dlopen()
; return 0; }
configure:9330: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl   1>&5
configure:9348: checking for dlfcn.h
configure:9361: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno  conftest.c 1>&5
configure:9447: checking for socket in -lsocket
configure:9466: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lsocket  -ldl  1>&5
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 9455 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char socket();

int main() {
socket()
; return 0; }
configure:9503: checking for pthread_create in -lpthreads
configure:9522: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lpthreads  -ldl  1>&5
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 9511 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_create();

int main() {
pthread_create()
; return 0; }
configure:9541: checking for pthread_create in -lpthread
configure:9560: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno   -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lpthread  -ldl  1>&5
configure:9691: checking whether /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 accepts -pthread
configure:9786: checking whether /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 needs -traditional
configure:9832: checking for 8-bit clean memcmp
configure:9850: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
configure:9842:1: warning: return type defaults to 'int' [-Wimplicit-int]
configure: In function 'main':
configure:9845:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
configure:9845:3: warning: incompatible implicit declaration of built-in function 'exit'
configure:9845:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:9845:8: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]
configure:9870: checking for getc_unlocked
configure:9902: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
configure:9870: checking for _getc_nolock
configure:9902: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
/tmp/ccZ20tqL.o: In function `main':
conftest.c:(.text+0x1f): undefined reference to `_getc_nolock'
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 9875 "configure"
#define _getc_nolock innocuous__getc_nolock
#include "confdefs.h"
#undef _getc_nolock
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char _getc_nolock(); below.  */
#define _getc_nolock innocuous__getc_nolock
#include <assert.h>
#undef _getc_nolock
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char _getc_nolock();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub__getc_nolock) || defined (__stub____getc_nolock)
choke me
#else
_getc_nolock();
#endif

; return 0; }
configure:9870: checking for gmtime_r
configure:9902: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
configure:9870: checking for localtime_r
configure:9902: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl  1>&5
configure:9931: checking for clock_gettime(CLOCK_MONOTONIC)
configure:9947: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -ldl   1>&5
configure:9979: checking for sin in -lm
configure:9998: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm  -ldl  1>&5
configure:9991:6: warning: conflicting types for built-in function 'sin'
configure:10029: checking for __sincos in -lm
configure:10048: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm  -lm -ldl  1>&5
/tmp/ccMg54VV.o: In function `main':
conftest.c:(.text+0x1f): undefined reference to `__sincos'
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 10037 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __sincos();

int main() {
__sincos()
; return 0; }
configure:10086: checking for wcrtomb
configure:10098: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C -lm -ldl  1>&5
configure:10121: checking for mbrtowc
configure:10133: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C -lm -ldl  1>&5
configure:10165: checking for res_ninit()
configure:10188: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
In file included from /usr/include/sys/types.h:25:0,
                 from configure:10178:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
configure:10216: checking for nl_langinfo and CODESET
configure:10228: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
configure:10264: checking for an implementation of va_copy()
configure:10285: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread  conftest.c 1>&5
configure:10301: checking whether va_list can be copied by value
configure:10322: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread  conftest.c 1>&5
configure: In function 'f':
configure:10312:19: error: assignment to expression with array type
configure: failed program was:
#line 10306 "configure"
#include "confdefs.h"
#include <stdarg.h>
                     #include <stdlib.h>
        void f (int i, ...) {
            va_list args1, args2;
            va_start (args1, i);
            args2 = args1;
            if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
                exit (1);
            va_end (args1); va_end (args2);
        }
int main() {
f(0, 42); return 0
; return 0; }
configure:10418: checking whether the C++ "using" keyword resolves ambiguity
configure:10439: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -fno-rtti -fno-exceptions -fno-math-errno -pthread  conftest.C 1>&5
configure:10463: checking for C++ dynamic_cast to void*
configure:10490: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C -lm -ldl  1>&5
configure:10523: checking for __thread keyword for TLS variables
configure:10535: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -fPIC -shared -Wl,-z,defs  conftest.C -lm -ldl  1>&5
configure:10573: checking for __attribute__((always_inline))
configure:10585: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -fno-rtti -fno-exceptions -fno-math-errno -pthread  conftest.C 1>&5
configure:10609: checking for LC_MESSAGES
configure:10621: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread  conftest.c 1>&5
configure:10647: checking for localeconv
configure:10679: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
configure:10819: checking NSPR selection
configure:11144: checking for gzread in -lz
configure:11163: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lz  -lm -ldl  1>&5
configure:11198: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread  conftest.c 1>&5
configure:11448: checking for valid optimization flags
configure:11459: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread -freorder-blocks -O3  conftest.c 1>&5
configure:12236: checking for __cxa_demangle
configure:12271: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -o conftest  -fno-rtti -fno-exceptions -fno-math-errno -pthread  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C -lm -ldl  1>&5
configure:12332: checking for -pipe support
configure:12346: checking whether C compiler supports -fprofile-generate
configure:12355: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -c  -fno-math-errno -pthread -pipe -fprofile-generate -fprofile-correction  conftest.c 1>&5
configure:12390: checking for tm_zone tm_gmtoff in struct tm
configure:12402: /usr/lib/hardening-wrapper/bin/g++ -std=gnu++11 -c  -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe  conftest.C 1>&5
configure:12444: checking what kind of list files are supported by the linker
configure:12449: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest.o -c  -fno-math-errno -pthread -pipe  conftest.c 1>&5
configure:12451: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.list -lm -ldl  1>&5
configure:12477: checking what kind of ordering can be done with the linker
configure:12492: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,--section-ordering-file,conftest.order conftest.c -lm -ldl  1>&5
/usr/bin/ld: unrecognized option '--section-ordering-file'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 12485 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:12504: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -shared -Wl,-z,defs -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -o libconftest.so -Wl
gcc: error: unrecognized command line option '-Wl'; did you mean '-W'?
configure:12808: checking for posix_fadvise
configure:12840: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
configure:12808: checking for posix_fallocate
configure:12840: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
configure: error: cannot determine icu version number from uvernum.h header file 

I don't really know what else may help to track down this issue, please tell me if I can provide more information.

@jdm
Copy link
Member

@jdm jdm commented Jan 14, 2017

There are a lot of unusual linker errors in that output. What compiler and version are you using?

@mdevlamynck
Copy link
Contributor Author

@mdevlamynck mdevlamynck commented Jan 14, 2017

gcc -v outputs

Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc-multilib/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.3.1 20170109 (GCC)

and if it helps

ld -v outputs GNU ld (GNU Binutils) 2.27

@mdevlamynck
Copy link
Contributor Author

@mdevlamynck mdevlamynck commented Jan 15, 2017

I'm guessing the linker errors are just the way configure.sh checks for some libraries.
If I'm not mistaken, the real issue is at the last line :

configure: error: cannot determine icu version number from uvernum.h header file 

I didn't realize the log file and what ./mach build prints differs. So these are the last lines of ./mach build :

--- stderr
sed: character class syntax is [[:space:]], not [:space:]
configure: error: cannot determine icu version number from uvernum.h header file
DEBUG: <truncated - see config.log for full output>
DEBUG: configure:12451: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.list -lm -ldl  1>&5
DEBUG: configure:12477: checking what kind of ordering can be done with the linker
DEBUG: configure:12492: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest  -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,--section-ordering-file,conftest.order conftest.c -lm -ldl  1>&5
DEBUG: /usr/bin/ld: unrecognized option '--section-ordering-file'
DEBUG: /usr/bin/ld: use the --help option for usage information
DEBUG: collect2: error: ld returned 1 exit status
DEBUG: configure: failed program was:
DEBUG: #line 12485 "configure"
DEBUG: #include "confdefs.h"
DEBUG:
DEBUG: int main() {
DEBUG:
DEBUG: ; return 0; }
DEBUG: configure:12504: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -shared -Wl,-z,defs -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -o libconftest.so -Wl
DEBUG: gcc: error: unrecognized command line option '-Wl'; did you mean '-W'?
DEBUG: configure:12808: checking for posix_fadvise
DEBUG: configure:12840: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
DEBUG: configure:12808: checking for posix_fallocate
DEBUG: configure:12840: /usr/lib/hardening-wrapper/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-math-errno -pthread -pipe  -lpthread  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl  1>&5
DEBUG: configure: error: cannot determine icu version number from uvernum.h header file
ERROR: old-configure failed
make: *** [makefile.cargo:123: maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', /mnt/media/Programmation/others-wip/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/build.rs:43
note: Run with `RUST_BACKTRACE=1` for a backtrace.

It seems to confirm that the problem comes from determining the icu version number that fails.

@mdevlamynck
Copy link
Contributor Author

@mdevlamynck mdevlamynck commented Jan 15, 2017

Ok, so I have finally been able to build mozjs_sys :

@mdevlamynck
Copy link
Contributor Author

@mdevlamynck mdevlamynck commented Jan 16, 2017

After some testing on different distros I have an explanation for why this problem only occurs on a few machines.

So the problem is the [:space:] in the sed command to get the icu version number. It should be [[:space:]]. In sed 4.3, sed complains with sed: character class syntax is [[:space:]], not [:space:]. But in prior version (tested with sed 4.2.2) sed doesn't complain and just treat the [:space:] as any regular [somecharacters] regex.

sed 4.3:

$ echo 'test test' | sed -e 's/[:space:]/!/g' -
sed: character class syntax is [[:space:]], not [:space:]

sed 4.2.2:

$ echo 'test test' | sed -e 's/[:space:]/!/g' -
t!!t t!!t

So by cheer luck, the command works even if the regex is incorrect with sed < 4.3.

What would be the correct fix for this ? I had to edit old-configure but it looks like a generated file.

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jan 16, 2017

This was fixed upstream in https://hg.mozilla.org/mozilla-central/rev/ebcbf47a83e7d3b89460cf1c991b6be5a79a967b. I'll cherry-pick the fix.

Ms2ger added a commit to servo/mozjs that referenced this issue Jan 16, 2017
bors-servo added a commit to servo/mozjs that referenced this issue Jan 16, 2017
Add brackets to icu.m4 for sed 4.3 compliance.

Cherry-picked from <https://hg.mozilla.org/mozilla-central/rev/ebcbf47a83e7d3b89460cf1c991b6be5a79a967b>.

CC <servo/servo#15025>.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/110)
<!-- Reviewable:end -->
Ms2ger added a commit that referenced this issue Jan 16, 2017
Fixes #15025.
bors-servo added a commit that referenced this issue Jan 17, 2017
Update mozjs_sys.

Fixes #15025.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15048)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 17, 2017
Update mozjs_sys.

Fixes #15025.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15048)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.