Bug 1401266 - ruby-devel should dep in redhat-rpm-config for mkmf
Summary: ruby-devel should dep in redhat-rpm-config for mkmf
Keywords:
Status: CLOSED DUPLICATE of bug 1284684
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: 25
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-04 06:38 UTC by postmodern
Modified: 2016-12-05 09:55 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-05 09:55:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description postmodern 2016-12-04 06:38:49 UTC
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:

Comment 1 Vít Ondruch 2016-12-05 09:55:11 UTC

*** This bug has been marked as a duplicate of bug 1284684 ***


Note You need to log in before you can comment on or make changes to this bug.