[DRBD-user] DKMS for drbd-9 fails

Roland Kammerer roland.kammerer at linbit.com
Tue Jun 30 14:23:13 CEST 2015

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


On Tue, Jun 30, 2015 at 01:56:19PM +0200, Thomas Roth wrote:
> Hi all,
> 
> I have just pulled  git.drbd.org/drbd-9.0.git and created the Debian package for dkms.
> Works, but installing it aka compiling the module fails with
> 
> make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
>   CHK     /var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/compat.h
> /bin/bash: FORCE: No such file or directory
>   UPD     /var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/compat.h
> mv: cannot stat ‘/var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/compat.h.tmp’: No such file or directory
> /var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/Kbuild:74: recipe for target
> '/var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/compat.h' failed
> make[4]: *** [/var/lib/dkms/drbd/9.0.0-1~gsi8+1/build/src/drbd/compat.h] Error 1
> 
> 
> Is this missing compat.h a msiconfiguration of mine, or is there indeed something missing?
> 

Hi,

Submodules got fetched? (clone --recursive or git submodule update)?
Does it otherwise compile (make)
Does the directory dkms complains about exist? Does it help if you stop
messing around with the name ("~gsi8+1")?

Otherwise: works for me (same kernel, debuild -i -us -uc -b && dpkg -i)

Regards, rck



More information about the drbd-user mailing list