Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: unable to select packages: util-linux-2.37.4-r0: breaks: world[util-linux=2.37.3-r0] #528

Closed
atc0005 opened this issue Feb 18, 2022 · 0 comments · Fixed by #529
Closed
Assignees
Labels
bug Something isn't working dependencies
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Feb 18, 2022

Encountered this while performing test builds of 36b794a ahead of a v0.6.2 release:

Building stable-alpine-build.x64 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.6.1-7-g36b794a \
	-t ghcr.io/atc0005/go-ci:go-ci-stable-alpine-buildx64 \
	-t ghcr.io/atc0005/go-ci:go-ci-stable-alpine-buildx64-v0.6.1-7-g36b794a \
	--label=atc0005.go-ci \
	--label=org.opencontainers.image.revision="36b794aa4dc12e117ef2f00f006689c3bde9a37d" \
	--label=org.opencontainers.image.created="2022-02-18 10:19:12+00:00"
Sending build context to Docker daemon   7.68kB
Step 1/20 : FROM golang:1.17.7-alpine3.14
1.17.7-alpine3.14: Pulling from library/golang
97518928ae5f: Already exists 
b78c28b3bbf7: Already exists 
248309d37e25: Already exists 
1a0dbe70829b: Pull complete 
3de1980fc671: Pull complete 
Digest: sha256:1dd6b7ba7c5b0eb415ba8c976965a4aeff0f15232d4bfeb4e2743fb45cd70c8a
Status: Downloaded newer image for golang:1.17.7-alpine3.14
 ---> 5b8d731dc703
Step 2/20 : LABEL org.opencontainers.image.source="https://github.com/atc0005/go-ci"
 ---> Running in 7d813208d802
Removing intermediate container 7d813208d802
 ---> c56159ed6cd4
Step 3/20 : LABEL org.opencontainers.image.documentation="https://github.com/atc0005/go-ci"
 ---> Running in c694ec87de76
Removing intermediate container c694ec87de76
 ---> fa04247282e6
Step 4/20 : LABEL org.opencontainers.image.url="https://github.com/atc0005/go-ci"
 ---> Running in 1dbd89f01c69
Removing intermediate container 1dbd89f01c69
 ---> 1d41761aa0e7
Step 5/20 : LABEL org.opencontainers.image.title="go-ci-stable-alpine-buildx64"
 ---> Running in f12f4c4214b9
Removing intermediate container f12f4c4214b9
 ---> e5e935342fde
Step 6/20 : LABEL org.opencontainers.image.description="Docker container image used to build 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 de883ba6b035
Removing intermediate container de883ba6b035
 ---> d818bca6182a
Step 7/20 : LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)"
 ---> Running in 03dbceed2003
Removing intermediate container 03dbceed2003
 ---> e1e3e64a3df4
Step 8/20 : ENV APK_GCC_MINGW64_VERSION="10.3.0-r0"
 ---> Running in ff9ef93e9546
Removing intermediate container ff9ef93e9546
 ---> 92abfc99a6e1
Step 9/20 : ENV APK_BASH_VERSION="5.1.4-r0"
 ---> Running in eeb1a5288d2e
Removing intermediate container eeb1a5288d2e
 ---> cfb44a47c8ff
Step 10/20 : ENV APK_GCC_VERSION="10.3.1_git20210424-r2"
 ---> Running in e2a377c2e2b1
Removing intermediate container e2a377c2e2b1
 ---> a6e25096690f
Step 11/20 : ENV APK_GIT_VERSION="2.32.0-r0"
 ---> Running in 83043f5a3dcd
Removing intermediate container 83043f5a3dcd
 ---> 24a4f0b9531b
Step 12/20 : ENV APK_MAKE_VERSION="4.3-r0"
 ---> Running in 1c375e4303e6
Removing intermediate container 1c375e4303e6
 ---> 596a10cb6244
Step 13/20 : ENV APK_UTIL_LINUX_VERSION="2.37.3-r0"
 ---> Running in cfc4fc90f9f8
Removing intermediate container cfc4fc90f9f8
 ---> ecc226185beb
Step 14/20 : ENV APK_FILE_VERSION="5.40-r1"
 ---> Running in ca41124ab5fc
Removing intermediate container ca41124ab5fc
 ---> 418a71cb395c
Step 15/20 : ENV APK_NANO_VERSION="5.7-r2"
 ---> Running in 977e5746e5bf
Removing intermediate container 977e5746e5bf
 ---> 69a8d6fa2ec4
Step 16/20 : ENV APK_MUSL_DEV_VERSION="1.2.2-r3"
 ---> Running in c735b6aabc19
Removing intermediate container c735b6aabc19
 ---> 8748605588f4
Step 17/20 : 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}
 ---> Running in f6ad5adf50e0
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  util-linux-2.37.4-r0:
    breaks: world[util-linux=2.37.3-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}' returned a non-zero code: 1
Makefile:106: recipe for target 'build' failed
make: *** [build] Error 1
@atc0005 atc0005 added bug Something isn't working dependencies labels Feb 18, 2022
@atc0005 atc0005 added this to the v0.6.2 milestone Feb 18, 2022
@atc0005 atc0005 self-assigned this Feb 18, 2022
atc0005 added a commit that referenced this issue Feb 18, 2022
- update alpine-x64 image
- update alpine-x86 image

refs GH-528
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant