[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build .deb from Debian's linux-tree-2.6.12



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.

> 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.

I must be missing something here, please enlighten me.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Reply to: