atc0005 / go-ci

Tooling for linting, testing and building Go applications

Home Page:https://hub.docker.com/r/atc0005/go-ci

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: unable to select packages: git-2.36.6-r0: breaks: world[git=2.36.5-r0]

atc0005 opened this issue · comments

Output from a failing CI job:

Building Docker container images
Bundle linter config files to provide baseline default settings
'.markdownlint.yml' -> 'oldstable/combined/.markdownlint.yml'
'.markdownlint.yml' -> 'unstable/combined/.markdownlint.yml'
'.markdownlint.yml' -> 'stable/combined/.markdownlint.yml'
List Docker version
Client:
 Version:           20.10.24+azure-1
 API version:       1.41
 Go version:        go1.19.6
 Git commit:        297e1284d3bd092e9bc96076c3ddc4bb33f8c7ab
 Built:             Fri Mar 31 18:34:38 UTC 2023
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.24+azure-1
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.19.6
  Git commit:       5d6db842238e3c4f5f9fb9ad70ea46b35227d084
  Built:            Tue Apr  4 18:03:51 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.20+azure-1
  GitCommit:        2806fc1057397dbaeefbea0e4e17bddfbd388f38
 runc:
  Version:          1.1.6
  GitCommit:        0f48801a0e21e3f0bc4e74643ead2a502df4818d
 docker-init:
  Version:          0.19.0
  GitCommit:        
Building go-ci-stable-alpine-buildx64 release
sudo docker image build \
	--pull \
	--no-cache \
	stable/build/alpine-x64/ \
	-t registry-1.docker.io/atc0005/go-ci:go-ci-stable-alpine-buildx64 \
	-t registry-1.docker.io/atc0005/go-ci:go-ci-stable-alpine-buildx64-v0.10.5-dev.5.g6189aaf \
	-t ghcr.io/atc0005/go-ci:go-ci-stable-alpine-buildx64 \
	-t ghcr.io/atc0005/go-ci:go-ci-stable-alpine-buildx64-v0.10.5-dev.5.g6189aaf \
	--label=atc0005.go-ci \
	--label=org.opencontainers.image.revision="6189aafa21f4d184e0ff540dcb33871c21614309" \
	--label=org.opencontainers.image.created="2023-05-03 07:57:26+00:00"
Sending build context to Docker daemon   5.12kB

Step 1/24 : FROM golang:1.20.3-alpine3.16
1.20.3-alpine3.16: Pulling from library/golang
91d30c5bc195: Already exists
65d52c8ad3c4: Pulling fs layer
5089866afd3b: Pulling fs layer
d23230fcafca: Pulling fs layer
d23230fcafca: Verifying Checksum
d23230fcafca: Download complete
65d52c8ad3c4: Verifying Checksum
65d52c8ad3c4: Download complete
65d52c8ad3c4: Pull complete
5089866afd3b: Verifying Checksum
5089866afd3b: Download complete
5089866afd3b: Pull complete
d23230fcafca: Pull complete
Digest: sha256:29c4e6e307eac79e5db29a261b243f27ffe0563fa1767e8d9a6407657c9a5f08
Status: Downloaded newer image for golang:1.20.3-alpine3.16
 ---> 16986f1cc3ec
Step 2/24 : LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
 ---> Running in bdd8db7d81d8
Removing intermediate container bdd8db7d81d8
 ---> b7fb09ced0b8
Step 3/24 : LABEL org.opencontainers.image.documentation="https://github.com/atc0005/go-ci"
 ---> Running in cdb469b09454
Removing intermediate container cdb469b09454
 ---> 9712e23dde46
Step 4/24 : LABEL org.opencontainers.image.url="https://github.com/atc0005/go-ci"
 ---> Running in 8f758bba3d70
Removing intermediate container 8f758bba3d70
 ---> 59bafe8962e9
Step 5/24 : LABEL org.opencontainers.image.title="go-ci-stable-alpine-buildx64"
 ---> Running in ecda44561cb2
Removing intermediate container ecda44561cb2
 ---> 8f6510bdbc73
Step 6/24 : LABEL org.opencontainers.image.description="Docker container image used to build dev and stable     releases of Go code. Based on the latest version of the current (x64) stable golang alpine     image. Supports cross-platform, static cgo-enabled builds for Windows and     Linux."
 ---> Running in 54a7c794b90e
Removing intermediate container 54a7c794b90e
 ---> 138737510cec
Step 7/24 : LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
 ---> Running in 45bd17eec554
Removing intermediate container 45bd17eec554
 ---> 940d68739fa9
Step 8/24 : ENV APK_GCC_MINGW64_VERSION="11.3.0-r0"
 ---> Running in df2aed064922
Removing intermediate container df2aed064922
 ---> 7c57a1595ec1
Step 9/24 : ENV APK_BASH_VERSION="5.1.16-r2"
 ---> Running in 9fd3b81e3e11
Removing intermediate container 9fd3b81e3e11
 ---> e6cbbb98f280
Step 10/24 : ENV APK_GCC_VERSION="11.2.1_git20220219-r2"
 ---> Running in 39b9b92752c6
Removing intermediate container 39b9b92752c6
 ---> 006c42e63e48
Step 11/24 : ENV APK_GIT_VERSION="2.36.5-r0"
 ---> Running in b2160abd8940
Removing intermediate container b2160abd8940
 ---> 28927dcbf887
Step 12/24 : ENV APK_MAKE_VERSION="4.3-r0"
 ---> Running in 8997eb16323a
Removing intermediate container 8997eb16323a
 ---> 44cd0582ea44
Step 13/24 : ENV APK_UTIL_LINUX_VERSION="2.38-r1"
 ---> Running in 03e96d6f18df
Removing intermediate container 03e96d6f18df
 ---> 4f6a2f941648
Step 14/24 : ENV APK_FILE_VERSION="5.41-r0"
 ---> Running in a72d5fb098c2
Removing intermediate container a72d5fb098c2
 ---> 63352301de20
Step 15/24 : ENV APK_NANO_VERSION="6.3-r0"
 ---> Running in f745cb91c20c
Removing intermediate container f745cb91c20c
 ---> 437c6a94c15b
Step 16/24 : ENV APK_MUSL_DEV_VERSION="1.2.3-r2"
 ---> Running in 3ba71a2a2ad4
Removing intermediate container 3ba71a2a2ad4
 ---> 798f86f9d1ca
Step 17/24 : ENV APK_XZ_VERSION="5.2.5-r1"
 ---> Running in 5f52678166f5
Removing intermediate container 5f52678166f5
 ---> 5ca8465e5864
Step 18/24 : ENV GO_WINRES_VERSION="v0.3.1"
 ---> Running in 3437b1c45889
Removing intermediate container 3437b1c45889
 ---> c8c760d6e978
Step 19/24 : ENV NFPM_VERSION="v2.28.0"
 ---> Running in 0d3b623b7c7b
Removing intermediate container 0d3b623b7c7b
 ---> b8c49141b066
Step 20/24 : ENV GIT_DESCRIBE_SEMVER_VERSION="v0.3.9"
 ---> Running in 151012f3c219
Removing intermediate container 151012f3c219
 ---> 0f0ead6659eb
Step 21/24 : RUN apk add --no-cache     make="${APK_MAKE_VERSION}"     bash="${APK_BASH_VERSION}"     util-linux="${APK_UTIL_LINUX_VERSION}"     git="${APK_GIT_VERSION}"     gcc="${APK_GCC_VERSION}"     musl-dev="${APK_MUSL_DEV_VERSION}"     mingw-w64-gcc="${APK_GCC_MINGW64_VERSION}"     nano="${APK_NANO_VERSION}"     file="${APK_FILE_VERSION}"     xz="${APK_XZ_VERSION}"         && echo "Installing go-winres@${GO_WINRES_VERSION}"     && go install github.com/tc-hib/go-winres@${GO_WINRES_VERSION}     && go version -m $(which go-winres) | awk '$1 == "mod" { print $3 }'     && echo "Installing nfpm@${NFPM_VERSION}"     && go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${NFPM_VERSION}     && nfpm --version     && go install github.com/choffmeister/git-describe-semver@${GIT_DESCRIBE_SEMVER_VERSION}     && go version -m $(which git-describe-semver) | awk '$1 == "mod" { print $3 }'     && go clean -cache -modcache
 ---> Running in b40ee8fb81d3
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  git-2.36.6-r0:
    breaks: world[git=2.36.5-r0]
The command '/bin/sh -c apk add --no-cache     make="${APK_MAKE_VERSION}"     bash="${APK_BASH_VERSION}"     util-linux="${APK_UTIL_LINUX_VERSION}"     git="${APK_GIT_VERSION}"     gcc="${APK_GCC_VERSION}"     musl-dev="${APK_MUSL_DEV_VERSION}"     mingw-w64-gcc="${APK_GCC_MINGW64_VERSION}"     nano="${APK_NANO_VERSION}"     file="${APK_FILE_VERSION}"     xz="${APK_XZ_VERSION}"         && echo "Installing go-winres@${GO_WINRES_VERSION}"     && go install github.com/tc-hib/go-winres@${GO_WINRES_VERSION}     && go version -m $(which go-winres) | awk '$1 == "mod" { print $3 }'     && echo "Installing nfpm@${NFPM_VERSION}"     && go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${NFPM_VERSION}     && nfpm --version     && go install github.com/choffmeister/git-describe-semver@${GIT_DESCRIBE_SEMVER_VERSION}     && go version -m $(which git-describe-semver) | awk '$1 == "mod" { print $3 }'     && go clean -cache -modcache' returned a non-zero code: 1
make: *** [Makefile:177: build-stable-alpine-buildx64] Error 1
Error: Process completed with exit code 2.