Re: Bug#279678: kernel-source-2.6.9: make mrproper fails
----- Original Message -----
From: "Horms" <firstname.lastname@example.org>
To: "Leif W" <email@example.com>
Cc: <firstname.lastname@example.org>; <email@example.com>; "Manoj
Srivastava" <firstname.lastname@example.org>; <email@example.com>
Sent: Monday, November 08, 2004 02:27
Subject: Re: Bug#279678: kernel-source-2.6.9: make mrproper fails
> reassign 279678 kernel-package
> tag 279678 +patch
> On Mon, Nov 08, 2004 at 03:00:13PM +0900, Horms wrote:
> > On Fri, Nov 05, 2004 at 07:46:03AM -0500, Leif W wrote:
> > > ----- Original Message -----
> > > From: "Horms" <firstname.lastname@example.org>
> > > To: "Leif W" <email@example.com>; <firstname.lastname@example.org>
> > > Sent: Thursday, November 04, 2004 23:34
> > > Subject: Re: Bug#279678: kernel-source-2.6.9: make mrproper fails
> > >
> > >
> > > > On Thu, Nov 04, 2004 at 10:41:54AM -0500, Leif W wrote:
> > > > > Package: kernel-source-2.6.9
> > > > > Version: 2.6.9-1
> > > > > Severity: important
> > > > >
> > > > >
> > > > > -> make mrproper
> > > > > scripts/Makefile.clean:10: scripts/package/Makefile: No such
> > > directory
> > > > > make: *** No rule to make target
> > > Stop.
> > > > > make: *** [scripts/package] Error 2
> > > > > make: *** [_mrproper_scripts] Error 2
> > > >
> > > > Could you please give some indication of what directory you are
> > > running
> > > > this command in?
> > >
> > > Sorry, but I felt it was fairly self-explanatory, so removed most
> > > prompt for brevity. It's the standard toplevel location which has
> > > worked for me for the past 7.5 years with various kernels and
> > > distributions. ;-) In this particular case,
> > > "/usr/src/kernel-source-2.6.9/" which is the toplevel source
> > > for the kernel tree as extracted from the
> > > archive, obtained from Debian through the "unstable" distribution.
> > > Please let me know if there is any further information that is
> > > or if you would like me to try some modifications. Not sure
> > > where to start, so I would need a hint. I am likely capable of
> > > and shell script modifications, and of course creating unified
> > > applying patches.
> > Thanks for the additional information. There does indeed seem to be
> > bit of a problem there. The tarball seems to include
> > scripts/package/builddeb.dist and scripts/package/Makefile.dist
> > instead of scripts/package/builddeb and scripts/package/Makefile.
> > Persumably the result of some quirk a patch applied to the tarball
> > before it was uploaded to d.o. I will take a look into it.
> > In the mean time running the following should allow your build to
> > mv scripts/package/builddeb.dist scripts/package/builddeb
> > mv scripts/package/Makefile.dist scripts/package/Makefile
> I took a closer look into this and it seems to be related to
> an unfortunate interaction between the kernel's Makefile
> and Debian's make-kpkg. The attached patch should resolve
> the problem by creating a non-empty scripts/package/Makefile -
> empty files are purged by a make distclean, which is called
> by make-kpkg as part of the build process.
> I have reassigned the bug to kernel-package accordingly.
> Manoj has already take a look at this and aggreed to the fix
> in principle.
Thanks to everyone involved for taking this seriously, looking into it
and offering a fix. As far as I can tell, it did not affect my build
process, but served as an inconvenience (amplified on slower systems) by
requiring an "\rm -rf kernel-source-2.6.9; tar xjf
kernel-source-2.6.9.tar.bz2;" instead of a "make mrproper;" to get a