diff --git a/xmake/modules/private/action/require/impl/install_packages.lua b/xmake/modules/private/action/require/impl/install_packages.lua index 2e0c75fcc5a..731e11e9966 100644 --- a/xmake/modules/private/action/require/impl/install_packages.lua +++ b/xmake/modules/private/action/require/impl/install_packages.lua @@ -279,6 +279,7 @@ function _fetch_packages(packages_fetch, installdeps) -- fetch a new package local instance = nil while instance == nil and #packages_pending > 0 do + print("") for idx, pkg in ipairs(packages_pending) do -- all dependences has been fetched? we fetch it now @@ -307,6 +308,10 @@ function _fetch_packages(packages_fetch, installdeps) end end if instance == nil and #packages_pending > 0 then + print("no ready packages, pending: %s", #packages_pending) + for _, p in ipairs(packages_pending) do + print(" %s", p:name()) + end os.sleep(100) end end @@ -321,6 +326,7 @@ function _fetch_packages(packages_fetch, installdeps) end if not parallelize then while fetching_count > 0 do + print("1111") os.sleep(100) end end