[DRBD-user] Problems building drb-utils

Michael Schwartzkopff ms at sys4.de
Fri Nov 1 16:05:02 CET 2019


Hi,

When I build drbd-utils from the sources I get into trouble.

git clone https://github.com/LINBIT/drbd-utils.git
cd drbd-utils
aclocal
autoheader
autoconf
./configure --without-xen --without-83support --without-84support
make tarball
make rpm
(...)
make[2]: Entering directory
'/root/rpmbuild/BUILD/drbd-utils-9.11.0/documentation/v84'
test -f drbdsetup.8
test -f drbd.conf.5
test -f drbd.8
test -f drbdadm.8
test -f drbdmeta.8
test -f drbddisk.8
make[2]: *** [../common/Makefile_v84_com_post:144: drbdsetup.8] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [../common/Makefile_v84_com_post:47: drbd.8] Error 1
make[2]: *** [../common/Makefile_v84_com_post:47: drbd.conf.5] Error 1
make[2]: *** [../common/Makefile_v84_com_post:47: drbdadm.8] Error 1
make[2]: *** [../common/Makefile_v84_com_post:47: drbdmeta.8] Error 1
make[2]: *** [../common/Makefile_v84_com_post:47: drbddisk.8] Error 1
make[2]: Leaving directory
'/root/rpmbuild/BUILD/drbd-utils-9.11.0/documentation/v84'
make[1]: *** [Makefile:111: doc] Error 2
make[1]: Leaving directory '/root/rpmbuild/BUILD/drbd-utils-9.11.0'
error: Bad exit status from /var/tmp/rpm-tmp.t5ZFVh (%build)


RPM build errors:
    Macro expanded in comment on line 1: %{_initddir} is available from
Fedora

    Macro expanded in comment on line 2: %{_initrddir}. Neither are known to

    Macro expanded in comment on line 71: %{with rgmanager}

    Macro expanded in comment on line 75: %{version}

    Macro expanded in comment on line 82: %{with heartbeat}

    Macro expanded in comment on line 83: %{name}-heartbeat = %{version}

    Macro expanded in comment on line 270: %{_datadir}/cluster

    Bad exit status from /var/tmp/rpm-tmp.t5ZFVh (%build)
make: *** [Makefile:302: rpm] Error 1

Any idea how to solve?



Mit freundlichen Grüßen,

-- 

[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the drbd-user mailing list