Hi,

I'm trying to package missing dependencies for apptainer[1].
Looking at the error messages in Salsa CI[2] which says:

...
/builds/hpc-team/apptainer/debian/output/source_dir/_build/src/mvdan.cc/sh/v3/interp
 (from $GOPATH)
../internal/pkg/util/shell/interpreter/interpreter.go:26:2: cannot find package 
"mvdan.cc/sh/v3/syntax" in any of:
        /usr/lib/go-1.17/src/mvdan.cc/sh/v3/syntax (from $GOROOT)
        
/builds/hpc-team/apptainer/debian/output/source_dir/_build/src/mvdan.cc/sh/v3/syntax
 (from $GOPATH)
...

I assume I need to package golang-github-mvdan-sh[3] (please double
check whether my assumption is valid).  Unfortunately the build of this
package breaks as you can see in salsa-ci[4].  (BTW, the
debian/gitlab-ci.yaml file which is automatically created by
dh-make-golang is not really helpful to spot build time errors and thus
I replaced this.)

Any idea how to fix this build?

Kind regards

     Andreas.

[1] https://salsa.debian.org/hpc-team/apptainer
[2] https://salsa.debian.org/hpc-team/apptainer/-/jobs/2466108#2969
[3] https://salsa.debian.org/go-team/packages/golang-github-mvdan-sh
[4] 
https://salsa.debian.org/go-team/packages/golang-github-mvdan-sh/-/jobs/2465932

-- 
http://fam-tille.de

Reply via email to