Bug 278415 - Mk/Uses/go.mk: 'make gomod-vendor' fails on the port misc/localai: missing go.sum entry for module providing package ...
Summary: Mk/Uses/go.mk: 'make gomod-vendor' fails on the port misc/localai: missing go...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Golang Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 19:49 UTC by Yuri Victorovich
Modified: 2024-04-17 19:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-04-17 19:49:53 UTC
The error messages below seem to indicate that 'make gomod-vendor' expects go.sum in git-submodules (ex. github.com/go-skynet/go-bert.cpp) that are C++ projects, not Go projects, for some reason.




--log--

[yuri@yv /usr/ports/misc/localai]$ cd /usr/ports/misc/localai && make gomod-vendor
go: github.com/go-skynet/LocalAI/backend/go/llm/bert imports
        github.com/go-skynet/go-bert.cpp: missing go.sum entry for module providing package github.com/go-skynet/go-bert.cpp (imported by github.com/go-skynet/LocalAI/backend/go/llm/bert); to add:
        go get github.com/go-skynet/LocalAI/backend/go/llm/bert
go: github.com/go-skynet/LocalAI/backend/go/llm/gpt4all imports
        github.com/nomic-ai/gpt4all/gpt4all-bindings/golang: missing go.sum entry for module providing package github.com/nomic-ai/gpt4all/gpt4all-bindings/golang (imported by github.com/go-skynet/LocalAI/backend/go/llm/gpt4all); to add:
        go get github.com/go-skynet/LocalAI/backend/go/llm/gpt4all
go: github.com/go-skynet/LocalAI/backend/go/llm/rwkv imports
        github.com/donomii/go-rwkv.cpp: missing go.sum entry for module providing package github.com/donomii/go-rwkv.cpp (imported by github.com/go-skynet/LocalAI/backend/go/llm/rwkv); to add:
        go get github.com/go-skynet/LocalAI/backend/go/llm/rwkv
go: github.com/go-skynet/LocalAI/backend/go/transcribe imports
        github.com/ggerganov/whisper.cpp/bindings/go/pkg/whisper: missing go.sum entry for module providing package github.com/ggerganov/whisper.cpp/bindings/go/pkg/whisper (imported by github.com/go-skynet/LocalAI/backend/go/transcribe); to add:
        go get github.com/go-skynet/LocalAI/backend/go/transcribe
go: github.com/go-skynet/LocalAI/backend/go/tts imports
        github.com/mudler/go-piper: missing go.sum entry for module providing package github.com/mudler/go-piper (imported by github.com/go-skynet/LocalAI/backend/go/tts); to add:
        go get github.com/go-skynet/LocalAI/backend/go/tts
go: github.com/go-skynet/LocalAI/pkg/stablediffusion imports
        github.com/mudler/go-stable-diffusion: missing go.sum entry for module providing package github.com/mudler/go-stable-diffusion (imported by github.com/go-skynet/LocalAI/pkg/stablediffusion); to add:
        go get github.com/go-skynet/LocalAI/pkg/stablediffusion
go: github.com/go-skynet/LocalAI/pkg/tinydream imports
        github.com/M0Rf30/go-tiny-dream: missing go.sum entry for module providing package github.com/M0Rf30/go-tiny-dream (imported by github.com/go-skynet/LocalAI/pkg/tinydream); to add:
        go get github.com/go-skynet/LocalAI/pkg/tinydream
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/localai