wendall911 / couchdb-rpm

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

cp couchdb.tmpfiles.conf ~root/rpmbuild/SOURCES/ #1

Closed cmadsen closed 10 years ago

cmadsen commented 12 years ago

cp couchdb.tmpfiles.conf ~root/rpmbuild/SOURCES/

Is missing for install howto.

And when it runs the tests it fails:

/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/200-view-group-no-db-leaks.t ... Failed 1/33 subtests /root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/201-view-group-shutdown.t ...... ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/210-os-proc-pool.t ............. ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/220-compaction-daemon.t ........ ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/230-httpc-pool.t ............... ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/240-replication-compact.t ...... ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/241-replication-large-atts.t ... ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/242-replication-many-leaves.t .. ok
/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/243-doc-missing-stubs.t ........ ok

Test Summary Report

/root/rpmbuild/BUILD/apache-couchdb-1.2.0/test/etap/200-view-group-no-db-leaks.t (Wstat: 0 Tests: 33 Failed: 1) Failed test: 31 Files=50, Tests=2934, 3

wendall911 commented 12 years ago

Thanks for letting me know, I'll update the install instructions.

As for the tests, did you try an re-run them?

What is your specific distribution and version? I'm curious, as I've not seen this test fail on any of my machines. I'm assuming a recent version of Fedora since couchdb.tmpfiles.conf was required.

cmadsen commented 12 years ago

uname -a Linux com-dell-laptop 3.4.9-2.fc16.i686.PAE #1 SMP Thu Aug 23 18:41:34 UTC 2012 i686 i686 i386 GNU/Linux

I used the latest tar.gz from the couchdb home page.

I removed the make test part and went ahead and installed it, I got bitten by fedora updating erlang but not the couchdb rpm so I had no couchdb anyways. It seems to run ok despite the failed tests. The service script does not work but I have not yet had a look at was is wrong.

Thanks for the hard work.

ruckc commented 11 years ago

I'm getting this issue on RHEL6. I can't identify how to remove the make test, and i'm seeting any updates in the instructions to address skipping it.

cmadsen commented 11 years ago

In couchdb.spec comment out:

%check

make check || exit 1