[rrd-users] rpmbuild

Max Clark max.clark at gmail.com
Thu Feb 9 04:48:14 MET 2006


Hi all,

I am trying to create a rrdtool rpm on a CentOS 4.2 system, I am using
this rpmbuild command:

# rpmbuild -ba --define "_smp_mflags -j 1" rrdtool.spec

The rpmbuild fails with this error message:

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/rrdtool-1.2.12-1.test-root
error: Installed (but unpackaged) file(s) found:
   /usr/lib
/usr/share/tclrrd1.2.12/ifOctets.tcl
   /usr/lib
/usr/share/tclrrd1.2.12/pkgIndex.tcl
   /usr/lib/tclrrd1.2.12.so


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib
/usr/share/tclrrd1.2.12/ifOctets.tcl
   /usr/lib
/usr/share/tclrrd1.2.12/pkgIndex.tcl
   /usr/lib/tclrrd1.2.12.so

After quite some time I have identified the problem:

[root at db01 usr]# pwd
/var/tmp/rrdtool-1.2.12-1.test-root/usr
[root at db01 usr]# ls -la
total 28
drwxr-xr-x  7 root root 4096 Feb  9 03:36 .
drwxr-xr-x  3 root root 4096 Feb  9 03:36 ..
drwxr-xr-x  2 root root 4096 Feb  9 03:36 bin
drwxr-xr-x  2 root root 4096 Feb  9 03:36 include
drwxr-xr-x  4 root root 4096 Feb  9 03:36 lib
drwxr-xr-x  3 root root 4096 Feb  9 03:36 lib
drwxr-xr-x  5 root root 4096 Feb  9 03:36 share

If you look closely there are two "lib" directories, and one of them
has a space in the directory name "lib ".

How do I fix this so the rpmbuild works properly?

TIA,
Max
--
 Max Clark
 http://www.clarksys.com

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



More information about the rrd-users mailing list