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:

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.