Bug 1324522 - A package "redhat-rpm-config" should be listed at the Developer Deployment page
Summary: A package "redhat-rpm-config" should be listed at the Developer Deployment page
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: Unspecified
Hardware: All
OS: All
unspecified
low vote
Target Milestone: Unspecified
Assignee: Barnaby Court
QA Contact: Katello QA List
URL: http://www.candlepinproject.org/docs/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 14:15 UTC by Jan Stavel
Modified: 2016-04-06 14:25 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-06 14:25:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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