Attempt to build package golang-github-mvdan-sh for apptainer

2022-02-14 Thread Andreas Tille
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 fin

Re: Attempt to build package golang-github-mvdan-sh for apptainer

2022-02-14 Thread Arnaud Rebillout
Hi Andreas, when a build-dep is missing, the "quick fix" is to embed it in the package. For apptainer, as it uses go.mod, here's one approach:     # create the vendor tree     go mod vendor     # copy the build-dep you need in debian/vendor     mkdir -p debian/vendor     cp -a vendor/mvdan.cc/

Re: Attempt to build package golang-github-mvdan-sh for apptainer

2022-02-14 Thread Nilesh Patra
On 2/14/22 2:12 PM, Andreas Tille wrote: Hi, 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.) You can a

Re: Attempt to build package golang-github-mvdan-sh for apptainer

2022-02-14 Thread Nilesh Patra
On 2/14/22 2:32 PM, Arnaud Rebillout wrote: when a build-dep is missing, the "quick fix" is to embed it in the package. [...] That should unblock you for this build-dep. Keep doing it for other missing build deps.Then later on, after you have the view on all the missing build deps, you can star

Re: Attempt to build package golang-github-mvdan-sh for apptainer

2022-02-14 Thread Andreas Tille
Hi, thanks a lot for all the hints I've got. Regarding including vendored copies I agree in the actual case with Nilesh to package it separately. Am Mon, Feb 14, 2022 at 02:44:09PM +0530 schrieb Nilesh Patra: > On 2/14/22 2:12 PM, Andreas Tille wrote: > > Hi, > > > > Unfortunately the build of

Subscribing to this list does not work

2022-02-14 Thread Andreas Tille
Hi, I've tried now the second time to subscribe to this list with my e-mail andr...@an3as.eu but I do not get the usual subscription e-mail (I checked spam and even grepped my procmail log). Is there any special list configuration for this list or should I contact listmaster? Please CC - I'm obv

Re: Subscribing to this list does not work

2022-02-14 Thread Cyril Brulebois
Andreas Tille (2022-02-14): > I've tried now the second time to subscribe to this list with my e-mail > andr...@an3as.eu but I do not get the usual subscription e-mail (I > checked spam and even grepped my procmail log). Is there any special > list configuration for this list or should I contact