Re: Build of Glow fails to load

2024-12-01 Thread Nicolas Peugnet
On 29/11/2024 7:47 PM, Nilesh Patra wrote: On 29/11/24 11:01 pm, Otto Kekäläinen wrote: 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:Depen

Re: debugging test failures in reverse dependencies (Re: Build of Glow fails to load)

2024-12-01 Thread Nicolas Peugnet
On 30/11/2024 3:59 AM, Otto Kekäläinen wrote: About the reverse dependencies that actually fail now in https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/jobs/6673305 ## dh-make-golang: https://salsa.debian.org/otto/golang-github-charmbracelet-glamour/-/jobs/6673305 TestMarkdow

debugging test failures in reverse dependencies (Re: Build of Glow fails to load)

2024-11-29 Thread Otto Kekäläinen
> > 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 debhelpe

Re: Build of Glow fails to load

2024-11-29 Thread Nilesh Patra
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-glam

Re: Build of Glow fails to load

2024-11-29 Thread Otto Kekäläinen
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 th

Re: Build of Glow fails to load

2024-11-29 Thread Nicolas Peugnet
On 29/11/2024 10:16, Otto Kekäläinen wrote: 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/77

Re: Build of Glow fails to load

2024-11-29 Thread Simon Josefsson
Otto Kekäläinen writes: > Hi! > > I filed the estimate bug at > https://github.com/Debian/dh-make-golang/issues/231 > > This command I had not tried before turned out very useful: > > # dh-make-golang check-depends > NEW dependency github.com/charmbracelet/lipgloss > (golang-github-charmbracelet

Re: Build of Glow fails to load

2024-11-29 Thread Otto Kekäläinen
Hi! I filed the estimate bug at https://github.com/Debian/dh-make-golang/issues/231 This command I had not tried before turned out very useful: # dh-make-golang check-depends NEW dependency github.com/charmbracelet/lipgloss (golang-github-charmbracelet-lipgloss-dev) NEW dependency github.com/cha

Re: Build of Glow fails to load

2024-11-28 Thread Otto Kekäläinen
Hi! > Yes. See go.mod for required versions. > https://salsa.debian.org/go-team/packages/glow/-/blob/debian/latest/go.mod?ref_type=heads#L10 It is a bit too much to manually go through each one. Also, that is not needed most of the time, as running dh-make-golang itsel already does a pretty decen

Re: Build of Glow fails to load

2024-11-28 Thread Nilesh Patra
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 gith

Re: Build of Glow fails to load

2024-11-28 Thread Otto Kekäläinen
Thanks Nicolas and weepingclown for the pointer, indeed I overlooked that "v11" string. I am working on importing latest 11.2.2 at https://salsa.debian.org/otto/golang-github-caarlos0-env/-/commits/debian/latest and will test building with it. I have both locally and in CI https://salsa.debian.org/

Re: Build of Glow fails to load

2024-11-28 Thread Nicolas Peugnet
Hi, On 28/11/2024 09:52, Otto Kekäläinen wrote: In https://salsa.debian.org/go-team/packages/glow/-/jobs/6665802 the build of Glow fails to load github.com/caarlos0/env/v11. Can anybody help me understand why? The dependency exists in Debian (https://packages.debian.org/sid/golang-github

Re: Build of Glow fails to load

2024-11-28 Thread weepingclown
Hi, Full disclaimer, I am only mentioning the things I observed, I probably have less experience in go and go packaging than you. Now, the package seems to be looking at the import path "github.com/caarlos0/env/v11". Other than the fact the version for the corresponding package is far outdated

Build of Glow fails to load

2024-11-28 Thread Otto Kekäläinen
Hi, In https://salsa.debian.org/go-team/packages/glow/-/jobs/6665802 the build of Glow fails to load github.com/caarlos0/env/v11. Can anybody help me understand why? The dependency exists in Debian (https://packages.debian.org/sid/golang-github-caarlos0-env-dev) and is properly as build-depends