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

Re: Build-Depends-Indep dependencies



On Tue, Oct 26, 2010 at 11:28 AM, Sandro Tosi <morph@debian.org> wrote:
> On Tue, Oct 26, 2010 at 10:16, anatoly techtonik <techtonik@gmail.com> wrote:
>> On Tue, Oct 26, 2010 at 10:40 AM, Sandro Tosi <morph@debian.org> wrote:
>>>> Sorry for the lame question, but I couldn't find an explanation of
>>>> difference between Build-Depends and Build-Depends-Indep in Debian
>>>> manuals. Can anybody explain when Build-Depends-Indep is required?
>>>
>>> look it up on Debian Policy - and questions like this should be sent
>>> to debian-mentors: there's nothing python specify here.
>>
>> I expected smb. to tell me that Python applications doesn't need
>> Build-Depends-Indep, because <insert something here>...
>
> and I expected you to use google, find what b-d and b-d-i are, try to
> understand what's their use-case and in case of doubt ask here (if
> it's a strictly python question) or on debian-mentors (if it's a
> general questions) - unmatched expectation it seems.

I used Google to find
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps
It doesn't explain the terminology.

> Ah, you can also look at what other packages does - it's a very good
> way to learn "how to package".

I'm already trying to understand the packaging of trac-bitten - that's
why these questions.

>> Now I ought to educate myself about autotools, makefiles and all that
>> low level stuff that I don't really care about when writing in Python.
>> There are good chances that I won't do this, and as a result won't be
>> able to help you in maintaining.
>
> ahah nice try - f.e. why would you need to "educate" yourself about
> autotools? it's a non sequitur from b-d vs b-d-i question: care to
> explain?

Because from Debian Policy I understand that Build-Depends-Indep
affects some rules in debian/rules. This file is a Makefile. I
remember that Makefiles in *nix systems were usually produced with
some kind of autotools.

Even though the policy doesn't explain what Build-Depends-Indep is, it
says that Build-Depends-Indep should be present for these Makefile
targets:
build, build-indep, binary, and binary-indep

But there are no such targets in trac-bitten debian/rules file, so I
assume that some kind of autotools is used to execute/supply these
targets when debian/rules is executed. As a Windows Python user, who
just want to see new Bitten package in Debian to upload the package to
production server, I can't really go into the gory details of Debian
toolchains. It already takes more time than I could allow.
-- 
anatoly t.


Reply to: