[89] in athena10

home help back first fref pref prev next nref lref last post

Re: /svn/athena r22750 - trunk/debathena/scripts

daemon@ATHENA.MIT.EDU (Tim Abbott)
Sun Feb 17 17:44:47 2008

Date: Sun, 17 Feb 2008 17:44:02 -0500 (EST)
From: Tim Abbott <tabbott@MIT.EDU>
To: ghudson@mit.edu
cc: athena10@mit.edu
In-Reply-To: <200802172222.m1HMMAvw028690@outgoing.mit.edu>
Message-ID: <Pine.LNX.4.64L.0802171736520.19608@mega-man.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sun, 17 Feb 2008, ghudson@MIT.EDU wrote:

>> all-packages is doing something better than what our Makefile was
>> doing to get build dependencies (reading the .dsc files rather than
>> reading the deployed apt repository, which may be out of date)
>
> There are a couple of problems with the code I wrote in all-packages:
>
> 1. Ignoring Provides: turns out to be a practical issue.  It misses at
> least the dependencies of athdir on libathdir and xcluster on libxj,
> since the dependencies are via -dev packages.
>
> 2. daupload-release moves source packages into built/ which causes
> all-packages to fail.
>
> I'm thinking of reworking the logic to instead examine debian/control
> files inside the checkouts, which would dodge both problems.  I
> initially avoided that approach because (1) control may be out of date
> with respect to control.in, and (2) control and control.in may contain
> substitutions which I cannot compute.  For (1) I can prefer a
> debian/control.in file if one exists, and (2) can likely be ignored
> since substitutions won't be used to specify dependencies on other
> Athena 10 packages.

You might consider using the union of the debian/control.in and 
debian/control dependencies.

Using just debian/control.in will cause any build dependency automatically 
added by CDBS to be ignored (i.e. precisely debathena-config-build-common 
and a bunch of packages we don't build and thus can ignore).

The other thing that will go wrong is debathena-build-depends; for that I 
wrote some code in our makefile generator to have it depend on every other 
package for purposes of the build order.

 	-Tim Abbott



home help back first fref pref prev next nref lref last post