[Xymon] Building from .spec file

Colin Coe colin.coe at gmail.com
Tue Apr 19 09:04:03 CEST 2011


Hi all

I'm attempting to build an RPM of xymon 4.3.2 on a RHEL box using
mock.  I'm getting the following at the end of
/var/lib/mock/epel-6-x86_64/result/build.log.
---
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: xymon-4.3.2-1.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rYcaIi
error: File not found:
/builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/var/lib/xymon/www/menu/xymonmenu.css
+ umask 022
+ cd /builddir/build/BUILD
+ cd xymon-4.3.2
+ DOCDIR=/builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/usr/share/doc/xymon-4.3.2
+ export DOCDIR
+ rm -rf /builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/usr/share/doc/xymon-4.3.2
+ /bin/mkdir -p
/builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/usr/share/doc/xymon-4.3.2
+ cp -pr README README.CLIENT Changes COPYING CREDITS RELEASENOTES
/builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/usr/share/doc/xymon-4.3.2
+ exit 0
RPM build errors:
    File not found:
/builddir/build/BUILDROOT/xymon-4.3.2-1.x86_64/var/lib/xymon/www/menu/xymonmenu.css
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/xymon.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py",
line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.6/site-packages/mock/util.py", line 325, in do
    raise mock.exception.Error, ("Command failed. See logs for
output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/xymon.spec']
LEAVE do --> EXCEPTION RAISED
---

Any one seen/resolved this?

Thanks

CC

-- 
RHCE#805007969328369



More information about the Xymon mailing list