FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 08-11-2008, 10:29 AM
Francisco Moya
 
Default Some autobuilders wait for build-indep dependencies

Hi,

I've uploaded a new version of zeroc-ice packages which essentially
falls back to target build-arch whenever the autobuilder tries the build
target on architectures other than i386. I hope the Build-Options
control field or a similar approach will enter the Debian policy soon so
that I can remove the kludge.

It seems to be working nicely on most autobuilders
( http://buildd.debian.org/zeroc-ice ) but there are some of them
(alpha, armel, and hppa) that seem to be waiting for Build-Depends-Indep
rather than just Build-Depends. I know the Debian policy states that
target build requires both Build-Depends and Build-Depends-Indep, but
what else can I do if build-arch and build-indep targets are still
optional?

I think having both Build-Depends and Build-Depends-Indep is a good
heuristic for the autobuilders to try just build-arch instead of build.

Regards,
Paco

--
Francisco Moya Fernandez Computer Architecture and Networks Group
Assistant Professor
Francisco.Moya@uclm.es School of Computer Science
Fax+34 926) 29 53 54 University of Castilla-La Mancha
Tel+34 926) 29 54 83 http://www.inf-cr.uclm.es/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-15-2008, 03:53 PM
Wouter Verhelst
 
Default Some autobuilders wait for build-indep dependencies

On Mon, Aug 11, 2008 at 11:29:53AM +0200, Francisco Moya wrote:
> Hi,
>
> I've uploaded a new version of zeroc-ice packages which essentially
> falls back to target build-arch whenever the autobuilder tries the build
> target on architectures other than i386. I hope the Build-Options
> control field or a similar approach will enter the Debian policy soon so
> that I can remove the kludge.

DO NOT DO THAT.

Building a package does not only happen on your own system or on buildd
hosts; it also happens on end-user hosts, or on the machines of fellow
developers. I don't *want* to have to deal with an NMU where I first
have to rewire the entire debian/rules file before I can build a decent
package on my powerpc-based laptop, thank you.

It's unfortunate that build-arch currently isn't really implemented, but
that's what currently the state is, so you'll have to go with it. Make
sure everything you need for both "clean", "build", and "binary-arch" is
installed for your build, and upload that. Please.

For reference, sbuild (the building part of buildd) currently uses
"dpkg-buildpackage -B" as the job that does the actual building. You're
welcome to patch dpkg so that that will call build-arch, but until
then...

--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-15-2008, 09:51 PM
"FRANCISCO MOYA FERNANDEZ"
 
Default Some autobuilders wait for build-indep dependencies

Title: RE: Some autobuilders wait for build-indep dependencies







I already know that people do also build their own packages, thanks. You do not need to "rewire" the debian/rules in order to build zeroc-ice binary-arch packages but AFAIK in your PowerPC you cannot currently build zeroc-ice binary-all packages, no matter what I do.



You do not need to issue an NMU if you find some binary-all packages that could be built in architectures other than i386. Report the bug and I will add them in the next release. The kludge will add another exception.* Note that this is not a guarantee to be able to build binary-all but perhaps you could build binary/libzeroc-ice-java (?)



The zeroc-ice build dependencies are right to the best of my knowledge, but dpkg-buildpackage -B do not currently check them all.* Target build must satisfy Build-Depends-Indep (cf. Debian Policy 7.7) but dpkg-buildpackage fail to enforce that for binary-arch builds.* This is a feature rather than a bug in my opinion. This makes it possible to use target build while the transition path to build-arch is defined.



Simply stated, zeroc-ice is a package with lots of dependencies. I'll do my best to get most of it working in as much architectures as possible. But I won't remove features in some architectures just to homogeneize the behaviour of debian/rules.* Therefore I'm eager to receive suggestions on how to make it *better* supported on any architecture. But I won't accept "DO NOT DO THAT" statements unless properly supported on the Debian Policy.



Regards,

F. Moya



-----Original Message-----

From: Wouter Verhelst [mailto:wouter@debian.org]

Sent: Fri 15/08/2008 16:53

To: FRANCISCO MOYA FERNANDEZ

Cc: debian-devel@lists.debian.org

Subject: Re: Some autobuilders wait for build-indep dependencies



On Mon, Aug 11, 2008 at 11:29:53AM +0200, Francisco Moya wrote:

> Hi,

>

> I've uploaded a new version of zeroc-ice packages which essentially

> falls back to target build-arch whenever the autobuilder tries the build

> target on architectures other than i386.* I hope the Build-Options

> control field or a similar approach will enter the Debian policy soon so

> that I can remove the kludge.



DO NOT DO THAT.



Building a package does not only happen on your own system or on buildd

hosts; it also happens on end-user hosts, or on the machines of fellow

developers. I don't *want* to have to deal with an NMU where I first

have to rewire the entire debian/rules file before I can build a decent

package on my powerpc-based laptop, thank you.



It's unfortunate that build-arch currently isn't really implemented, but

that's what currently the state is, so you'll have to go with it. Make

sure everything you need for both "clean", "build", and "binary-arch" is

installed for your build, and upload that. Please.



For reference, sbuild (the building part of buildd) currently uses

"dpkg-buildpackage -B" as the job that does the actual building. You're

welcome to patch dpkg so that that will call build-arch, but until

then...



--

<Lo-lan-do> Home is where you have to wash the dishes.

* -- #debian-devel, Freenode, 2004-09-22
 
Old 08-17-2008, 02:46 AM
Wouter Verhelst
 
Default Some autobuilders wait for build-indep dependencies

On Fri, Aug 15, 2008 at 10:51:08PM +0200, FRANCISCO MOYA FERNANDEZ wrote:
> I already know that people do also build their own packages, thanks. You do
> not need to "rewire" the debian/rules in order to build zeroc-ice binary-arch
> packages but AFAIK in your PowerPC you cannot currently build zeroc-ice
> binary-all packages, no matter what I do.

In that case, it's best to let the build actually *fail* on
non-i386 architectures, rather than allowing it to silently
succeed, perhaps by the non-installability of i386-specific
build-dependencies. Allowing a package builder to build a source
package in such a way that the _all.deb packages aren't built
without an error *will* cause confusion. Trust me.

> You do not need to issue an NMU if you find some binary-all packages that
> could be built in architectures other than i386. Report the bug and I will
> add them in the next release.

There are many reasons why people may need to build your package.
You may be on holiday, and unable to upload a package in time for
the release. The security team may have to prepare a fix. Someone
may want to add a patch to their version of your package in their
derivation of Debian. A user may want to build a version locally
with a different compiler.

I'm sure there are more examples.

Making that hard does not fit my description of "good packaging",
honestly.

> The kludge will add another exception. Note that this is not a
> guarantee to be able to build binary-all but perhaps you could
> build binary/libzeroc-ice-java (?)
>
> The zeroc-ice build dependencies are right to the best of my knowledge, but
> dpkg-buildpackage -B do not currently check them all. Target build must
> satisfy Build-Depends-Indep (cf. Debian Policy 7.7) but dpkg-buildpackage
> fail to enforce that for binary-arch builds.

I'm not sure I understand what you're trying to say here.

> This is a feature rather than a bug in my opinion. This makes it possible to
> use target build while the transition path to build-arch is defined.

For clarity: "the transition to build-arch" is not actually in the
process of being defined, at all. This *is* a bug, IMAO.

> Simply stated, zeroc-ice is a package with lots of dependencies. I'll do my
> best to get most of it working in as much architectures as possible. But I
> won't remove features in some architectures just to homogeneize the behaviour
> of debian/rules. Therefore I'm eager to receive suggestions on how to make
> it *better* supported on any architecture. But I won't accept "DO NOT DO
> THAT" statements unless properly supported on the Debian Policy.

Debian Policy only knows as much as what we put in it. Therefore it
isn't almighty, and it *certainly* isn't a stick to beat people with, as
you're trying to do here. The fact that some insanity isn't in
policy doesn't mean you should suddenly start doing it in your
package.

Changing the behaviour of your debian/rules file based on the
architecture you're trying to build on, is a *very* bad idea,
policy or no policy. If you really, *really* must make sure that
build-indep isn't ran everywhere, then read Policy 4.9, `build',
paragraph 2:

``For some packages, notably ones where the same source tree is
compiled in different ways to produce two binary packages, the
`build' target does not make much sense. For these packages it
is good enough to provide two (or more) targets (`build-a' and
`build-b' or whatever) for each of the ways of building the
package, and a `build' target that does nothing. The `binary'
target will have to build the package in each of the possible
ways and make the binary package out of each.'

I'm sure you understand what I mean here.

--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-17-2008, 07:38 AM
Andreas Metzler
 
Default Some autobuilders wait for build-indep dependencies

FRANCISCO MOYA FERNANDEZ <Francisco.Moya@uclm.es> wrote:
> I already know that people do also build their own packages, thanks.
> You do not need to "rewire" the debian/rules in order to build
> zeroc-ice binary-arch packages but AFAIK in your PowerPC you cannot
> currently build zeroc-ice binary-all packages, no matter what I do.

> You do not need to issue an NMU if you find some binary-all packages
> that could be built in architectures other than i386. Report the bug
> and I will add them in the next release. The kludge will add another
> exception. Note that this is not a guarantee to be able to build
> binary-all but perhaps you could build binary/libzeroc-ice-java (?)

> The zeroc-ice build dependencies are right to the best of my
> knowledge, but dpkg-buildpackage -B do not currently check them all.
> Target build must satisfy Build-Depends-Indep (cf. Debian Policy
> 7.7) but dpkg-buildpackage fail to enforce that for binary-arch
> builds
[...]

Hello,
Policy does not reflect reality for both build and clean targets. The
aim of the whole thing is to not require the build daemons to install
stuff needed only for building archtecture all packages. To do this
the buildds run dpkg-buildpackage -B.

The working definition of Build-Depends(-Indep) is:

* Build-Depends: Everything needed for dpkg-buildpackage -B
* Build-Depends-Indep: Packages needed in addition to Build-Depends for
running dpkg-buildpackage -b

"dpkg-buildpackage -B" runs debian/rules clean, build and binary-arch.
"dpkg-buildpackage -b" runs debian/rules clean, build and binary.

cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Mon Aug 18 14:30:02 2008
Return-path: <launchpad-users-bounces@lists.canonical.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Mon, 18 Aug 2008 14:05:55 +0300
Received: from chlorine.canonical.com ([91.189.94.204])
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <launchpad-users-bounces@lists.canonical.com>)
id 1KV2Yd-00065g-3o
for tom@linux-archive.org; Mon, 18 Aug 2008 14:05:55 +0300
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <launchpad-users-bounces@lists.canonical.com>)
id 1KV2Y1-0001n4-6b; Mon, 18 Aug 2008 12:05:17 +0100
Received: from ik-out-1112.google.com ([66.249.90.179])
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu@bugabundo.net>) id 1KV2Xx-0001mL-Sv
for launchpad-users@lists.canonical.com; Mon, 18 Aug 2008 12:05:14 +0100
Received: by ik-out-1112.google.com with SMTP id b32so1119984ika.6
for <launchpad-users@lists.canonical.com>;
Mon, 18 Aug 2008 04:05:13 -0700 (PDT)
Received: by 10.210.24.12 with SMTP id 12mr7830852ebx.72.1219057512702;
Mon, 18 Aug 2008 04:05:12 -0700 (PDT)
Received: from blubug.localnet ( [213.63.59.242])
by mx.google.com with ESMTPS id t2sm10486904gve.9.2008.08.18.04.05.09
(version=SSLv3 cipher=RC4-MD5); Mon, 18 Aug 2008 04:05:11 -0700 (PDT)
To: launchpad-users@lists.canonical.com
Subject: package owners and LP Answers
Date: Mon, 18 Aug 2008 11:58:57 +0100
User-Agent: KMail/1.10.0 (Linux/2.6.26-5-generic; KDE/4.1.0; x86_64; ; )
Organization: http://BUGabundo.net
MIME-Version: 1.0
Content-Disposition: inline
Message-Id: <200808181158.58311.Ubuntu@bugabundo.net>
From: "(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando"
<ubuntu@bugabundo.net>
X-BeenThere: launchpad-users@lists.canonical.com
X-Mailman-Version: 2.1.8
Precedence: list
Reply-To: Ubuntu-reply@bugabundo.net, launchpad-users@lists.canonical.com
List-Id: Discussion for Launchpad users <launchpad-users.lists.canonical.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/launchpad-users>,
<mailto:launchpad-users-request@lists.canonical.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/launchpad-users>
List-Post: <mailto:launchpad-users@lists.canonical.com>
List-Help: <mailto:launchpad-users-request@lists.canonical.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/launchpad-users>,
<mailto:launchpad-users-request@lists.canonical.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: launchpad-users-bounces@lists.canonical.com
Errors-To: launchpad-users-bounces@lists.canonical.com

UGxlYXNlIHNlZSB0aGlzOgpodHRwczovL2Fuc3dlcnMubGF1bm NocGFkLm5ldC9sYXVuY2hwYWQv
K3F1ZXN0aW9uLzQyMTM5CgpUaGFua3MuCgotLSAKQlVHYWJ1bm RvICA6bykKKGBgLV8twrTCtCkJ
aHR0cDovL1VidW50dS5CVUdhYnVuZG8ubmV0CkxpbnV4IHVzZX IgIzQ0Mzc4NiAgICBHUEcga2V5
IDEwMjREL0ExNzg0RUJCCk15IG5ldyBtaWNyby1ibG9nIEAgaH R0cDovL0JVR2FidW5kby5uZXQK
cHMuIE15IGVtYWlscyB0ZW5kIHRvIHNvdW5kIGF1dGhvcml0eS BhbmQgYWdncmVzc2l2ZS4gSSdt
IHNvcnJ5IGluIGFkdmFuY2UuIEknbGwgdHJ5IHRvIGJlIG1vcm UgYXNzZXJ0aXZlIGFzIHRpbWUg
Z29lcyBieS4uLgoKLS0gCmxhdW5jaHBhZC11c2VycyBtYWlsaW 5nIGxpc3QKbGF1bmNocGFkLXVz
ZXJzQGxpc3RzLmNhbm9uaWNhbC5jb20KTW9kaWZ5IHNldHRpbm dzIG9yIHVuc3Vic2NyaWJlIGF0
OiBodHRwczovL2xpc3RzLnVidW50dS5jb20vbWFpbG1hbi9saX N0aW5mby9sYXVuY2hwYWQtdXNl
cnMK
 
Old 08-17-2008, 11:10 AM
Francisco Moya
 
Default Some autobuilders wait for build-indep dependencies

I finally decided to turn target 'build' into an alias of target
'build-arch' for all architectures. This is already done in some other
packages (e.g. orsa) and cdbs provides explicit support for it. I know
there is a bit of controversy on this but Policy is not strictly against
it.

On Sat, 2008-08-16 at 22:46 -0300, Wouter Verhelst wrote:
> On Fri, Aug 15, 2008 at 10:51:08PM +0200, FRANCISCO MOYA FERNANDEZ wrote:
> > I already know that people do also build their own packages, thanks. You do
> > not need to "rewire" the debian/rules in order to build zeroc-ice binary-arch
> > packages but AFAIK in your PowerPC you cannot currently build zeroc-ice
> > binary-all packages, no matter what I do.
>
> In that case, it's best to let the build actually *fail* on
> non-i386 architectures, rather than allowing it to silently
> succeed, perhaps by the non-installability of i386-specific
> build-dependencies. Allowing a package builder to build a source
> package in such a way that the _all.deb packages aren't built
> without an error *will* cause confusion. Trust me.

I never told you so. Package zeroc-ice will not succeed if you try to
build a package in an unsupported architecture. OTOH target build will
succeed on non-i386 architectures (now on all architectures) if
build-arch succeeds.

> > You do not need to issue an NMU if you find some binary-all packages that
> > could be built in architectures other than i386. Report the bug and I will
> > add them in the next release.
>
> There are many reasons why people may need to build your package.
> You may be on holiday, and unable to upload a package in time for
> the release. The security team may have to prepare a fix. Someone
> may want to add a patch to their version of your package in their
> derivation of Debian. A user may want to build a version locally
> with a different compiler.

So what? You can always build binary-arch. And as many packages of
binary-indep as supported in your platform.

> I'm sure there are more examples.
>
> Making that hard does not fit my description of "good packaging",
> honestly.

You are talking of making build fail on all non-i386 architectures and
and now you tell me I'm making compilation by the user hard. Nice
contradiction.

> > The kludge will add another exception. Note that this is not a
> > guarantee to be able to build binary-all but perhaps you could
> > build binary/libzeroc-ice-java (?)
> >
> > The zeroc-ice build dependencies are right to the best of my knowledge, but
> > dpkg-buildpackage -B do not currently check them all. Target build must
> > satisfy Build-Depends-Indep (cf. Debian Policy 7.7) but dpkg-buildpackage
> > fail to enforce that for binary-arch builds.
>
> I'm not sure I understand what you're trying to say here.

Policy 7.7 states that target 'build' *must* satisfy Build-Depends *and*
Build-Depends-Indep. Autobuilders enforce just Build-Depends but then
use target 'build'. This has been discussed long ago, but AFAIK there
is no consensus yet.

> > This is a feature rather than a bug in my opinion. This makes it possible to
> > use target build while the transition path to build-arch is defined.
>
> For clarity: "the transition to build-arch" is not actually in the
> process of being defined, at all. This *is* a bug, IMAO.

There is no need for a formal "process" to define this. There are lots
of previous discussions on this, lots of patches to dpkg-buildpackage
and friends, and lots of proposals ranging from new control fields to
trial and error approaches. Eventually we will find the right one.

> > Simply stated, zeroc-ice is a package with lots of dependencies. I'll do my
> > best to get most of it working in as much architectures as possible. But I
> > won't remove features in some architectures just to homogeneize the behaviour
> > of debian/rules. Therefore I'm eager to receive suggestions on how to make
> > it *better* supported on any architecture. But I won't accept "DO NOT DO
> > THAT" statements unless properly supported on the Debian Policy.
>
> Debian Policy only knows as much as what we put in it. Therefore it
> isn't almighty, and it *certainly* isn't a stick to beat people with, as
> you're trying to do here. The fact that some insanity isn't in
> policy doesn't mean you should suddenly start doing it in your
> package.

It was not my intention to use Policy as a stick but as the only
authoritative argument I was willing to accept for destructive "DO NOT
DO THAT" statements without further argumentation. Suggestions leading
to a better user experience with my packages are welcome. Suggestions
that reduce the feature set are not. But even in the latter case I'm
willing to accept them if my approach is against Debian Policy.

> Changing the behaviour o your debian/rules file based on the
> architecture you're trying to build on, is a *very* bad idea,
> policy or no policy. If you really, *really* must make sure that
> build-indep isn't ran everywhere, then read Policy 4.9, `build',
> paragraph 2:
[...]
> I'm sure you understand what I mean here.

Not really. This paragraph applies when the build target does not make
much sense. But zeroc-ice builds a single tree and building the whole
package does really make sense.

In any case I think the next release will be acceptable to you, as long
as it does more or less the same as package orsa.

Regards,
Paco

--
Francisco Moya Fernandez Computer Architecture and Networks Group
Assistant Professor
Francisco.Moya@uclm.es School of Computer Science
Fax+34 926) 29 53 54 University of Castilla-La Mancha
Tel+34 926) 29 54 83 http://www.inf-cr.uclm.es/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-17-2008, 11:35 AM
Andreas Metzler
 
Default Some autobuilders wait for build-indep dependencies

FRANCISCO MOYA FERNANDEZ <Francisco.Moya@uclm.es> wrote:
> I already know that people do also build their own packages, thanks.
> You do not need to "rewire" the debian/rules in order to build
> zeroc-ice binary-arch packages but AFAIK in your PowerPC you cannot
> currently build zeroc-ice binary-all packages, no matter what I do.

> You do not need to issue an NMU if you find some binary-all packages
> that could be built in architectures other than i386. Report the bug
> and I will add them in the next release. The kludge will add another
> exception. Note that this is not a guarantee to be able to build
> binary-all but perhaps you could build binary/libzeroc-ice-java (?)

> The zeroc-ice build dependencies are right to the best of my
> knowledge, but dpkg-buildpackage -B do not currently check them all.
> Target build must satisfy Build-Depends-Indep (cf. Debian Policy
> 7.7) but dpkg-buildpackage fail to enforce that for binary-arch
> builds
[...]

Hello,
Policy does not reflect reality for both build and clean targets. The
aim of the whole thing is to not require the build daemons to install
stuff needed only for building archtecture all packages. To do this
the buildds run dpkg-buildpackage -B. (#374029)

The working definition of Build-Depends(-Indep) is:

* Build-Depends: Everything needed for dpkg-buildpackage -B
* Build-Depends-Indep: Packages needed in addition to Build-Depends for
running dpkg-buildpackage -b

"dpkg-buildpackage -B" runs debian/rules clean, build and binary-arch.
"dpkg-buildpackage -b" runs debian/rules clean, build and binary.

cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-17-2008, 02:32 PM
Wouter Verhelst
 
Default Some autobuilders wait for build-indep dependencies

On Sun, Aug 17, 2008 at 12:10:28PM +0200, Francisco Moya wrote:
[...]
> > Debian Policy only knows as much as what we put in it. Therefore it
> > isn't almighty, and it *certainly* isn't a stick to beat people with, as
> > you're trying to do here. The fact that some insanity isn't in
> > policy doesn't mean you should suddenly start doing it in your
> > package.
>
> It was not my intention to use Policy as a stick but as the only
> authoritative argument I was willing to accept for destructive "DO NOT
> DO THAT" statements without further argumentation.

Well, I did give you two more paragraphs of argumentation, actually, but
okay.

[...]
> > Changing the behaviour o your debian/rules file based on the
> > architecture you're trying to build on, is a *very* bad idea,
> > policy or no policy. If you really, *really* must make sure that
> > build-indep isn't ran everywhere, then read Policy 4.9, `build',
> > paragraph 2:
> [...]
> > I'm sure you understand what I mean here.
>
> Not really. This paragraph applies when the build target does not make
> much sense. But zeroc-ice builds a single tree and building the whole
> package does really make sense.

I think you're reading more in that paragraph than is meant; it says
"For some packages, notably ones where the same source tree is compiled
in different ways (...)", not "For packages where the same source tree
is compiled in different ways (...)", which to me suggests it can apply
to other cases too rather than just the given example.

YMMV, of course.

> In any case I think the next release will be acceptable to you, as long
> as it does more or less the same as package orsa.

Perhaps.

I do think that if you say "dpkg-buildpackage" without any argument, it
should either build all packages (if possible) or fail (if not possible
on that architecture or for some other reason). This makes it clear that
some particular thing isn't supported on a particular place, and makes
the lives of other people not familiar with your package easier. If your
setup will do this by having binary-indep depend on build-indep, then
yes, that sounds like something sane. If not, I seriously urge you to
reconsider. But as you rightly point out, there's nothing in policy to
back that up for me, so I'll shut up about that now.

What *is* in policy for me to ask you, though, is that if you do
something insane like not having 'dpkg-buildpackage' fail if
binary-indep can't be built for some reason, you should document that in
debian/README.source; see policy 4.14. Lucky me that proposal of mine
got into policy a few months ago :-)

--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:40 PM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org