please icon indicating copy to clipboard operation
please copied to clipboard

Confusing error messages out of Please when target subrepo doesn't exist

Open Tatskaari opened this issue 2 years ago • 1 comments

I'm getting errors like this:

Build stopped after 4.92s. 3 targets failed:
    ///third_party/go/github.com_softlayer_softlayer-go//session:session
///third_party/go/github.com_softlayer_softlayer-go//session:session depends on ///third_party/go/github.com_hashicorp_go-discover//third_party/go:all, but the directory plz-out/subrepos/third_party/go/github.com_hashicorp_go-discover/third_party/go doesn't exist: third_party/go

This is resolved by adding

go_repo(
    module = "github.com/softlayer/softlayer-go",
    version = "v1.1.2",
)

It seems like Please is reporting the errors the wrong way round.

Tatskaari avatar Jun 19 '23 14:06 Tatskaari

This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 01:04 stale[bot]