[DRBD-user] drbd user guide / debian build of drbd-8.2 HEAD failed

Bruno Voigt Bruno.Voigt at ic3s.de
Thu Mar 6 01:12:57 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.


Jean-Francois Malouin wrote:
> * Florian Haas <florian.haas at linbit.com> [20080304 07:20]:
>   
>> On Monday 03 March 2008 10:09:46 Bruno Voigt wrote:
>>     
>>> Hi,
>>>
>>> I tried to build the drbd-8.2 HEAD version
>>> according to the new user guide instructions.
>>>
>>> system: debian amd64 sid
>>>
>>> Unfortunately it fails
>>> and in the 8.2.5 version there is no debian path included.
>>>       
>> Hang on. Are you using a source tarball, or a git checkout?
>>     
>
> Just my 2¢: I did a git checkout a few days ago
> and things seem to work ok:
>
> git clone git://git.drbd.org/drbd-8.2
> cd drbd-8.2/
> make clean all
> dpkg-buildpackage -rfakeroot -b -uc
> cd ..
> dpkg -i drbd8-module-source_8.2.5-0_all.deb \
> drbd8-utils_8.2.5-0_i386.deb
> m-a a-i drbd8
Initially I downloaded the git source tarball
and just retried with  the  git clone cmd abvoe.
On today's current debian amd64/sid the build still fails
with the same error:

/usr/bin/make -C user
make[1]: Entering directory `/usr/src/drbd-8.2/user'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_scanner.o drbdadm_scanner.c
drbdadm_scanner.c: In function âyy_get_next_bufferâ:
drbdadm_scanner.c:2090: warning: comparison between signed and unsigned
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_parser.o drbdadm_parser.c
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_main.o drbdadm_main.c
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_adjust.o drbdadm_adjust.c
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdtool_common.o drbdtool_common.c
gcc -g -O2 -c -W -Wall -I../drbd   -c -o drbdadm_usage_cnt.o
drbdadm_usage_cnt.c
make[1]: *** No rule to make target `../drbd/drbd_buildtag.c', needed by
`drbd_buildtag.c'.  Stop.
make[1]: Leaving directory `/usr/src/drbd-8.2/user'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
root at xen20a:/usr/src/drbd-8.2#

WR,
Bruno


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080306/a30fe2d1/attachment.pgp>


More information about the drbd-user mailing list