Linux-RDMA Archive on lore.kernel.org
 help / color / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Gal Pressman <galpress@amazon.com>
Cc: linux-rdma@vger.kernel.org
Subject: Re: Can't build rdma-core's azp image
Date: Fri, 17 Apr 2020 13:21:50 -0300
Message-ID: <20200417162150.GH26002@ziepe.ca> (raw)
In-Reply-To: <ca41331c-3b53-fbb6-4543-bc960f796062@amazon.com>

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

  reply index

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 15:47 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200417162150.GH26002@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=galpress@amazon.com \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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