[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build of Glow fails to load





On 28/11/24 3:37 pm, Otto Kekäläinen wrote:
imports github.com/charmbracelet/glamour/styles: no Go files in
/builds/go-team/packages/glow/debian/output/source_dir/debian/build/src/github.com/charmbracelet/glamour/styles
dh_auto_build: error: cd debian/build && go install -trimpath -v -p 2
github.com/charmbracelet/glow github.com/charmbracelet/glow/ui
github.com/charmbracelet/glow/utils returned exit code 1

I suspect I need to update
https://tracker.debian.org/pkg/golang-github-charmbracelet-glamour as
well since those files are missing from this version.

Yes. See go.mod for required versions.
https://salsa.debian.org/go-team/packages/glow/-/blob/debian/latest/go.mod?ref_type=heads#L10

In this case, style.go present in that dir is added in a later version.

I wonder how many packages I wil ultimately work on to get Glow packaged :)

You can try `dh-make-golang estimate` but it will probably only print unpackaged deps.

-n


Reply to: