Bug 979761
Summary: | cannot build ruby from source -- tests fail | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | cpg <cpg> |
Component: | ruby | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | bkabrda, cpg, jeremy, mmorsi, mtasaka, tagoh, vanmeeuwen+fedora, vondruch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-03 12:24:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
cpg
2013-06-30 10:13:22 UTC
You have probably already installed Ruby on your system. If you uninstall them, the test suite should pass. BTW, it is always better to use Mock [1] for rebuilds etc. [1] https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds I will try it with mock later. When compiling it with ruby uninstalled, it still fails. Similar error: 6) Error: test_execute_default_gem(TestGemCommandsPristineCommand): Gem::InstallError: invalid gem: No such file or directory - /tmp/test_rubygems_4136/default/specifications/cache/default-2.0.0.0.gem Sorry, the ruby package is not designed nor can be designed to build without mock. The build fails either because you build it as privileged user or because you have already installed version of Ruby. If some particular test case does not work for you, you can execute it using "make test-all TESTS=test_foo" from Ruby's build directory and add some debug prints into test case to understand the problem. |