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

Re: Build of Glow fails to load





On 29/11/24 11:01 pm, Otto Kekäläinen wrote:
Hi Nicolas!

That in turn leads down another rabbit hole, as
updating these libraries need to be tested for compatibility with
existing packages, and a quick rdepends test build on e.g.
https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/pipelines/770887
shows that the new version broke every single package that depended on
it :(

It seems the problem in your case is that you also should update chroma
in Depends:
https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/blob/debian/latest/debian/control?ref_type=heads#L31

Thanks! You are right - I updated the build-depends on line 11 but not
the run-time depends on line 31.

I wonder if Go in Debian has something like ${misc:Go-Depends} similar
how C programs will automatically populate the correct run-time
libraries based on what was used during the build into the
${shlibs:Depends} variable.

I don't think there's something like this for Go debhelper, but it does sound like a very good suggestion to me.

Do you mind filing a bug against dh-golang for this?

-n


Reply to: