Bug#1021650: nomad: missing golang-github-apparentlymart-go-textseg-dev in (Build-|)Depends

2022-10-14 Thread Cyril Brulebois
Cyril Brulebois  (2022-10-12):
> nomad is shipping an embedded copy of hashicorp/hcl/v2, and doesn't
> list all packages it requires to build. For the time being, this is
> hidden by golang-github-zclconf-go-cty-dev, which in turn pulls the
> required golang-github-apparentlymart-go-textseg-dev package.
> 
> That being said, I'm working on updating golang-github-zclconf-go-cty,
> and golang-github-apparentlymart-go-textseg-v13-dev is likely to be
> used by this updated version, leading to nomad no longer finding
> go-textseg/v12/textseg.

Actually, we're sticking to the existing package, without introducing a
-v13 one (i.e. still using golang-github-apparentlymart-go-textseg-dev),
meaning the golang-github-zclconf-go-cty update doesn't change anything
for this package.

That being said, paths moved from /v12 to /v13, so you'd need to update
that part.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/


signature.asc
Description: PGP signature


Bug#1021650: nomad: missing golang-github-apparentlymart-go-textseg-dev in (Build-|)Depends

2022-10-12 Thread Cyril Brulebois
Source: nomad
Version: 0.12.10+dfsg1-3
Severity: important

Hi,

nomad is shipping an embedded copy of hashicorp/hcl/v2, and doesn't
list all packages it requires to build. For the time being, this is
hidden by golang-github-zclconf-go-cty-dev, which in turn pulls the
required golang-github-apparentlymart-go-textseg-dev package.

That being said, I'm working on updating golang-github-zclconf-go-cty,
and golang-github-apparentlymart-go-textseg-v13-dev is likely to be
used by this updated version, leading to nomad no longer finding
go-textseg/v12/textseg.

I'm filing this report as important but will bump it to serious once
my plan has been reviewed, and once the required packages have been
uploaded.

Please note this will break reverse dependencies as well, namely
nomad-driver-podman. This isn't ideal since nomad will FTBFS for other
reasons (#994214, #1000441). But I suppose we can work around the
missing dependency in golang-github-hashicorp-nomad-dev by adding a
direct build-dependency in nomad-driver-podman. I'll file another
report against src:nomad-driver-podman referencing this one.


Cheers,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/