Control: tags -1 help

Hi,

I pushed several changes to singularity-container Git[1] (including
changing debian/.gitlab-ci.yaml to get build logs I can link to).  I
also upgraded two golang packages (golang-github-blang-semver-dev and
golang-github-vbauerster-mpb-dev) to the versions that are needed by
singularity-container 3.9.4.  While upgrading
golang-github-blang-semver-dev helped to get rid of some error
message inside the build log this is not the case for the latest
version of golang-github-vbauerster-mpb-dev:

...
 GO singularity
    [+] GO_TAGS "containers_image_openpgp exclude_graphdriver_btrfs 
exclude_graphdriver_devicemapper sylog oci_engine singularity_engine 
fakeroot_engine apparmor selinux seccomp"
/usr/bin/go build -mod=vendor -buildmode=pie -tags "containers_image_openpgp 
exclude_graphdriver_btrfs exclude_graphdriver_devicemapper sylog oci_engine 
singularity_engine              fakeroot_engine apparmor selinux seccomp" 
-ldflags="-B 0x`head -c20 /dev/urandom|od -An -tx1|tr -d ' \n'`" 
-gcflags=github.com/sylabs/singularity/...="-trimpath /build/singularity-     
container-3.9.4+ds1/_build/src/github.com/sylabs/singularity=>github.com/sylabs/[email protected]"
 -asmflags=github.com/sylabs/singularity/...="-trimpath 
/build/singularity-container- 
3.9.4+ds1/_build/src/github.com/sylabs/singularity=>github.com/sylabs/[email protected]"
 \
        -o ./singularity 
/build/singularity-container-3.9.4+ds1/_build/src/github.com/sylabs/singularity/cmd/singularity
../internal/app/singularity/push.go:23:2: cannot find package 
"github.com/vbauerster/mpb/v4" in any of:
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/v4
 (vendor tree)
        /usr/lib/go-1.17/src/github.com/vbauerster/mpb/v4 (from $GOROOT)
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/vbauerster/mpb/v4 
(from $GOPATH)
../internal/app/singularity/push.go:24:2: cannot find package 
"github.com/vbauerster/mpb/v4/decor" in any of:
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/v4/decor
 (vendor tree)
        /usr/lib/go-1.17/src/github.com/vbauerster/mpb/v4/decor (from $GOROOT)
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/vbauerster/mpb/v4/decor
 (from $GOPATH)
../internal/pkg/client/progress.go:13:2: cannot find package 
"github.com/vbauerster/mpb/v6" in any of:
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/v6
 (vendor tree)
        /usr/lib/go-1.17/src/github.com/vbauerster/mpb/v6 (from $GOROOT)
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/vbauerster/mpb/v6 
(from $GOPATH)
../internal/pkg/client/progress.go:14:2: cannot find package 
"github.com/vbauerster/mpb/v6/decor" in any of:
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/sylabs/singularity/vendor/github.com/vbauerster/mpb/v6/decor
 (vendor tree)
        /usr/lib/go-1.17/src/github.com/vbauerster/mpb/v6/decor (from $GOROOT)
        
/build/singularity-container-3.9.4+ds1/_build/src/github.com/vbauerster/mpb/v6/decor
 (from $GOPATH)
make[2]: *** [Makefile:183: singularity] Error 1


(You can find the full build log in salsa-ci[2])

Since I'm not a Go programmer I wonder whether somebody could give
some helpful hint how to fix this.

Kind regards

    Andreas.

PS: I'm not subscribed to debian-go list.  Please keep the bug report
    in CC.


[1] https://salsa.debian.org/hpc-team/singularity-container
[2] https://salsa.debian.org/hpc-team/singularity-container/-/jobs/2403226

-- 
http://fam-tille.de

Reply via email to