build-couchdb build fails in SpiderMonkey on Debian Lenny 32-bit
----------------------------------------------------------------

                 Key: COUCHDB-938
                 URL: https://issues.apache.org/jira/browse/COUCHDB-938
             Project: CouchDB
          Issue Type: Bug
          Components: Build System
         Environment: Debian Lenny (5.0) 32-bit
            Reporter: Frank Schroeder


I've followed the steps on couch.io for building without dependency hell on 
Debian Lenny 32-bit. However, this is a linux-vserver which runs on a 64-bit 
Ubuntu 10.04 host system. Maybe the configure script is making the wrong 
assumptions about the word size?

(07:29:17) frank [mika]:~/git/build-couchdb# file /bin/bash
/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped


git clone git://github.com/couchone/build-couchdb
cd build-couchdb
git submodule init
git submodule update
rake

...

## --------- ##
## Platform. ##
## --------- ##

hostname = frank
uname -m = x86_64
uname -r = 2.6.32-25-vserver
uname -s = Linux
uname -v = #44~ppa2-Ubuntu SMP Wed Oct 27 21:12:19 UTC 2010


...

c++ -o jsapi.o -c -I./dist/system_wrappers_js -include 
/root/git/build-couchdb/dependencies/js_src/config/gcc_hidden.h 
-DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXPORT_JS_API   
-I/root/git/build-couchdb/dependencies/js_src -I. -I./dist/include 
-I./dist/include/nsprpub     -I/root/git/build-couchdb/dependencies/js_src  
-fPIC  -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual 
-Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align 
-Wno-invalid-offsetof -Wno-variadic-macros -Wno-long-long -pedantic 
-fno-strict-aliasing -pthread -pipe  -DNDEBUG -DTRIMMED -O3 -fstrict-aliasing   
 -DMOZILLA_CLIENT -include ./js-confdefs.h -Wp,-MD,.deps/jsapi.pp 
/root/git/build-couchdb/dependencies/js_src/jsapi.cpp
In file included from 
/root/git/build-couchdb/dependencies/js_src/nanojit/nanojit.h:277,
                 from 
/root/git/build-couchdb/dependencies/js_src/jsbuiltins.h:45,
                 from /root/git/build-couchdb/dependencies/js_src/jsapi.cpp:59:
/root/git/build-couchdb/dependencies/js_src/nanojit/Containers.h:164: error: 
integer constant is too large for 'long' type
make[1]: *** [jsapi.o] Error 1
make[1]: Leaving directory `/tmp/tracemonkey_build20101107-10375-oeuo6o'
make: *** [default] Error 2
git checkout HEAD configure.in
git clean -df .
Removing configure
rake aborted!
Command failed with status (2): [make ...]

(See full trace by running task with --trace)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to