You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Qing XU (JIRA)" <ji...@apache.org> on 2017/05/19 16:47:04 UTC

[jira] [Commented] (COUCHDB-3312) Error on Make Release

    [ https://issues.apache.org/jira/browse/COUCHDB-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017636#comment-16017636 ] 

Qing XU commented on COUCHDB-3312:
----------------------------------

Same issue seen with RHEL 6.7.
Is there an ETA to the fix? Or any known workarounds?

> Error on Make Release 
> ----------------------
>
>                 Key: COUCHDB-3312
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3312
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>            Reporter: Elioth Rivera
>
> when make ./configure everything it's ok 
> but when i run : 
> {code:actionscript}
> # make release
> ==> couch_epi (compile)
> ==> config (compile)
> ==> b64url (compile)
> ==> couch_log (compile)
> ==> chttpd (compile)
> ==> couch (compile)
> Compiling /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:44: error: ���JS_StrictPropertyStub��� undeclared here (not in a function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���req_ctor���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:57: warning: implicit declaration of function ���JS_NewObjectForConstructor���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:57: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:63: warning: implicit declaration of function ���JS_SET_RVAL���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���req_open���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:78: warning: implicit declaration of function ���JS_THIS_OBJECT���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:78: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:79: warning: implicit declaration of function ���JS_ARGV���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:79: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���req_set_hdr���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:98: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:99: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���req_send���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:116: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:117: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���base_url���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:147: warning: implicit declaration of function ���JS_RVAL���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:147: error: lvalue required as unary ���&��� operand
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���evalcx���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:154: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:159: error: ���JSCrossCompartmentCall��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:159: error: (Each undeclared identifier is reported only once
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:159: error: for each function it appears in.)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:159: error: ���call��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:177: warning: implicit declaration of function ���JS_SetContextThread���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:177: warning: implicit declaration of function ���JS_BeginRequest���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:179: warning: implicit declaration of function ���JS_GetStringCharsAndLength���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:179: warning: assignment makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:185: warning: implicit declaration of function ���JS_EnterCrossCompartmentCall���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:188: warning: implicit declaration of function ���JS_NewGlobalObject���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:188: warning: assignment makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:209: warning: implicit declaration of function ���JS_LeaveCrossCompartmentCall���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:210: warning: implicit declaration of function ���JS_EndRequest���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:210: warning: implicit declaration of function ���JS_ClearContextThread���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���print���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:228: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���quit���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:238: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���seal���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:264: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:278: warning: implicit declaration of function ���JS_DeepFreezeObject���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:278: warning: implicit declaration of function ���JS_FreezeObject���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���js_sleep���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:287: warning: initialization makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: At top level:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:328: warning: implicit declaration of function ���JS_FS���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:328: warning: missing braces around initializer
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:328: warning: (near initialization for ���CouchHTTPFunctions[0]���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:328: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:328: error: (near initialization for ���CouchHTTPFunctions[0].name���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:329: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:329: error: (near initialization for ���CouchHTTPFunctions[0].call���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:330: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:330: error: (near initialization for ���CouchHTTPFunctions[0].nargs���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:331: error: ���JS_FS_END��� undeclared here (not in a function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:336: warning: missing braces around initializer
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:336: warning: (near initialization for ���TestSuiteFunctions[0]���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:336: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:336: error: (near initialization for ���TestSuiteFunctions[0].name���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:338: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:338: error: (near initialization for ���TestSuiteFunctions[0].call���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:342: warning: missing braces around initializer
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:342: warning: (near initialization for ���global_functions[0]���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:342: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:342: error: (near initialization for ���global_functions[0].name���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:343: error: initializer element is not constantERROR: compile failed while processing /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch: rebar_abort
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:343: error: (near initialization for ���global_functions[0].call���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:344: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:344: error: (near initialization for ���global_functions[0].nargs���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:345: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:345: error: (near initialization for ���global_functions[0].flags���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:346: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:346: error: (near initialization for ���global_functions[0].extra���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:347: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:347: error: (near initialization for ���global_functions[1].name���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:349: error: initializer element is not constant
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:349: error: (near initialization for ���global_functions[1].call���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:364: error: expected ���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before ���security_callbacks���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c: In function ���main���:
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:378: error: ���JSCrossCompartmentCall��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:378: error: ���call��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:378: error: invalid operands to binary * (have ���struct JSFunctionSpec *��� and ���struct JSFunctionSpec *���)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:378: warning: statement with no effect
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:400: error: ���JSOPTION_METHODJIT��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:400: warning: passing argument 2 of ���JS_SetOptions��� makes integer from pointer without a cast
> /usr/include/jsapi.h:571: note: expected ���uint32��� but argument is of type ���struct JSFunctionSpec *���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:405: warning: implicit declaration of function ���JS_SetRuntimeSecurityCallbacks���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:405: error: ���security_callbacks��� undeclared (first use in this function)
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:409: warning: implicit declaration of function ���JS_NewCompartmentAndGlobalObject���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:409: warning: assignment makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:413: warning: statement with no effect
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:433: warning: passing argument 5 of ���JS_InitClass��� from incompatible pointer type
> /usr/include/jsapi.h:1182: note: expected ���JSNative��� but argument is of type ���JSBool (*)(struct JSContext *, uintN,  jsval *)���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:453: warning: assignment makes pointer from integer without a cast
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:457: warning: implicit declaration of function ���JS_AddValueRoot���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:464: warning: assignment from incompatible pointer type
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:470: warning: passing argument 3 of ���JS_ExecuteScript��� from incompatible pointer type
> /usr/include/jsapi.h:1757: note: expected ���struct JSScript *��� but argument is of type ���struct JSObject *���
> /btf/TOOLS/npm-registry/apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c:476: warning: implicit declaration of function ���JS_RemoveValueRoot���
> make: *** [couch] Error 1
> {code}
> show me this error
> The OS is Centos 6.2



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)