Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2017 06:27:20 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 110arm64-default][lang/spidermonkey17] Failed for spidermonkey17-1.7.0_4 in build
Message-ID:  <201710250627.v9P6RK5q030974@thunderx1.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     citric@cubicone.tmetic.com
Last committer: kwm@FreeBSD.org
Ident:          $FreeBSD: head/lang/spidermonkey17/Makefile 446936 2017-07-30 14:34:27Z kwm $
Log URL:        http://thunderx1.nyi.freebsd.org/data/110arm64-default/452754/logs/spidermonkey17-1.7.0_4.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=110arm64-default&build=452754
Log:

====>> Building lang/spidermonkey17
build started at Wed Oct 25 06:26:34 UTC 2017
port directory: /usr/ports/lang/spidermonkey17
building for: FreeBSD 110arm64-default-job-02 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 arm64
maintained by: citric@cubicone.tmetic.com
Makefile ident:      $FreeBSD: head/lang/spidermonkey17/Makefile 446936 2017-07-30 14:34:27Z kwm $
Poudriere version: 3.1.21-7-g66ad3813
Host OSVERSION: 1200044
Jail OSVERSION: 1100122
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1100122
UNAME_v=FreeBSD 11.0-RELEASE-p1
UNAME_r=11.0-RELEASE-p1
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/110arm64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=spidermonkey17-1.7.0_4
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/110arm64-default/ref/.p/pool
MASTERNAME=110arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.21-7-g66ad3813
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for spidermonkey17-1.7.0_4:
     UTF8=off: Unicode UTF-8 encoding support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work  HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/spidermonkey17/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
CCC="c++" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work  HOME=/wrkdirs/usr/ports/lang/spidermonkey17/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/spidermonkey17/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -I/usr/local/include/nspr -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include/nspr -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/spidermonkey17"
EXAMPLESDIR="share/examples/spidermonkey17"
DATADIR="share/spidermonkey17"
WWWDIR="www/spidermonkey17"
ETCDIR="etc/spidermonkey17"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/spidermonkey17
DOCSDIR=/usr/local/share/doc/spidermonkey17
EXAMPLESDIR=/usr/local/share/examples/spidermonkey17
WWWDIR=/usr/local/www/spidermonkey17
ETCDIR=/usr/local/etc/spidermonkey17
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=aarch64
CONFIGURE_MAX_CMD_LEN=262144
OPSYS=FreeBSD
OSREL=11.0
OSVERSION=1100122
PYTHONBASE=/usr/local
UID=0
_JAVA_OS_LIST_REGEXP=native|linux
_JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun
_JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.9|1.6\+|1.7\+|1.8\+|1.9\+
_OSRELEASE=11.0-RELEASE-p1
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   spidermonkey17-1.7.0_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.1.txz
[110arm64-default-job-02] Installing pkg-1.10.1...
[110arm64-default-job-02] Extracting pkg-1.10.1: .......... done
===>   spidermonkey17-1.7.0_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of spidermonkey17-1.7.0_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by spidermonkey17-1.7.0_4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by spidermonkey17-1.7.0_4 for building
=> SHA256 Checksum OK for js-1.7.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by spidermonkey17-1.7.0_4 for building
===>  Extracting for spidermonkey17-1.7.0_4
=> SHA256 Checksum OK for js-1.7.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for spidermonkey17-1.7.0_4
===>  Applying FreeBSD patches for spidermonkey17-1.7.0_4
===========================================================================
=======================<phase: build-depends  >============================
===>   spidermonkey17-1.7.0_4 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[110arm64-default-job-02] Installing gmake-4.2.1_1...
[110arm64-default-job-02] `-- Installing indexinfo-0.2.6...
[110arm64-default-job-02] `-- Extracting indexinfo-0.2.6: .... done
[110arm64-default-job-02] `-- Installing gettext-runtime-0.19.8.1_1...
[110arm64-default-job-02] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[110arm64-default-job-02] Extracting gmake-4.2.1_1: .......... done
===>   spidermonkey17-1.7.0_4 depends on executable: gmake - found
===>   Returning to build of spidermonkey17-1.7.0_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   spidermonkey17-1.7.0_4 depends on shared library: libnspr4.so - not found
===>   Installing existing package /packages/All/nspr-4.17.txz
[110arm64-default-job-02] Installing nspr-4.17...
[110arm64-default-job-02] Extracting nspr-4.17: .......... done
===>   spidermonkey17-1.7.0_4 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so)
===>   Returning to build of spidermonkey17-1.7.0_4
===>   spidermonkey17-1.7.0_4 depends on shared library: libreadline.so.7 - not found
===>   Installing existing package /packages/All/readline-7.0.3.txz
[110arm64-default-job-02] Installing readline-7.0.3...
[110arm64-default-job-02] Extracting readline-7.0.3: .......... done
===>   spidermonkey17-1.7.0_4 depends on shared library: libreadline.so.7 - found (/usr/local/lib/libreadline.so.7)
===>   Returning to build of spidermonkey17-1.7.0_4
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for spidermonkey17-1.7.0_4
cp -f /wrkdirs/usr/ports/lang/spidermonkey17/work/js/src/config/Linux_All.mk  /wrkdirs/usr/ports/lang/spidermonkey17/work/js/src/config/FreeBSD`/usr/bin/uname -r`.mk
===========================================================================
=======================<phase: build          >============================
===>  Building for spidermonkey17-1.7.0_4
gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/spidermonkey17/work/js/src'
<snip>
./jsapi.h:70:34: note: expanded from macro 'JSVAL_IS_NUMBER'
#define JSVAL_IS_NUMBER(v)      (JSVAL_IS_INT(v) || JSVAL_IS_DOUBLE(v))
                                 ^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v)         (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
                                                             ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:1218:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (!OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                             ^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
    (obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
                                              ^~~~~
jsapi.c:1425:65: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                             ^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
    (obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
                                              ^~~~~
jsapi.c:1519:59: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        !OBJ_DEFINE_PROPERTY(cx, obj, ATOM_TO_JSID(atom), JSVAL_VOID,
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                             ^
./jsobj.h:68:47: note: expanded from macro 'OBJ_DEFINE_PROPERTY'
    (obj)->map->ops->defineProperty(cx,obj,id,value,getter,setter,attrs,propp)
                                              ^~~~~
jsapi.c:2053:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (JSVAL_IS_INT(v)) {
        ^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v)         (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
                                                             ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:2293:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (!JSVAL_IS_INT(v))
         ^~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v)         (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
                                                             ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:2573:48: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        ok = DefineProperty(cx, obj, ps->name, JSVAL_VOID,
                                               ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:2672:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
        return JSVAL_VOID;
               ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3208:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            JS_SetReservedSlot(cx, obj, key, JSVAL_VOID);
                                             ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3229:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (!JSVAL_IS_INT(num_properties)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:71:62: note: expanded from macro 'JSVAL_IS_INT'
#define JSVAL_IS_INT(v)         (((v) & JSVAL_INT) && (v) != JSVAL_VOID)
                                                             ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3293:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    if (JSVAL_IS_VOID(v))
        ^~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v)        ((v) == JSVAL_VOID)
                                        ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3315:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    JS_ASSERT(!JSVAL_IS_VOID(v));
    ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
./jsapi.h:76:41: note: expanded from macro 'JSVAL_IS_VOID'
#define JSVAL_IS_VOID(v)        ((v) == JSVAL_VOID)
                                        ^
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                             ^
./jsutil.h:54:7: note: expanded from macro 'JS_ASSERT'
    ((_expr)?((void)0):JS_Assert(# _expr,__FILE__,__LINE__))
      ^~~~~
jsapi.c:3425:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            *idp = JSVAL_VOID;
                   ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3436:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
            *idp = JSVAL_VOID;
                   ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:3490:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    *vp = OBJ_GET_REQUIRED_SLOT(cx, obj, slot);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsobj.h:98:8: note: expanded from macro 'OBJ_GET_REQUIRED_SLOT'
     : JSVAL_VOID)
       ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
jsapi.c:4859:21: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
    cx->exception = JSVAL_VOID;
                    ^~~~~~~~~~
./jsapi.h:205:33: note: expanded from macro 'JSVAL_VOID'
#define JSVAL_VOID              INT_TO_JSVAL(0 - JSVAL_INT_POW2(30))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./jsapi.h:104:46: note: expanded from macro 'INT_TO_JSVAL'
#define INT_TO_JSVAL(i)         (((jsval)(i) << 1) | JSVAL_INT)
                                  ~~~~~~~~~~ ^
fatal error: error in backend: fixup value out of range
cc: error: clang frontend command failed with exit code 70 (use -v to see invocation)
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: aarch64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/jsapi-a8db2c.c
cc: note: diagnostic msg: /tmp/jsapi-a8db2c.sh
cc: note: diagnostic msg: 

********************
gmake[1]: *** [rules.mk:78: FreeBSD11.0-RELEASE-p1_DBG.OBJ/jsapi.o] Error 70
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/spidermonkey17/work/js/src'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/spidermonkey17



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710250627.v9P6RK5q030974>