wendall911 / couchdb-rpm

Sources for RPM packages for CouchDB
23 stars 11 forks source link

Tests fail while rebuilding RPM #14

Closed christophe-lejeune closed 10 years ago

christophe-lejeune commented 10 years ago

In an attempt to install CouchDB (1.6) on Centos 6.5, I followed the instructions of this repo (including those to build and install js185). As far as I can diagnose, everything went well until last command from step 2 (rpmbuild --rebuild). All the tests fail (see output hereunder). Would you have any idea on what could be wrong ? Do not hesitate to ask me for details if needed.

Test Summary Report
-------------------
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/02-map-views.t   (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/03-red-views.t   (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/04-index-info.t  (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/05-collation.t   (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/06-all-docs.t    (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview/test/07-compact-swap.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=7, Tests=6, 10 wallclock secs ( 0.05 usr  0.03 sys +  6.09 cusr  3.84 csys = 10.01 CPU)
Result: FAIL
make[2]: *** [check] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src/couch_mrview'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/apache-couchdb-1.6.0/src'
make: *** [check-recursive] Error 1
christophe-lejeune commented 10 years ago

I have identified where the issue described above comes from. In my previous attempts to install CouchDB, I have tried to install js185, Erlang and CouchDB from sources. Two concurrent versions of Erlang were thus present of my system : one installed from sources, the other installed as a package dependance. I started again with a complete new system and the install procedure succeeded !