FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 11-29-2011, 06:23 PM
peter green
 
Default suggestion: build-blockers field in control file

Some packages have runtime dependencies on packages that they do not
have corresponding build-dependencies for. This leads to the building of
uninstallable packages which in turn leads to problems with testing
transition of packages.


Currently there are two workarounds for this situation

1: manually alter the package's architecture list to limit building to
those architectures where runtime dependencis

2: add an artificial build-dependency

Neither is ideal, the first must be manually undone if and when the
dependencies do become available. The second is an abuse of the
build-depends field (the package isn't REALLY needed for building) and
causes pacakges to be unnessacerally installed in build environments
(both on autobuilders and for those manually building the package)
wasting time and network bandwidth.


I therefore propose a new control field for source packages
"build-blockers". Autobuilder management systems should generally treat
build-blockers the same as build-depends but the systems that actually
do the building do not need to take any notice of them.


What do others think?


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4ED5314B.1070800@p10link.net">http://lists.debian.org/4ED5314B.1070800@p10link.net
 
Old 11-29-2011, 07:08 PM
Jonathan Nieder
 
Default suggestion: build-blockers field in control file

peter green wrote:

[...]
> This leads to the building of
> uninstallable packages which in turn leads to problems with testing
> transition of packages.
>
> Currently there are two workarounds for this situation
>
> 1: manually alter the package's architecture list to limit building to those
> architectures where runtime dependencis
> 2: add an artificial build-dependency

For completeness, it's probably worth mentioning a third option:

3: use the architecture list to document fundamental portability hurdles
and packages-arch-specific[*] to document accidental ones
[*] http://www.debian.org/doc/manuals/developers-reference/pkgs.html.en#packages-arch-specific


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111129200854.GA9450@elie.hsd1.il.comcast.net">ht tp://lists.debian.org/20111129200854.GA9450@elie.hsd1.il.comcast.net
 
Old 12-01-2011, 02:30 PM
Jakub Wilk
 
Default suggestion: build-blockers field in control file

* peter green <plugwash@p10link.net>, 2011-11-29, 19:23:
Some packages have runtime dependencies on packages that they do not
have corresponding build-dependencies for. This leads to the building
of uninstallable packages which in turn leads to problems with
testing transition of packages.


Currently there are two workarounds for this situation

1: manually alter the package's architecture list to limit building
to those architectures where runtime dependencis

2: add an artificial build-dependency

Neither is ideal, the first must be manually undone if and when the
dependencies do become available. The second is an abuse of the
build-depends field (the package isn't REALLY needed for building)
and causes pacakges to be unnessacerally installed in build
environments (both on autobuilders and for those manually building
the package) wasting time and network bandwidth.


I therefore propose a new control field for source packages
"build-blockers". Autobuilder management systems should generally
treat build-blockers the same as build-depends but the systems that
actually do the building do not need to take any notice of them.


It doesn't sound completely crazy, but I doubt that implementing such
field is worth the trouble. How many packages would benefit from it? Do
you have any concrete examples?


--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111201153020.GB4568@jwilk.net">http://lists.debian.org/20111201153020.GB4568@jwilk.net
 
Old 12-02-2011, 12:30 AM
Russell Coker
 
Default suggestion: build-blockers field in control file

On Wed, 30 Nov 2011, peter green <plugwash@p10link.net> wrote:
> Some packages have runtime dependencies on packages that they do not
> have corresponding build-dependencies for. This leads to the building of
> uninstallable packages which in turn leads to problems with testing
> transition of packages.
>
> Currently there are two workarounds for this situation
>
> 1: manually alter the package's architecture list to limit building to
> those architectures where runtime dependencis
> 2: add an artificial build-dependency

Why are such things required?

Why not have software which wants to have the dependencies of a package look
at the dependencies line as well as the build-dependencies?

It seems to me that the package maintainers are already providing the
necessary information and the people who maintain autobuilder systems just
need to use it.

I can't imagine that changing lots of packages and keeping track of new
packages with similar issues would take less work than changing an
autobuilder. I also can't imagine that changing lots of packages would be as
reliable.

--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201112021230.36184.russell@coker.com.au">http://lists.debian.org/201112021230.36184.russell@coker.com.au
 
Old 12-02-2011, 07:10 AM
Peter Samuelson
 
Default suggestion: build-blockers field in control file

[Russell Coker]
> Why not have software which wants to have the dependencies of a
> package look at the dependencies line as well as the
> build-dependencies?
>
> It seems to me that the package maintainers are already providing the
> necessary information and the people who maintain autobuilder systems
> just need to use it.

Hmmmm. Do you mean:

(1) The buildd should parse debian/control prior to building, and
delay the build ("dep-wait") if any binary package Depends line
would not (yet) be satisfied?

(2) The buildd should not upload a build until every binary package
in the built .changes file is installable?

(3) The buildd should edit the .changes file to exclude binary
packages that are not installable, upload _that_, then put the rest
of the binary packages in some sort of hold queue?

(4) ???

(1) is problematic for several reasons; most specifically, that it is
possible, and even common, for not every package in debian/control to
be built on every architecture. You can't predict which packages will
actually be built.

(2) is less problematic, but does introduce extra delay into package
build and propagation. It also would require manual intervention for
any dependency loop.

And (3) seems like a very complex workflow to solve a very small problem.

--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111202081023.GA3939@p12n.org">http://lists.debian.org/20111202081023.GA3939@p12n.org
 

Thread Tools




All times are GMT. The time now is 01:20 PM.

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