Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1324522

Summary: A package "redhat-rpm-config" should be listed at the Developer Deployment page
Product: Red Hat Satellite Reporter: Jan Stavel <jstavel>
Component: CandlepinAssignee: Barnaby Court <bcourt>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: Unspecified   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: All   
URL: http://www.candlepinproject.org/docs/candlepin/developer_deployment.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 14:25:43 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 Jan Stavel 2016-04-06 14:15:28 UTC
I have tried to deploy candlepin server on Fedora23.

 command "bundle install" gives me an error:

   #+BEGIN_SRC
   Installing rjb 1.4.8 with native extensions

   Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

   current directory: /home/fedora/.gem/ruby/gems/rjb-1.4.8/ext
   /usr/bin/ruby -r ./siteconf20160406-3574-y4l574.rb extconf.rb
   checking for jni.h... *** extconf.rb failed ***
   Could not create Makefile due to some reason, probably lack of necessary
   libraries and/or headers.  Check the mkmf.log file for more details.  You may
   need configuration options.
   #+END_SRC

content of mkmf.log

   #+BEGIN_SRC
   have_header: checking for jni.h... -------------------- yes

   "gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I"/usr/lib/jvm/java-1.8.0//include" -I"/usr/lib/jvm/java-1.8.0//include/linux"    -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 -I"/usr/lib/jvm/java-1.8.0//include"\
   -I"/usr/lib/jvm/java-1.8.0//include/linux" 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"
   checked program was:
   /* begin */
   1: #include "ruby.h"
   2:
   3: int main(int argc, char **argv)
   4: {
   5:   return 0;
   6: }
   /* end */
   #+END_SRC

solution:

   #+BEGIN_SRC
   dnf install redhat-rpm-config
   #+END_SRC

Please, add this dependency to the Developer Deployment page.

Comment 1 RHEL Program Management 2016-04-06 14:25:43 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.