You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Jeroen Janssen <je...@gmail.com> on 2012/02/24 10:58:45 UTC
Rebuilding the couchdb rpm on CentOS6.2?
Hi,
I have a CentOS 6.2 machine currently running couchdb-1.0.2-8.el6.x86_64
In order to (eventually) build a couchdb 1.2 rpm I am trying to
rebuild couchdb 1.0.2 from the source rpm to verify my build
environment is setup correctly.
I installed the couchdb-1.0.2 source rpm and did yum-builddep couchdb
to install the build dependencies.
However, rebuilding the rpm fails for me with failing tests and as a
result doesn't finish correctly.
Test Summary Report
-------------------
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/070-couch-db.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 4 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/110-replication-httpc.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 6 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/111-replication-changes-feed.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 13 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/112-replication-missing-revs.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 12 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/113-replication-attachment-comp.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 45 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/130-attachments-md5.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 16 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/140-attachment-comp.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 86 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/150-invalid-view-seq.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 10 tests but ran 0.
/home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/160-vhosts.t
(Wstat: 256 Tests: 0 Failed: 0)
Non-zero exit status: 1
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=34, Tests=332, 22 wallclock secs ( 0.16 usr 0.06 sys + 12.21
cusr 5.77 csys = 18.20 CPU)
Result: FAIL
make: *** [check] Error 1
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.acze6o (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.acze6o (%check)
Has anyone else ever rebuild couchdb (1.0.2) from the source rpm
succesfully (or any tips/hints on how to proceed here)?
Is anyone else working on getting a couchdb 1.2 rpm working for RHEL6/CentOS6?
Thanks in advance,
Jeroen Janssen
Re: Rebuilding the couchdb rpm on CentOS6.2?
Posted by Jeroen Janssen <je...@gmail.com>.
Hi,
Just a heads up, the etap tests in couchdb 1.0.2 require to run on
port 5984 (this was fixed in 1.0.3).
I just rebuild the couchdb 1.0.2 rpm without any issues on a CentOS6.2
VM without couchdb running.
Best regards,
Jeroen Janssen
On Fri, Feb 24, 2012 at 10:58 AM, Jeroen Janssen
<je...@gmail.com> wrote:
> Hi,
>
> I have a CentOS 6.2 machine currently running couchdb-1.0.2-8.el6.x86_64
>
> In order to (eventually) build a couchdb 1.2 rpm I am trying to
> rebuild couchdb 1.0.2 from the source rpm to verify my build
> environment is setup correctly.
> I installed the couchdb-1.0.2 source rpm and did yum-builddep couchdb
> to install the build dependencies.
>
> However, rebuilding the rpm fails for me with failing tests and as a
> result doesn't finish correctly.
>
> Test Summary Report
> -------------------
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/070-couch-db.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 4 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/110-replication-httpc.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 6 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/111-replication-changes-feed.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 13 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/112-replication-missing-revs.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 12 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/113-replication-attachment-comp.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 45 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/130-attachments-md5.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 16 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/140-attachment-comp.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 86 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/150-invalid-view-seq.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 10 tests but ran 0.
> /home/rpmbuild/rpmbuild/BUILD/apache-couchdb-1.0.2/test/etap/160-vhosts.t
> (Wstat: 256 Tests: 0 Failed: 0)
> Non-zero exit status: 1
> Parse errors: Bad plan. You planned 4 tests but ran 0.
> Files=34, Tests=332, 22 wallclock secs ( 0.16 usr 0.06 sys + 12.21
> cusr 5.77 csys = 18.20 CPU)
> Result: FAIL
> make: *** [check] Error 1
> + exit 1
> error: Bad exit status from /var/tmp/rpm-tmp.acze6o (%check)
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.acze6o (%check)
>
> Has anyone else ever rebuild couchdb (1.0.2) from the source rpm
> succesfully (or any tips/hints on how to proceed here)?
> Is anyone else working on getting a couchdb 1.2 rpm working for RHEL6/CentOS6?
>
> Thanks in advance,
>
> Jeroen Janssen