Re: How to build .deb from Debian's linux-tree-2.6.12
On Fri, Oct 14, 2005 at 10:43:34PM +0200, Marc Haber wrote:
> On Fri, Oct 14, 2005 at 07:44:35PM +0200, Sven Luther wrote:
> > On Fri, Oct 14, 2005 at 07:10:50PM +0200, Marc Haber wrote:
> > > On Fri, Oct 14, 2005 at 05:26:37PM +0200, Sven Luther wrote:
> > > > On Fri, Oct 14, 2005 at 02:58:28PM +0200, Marc Haber wrote:
> > > > > Is that an issue with current sid, or am I doing something wrong?
> > > > > Currently, I am inclined to say that linux-tree-2.6.12 is missing a
> > > > > Build Dependency on ncurses, and that it suffers from other kinds of
> > > > > breakage as well. But I might be mistaken. Can somebody help?
> > > >
> > > > linux-tree-2.6.12 is a binary package, and thus its build-dependencies are on
> > > > linux-2.6 source, which should do the right thing, not sure though.
> > > >
> > > > Not sure what you really want to do, but in any case, linux-tree-2.6.12 is
> > > > probably a thing of the paste, you want either the linux-2.6 source package
> > > > or the linux-source-2.6.12 binary package.
> > >
> > > I tried the same after apt-get source linux-2.6 and installing all
> > > build dependencies (dpkg-checkbuilddeps doesn't complain), and the
> > > same thing happens. The package tries to make menuconfig, and that
> > > fails with "interrupted(11)".
> >
> > Well, after thinking about this, it is only normal, since the build process
> > obviously uses oldconfig, since it is non-interactive.
>
> I now know what was going on. Despite debian/rules not directly using
> make-kpkg, the build process somehow uses code delivered by
> kernel-package, which in turn honors ~/.kernel-pkg.conf, which on my
> system has config_target := menuconfig.
>
> That's a gotcha.
Ah, ...
> > In any case, there is no way that what you try to do is something where
> > build-dependencies are involved,
>
> Can you please explain that? I am trying to convert a Debian source
> package (consisting of .orig.tar.gz, diff.gz and .dsc) into a set of
> Debian binary packages (.deb). The usual way to do so is to use the
> debuild command (or another of the dpkg-buildpackage frontends
> available in numerous different flavours) after installing
> build-essential and all packages listed in the Build-Depends line in
> debian/control.
Well, if you take the already packaged version out of the archive, you just
need to :
dpkg-buildpackage -rfakeroot -us -uc
And it flies, after installing build-essential, fakeroot and the linux-2.6
build-deps.
i do use dpkg-buildpackage in a clean sid chroot specially created for this
purpose, but don't use any kind of debuild/pbuilder/whatever frontends, so
maybe there is some problem with the frontend you are using ?
In any case, the autobuilders seem to have no trouble with it, so it should
run fine, at least in the -B case.
> I must be missing something here, please enlighten me.
What is your problem again, now that we sorted the menuconfig out ?
Friendly,
Sven Luther
Reply to: