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 build-functions.sh 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-

 

Thanks!

-Trey

 

Here's the tailend of the build output:

+ umask 022
+ cd /home/trey/rpmbuild/BUILD
+ '[' /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64 '!=' / ']'
+ rm -rf /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64
++ dirname /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64
+ mkdir -p /home/trey/rpmbuild/BUILDROOT
+ mkdir /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64
+ cd zenoss-2.5.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ QA_SKIP_BUILD_ROOT=DO_NOT_WANT
+ export QA_SKIP_BUILD_ROOT
+ /usr/lib/rpm/find-debuginfo.sh --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: zenoss-2.5.0-427.f11.mw.x86_64
error: File not found: /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64/mw/zenoss/Products/LICENSE.txt
error: File not found: /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64/mw/zenoss/Products/COPYRIGHT.txt
error: File not found: /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64/mw/zenoss
error: File not found: /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64/mw/zenoss/bin/zensocket
error: File not found: /home/trey/rpmbuild/BUILDROOT/zenoss-2.5.0-427.f11.mw.x86_64/etc

More Like This

  • Retrieving data ...

Legend

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