Skip navigation
22609 Views 1 Reply Latest reply: Dec 2, 2009 2:16 PM by g3vt RSS
g3vt Rank: Green Belt 104 posts since
Nov 26, 2007
Currently Being Moderated

Nov 10, 2009 2:34 PM

Rebuilding 2.5 src rpm on Fedora 11

Hi all,


I'm attempting to rebuild the Zenoss SRC rpm on Fedora 11 to incorporate a few company specific changes (such as default zenhome to start with).  I've extracted the src rpm, and have attempted to build it using `rpmbuild -bb SPEC/zenoss-2.5.0.spec` (after a few tweaks to to include the contents of shared-functions and install-functions since the test & source of the files was failing) I can get the project to build, but somewhere during the packaging of the RPM, either rpmbuild or the spec file is deleting the compiled output before its packaged.


(PS, i've tried building this as root and as a non priveleged user)


Hopefully somebody will have some thoughts our insight-





Here's the tailend of the build output:

+ umask 022
+ cd /home/trey/rpmbuild/BUILD
+ '[' /home/trey/rpmbuild/BUILDROOT/ '!=' / ']'
+ rm -rf /home/trey/rpmbuild/BUILDROOT/
++ dirname /home/trey/rpmbuild/BUILDROOT/
+ mkdir -p /home/trey/rpmbuild/BUILDROOT
+ mkdir /home/trey/rpmbuild/BUILDROOT/
+ cd zenoss-2.5.0
+ export LANG
+ unset DISPLAY
+ /usr/lib/rpm/ --strict-build-id /home/trey/rpmbuild/BUILD/zenoss-2.5.0
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files:
error: File not found: /home/trey/rpmbuild/BUILDROOT/
error: File not found: /home/trey/rpmbuild/BUILDROOT/
error: File not found: /home/trey/rpmbuild/BUILDROOT/
error: File not found: /home/trey/rpmbuild/BUILDROOT/
error: File not found: /home/trey/rpmbuild/BUILDROOT/

More Like This

  • Retrieving data ...


  • Correct Answers - 4 points
  • Helpful Answers - 2 points