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

Bug#649460: release.debian.org: improved architecture annotation in dependency analysis script/page



On Thu, 24 Nov 2011 03:49:39 -0500, Michael Gilbert wrote:
On Thu, Nov 24, 2011 at 3:18 AM, Adam D. Barratt wrote:
Dependency analysis only derives its output from Sources + i386, which is precisely _why_ it's showing ia32-libs-dev as unavailable.  It's not being mentioned because it's unavailable on kfreebsd-amd64, it's being mentioned
because it's unavailable _on i386_.

I did finally just realize this as stated in my last message :( My bad.

No worries, it's not the most obvious of output to try and work out.

If we annotated the dependencies, it
would say "wine-unstable[i386] depends on ia32-libs-dev which is not
available in testing", which doesn't seem like it would be helpful.

But wine-unstable[i386] does not build-depend on ia32-libs-dev at all,
and that wouldn't make any sense.  So, it seems another problem here
is that the "ia32-libs-dev [amd64 kfreebsd-amd64]" build-depends is
being interpreted wrongly.

Well, it's not being interpreted at all, really... :-/ The code does this, where @alternatives may only contain a single item:

      for my $p (@alternatives) {
      ...
          if ($p =~ /(.+?)\s*\[(.+?)\]/) {
              $p = $1;
          }

i.e. the architecture information is simply discared.

Regards,

Adam



Reply to: