[87] in athena10
Re: /svn/athena r22750 - trunk/debathena/scripts
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Sun Feb 17 17:22:54 2008
Date: Sun, 17 Feb 2008 17:22:10 -0500 (EST)
From: ghudson@MIT.EDU
Message-Id: <200802172222.m1HMMAvw028690@outgoing.mit.edu>
To: Tim Abbott <tabbott@mit.edu>
CC: ghudson@mit.edu, athena10@mit.edu
In-reply-to: <Pine.LNX.4.64L.0802121627530.18200@vinegar-pot.mit.edu>
> 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.