[GH-ISSUE #21] Unable to cache modules needed for builds #7

Closed
opened 2026-03-04 23:13:25 +03:00 by kerem · 2 comments
Owner

Originally created by @shenghuang147 on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/21

I'm in the process of packaging this project, but I need to build offline so I need to cache the modules, but since
github.com/creamlike1024/EasyLPAC@795b320f9c/go.mod (L38-L39)
makes it impossible for me to cache using go mod vendor

$ go mod vendor
go: EasyLPAC imports
        golang.design/x/clipboard imports
        golang.org/x/mobile/app imports
        golang.org/x/exp/shiny/driver/gldriver: ambiguous import: found package golang.org/x/exp/shiny/driver/gldriver in multiple modules.
        golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/driver/gldriver)
        golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/driver/gldriver)
go: EasyLPAC imports
        golang.design/x/clipboard imports
        golang.org/x/mobile/app imports
        golang.org/x/exp/shiny/screen: ambiguous import: found package golang.org/x/exp/shiny/screen in multiple modules.
        golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/screen)
        golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/screen)

Originally created by @shenghuang147 on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/21 I'm in the process of packaging this project, but I need to build offline so I need to cache the modules, but since https://github.com/creamlike1024/EasyLPAC/blob/795b320f9c2e228df416cf6fef8b90ebca9d5220/go.mod#L38-L39 makes it impossible for me to cache using go mod vendor ``` $ go mod vendor go: EasyLPAC imports golang.design/x/clipboard imports golang.org/x/mobile/app imports golang.org/x/exp/shiny/driver/gldriver: ambiguous import: found package golang.org/x/exp/shiny/driver/gldriver in multiple modules. golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/driver/gldriver) golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/driver/gldriver) go: EasyLPAC imports golang.design/x/clipboard imports golang.org/x/mobile/app imports golang.org/x/exp/shiny/screen: ambiguous import: found package golang.org/x/exp/shiny/screen in multiple modules. golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 (/home/psheng/go/pkg/mod/golang.org/x/exp@v0.0.0-20200224162631-6cc2880d07d6/ shiny/screen) golang.org/x/exp/shiny v0.0.0-20240506185415-9bf2ced13842 (/home/psheng/go/pkg/mod/golang.org/x/exp/shiny@v0.0.0-20240506185415- 9bf2ced13842/screen) ```
kerem closed this issue 2026-03-04 23:13:26 +03:00
Author
Owner

@creamlike1024 commented on GitHub (Sep 2, 2024):

Please check if 71374193df solved this issue

<!-- gh-comment-id:2324978106 --> @creamlike1024 commented on GitHub (Sep 2, 2024): Please check if 71374193dfea3d1979fe35b1911198ec6df18294 solved this issue
Author
Owner

@shenghuang147 commented on GitHub (Sep 2, 2024):

It's working. open service build

<!-- gh-comment-id:2325022976 --> @shenghuang147 commented on GitHub (Sep 2, 2024): It's working. [open service build](https://build.opensuse.org/package/show/home:Psheng/EasyLPAC)
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/EasyLPAC#7
No description provided.