wendall911 / couchdb-rpm

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

conflict with package info-4.13a #4

Closed ananich closed 11 years ago

ananich commented 11 years ago

Just tried to build couchdb 1.3.0 and build was successful. However during install I see the following error:

Transaction Check Error: file /usr/share/info/dir from install of couchdb-1.3.0-1.el6.x86_64 conflicts with file from package info-4.13a-8.el6.x86_64

ananich commented 11 years ago

As far as I know this dir have to be removed from the package. Here is a quote:

You have /usr/info/dir or /usr/share/info/dir in your package. It will cause conflicts with other packages and thus is not allowed. Please remove it.

wendall911 commented 11 years ago

This is some cruft in the couchdb build system. I'll work up a patch to fix. Thanks for testing!

ebadedude commented 11 years ago

FYI. I got the same thing as well...

$ rpm -ivh couchdb-1.3.0-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
    file /usr/share/info/dir from install of couchdb-1.3.0-1.el6.x86_64 conflicts with file from package info-4.13a-8.el6.x86_64
wendall911 commented 11 years ago

Ok, sorry about this everyone. I did this last night in a rush. I've now tested this for install/uninstall. Everything is working now. Please let me know if you have any other issues. Thanks for the feedback!

ananich commented 11 years ago

Works fine for me, thank you!

ebadedude commented 11 years ago

I now get the following error when building the RPM:

** Reason for termination ==
** killed
ok

Test Summary Report
-------------------
/home/<user>/rpmbuild/BUILD/apache-couchdb-1.3.0/src/couch_replicator/test/05-replication-many-leaves.t (Wstat: 0 Tests: 55 Failed: 2)
  Failed tests:  53, 55
  Parse errors: Bad plan.  You planned 56 tests but ran 55.
Files=6, Tests=1815, 180 wallclock secs ( 0.73 usr  0.07 sys + 239.87 cusr  6.26 csys = 246.93 CPU)
Result: FAIL
wendall911 commented 11 years ago

@ebadedude This isn't an issue with the ebuild, rather the test suite. Re-run the tests and it should pass. We're working on improving the test suite to fix the random failure issues. It's not a couchdb failure, but test suite issues. You should be able to confirm this by re-running the test from the build directory individually ./test/etap/run ./src/couch_replicator/test/05-replication-many-leaves

wendall911 commented 11 years ago

@ebadedude This fails for me occasionally as well. Something to do with slower spinning disks. I just did a bunch of refactor work on the javascript test suite that I've included with this rpm as a patch. Those fixes will land in the next release of CouchDB. We'll continue to work on these tests until they run well on all hardware. Sorry for the inconvenience!

ebadedude commented 11 years ago

Sounds good...