Bug 1111633 - RFE: alter rrdtool.spec for easier el6 rebuild
Summary: RFE: alter rrdtool.spec for easier el6 rebuild
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rrdtool
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-20 14:57 UTC by Japheth Cleaver
Modified: 2014-06-24 16:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-24 16:28:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch allowing clean el6 rebuild (671 bytes, text/plain)
2014-06-20 14:57 UTC, Japheth Cleaver
no flags Details

Description Japheth Cleaver 2014-06-20 14:57:17 UTC
Created attachment 910800 [details]
Patch allowing clean el6 rebuild

Description of problem:

With a small patch, the most recent rawhide version of the rrdtool-1.4.8 RPM can be rebuilt on EL6.

Version-Release number of selected component (if applicable):
rrdtool-1.4.8-13.fc21.src.rpm

How reproducible:
Always

Steps to Reproduce:
1.rpm -ivh rrdtool-1.4.8-13.fc21.src.rpm on an EL6 box
2.rpmbuild -ba rrdtool.spec
3.

Actual results:
lua/ruby build errors

Expected results:
Builds cleanly

Additional info:
make[4]: Entering directory `/home/rpmbuild/BUILD/rrdtool-1.4.8/bindings/ruby'
Makefile:152: Commands were specified for file `RRD.so' at Makefile:122,
Makefile:152: but `RRD.so' is now considered the same file as `/usr/lib64/ruby/1.8/x86_64-linux/RRD.so'.
Makefile:152: Commands for `/usr/lib64/ruby/1.8/x86_64-linux/RRD.so' will be ignored in favor of those for `RRD.so'.
make[4]: Circular /usr/lib64/ruby/1.8/x86_64-linux/RRD.so <- /usr/lib64/ruby/1.8/x86_64-linux/RRD.so dependency dropped.
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -I../../src    -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing  -fPIC   -c main.c
/usr/bin/install -c -m 0755 RRD.so /usr/lib64/ruby/1.8/x86_64-linux
/usr/bin/install: cannot stat `RRD.so': No such file or directory
make[4]: *** [/usr/lib64/ruby/1.8/x86_64-linux/RRD.so] Error 1

Comment 1 Jaroslav Škarvada 2014-06-24 16:28:10 UTC
I don't like these backward compatiblity hacks, especially the conditional application of patches. If there is any functionality not provided by RHEL-6 version, please open RHEL-6 bugzilla. RHEL-6 rebuild is not supported and may break anytime in the future.


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