Hello Otto,

On 3 April 2025 1:17:31 pm IST, "Otto Kekäläinen" <o...@debian.org> wrote:
>Thanks Taavi and Ahmad for your tips!
>
>Unfortunately none of the `debian/rules` tricks worked, see what I
>tried and notes in commit 77a3d40c at
>https://salsa.debian.org/go-team/packages/usql/-/merge_requests/1/commits
>
>Eventually, the only thing that worked was adding `//go:build ignore`
>lines in specific files instead.

That does not sound correct. I have pushed something to salsa which should work 
better (including fixing of the below chroma error).

Please take a look.

>There is still a bunch of dependency issues to solve, though.
>Currently I am trying to debug why it fails to load Chroma despite it
>being a dependency..
>
>± grep chroma debian/control
> golang-github-alecthomas-chroma-dev,
>
>± dpkg-buildpackage
>...
>src/github.com/xo/usql/drivers/drivers.go:17:2: cannot find package
>"github.com/alecthomas/chroma/v2" in any of:
>/usr/lib/go-1.24/src/github.com/alecthomas/chroma/v2 (from $GOROOT)
>/tmp/build/source/debian/.build/upstream/src/github.com/alecthomas/chroma/v2
>(from $GOPATH)
>src/github.com/xo/usql/drivers/drivers.go:18:2: cannot find package
>"github.com/alecthomas/chroma/v2/lexers" in any of:
>/usr/lib/go-1.24/src/github.com/alecthomas/chroma/v2/lexers (from $GOROOT)
>/tmp/build/source/debian/.build/upstream/src/github.com/alecthomas/chroma/v2/lexers
>(from $GOPATH)
>


Best,
Nilesh

Reply via email to