Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2015 17:03:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202246] poilkit update fails due to missing definitions for JS data typess in pidermonkey170
Message-ID:  <bug-202246-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202246

            Bug ID: 202246
           Summary: poilkit update fails due to missing definitions for JS
                    data typess in pidermonkey170
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: rkoberman@gmail.com

Created attachment 159772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159772&action=edit
Build log for polkit.

Since being locked to spidermonkey170, I can no longer build polkit due to the
lack of definitions of several JS data types:
  CC       libpolkit_backend_1_la-polkitbackendjsauthority.lo
In file included from polkitbackendjsauthority.c:42:
In file included from /usr/local/include/jsapi.h:47:
In file included from /usr/local/include/jspubtd.h:45:
/usr/local/include/jstypes.h:248:6: error: "Must define one of XP_BEOS, XP_OS2,
      XP_WIN or XP_UNIX"
#    error "Must define one of XP_BEOS, XP_OS2, XP_WIN or XP_UNIX"
     ^
/usr/local/include/jstypes.h:264:2: error: No suitable type for JSInt8/JSUint8
#error No suitable type for JSInt8/JSUint8
 ^
/usr/local/include/jstypes.h:277:2: error: No suitable type for
JSInt16/JSUint16
#error No suitable type for JSInt16/JSUint16
 ^
/usr/local/include/jstypes.h:297:2: error: No suitable type for
JSInt32/JSUint32
#error No suitable type for JSInt32/JSUint32

It looks to me like there is no definition of things like JS_BYTES_PER_INT,
JS_BYTES_PER_SHORT and JS_BYTES_PER_INT. I further guess it is the lack of the
definition of XP_UNIX and possibly others that is triggering this.

I will try to get time to look into this more deeply. I am not sure if it a
problem with polkit or spidermonkey at this moment.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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