Bug 1505427 - Ruby-SDK build requires redhat-rpm-config which is not listed in requirements
Summary: Ruby-SDK build requires redhat-rpm-config which is not listed in requirements
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-sdk-ruby
Classification: oVirt
Component: Build
Version: 4.1.9
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Juan Hernández
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-23 14:41 UTC by Radim Hrazdil
Modified: 2017-12-20 10:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:44:38 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83165 0 master MERGED Require `redhat-rpm-config` for building 2017-10-25 10:30:08 UTC
oVirt gerrit 83167 0 sdk_4.1 MERGED Require `redhat-rpm-config` for building 2017-10-25 12:55:52 UTC

Description Radim Hrazdil 2017-10-23 14:41:19 UTC
Description of problem:
Build of Ruby SDK requires package redhat-rpm-config to be installed, but it is not listed in requirements in the SDK README.adoc.


Version-Release number of selected component (if applicable):
ovirt-engine-sdk-ruby-4.1.9 

How reproducible:
100%

Steps to Reproduce:
1. redhat-rpm-config not installed 
2. run: mvn package

Actual results:
build fails.

Expected results:
build should succeed.

Additional info:
Discovered on clean installation of Fedora 25, where redhat-rpm-config is not preinstalled.

Comment 1 Juan Hernández 2017-10-23 14:54:28 UTC
What command/commands are you using exactly to do the build?

Comment 2 Radim Hrazdil 2017-10-24 08:18:15 UTC
I followed the steps in https://github.com/oVirt/ovirt-engine-sdk-ruby . 
To run the build I used 'mvn package' to run the build.

Comment 3 Juan Hernández 2017-10-25 10:18:07 UTC
The `redhat-rpm-config` is required because the version of Ruby included in the distribution generates Makefiles that require the `redhat-hardened-cc1` file. That file is part of the `redhat-rpm-config` package, but that package it isn't explicitly required by `ruby-devel`. That could be considered a bug in the `ruby-devel` package. To avoid the issue we will update the documentation to explicitly require the `redhat-rpm-config`.

Comment 4 Radim Hrazdil 2017-11-16 14:02:13 UTC
Verified that redhat-rpm-config is explicitly required in the documentation.

Comment 5 Sandro Bonazzola 2017-12-20 10:44:38 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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