Linux-RDMA Archive on lore.kernel.org
 help / color / Atom feed
* Can't build rdma-core's azp image
@ 2020-04-07 15:47 Gal Pressman
  2020-04-07 17:28 ` Leon Romanovsky
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Gal Pressman @ 2020-04-07 15:47 UTC (permalink / raw)
  To: linux-rdma

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-07 15:47 Can't build rdma-core's azp image Gal Pressman
@ 2020-04-07 17:28 ` Leon Romanovsky
  2020-04-07 18:06 ` Jason Gunthorpe
  2020-05-26  6:25 ` Gal Pressman
  2 siblings, 0 replies; 16+ messages in thread
From: Leon Romanovsky @ 2020-04-07 17:28 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
> 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


> [...]
>  ---> 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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-07 15:47 Can't build rdma-core's azp image Gal Pressman
  2020-04-07 17:28 ` Leon Romanovsky
@ 2020-04-07 18:06 ` Jason Gunthorpe
  2020-04-08  6:35   ` Gal Pressman
  2020-05-26  6:25 ` Gal Pressman
  2 siblings, 1 reply; 16+ messages in thread
From: Jason Gunthorpe @ 2020-04-07 18:06 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
> 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..

> 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

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-07 18:06 ` Jason Gunthorpe
@ 2020-04-08  6:35   ` Gal Pressman
  2020-04-16  7:05     ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-04-08  6:35 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 07/04/2020 21:06, Jason Gunthorpe wrote:
> On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
>> 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..
> 
>> 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
> 
> 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..

Thanks Jason, I'll keep tracking the issue.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-08  6:35   ` Gal Pressman
@ 2020-04-16  7:05     ` Gal Pressman
  2020-04-17 16:21       ` Jason Gunthorpe
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-04-16  7:05 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 08/04/2020 9:35, Gal Pressman wrote:
> On 07/04/2020 21:06, Jason Gunthorpe wrote:
>> On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
>>> 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..
>>
>>> 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
>>
>> 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..
> 
> Thanks Jason, I'll keep tracking the issue.

Looks like the issue persists :\.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-16  7:05     ` Gal Pressman
@ 2020-04-17 16:21       ` Jason Gunthorpe
  2020-04-19  6:37         ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Jason Gunthorpe @ 2020-04-17 16:21 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Thu, Apr 16, 2020 at 10:05:11AM +0300, Gal Pressman wrote:
> On 08/04/2020 9:35, Gal Pressman wrote:
> > On 07/04/2020 21:06, Jason Gunthorpe wrote:
> >> On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
> >>> 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..
> >>
> >>> 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
> >>
> >> 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..
> > 
> > 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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-17 16:21       ` Jason Gunthorpe
@ 2020-04-19  6:37         ` Gal Pressman
  2020-05-05  1:09           ` Jason Gunthorpe
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-04-19  6:37 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 17/04/2020 19:21, Jason Gunthorpe wrote:
> On Thu, Apr 16, 2020 at 10:05:11AM +0300, Gal Pressman wrote:
>> On 08/04/2020 9:35, Gal Pressman wrote:
>>> On 07/04/2020 21:06, Jason Gunthorpe wrote:
>>>> On Tue, Apr 07, 2020 at 06:47:51PM +0300, Gal Pressman wrote:
>>>>> 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..
>>>>
>>>>> 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
>>>>
>>>> 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..
>>>
>>> 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

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-19  6:37         ` Gal Pressman
@ 2020-05-05  1:09           ` Jason Gunthorpe
  2020-05-05  6:40             ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Jason Gunthorpe @ 2020-05-05  1:09 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Sun, Apr 19, 2020 at 09:37:45AM +0300, Gal Pressman wrote:
> 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)

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-05  1:09           ` Jason Gunthorpe
@ 2020-05-05  6:40             ` Gal Pressman
  2020-05-05 13:21               ` Jason Gunthorpe
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-05-05  6:40 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 05/05/2020 4:09, Jason Gunthorpe wrote:
> On Sun, Apr 19, 2020 at 09:37:45AM +0300, Gal Pressman wrote:
>> 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)
> 
> 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..

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-05  6:40             ` Gal Pressman
@ 2020-05-05 13:21               ` Jason Gunthorpe
  2020-05-05 14:05                 ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Jason Gunthorpe @ 2020-05-05 13:21 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Tue, May 05, 2020 at 09:40:33AM +0300, Gal Pressman wrote:
> On 05/05/2020 4:09, Jason Gunthorpe wrote:
> > On Sun, Apr 19, 2020 at 09:37:45AM +0300, Gal Pressman wrote:
> >> 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)
> > 
> > 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..
> 
> 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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-05 13:21               ` Jason Gunthorpe
@ 2020-05-05 14:05                 ` Gal Pressman
  0 siblings, 0 replies; 16+ messages in thread
From: Gal Pressman @ 2020-05-05 14:05 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 05/05/2020 16:21, Jason Gunthorpe wrote:
> On Tue, May 05, 2020 at 09:40:33AM +0300, Gal Pressman wrote:
>> On 05/05/2020 4:09, Jason Gunthorpe wrote:
>>> On Sun, Apr 19, 2020 at 09:37:45AM +0300, Gal Pressman wrote:
>>>> 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)
>>>
>>> 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..
>>
>> 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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-04-07 15:47 Can't build rdma-core's azp image Gal Pressman
  2020-04-07 17:28 ` Leon Romanovsky
  2020-04-07 18:06 ` Jason Gunthorpe
@ 2020-05-26  6:25 ` Gal Pressman
  2020-05-26 19:23   ` Jason Gunthorpe
  2 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-05-26  6:25 UTC (permalink / raw)
  To: linux-rdma

On 07/04/2020 18:47, Gal Pressman wrote:
> 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)

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-26  6:25 ` Gal Pressman
@ 2020-05-26 19:23   ` Jason Gunthorpe
  2020-05-27  7:35     ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Jason Gunthorpe @ 2020-05-26 19:23 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Tue, May 26, 2020 at 09:25:30AM +0300, Gal Pressman wrote:
> On 07/04/2020 18:47, Gal Pressman wrote:
> > 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)

couldn't reproduce

Jason

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-26 19:23   ` Jason Gunthorpe
@ 2020-05-27  7:35     ` Gal Pressman
  2020-07-26  7:05       ` Gal Pressman
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-05-27  7:35 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 26/05/2020 22:23, Jason Gunthorpe wrote:
> On Tue, May 26, 2020 at 09:25:30AM +0300, Gal Pressman wrote:
>> On 07/04/2020 18:47, Gal Pressman wrote:
>>> 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)
> 
> couldn't reproduce

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-05-27  7:35     ` Gal Pressman
@ 2020-07-26  7:05       ` Gal Pressman
  2020-07-26 23:19         ` Jason Gunthorpe
  0 siblings, 1 reply; 16+ messages in thread
From: Gal Pressman @ 2020-07-26  7:05 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma

On 27/05/2020 10:35, Gal Pressman wrote:
> On 26/05/2020 22:23, Jason Gunthorpe wrote:
>> On Tue, May 26, 2020 at 09:25:30AM +0300, Gal Pressman wrote:
>>> On 07/04/2020 18:47, Gal Pressman wrote:
>>>> 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)
>>
>> 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?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Can't build rdma-core's azp image
  2020-07-26  7:05       ` Gal Pressman
@ 2020-07-26 23:19         ` Jason Gunthorpe
  0 siblings, 0 replies; 16+ messages in thread
From: Jason Gunthorpe @ 2020-07-26 23:19 UTC (permalink / raw)
  To: Gal Pressman; +Cc: linux-rdma

On Sun, Jul 26, 2020 at 10:05:59AM +0300, Gal Pressman wrote:
> On 27/05/2020 10:35, Gal Pressman wrote:
> > On 26/05/2020 22:23, Jason Gunthorpe wrote:
> >> On Tue, May 26, 2020 at 09:25:30AM +0300, Gal Pressman wrote:
> >>> On 07/04/2020 18:47, Gal Pressman wrote:
> >>>> 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)
> >>
> >> 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?

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, back to index

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 15:47 Can't build rdma-core's azp image Gal Pressman
2020-04-07 17:28 ` Leon Romanovsky
2020-04-07 18:06 ` Jason Gunthorpe
2020-04-08  6:35   ` Gal Pressman
2020-04-16  7:05     ` Gal Pressman
2020-04-17 16:21       ` Jason Gunthorpe
2020-04-19  6:37         ` Gal Pressman
2020-05-05  1:09           ` Jason Gunthorpe
2020-05-05  6:40             ` Gal Pressman
2020-05-05 13:21               ` Jason Gunthorpe
2020-05-05 14:05                 ` Gal Pressman
2020-05-26  6:25 ` Gal Pressman
2020-05-26 19:23   ` Jason Gunthorpe
2020-05-27  7:35     ` Gal Pressman
2020-07-26  7:05       ` Gal Pressman
2020-07-26 23:19         ` Jason Gunthorpe

Linux-RDMA Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-rdma/0 linux-rdma/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-rdma linux-rdma/ https://lore.kernel.org/linux-rdma \
		linux-rdma@vger.kernel.org
	public-inbox-index linux-rdma

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-rdma


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git