Skip to content

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

Description

@sitio-couto
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions