Skip to contentSkip to conversation

Can't build rdma-core's azp image

DISCUSSION Gal Pressman 3 participants 16 messages Apr 7, 2020 – Jul 26, 2020 InfiniBand

lore
Share & tools
lore
#0 lore raw

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Thanks

[1]

[ec2-user@ip-10-0-0-221 rdma-core]$ sudo ./buildlib/cbuild build-images azp [...]
---> Running in 84c2eeb7a740
Ign:1 https://apt.llvm.org/bionic llvm-toolchain-bionic-8 InRelease Err:2 https://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release
Certificate verification failed: The certificate is NOT trusted. The
certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 199.232.26.49 443]
Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease [15.4 kB]
Get:4 http://ports.ubuntu.com bionic InRelease [242 kB]
Get:5 http://ports.ubuntu.com bionic-security InRelease [88.7 kB] Get:6 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main arm64 Packages [19.5 kB]
Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 Packages [39.0 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:11 http://ports.ubuntu.com bionic/main ppc64el Packages [1284 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main ppc64el Packages [19.5 kB]
Get:15 http://ports.ubuntu.com bionic/main arm64 Packages [1285 kB] Get:16 http://ports.ubuntu.com bionic/universe arm64 Packages [11.0 MB] Get:17 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main i386 Packages [36.7 kB]
Get:18 http://ports.ubuntu.com bionic/universe ppc64el Packages [10.9 MB] Get:19 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [13.5 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1328 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [177 kB] Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get:24 http://ports.ubuntu.com bionic-security/universe ppc64el Packages [693 kB] Get:25 http://ports.ubuntu.com bionic-security/universe arm64 Packages [742 kB] Get:26 http://ports.ubuntu.com bionic-security/main ppc64el Packages [507 kB] Get:27 http://ports.ubuntu.com bionic-security/main arm64 Packages [571 kB] Get:28 http://ports.ubuntu.com bionic-updates/universe ppc64el Packages [1157 kB] Get:29 http://ports.ubuntu.com bionic-updates/main ppc64el Packages [773 kB] Get:30 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [11.3 MB] Get:31 http://ports.ubuntu.com bionic-updates/universe arm64 Packages [1220 kB] Get:32 http://ports.ubuntu.com bionic-updates/main arm64 Packages [844 kB] Get:33 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get:34 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [12.6 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [865 kB] Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1370 kB]
Get:38 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [883 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [8174 B]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [14.1 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1302 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [58.4 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1181 kB] Get:44 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [4240 B]
Get:45 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [2493 B] Get:46 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2496 B]
Get:47 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4247 B]
Get:48 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [43.1 kB]
Get:49 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7904 B]
Get:50 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [788 kB]
Get:51 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [836 kB]
Get:52 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [588 kB] Get:53 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [5385 B]
Get:54 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4513 B]
Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update; apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-9 cmake cython3 debhelper dh-systemd dpkg-dev fakeroot gcc-8-aarch64-linux-gnu gcc-8-powerpc64le-linux-gnu gcc-9 git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-8-dev:arm64 libgcc-8-dev:ppc64el libgcc-9-dev:i386 libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python2.7 python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/' returned a non-zero code: 100
Traceback (most recent call last):
File "./buildlib/cbuild", line 1138, in <module>

    args.func(args);
  File "./buildlib/cbuild", line 1042, in cmd_build_images
    docker_cmd(args,*opts);
  File "./buildlib/cbuild", line 559, in docker_cmd
    return subprocess.check_call(["sudo","docker"] + cmd);

File "/usr/lib64/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', 'docker', 'build', '--pull', '-f', '/tmp/tmp2l8ziblv/Dockerfile', '-t', 'ucfconsort.azurecr.io/rdma-core/azure_pipelines:28.0', '/tmp/tmp2l8ziblv']' returned non-zero exit status 100.

#1 lore raw
Quoted 8 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Thanks

[1]

[ec2-user@ip-10-0-0-221 rdma-core]$ sudo ./buildlib/cbuild build-images azp

Why do you run "sudo"? It should work without it.

Thanks

Quoted 149 lines

[...]
---> Running in 84c2eeb7a740
Ign:1 https://apt.llvm.org/bionic llvm-toolchain-bionic-8 InRelease Err:2 https://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release
Certificate verification failed: The certificate is NOT trusted. The
certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 199.232.26.49 443]
Get:3 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease [15.4 kB]
Get:4 http://ports.ubuntu.com bionic InRelease [242 kB]
Get:5 http://ports.ubuntu.com bionic-security InRelease [88.7 kB] Get:6 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:8 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main arm64 Packages [19.5 kB]
Get:9 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 Packages [39.0 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:11 http://ports.ubuntu.com bionic/main ppc64el Packages [1284 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:14 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main ppc64el Packages [19.5 kB]
Get:15 http://ports.ubuntu.com bionic/main arm64 Packages [1285 kB] Get:16 http://ports.ubuntu.com bionic/universe arm64 Packages [11.0 MB] Get:17 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main i386 Packages [36.7 kB]
Get:18 http://ports.ubuntu.com bionic/universe ppc64el Packages [10.9 MB] Get:19 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages [13.5 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1328 kB] Get:21 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [177 kB] Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get:24 http://ports.ubuntu.com bionic-security/universe ppc64el Packages [693 kB] Get:25 http://ports.ubuntu.com bionic-security/universe arm64 Packages [742 kB] Get:26 http://ports.ubuntu.com bionic-security/main ppc64el Packages [507 kB] Get:27 http://ports.ubuntu.com bionic-security/main arm64 Packages [571 kB] Get:28 http://ports.ubuntu.com bionic-updates/universe ppc64el Packages [1157 kB] Get:29 http://ports.ubuntu.com bionic-updates/main ppc64el Packages [773 kB] Get:30 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [11.3 MB] Get:31 http://ports.ubuntu.com bionic-updates/universe arm64 Packages [1220 kB] Get:32 http://ports.ubuntu.com bionic-updates/main arm64 Packages [844 kB] Get:33 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get:34 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [12.6 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [865 kB] Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1370 kB]
Get:38 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [883 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages [8174 B]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages [14.1 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1302 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [58.4 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1181 kB] Get:44 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [4240 B]
Get:45 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages [2493 B] Get:46 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2496 B]
Get:47 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4247 B]
Get:48 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [43.1 kB]
Get:49 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7904 B]
Get:50 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [788 kB]
Get:51 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [836 kB]
Get:52 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [588 kB] Get:53 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages [5385 B]
Get:54 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages [4513 B]
Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update; apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-9 cmake cython3 debhelper dh-systemd dpkg-dev fakeroot gcc-8-aarch64-linux-gnu gcc-8-powerpc64le-linux-gnu gcc-9 git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-8-dev:arm64 libgcc-8-dev:ppc64el libgcc-9-dev:i386 libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python2.7 python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/' returned a non-zero code: 100
Traceback (most recent call last):
File "./buildlib/cbuild", line 1138, in <module>

    args.func(args);
  File "./buildlib/cbuild", line 1042, in cmd_build_images
    docker_cmd(args,*opts);
  File "./buildlib/cbuild", line 559, in docker_cmd
    return subprocess.check_call(["sudo","docker"] + cmd);

File "/usr/lib64/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', 'docker', 'build', '--pull', '-f', '/tmp/tmp2l8ziblv/Dockerfile', '-t', 'ucfconsort.azurecr.io/rdma-core/azure_pipelines:28.0', '/tmp/tmp2l8ziblv']' returned non-zero exit status 100.

#2 lore raw
In reply to Gal Pressman
Quoted 10 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.

Oh, there is lots going wrong here..

Above is because llvm droped http support from their repo.. Bit annoying to fix..

Quoted 17 lines

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
Quoted 9 lines

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed

Oh neat, that is a problem in the toolchain ppa:

$ apt-get install libgcc-s1:arm64 gcc-7

The following packages have unmet dependencies:
libgcc-s1:arm64 : Breaks: libgcc-7-dev (< 7.5.0-4) but 7.5.0-3ubuntu1~18.04 is to be installed

The only ubuntu not broken right now is focal.. which is very new.

Keep using the old docker image? Ask me in a week if it is still broken, we can probably fix this by updating to focal, it is the next LTS anyhow..

Jason

#3 lore raw
Quoted 48 lines · Jason Gunthorpe
Quoted 10 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.

Oh, there is lots going wrong here..

Above is because llvm droped http support from their repo.. Bit annoying to fix..

Quoted 17 lines

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
Quoted 9 lines

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed

Oh neat, that is a problem in the toolchain ppa:

$ apt-get install libgcc-s1:arm64 gcc-7
Quoted 8 lines

The following packages have unmet dependencies:
libgcc-s1:arm64 : Breaks: libgcc-7-dev (< 7.5.0-4) but 7.5.0-3ubuntu1~18.04 is to be installed

The only ubuntu not broken right now is focal.. which is very new.

Keep using the old docker image? Ask me in a week if it is still broken, we can probably fix this by updating to focal, it is the next LTS anyhow..

Thanks Jason, I'll keep tracking the issue.

#4 lore raw
Quoted 52 lines · Gal Pressman
Quoted 51 lines · Jason Gunthorpe
Quoted 10 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.

Oh, there is lots going wrong here..

Above is because llvm droped http support from their repo.. Bit annoying to fix..

Quoted 17 lines

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
Quoted 9 lines

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed

Oh neat, that is a problem in the toolchain ppa:

$ apt-get install libgcc-s1:arm64 gcc-7

The following packages have unmet dependencies:
libgcc-s1:arm64 : Breaks: libgcc-7-dev (< 7.5.0-4) but 7.5.0-3ubuntu1~18.04 is to be installed

Quoted 7 lines
Quoted 5 lines

The only ubuntu not broken right now is focal.. which is very new.

Keep using the old docker image? Ask me in a week if it is still broken, we can probably fix this by updating to focal, it is the next LTS anyhow..

Thanks Jason, I'll keep tracking the issue.

Looks like the issue persists :\.

#5 lore raw
Quoted 55 lines · Gal Pressman
Quoted 54 lines · Gal Pressman
Quoted 53 lines · Jason Gunthorpe
Quoted 10 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.

Oh, there is lots going wrong here..

Above is because llvm droped http support from their repo.. Bit annoying to fix..

Quoted 17 lines

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
Quoted 9 lines

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed

Oh neat, that is a problem in the toolchain ppa:

$ apt-get install libgcc-s1:arm64 gcc-7

The following packages have unmet dependencies:
libgcc-s1:arm64 : Breaks: libgcc-7-dev (< 7.5.0-4) but 7.5.0-3ubuntu1~18.04 is to be installed

The only ubuntu not broken right now is focal.. which is very new.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Keep using the old docker image? Ask me in a week if it is still broken, we can probably fix this by updating to focal, it is the next LTS anyhow..

Thanks Jason, I'll keep tracking the issue.

Looks like the issue persists :\.

Are you sure? It seems fixed

root@069a1ad800ba:/# apt-get install libgcc-s1:arm64 gcc-7
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-10-base gcc-10-base:arm64 gcc-7-base gcc-8-base libasan4
  libatomic1 libbinutils libc-dev-bin libc6:arm64 libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgcc-s1 libgcc1 libgomp1
  libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++6 libtsan0 libubsan0 linux-libc-dev manpages
  manpages-dev
Suggested packages:
  binutils-doc gcc-7-locales gcc-7-multilib gcc-7-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc:arm64 locales:arm64
  glibc-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-10-base gcc-10-base:arm64 gcc-7 gcc-7-base libasan4
  libatomic1 libbinutils libc-dev-bin libc6:arm64 libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgcc-s1 libgcc-s1:arm64
  libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages
  manpages-dev
The following packages will be upgraded:
  gcc-8-base libgcc1 libstdc++6
3 upgraded, 32 newly installed, 0 to remove and 9 not upgraded.
Need to get 35.2 MB of archives.
After this operation, 131 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

I will look more later

Jason

#6 lore raw
Quoted 91 lines · Jason Gunthorpe
Quoted 55 lines · Gal Pressman
Quoted 54 lines · Gal Pressman
Quoted 53 lines · Jason Gunthorpe
Quoted 10 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

Reading package lists...
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/InRelease: No system certificates available. Try installing ca-certificates.
W: http://apt.llvm.org/bionic/dists/llvm-toolchain-bionic-8/Release: No system certificates available. Try installing ca-certificates.
E: The repository 'http://apt.llvm.org/bionic llvm-toolchain-bionic-8 Release' does not have a Release file.

Oh, there is lots going wrong here..

Above is because llvm droped http support from their repo.. Bit annoying to fix..

Quoted 17 lines

The following packages have unmet dependencies:
libc6-dev:arm64 : Depends: libc6:arm64 (= 2.27-3ubuntu1) but it is not going to
be installed
libgcc-8-dev:arm64 : Depends: libgcc1:arm64 (>= 1:8.4.0-1ubuntu1~18.04)

                      Depends: libgomp1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libitm1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it is
not going to be installed
                      Depends: libatomic1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libasan5:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: liblsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libtsan0:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
is not going to be installed
                      Depends: libubsan1:arm64 (>= 8.4.0-1ubuntu1~18.04) but it
Quoted 9 lines

is not going to be installed
libnl-3-dev:arm64 : Depends: libnl-3-200:arm64 (= 3.2.29-0ubuntu3) but it is
not going to be installed
libnl-route-3-dev:arm64 : Depends: libnl-route-3-200:arm64 (= 3.2.29-0ubuntu3)
but it is not going to be installed
libsystemd-dev:arm64 : Depends: libsystemd0:arm64 (= 237-3ubuntu10.39) but it
is not going to be installed
libudev-dev:arm64 : Depends: libudev1:arm64 (= 237-3ubuntu10.39) but it is not
going to be installed

Oh neat, that is a problem in the toolchain ppa:

$ apt-get install libgcc-s1:arm64 gcc-7

The following packages have unmet dependencies:
libgcc-s1:arm64 : Breaks: libgcc-7-dev (< 7.5.0-4) but 7.5.0-3ubuntu1~18.04 is to be installed

The only ubuntu not broken right now is focal.. which is very new.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Keep using the old docker image? Ask me in a week if it is still broken, we can probably fix this by updating to focal, it is the next LTS anyhow..

Thanks Jason, I'll keep tracking the issue.

Looks like the issue persists :\.

Are you sure? It seems fixed

root@069a1ad800ba:/# apt-get install libgcc-s1:arm64 gcc-7
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-10-base gcc-10-base:arm64 gcc-7-base gcc-8-base libasan4
  libatomic1 libbinutils libc-dev-bin libc6:arm64 libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgcc-s1 libgcc1 libgomp1
  libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++6 libtsan0 libubsan0 linux-libc-dev manpages
  manpages-dev
Suggested packages:
  binutils-doc gcc-7-locales gcc-7-multilib gcc-7-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc:arm64 locales:arm64
  glibc-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-7 gcc-10-base gcc-10-base:arm64 gcc-7 gcc-7-base libasan4
  libatomic1 libbinutils libc-dev-bin libc6:arm64 libc6-dev libcc1-0 libcilkrts5 libgcc-7-dev libgcc-s1 libgcc-s1:arm64
  libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages
  manpages-dev
The following packages will be upgraded:
  gcc-8-base libgcc1 libstdc++6
3 upgraded, 32 newly installed, 0 to remove and 9 not upgraded.
Need to get 35.2 MB of archives.
After this operation, 131 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Quoted 1 line

I will look more later

The error is different now, ends up with:

debconf: delaying package configuration, since apt-utils is not installed Fetched 328 MB in 4s (80.9 MB/s)
Selecting previously unselected package gcc-10-base:amd64. (Reading database ... 4046 files and directories currently installed.) Preparing to unpack .../gcc-10-base_10-20200416-0ubuntu1~18.04_amd64.deb ... Unpacking gcc-10-base:amd64 (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package gcc-10-base:i386. Preparing to unpack .../gcc-10-base_10-20200416-0ubuntu1~18.04_i386.deb ... Unpacking gcc-10-base:i386 (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package gcc-10-base:ppc64el. Preparing to unpack .../gcc-10-base_10-20200416-0ubuntu1~18.04_ppc64el.deb ... Unpacking gcc-10-base:ppc64el (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package gcc-10-base:arm64. Preparing to unpack .../gcc-10-base_10-20200416-0ubuntu1~18.04_arm64.deb ... Unpacking gcc-10-base:arm64 (10-20200416-0ubuntu1~18.04) ... Setting up gcc-10-base:amd64 (10-20200416-0ubuntu1~18.04) ... Setting up gcc-10-base:i386 (10-20200416-0ubuntu1~18.04) ... Setting up gcc-10-base:ppc64el (10-20200416-0ubuntu1~18.04) ... Setting up gcc-10-base:arm64 (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package libgcc-s1:amd64.
(Reading database ... 4054 files and directories currently installed.) Preparing to unpack .../libgcc-s1_10-20200416-0ubuntu1~18.04_amd64.deb ... Unpacking libgcc-s1:amd64 (10-20200416-0ubuntu1~18.04) ... Replacing files in old package libgcc1:amd64 (1:8.3.0-26ubuntu1~18.04) ... Selecting previously unselected package libgcc-s1:i386.
Preparing to unpack .../libgcc-s1_10-20200416-0ubuntu1~18.04_i386.deb ... Unpacking libgcc-s1:i386 (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package libgcc-s1:ppc64el. Preparing to unpack .../libgcc-s1_10-20200416-0ubuntu1~18.04_ppc64el.deb ... Unpacking libgcc-s1:ppc64el (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package libgcc-s1:arm64. Preparing to unpack .../libgcc-s1_10-20200416-0ubuntu1~18.04_arm64.deb ... Unpacking libgcc-s1:arm64 (10-20200416-0ubuntu1~18.04) ... Setting up libgcc-s1:amd64 (10-20200416-0ubuntu1~18.04) ... Selecting previously unselected package libc6:i386.
(Reading database ... 4062 files and directories currently installed.) Preparing to unpack .../libc6_2.27-3ubuntu1_i386.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:i386 (2.27-3ubuntu1) ...
Selecting previously unselected package libc6:ppc64el.
Preparing to unpack .../libc6_2.27-3ubuntu1_ppc64el.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:ppc64el (2.27-3ubuntu1) ...
Selecting previously unselected package libc6:arm64.
Preparing to unpack .../libc6_2.27-3ubuntu1_arm64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Unpacking libc6:arm64 (2.27-3ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc-s1:i386 which provides libgcc1 is not configured yet.

dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-s1:ppc64el:
libgcc-s1:ppc64el depends on libc6 (>= 2.17); however:
Package libc6:ppc64el is not configured yet.

dpkg: error processing package libgcc-s1:ppc64el (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:i386
libgcc-s1:ppc64el
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get update; apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-9 cmake cython3 debhelper dh-systemd dpkg-dev fakeroot gcc-8-aarch64-linux-gnu gcc-8-powerpc64le-linux-gnu gcc-9 git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-8-dev:arm64 libgcc-8-dev:ppc64el libgcc-9-dev:i386 libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python2.7 python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/' returned a non-zero code: 100
Traceback (most recent call last):
File "./buildlib/cbuild", line 1138, in <module>

    args.func(args);
  File "./buildlib/cbuild", line 1042, in cmd_build_images
    docker_cmd(args,*opts);
  File "./buildlib/cbuild", line 559, in docker_cmd
    return subprocess.check_call(["sudo","docker"] + cmd);

File "/usr/lib64/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', 'docker', 'build', '--pull', '-f', '/tmp/tmpzku61wlq/Dockerfile', '-t', 'ucfconsort.azurecr.io/rdma-core/azure_pipelines:28.0', '/tmp/tmpzku61wlq']' returned non-zero exit status 100.

#7 lore raw
Quoted 11 lines · Gal Pressman

Unpacking libc6:arm64 (2.27-3ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc-s1:i386 which provides libgcc1 is not configured yet.

dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-s1:ppc64el:
libgcc-s1:ppc64el depends on libc6 (>= 2.17); however:
Package libc6:ppc64el is not configured yet.

Quoted 6 lines

dpkg: error processing package libgcc-s1:ppc64el (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:i386
libgcc-s1:ppc64el
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wow, that is actually an APT bug... Must be from old age :O

Ah we can hack around that with this:

https://github.com/jgunthorpe/rdma-plumbing/pull/new/azp_fix

Let me know if it works

Now that github has docker hosting I wonder if we should try to host a copy of the docker image there.. Their docker hosting is a pain last I looked though..

Jason

#8 lore raw
Quoted 23 lines · Jason Gunthorpe
Quoted 11 lines · Gal Pressman

Unpacking libc6:arm64 (2.27-3ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc-s1:i386 which provides libgcc1 is not configured yet.

dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-s1:ppc64el:
libgcc-s1:ppc64el depends on libc6 (>= 2.17); however:
Package libc6:ppc64el is not configured yet.

Quoted 6 lines

dpkg: error processing package libgcc-s1:ppc64el (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:i386
libgcc-s1:ppc64el
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wow, that is actually an APT bug... Must be from old age :O

Ah we can hack around that with this:

Quoted 7 lines

https://github.com/jgunthorpe/rdma-plumbing/pull/new/azp_fix

Let me know if it works

Now that github has docker hosting I wonder if we should try to host a copy of the docker image there.. Their docker hosting is a pain last I looked though..

I've applied these patches and still got the same error :\.

#9 lore raw
Quoted 26 lines · Gal Pressman
Quoted 25 lines · Jason Gunthorpe
Quoted 11 lines · Gal Pressman

Unpacking libc6:arm64 (2.27-3ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc-s1:i386 which provides libgcc1 is not configured yet.

dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-s1:ppc64el:
libgcc-s1:ppc64el depends on libc6 (>= 2.17); however:
Package libc6:ppc64el is not configured yet.

Quoted 6 lines

dpkg: error processing package libgcc-s1:ppc64el (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:i386
libgcc-s1:ppc64el
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wow, that is actually an APT bug... Must be from old age :O

Ah we can hack around that with this:

https://github.com/jgunthorpe/rdma-plumbing/pull/new/azp_fix

Quoted 7 lines
Quoted 5 lines

Let me know if it works

Now that github has docker hosting I wonder if we should try to host a copy of the docker image there.. Their docker hosting is a pain last I looked though..

I've applied these patches and still got the same error :\.

It is because you rebased it on top of 9a68d672c3a835d..

'cbuild: Adjust to the new clang CDN' is the better fix for that..

I rebased it on the github

Jason

#10 lore raw
Quoted 33 lines · Jason Gunthorpe
Quoted 32 lines · Gal Pressman
Quoted 30 lines · Jason Gunthorpe
Quoted 11 lines · Gal Pressman

Unpacking libc6:arm64 (2.27-3ubuntu1) ...
dpkg: dependency problems prevent configuration of libc6:i386:
libc6:i386 depends on libgcc1; however:
Package libgcc-s1:i386 which provides libgcc1 is not configured yet.

dpkg: error processing package libc6:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc-s1:ppc64el:
libgcc-s1:ppc64el depends on libc6 (>= 2.17); however:
Package libc6:ppc64el is not configured yet.

Quoted 6 lines

dpkg: error processing package libgcc-s1:ppc64el (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:i386
libgcc-s1:ppc64el
E: Sub-process /usr/bin/dpkg returned an error code (1)

Wow, that is actually an APT bug... Must be from old age :O

Ah we can hack around that with this:

https://github.com/jgunthorpe/rdma-plumbing/pull/new/azp_fix

Let me know if it works

Now that github has docker hosting I wonder if we should try to host a copy of the docker image there.. Their docker hosting is a pain last I looked though..

Quoted 7 lines
Quoted 1 line

I've applied these patches and still got the same error :\.

It is because you rebased it on top of 9a68d672c3a835d..

'cbuild: Adjust to the new clang CDN' is the better fix for that..

I rebased it on the github

Thanks Jason, confirmed it's working.

#11 lore raw
In reply to Gal Pressman
Quoted 2 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

azp build broke again :(.

The last step
Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Fails with
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200519100828+f79cd71e145-1~exp1~20200519201452.38_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

#12 lore raw
Quoted 6 lines · Gal Pressman
Quoted 2 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

azp build broke again :(.

Quoted 7 lines

The last step
Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Fails with
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200519100828+f79cd71e145-1~exp1~20200519201452.38_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

couldn't reproduce

Jason

#13 lore raw
Quoted 10 lines · Jason Gunthorpe
Quoted 9 lines · Gal Pressman
Quoted 2 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

azp build broke again :(.

The last step
Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Quoted 6 lines
Quoted 4 lines

Fails with
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200519100828+f79cd71e145-1~exp1~20200519201452.38_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

couldn't reproduce

Maybe you have a cached image or something?
I just set up a clean instance and it reproduces immediately.

#14 lore raw
Quoted 16 lines · Gal Pressman
Quoted 15 lines · Jason Gunthorpe
Quoted 13 lines · Gal Pressman
Quoted 2 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

azp build broke again :(.

The last step
Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Fails with
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200519100828+f79cd71e145-1~exp1~20200519201452.38_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Quoted 4 lines
Quoted 1 line

couldn't reproduce

Maybe you have a cached image or something?
I just set up a clean instance and it reproduces immediately.

It was fixed at some point, and now it's back again:

Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

[...]

W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200708122807+ef32c611aa2-1~exp1~20200707223407.61_amd64.deb: No system certificates available. Try installing ca-certificates.
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libclang1-10_10.0.1~++20200708122807+ef32c611aa2-1~exp1~20200707223407.61_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Maybe it's an issue with the llvm repo?

#15 lore raw
Quoted 26 lines · Gal Pressman
Quoted 16 lines · Gal Pressman
Quoted 15 lines · Jason Gunthorpe
Quoted 13 lines · Gal Pressman
Quoted 2 lines · Gal Pressman

I'm trying to build the azp image and it fails with the following error [1]. Anyone has an idea what went wrong?

azp build broke again :(.

The last step
Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Fails with
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200519100828+f79cd71e145-1~exp1~20200519201452.38_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Quoted 4 lines
Quoted 1 line

couldn't reproduce

Maybe you have a cached image or something?
I just set up a clean instance and it reproduces immediately.

It was fixed at some point, and now it's back again:

Step 4/4 : RUN apt-get update && apt-get install -y --no-install-recommends libgcc-s1:i386 libgcc-s1:ppc64el && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends abi-compliance-checker abi-dumper ca-certificates clang-10 cmake cython3 debhelper dh-python dh-systemd dpkg-dev fakeroot gcc-10 gcc-9-aarch64-linux-gnu gcc-9-powerpc64le-linux-gnu git libc6-dev libc6-dev:arm64 libc6-dev:i386 libc6-dev:ppc64el libgcc-10-dev:i386 libgcc-9-dev:arm64 libgcc-9-dev:ppc64el libnl-3-dev libnl-3-dev:arm64 libnl-3-dev:i386 libnl-3-dev:ppc64el libnl-route-3-dev libnl-route-3-dev:arm64 libnl-route-3-dev:i386 libnl-route-3-dev:ppc64el libsystemd-dev libsystemd-dev:arm64 libsystemd-dev:i386 libsystemd-dev:ppc64el libudev-dev libudev-dev:arm64 libudev-dev:i386 libudev-dev:ppc64el lintian make ninja-build pandoc pkg-config python3 python3-dev python3-docutils python3-yaml sparse valgrind && apt-get clean && rm -rf /usr/share/doc/ /usr/lib/debug /var/lib/apt/lists/

Quoted 8 lines

[...]

W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libllvm10_10.0.1~++20200708122807+ef32c611aa2-1~exp1~20200707223407.61_amd64.deb: No system certificates available. Try installing ca-certificates.
W: https://apt.llvm.org/focal/pool/main/l/llvm-toolchain-10/libclang1-10_10.0.1~++20200708122807+ef32c611aa2-1~exp1~20200707223407.61_amd64.deb: No system certificates available. Try installing ca-certificates.
E: Could not configure 'libc6:arm64'.
E: Could not perform immediate configuration on 'libgcc-s1:arm64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

Maybe it's an issue with the llvm repo?

No idea. The reason we switched to AZP was to avoid the endless random breakage by using pre-built containers. I think you need to do the same..

Jason