iriscouch/build-couchdb

rake fails on Debian Wheezy

Opened this issue · 0 comments

Hi All,
Downloaded build-couchdb yesterday and followed instructions to install on Raspberry Pi running latest Debian Wheezy, fully up to date (Linux 3.6.11+ #414 PREEMPT armv6l). rake fails a few hours in the process. The latest lines I see from the console are below. I am happy to run any tests you suggest to help you debugging the issue.

I am aware I can install CouchDB simply using apt-get.

Giacecco

dummy-hello.c: In function 'main':
dummy-hello.c:2:21: warning: missing terminating " character [enabled by default]
dummy-hello.c:2:1: error: missing terminating " character
dummy-hello.c:3:1: warning: missing terminating " character [enabled by default]
dummy-hello.c:3:1: error: missing terminating " character
dummy-hello.c:3:1: error: expected expression at end of input
dummy-hello.c:3:1: error: expected declaration or statement at end of input
configure:13974: gcc -c  -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp  -pipe  conftest.c 1>&5
configure:14004: checking whether C compiler supports -fprofile-generate
configure:14013: gcc -c  -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp  -pipe -fprofile-generate -fprofile-correction  conftest.c 1>&5
configure:14077: checking whether C++ compiler has -pedantic long long bug
configure:14086: c++ -c  -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp  -pipe  -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long  conftest.C 1>&5
configure:14111: checking for correct temporary object destruction order
configure:14139: c++ -o conftest  -fno-strict-aliasing -pthread -march=armv7-a -marm -mfloat-abi=softfp  -pipe  -lpthread  conftest.C -ldl  1>&5
/usr/bin/ld: error: conftest uses VFP register arguments, /tmp/cci2EVuM.o does not
/usr/bin/ld: failed to merge target specific data of file /tmp/cci2EVuM.o
collect2: ld returned 1 exit status
configure: failed program was:
#line 14116 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
#endif
 class A {
             public:  A(int& x) : mValue(x) {}
                      ~A() { mValue--; }
                      operator char**() { return 0; }
             private:  int& mValue;
             };
             void func(char **arg) {}
             int m=2;
             void test() {
                  func(A(m));
                  if (m==1) m = 0;
             }
             int main() {
                 test();
                 return(m);
             }

== End of config.log ==
rake aborted!
Command failed with status (1): [env /home/pi/build-couchdb/dependencies/sp...]

Tasks: TOP => default => couchdb:build => couchdb:couchdb => tracemonkey:build => /home/pi/build-couchdb/build/bin/js-config
(See full trace by running task with --trace)