pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43895: failed databases/couchdb-1.0.1 compilation



>Number:         43895
>Category:       pkg
>Synopsis:       failed databases/couchdb-1.0.1 compilation
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 22 14:05:00 +0000 2010
>Originator:     Derouiche
>Release:        NetBSD 5.0.2
>Organization:
>Environment:
NetBSD ToraboraServer 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 
2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
n/a
>How-To-Repeat:
In file included from couch_js/http.c:19:
couch_js/utf8.h:19:7: warning: no newline at end of file
mv -f .deps/couchjs-http.Tpo .deps/couchjs-http.Po
cc -DHAVE_CONFIG_H -I. -I../../..   -L/usr/pkg -L/usr/local/lib 
-L/opt/local/lib -I/usr/pkg/lib/erlang/usr/include -I/usr/pkg -DXP_UNIX  
-I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -D_BSD_SOURCE 
-I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 
-MT couchjs-main.o -MD -MP -MF .deps/couchjs-main.Tpo -c -o couchjs-main.o 
`test -f 'couch_js/main.c' || echo './'`couch_js/main.c
In file included from couch_js/main.c:19:
couch_js/utf8.h:19:7: warning: no newline at end of file
In file included from couch_js/main.c:20:
couch_js/http.h:18:7: warning: no newline at end of file
couch_js/main.c:262: error: 'JSCLASS_GLOBAL_FLAGS' undeclared here (not in a 
function)
gmake[4]: *** [couchjs-main.o] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/databases/couchdb/work/apache-couchdb-1.0.1/src/couchdb/priv'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/databases/couchdb/work/apache-couchdb-1.0.1/src/couchdb'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/databases/couchdb/work/apache-couchdb-1.0.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/databases/couchdb/work/apache-couchdb-1.0.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/couchdb
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/couchdb
*** Error code 1

>Fix:

added patch:
--- src/couchdb/priv/couch_js/main.c.orig       2010-09-22 11:27:47.000000000 +0
000
+++ src/couchdb/priv/couch_js/main.c    2010-09-22 11:38:55.000000000 +0000
@@ -13,7 +13,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#include <jsapi.h>
+#include <xulrunner/jsapi.h>
 #include "config.h"

 #include "utf8.h"

and 

insert xulrunner dependency in Makefile



Home | Main Index | Thread Index | Old Index