[rrd-developers] creating a rpm from rrdtool-1.0.49.tar.gz over fedora 1

asdasdsad asdasdasd docume at lycos.es
Tue Apr 12 10:11:44 MEST 2005


body{font:12px
Arial;margin:3px;overflow-y:auto;overflow-x:auto}p{margin:0px;}blockquote,
ol, ul{margin-top:0px;margin-bottom:0px;} Hi all,
First of all excuse me if it isn't the correct mailing list to ask my dude.

I am using a Fedora 1 box and I am trying to create the rpm from 
rrdtool-1.0.49.tar.gz but it is impossible and I don't know exactly the
reason.

I use the command...
# rpmbuild -tb rrdtool-1.0.49.tar.gz

and I see..

[...]
Processing files: rrdtool-devel-1.0.49-1.1
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.86422
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd rrdtool-1.0.49
+ DOCDIR=/var/tmp/rrdtool-root/usr/share/doc/rrdtool-devel-1.0.49
+ export DOCDIR
+ rm -rf /var/tmp/rrdtool-root/usr/share/doc/rrdtool-devel-1.0.49
+ /bin/mkdir -p /var/tmp/rrdtool-root/usr/share/doc/rrdtool-devel-1.0.49
+ cp -pr examples/bigtops.pl examples/cgi-demo.cgi examples/Makefile
examples/minmax.pl examples/piped-demo.pl examples/share9
+ exit 0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/perl perl(RRDp) perl(RRDs) perl(lib) perl(strict)
perl(vars) rrdtool
Processing files: rrdtool-debuginfo-1.0.49-1.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.55851 (%doc)

Ok, then I execute a 'cat /var/tmp/rpm-tmp.55851' and I see...

#!/bin/sh

  RPM_SOURCE_DIR="/tmp"
  RPM_BUILD_DIR="/usr/src/redhat/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -march=i386 -mcpu=i686"
  RPM_ARCH="i386"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="rrdtool"
  RPM_PACKAGE_VERSION="1.0.49"
  RPM_PACKAGE_RELEASE="1.1"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  RPM_BUILD_ROOT="/var/tmp/rrdtool-root"
  export RPM_BUILD_ROOT


  set -x
  umask 022
  cd /usr/src/redhat/BUILD
cd rrdtool-1.0.49
DOCDIR=$RPM_BUILD_ROOT/usr/share/doc/rrdtool-1.0.49
export DOCDIR
rm -rf $DOCDIR
/bin/mkdir -p $DOCDIR
cp -pr  C* README TODO doc/*.txt doc/*.html contrib/* $DOCDIR
exit 0

So, what's wrong?
How can I fix this isse?

Thanks in advance.

Regards.
Luis Miguel Cruz.


Comparte tus fotos y revélalas sin moverte de casa. Papel Kodak Royal, ¡Sólo
1 Euro gastos de envío!
OFERTA ANIVERSARIO: 15x20 por sólo 0.50eur.Tus fotos digitales en
PIXELIN.COM[1]

--- Links ---
   1 http://www.lycos.es/cgi-bin/nph-bounce?footer-pixelin|http://revelado.lycos.es/

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-developers
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-developers mailing list