Hi. I'm trying to compile a Debian kernel package from "unstable" (on a "testing" system) using dpkg-buildpackage, with a few minor changes to the config file. I've upgraded a few packages (such as kernel-package and dh-kpatches) to "unstable", so testing should not be the problem.
I run "apt-get source linux-image-2.6.12-1-686-smp", I edit the debian/changelog file slightly and the config file debian/arch/i386/config as needed. I also needed to change the modes of the files in debian/bin because for some reason they were not marked as executable (why is that???). After this I try "dpkg-buildconfig -rfakeroot" from the base source directory, and the following occurs: gloin david /tmp/linux-2.6-2.6.12 $ dpkg-buildpackage -rfakeroot dpkg-buildpackage: source package is linux-2.6 dpkg-buildpackage: source version is 2.6.12-5a dpkg-buildpackage: source changed by David Madore <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture i386 fakeroot debian/rules clean dh_testdir rm -f version.Debian cd debian; rm -f *.kpatches.arch rm -rf debian/build debian/stamps dh_clean dpkg-source -b linux-2.6-2.6.12 dpkg-source: building linux-2.6 using existing linux-2.6_2.6.12.orig.tar.gz dpkg-source: building linux-2.6 in linux-2.6_2.6.12-5a.diff.gz dpkg-source: building linux-2.6 in linux-2.6_2.6.12-5a.dsc debian/rules build if [ -f debian/control.md5sum ]; then \ if md5sum debian/bin/gencontrol.py debian/changelog debian/templates/control.extra.in debian/templates/control.headers.in debian/templates/control.headers.latest.in debian/templates/control.headers.main.in debian/templates/control.headers.subarch.in debian/templates/control.image.in debian/templates/control.image.latest.in debian/templates/control.main.in debian/templates/control.source.in debian/templates/control.tree.in debian/arch/defines debian/arch/alpha/defines debian/arch/amd64/defines debian/arch/arm/defines debian/arch/hppa/defines debian/arch/i386/defines debian/arch/ia64/defines debian/arch/m68k/defines debian/arch/powerpc/defines debian/arch/s390/defines debian/arch/sparc/defines | diff - debian/control.md5sum > /dev/null; then true; else \ /usr/bin/make -f debian/rules debian/control-real; \ fi \ else \ /usr/bin/make -f debian/rules debian/control-real; \ fi make[1]: Entering directory `/tmp/linux-2.6-2.6.12' debian/bin/gencontrol.py md5sum debian/bin/gencontrol.py debian/changelog debian/templates/control.extra.in debian/templates/control.headers.in debian/templates/control.headers.latest.in debian/templates/control.headers.main.in debian/templates/control.headers.subarch.in debian/templates/control.image.in debian/templates/control.image.latest.in debian/templates/control.main.in debian/templates/control.source.in debian/templates/control.tree.in debian/arch/defines debian/arch/alpha/defines debian/arch/amd64/defines debian/arch/arm/defines debian/arch/hppa/defines debian/arch/i386/defines debian/arch/ia64/defines debian/arch/m68k/defines debian/arch/powerpc/defines debian/arch/s390/defines debian/arch/sparc/defines > debian/control.md5sum This target is made to fail intentionally, to make sure that it is NEVER run during the automated build. Please ignore the following error, the debian/control file has been generated SUCCESSFULLY. exit 1 make[1]: *** [debian/control-real] Error 1 make[1]: Leaving directory `/tmp/linux-2.6-2.6.12' make: *** [debian/control] Error 2 I don't understand at all what this error means. How am I supposed to build this package? What is wrong, here? A pointer to any kind of HOWTO or clear documentation would be welcome. -- David A. Madore ([EMAIL PROTECTED], http://www.madore.org/~david/ ) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]