[GH-ISSUE #1615] 0.1.17: inconsistent vendoring in /build/source #897

Closed
opened 2026-04-12 10:34:08 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @quag on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1615

I'm building ollama on NixOS. 0.1.16 worked fine, but bumping to use 0.1.17 fails with this error:

go: inconsistent vendoring in /build/source:
        github.com/stretchr/testify@v1.8.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor

Hopefully this is just something I've messed up, rather than an issue with the 0.1.17 release.

Originally created by @quag on GitHub (Dec 19, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1615 I'm building ollama on NixOS. 0.1.16 worked fine, but bumping to use 0.1.17 fails with this error: ``` go: inconsistent vendoring in /build/source: github.com/stretchr/testify@v1.8.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt github.com/pmezard/go-difflib@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt To ignore the vendor directory, use -mod=readonly or -mod=mod. To sync the vendor directory, run: go mod vendor ``` Hopefully this is just something I've messed up, rather than an issue with the 0.1.17 release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#897