[28132] in Source-Commits

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

build-system commit: Fix logic issue in build order resolver

daemon@ATHENA.MIT.EDU (Victor Vasiliev)
Fri Mar 28 15:20:37 2014

Date: Fri, 28 Mar 2014 15:20:31 -0400
From: Victor Vasiliev <vasilvv@MIT.EDU>
Message-Id: <201403281920.s2SJKVFI011427@drugstore.mit.edu>
To: source-commits@MIT.EDU

https://github.com/mit-athena/build-system/commit/48d6054e1fa0b851e64bf14f0a3d40bb633c2867
commit 48d6054e1fa0b851e64bf14f0a3d40bb633c2867
Author: Victor Vasiliev <vasilvv@mit.edu>
Date:   Fri Mar 28 14:43:27 2014 -0400

    Fix logic issue in build order resolver
    
    This system broke when I fixed the other bug which added the package
    dependency where it should have not.

 dabuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dabuild b/dabuild
index a421b23..c72bfb6 100755
--- a/dabuild
+++ b/dabuild
@@ -103,7 +103,7 @@ def resolve_build_order_core(sources, binary_map, build_deps, bin_deps):
     # Construct { source package : its binary dependencies } map
     build_deps_rec = {
             srcpkg : union(
-                get_bin_deps(binpkg)
+                get_bin_deps(binpkg) | {binpkg}
                 for binpkg in build_deps[srcpkg]
                 )
             for srcpkg in build_deps

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