[DRBD-user] Drbd 8.3.0 rc1 rpm build failing

Hari Sekhon hpsekhon at googlemail.com
Tue Dec 2 18:43:43 CET 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


I've grabbed the latest drbd-8.3.0rc1.tar.gz from the 
http://oss.linbit.com/drbd/ website but it won't build.

I've tried building the rpm using

make rpm

but it fails as follows:

install -m 755 drbd.sh.rhcs 
/home/build/drbd-8.3.0rc1/dist/install//usr/share/cluster/drbd.sh
install -m 644 drbd.metadata.rhcs 
/home/build/drbd-8.3.0rc1/dist/install//usr/share/cluster/drbd.metadata

Don't forget to run update-rc.d or chkconfig
make[2]: Leaving directory 
`/home/build/drbd-8.3.0rc1/dist/BUILD/drbd-8.3.0rc1/scripts'
make[2]: Entering directory 
`/home/build/drbd-8.3.0rc1/dist/BUILD/drbd-8.3.0rc1/documentation'
drbdsetup.8 missing
drbd.conf.5 missing
drbd.8 missing
drbdadm.8 missing
drbddisk.8 missing
drbdmeta.8 missing
make[2]: *** [install] Error 1
make[2]: Leaving directory 
`/home/build/drbd-8.3.0rc1/dist/BUILD/drbd-8.3.0rc1/documentation'
make[1]: *** [install] Error 2
make[1]: Leaving directory 
`/home/build/drbd-8.3.0rc1/dist/BUILD/drbd-8.3.0rc1'
error: Bad exit status from /var/tmp/rpm-tmp.70608 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.70608 (%install)
make: *** [rpm] Error 1


I'm trying to build this on CentOS 5. This is a dedicated build system 
on which I have built rpms before successfully.

Looks like it's complaining about documentation files that are missing, 
in the documentation subdir, there are sgml files.

EDIT: I figured out I need docbook-utils and did a make doc in the 
documentation subdir, then rebuilt the rpm successfully.

-h

-- 
Hari Sekhon
Always open to interesting opportunities
http://www.linkedin.com/in/harisekhon




More information about the drbd-user mailing list