| Summary: | ruby-devel should dep in redhat-rpm-config for mkmf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | postmodern <postmodern.mod3> |
| Component: | ruby | Assignee: | Jeroen van Meeuwen <vanmeeuwen+fedora> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | mmorsi, mtasaka, s, strzibny, tagoh, vanmeeuwen+fedora, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-05 09:55:11 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: | |
*** This bug has been marked as a duplicate of bug 1284684 *** |
Description of problem: ruby-devel contains the mkmf library which generates `./configure` scripts for building ruby C extensions. This `./configure` script happens to test gcc with the following command: gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -ldl -lcrypt -lm -lc This command will fail unless redhat-rpm-config is installed, which provides the required /usr/lib/rpm/redhat/redhat-hardened-cc1 file. Version-Release number of selected component (if applicable): 2.3.1-58.fc25 How reproducible: repeatable Steps to Reproduce: 1. Ensure redhat-rpm-config is not installed. 2. sudo dnf install rubygems ruby-devel 3. gem install unf_ext 4. sudo dnf install redhat-rpm-config 3. gem install unf_ext Actual results: FAIL then PASS Expected results: PASS and PASS Additional info: