Package: drbd0.7-module-source Version: 0.7.10-3 When i try to build the drbd kernel module i get an error:
lx0013:/usr/src/linux-2.4.31# make-kpkg modules_image
for module in /usr/src/modules/drbd ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.4.31" KSRC="/usr/src/linux-2.4.31" \
KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="[EMAIL PROTECTED]" \
KPKG_DEST_DIR="/usr/src/linux-2.4.31/.." \
KPKG_MAINTAINER="Unknown Kernel Package
Maintainer" \
KPKG_EXTRAV_ARG="" \
ARCH="i386" \
KDREV="10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "X" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not";
\ echo "in fact being built as root, please file a bug ";
\ echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
else \
echo "Module $module does not exist"; \
echo "Hit return to Continue?"; \
fi; \
done
make[1]: Entering directory `/usr/src/modules/drbd'
./debian/rules:12: /usr/share/dpatch/dpatch.make: No such file or directory
make[1]: *** No rule to make target `/usr/share/dpatch/dpatch.make'. Stop.
make[1]: Leaving directory `/usr/src/modules/drbd'
Module /usr/src/modules/drbd failed.
Hit return to Continue
This is cause there is a dependency that is not set in the control file.
After i install dpatch i can compile the drbd kernel module without any trouble.
I attached a patch for fix the problem.
Systeminfo:
libc6: 2.3.2.ds1-22
Kernel: 2.4.31
bye
Norman
--- control 2005-07-27 16:17:31.000000000 +0200 +++ control.fixed 2005-07-27 16:19:09.000000000 +0200 @@ -30,7 +30,7 @@ Package: drbd0.7-module-source Architecture: all Section: admin -Depends: module-assistant, debhelper (>= 4), +Depends: module-assistant, debhelper (>= 4), dpatch Conflicts: drbd-module-source, drbd-source Provides: drbd-module-source Replaces: drbd-module-source, drbd-source
signature.asc
Description: This is a digitally signed message part

