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

Invalid/Outdated link breaking centos build in master. #960

Closed
1 of 3 tasks
sitio-couto opened this issue Mar 23, 2020 · 1 comment
Closed
1 of 3 tasks

Invalid/Outdated link breaking centos build in master. #960

sitio-couto opened this issue Mar 23, 2020 · 1 comment

Comments

@sitio-couto
Copy link

  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

Successful build after running the Makefile for the centos (rpm packages).

Actual behavior

The build fails at [stage-1 4/6] due to an invalid mirror link:

 => ERROR [stage-1 4/6] RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec                                                           4.6s
------
 > [stage-1 4/6] RUN yum-builddep -y /root/rpmbuild/SPECS/*.spec:
#9 1.682 Loaded plugins: fastestmirror, ovl
#9 2.544 Enabling base-source repository
#9 2.545 Enabling extras-source repository
#9 2.545 Enabling updates-source repository
#9 2.552 Loading mirror speeds from cached hostfile
#9 2.587  * base: centos-altarch.itsbrasil.net
#9 2.653  * extras: centos-altarch.itsbrasil.net
#9 2.654  * updates: centos-altarch.itsbrasil.net
#9 3.137 http://vault.centos.org/altarch/7/extras/Source/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
#9 3.137 Trying other mirror.
#9 3.138 To address this issue please refer to the below wiki article
#9 3.138
#9 3.138 https://wiki.centos.org/yum-errors
#9 3.138
#9 3.138 If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
#9 3.138
#9 3.138 failure: repodata/repomd.xml from extras-source: [Errno 256] No more mirrors to try.
#9 3.138 http://vault.centos.org/altarch/7/extras/Source/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c yum-builddep -y /root/rpmbuild/SPECS/*.spec]: runc did not terminate sucessfully
Makefile:66: recipe for target 'centos-7' failed
make: *** [centos-7] Error 1

Steps to reproduce the behavior

Tested with docker-ce version 19.03.8.
git clone https://github.com/docker/docker-ce
cd docker-ce/components/packaging/rpm/
sudo make centos

Output of docker version:

Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        a61721168e
 Built:             Thu Mar 12 01:34:40 2020
 OS/Arch:           linux/ppc64le
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       a61721168e
  Built:            Thu Mar 12 01:32:39 2020
  OS/Arch:          linux/ppc64le
  Experimental:     false
 containerd:
  Version:          1.3.3-0ubuntu1~18.04.1
  GitCommit:
 runc:
  Version:          spec: 1.0.1-dev
  GitCommit:
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker info:

Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 18
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-74-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: ppc64le
 CPUs: 4
 Total Memory: 3.973GiB
 Name: ubuntu
 ID: DH4Z:M6LB:JXHL:AS5M:MFPB:I5KM:XF5G:CUS3:5EU6:SLPH:ZMRA:PTZX
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.)

Distro: Ubuntu Bionic
Arch: ppc64le (Power PC 64 little endian)

@sitio-couto
Copy link
Author

sitio-couto commented Mar 27, 2020

This issue was fixed in thaJeztah@ea42f7! (docker/docker-ce-packaging#446)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant