From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7gbh-00018r-Vi for qemu-devel@nongnu.org; Mon, 08 May 2017 07:13:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7gbe-0004Qf-Or for qemu-devel@nongnu.org; Mon, 08 May 2017 07:13:37 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:38507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7gbe-0004QT-Io for qemu-devel@nongnu.org; Mon, 08 May 2017 07:13:34 -0400 Received: by mail-wm0-x236.google.com with SMTP id 142so60947929wma.1 for ; Mon, 08 May 2017 04:13:34 -0700 (PDT) References: <20170508045715.21770-1-f4bug@amsat.org> <20170508045715.21770-16-f4bug@amsat.org> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <20170508045715.21770-16-f4bug@amsat.org> Date: Mon, 08 May 2017 12:14:16 +0100 Message-ID: <8737cfa9dj.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 15/23] docker: fix mipsel debian/stable dependencies problem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, Fam Zheng , Aurelien Jarno , Yongbok Kim , Riku Voipio , Vagrant Cascadian , Michael Tokarev Philippe Mathieu-Daudé writes: > Signed-off-by: Philippe Mathieu-Daudé > --- > tests/docker/dockerfiles/debian-mipsel-cross.docker | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker > index c569a2e1b4..3c4945d78e 100644 > --- a/tests/docker/dockerfiles/debian-mipsel-cross.docker > +++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker > @@ -12,6 +12,13 @@ RUN dpkg --add-architecture mipsel && \ > DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -y --no-install-recommends \ > crossbuild-essential-mipsel > > +# to fix "following packages have unmet dependencies" ... > +RUN apt-get install -y --no-install-recommends equivs pkg-config && \ > + apt-fake install pkgconf:mipsel=0.9.7-fake > pkg-config:mipsel=0.28-1.1-fake && \ I'll take your word that this fixes the problem for broken packages. When I ran into these I just started using the linux-user approach because it seemed fragile otherwise. I assume a dot release of any of these packages might break the image build? > + ln -s pkg-config /usr/bin/mipsel-linux-gnu-pkg-config > +ENV PKG_CONFIG_PATH /usr/lib/mipsel-linux-gnu/pkgconfig > + Reviewed-by: Alex Bennée > # Specify the cross prefix for this image (see tests/docker/common.rc) > ENV QEMU_CONFIGURE_OPTS --cross-prefix=mipsel-linux-gnu- -- Alex Bennée