All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sascha Silbe <silbe@linux.vnet.ibm.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: Fam Zheng <famz@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] docker tests fixes
Date: Tue, 23 Aug 2016 15:52:32 +0200	[thread overview]
Message-ID: <87y43nk2xr.fsf@oc4731375738.ibm.com> (raw)
In-Reply-To: <87y43tccat.fsf@linaro.org>

Dear Alex,

Alex Bennée <alex.bennee@linaro.org> writes:

> Sascha Silbe <silbe@linux.vnet.ibm.com> writes:
>
>> A couple of fixes for issues encountered while trying out the new
>> docker test support. The debian-bootstrap image still doesn't build
>> for me, but that's a problem for another day.
>
> Can you offer any details? What host OS and what errors do you get?

I'll assume you're talking about the remaining issue, rather than the
ones fixed by this series.

Haven't spent much time yet trying to figure it out. It looks like
sources.list inside the image is missing "deb-src" lines.

Running docker.py manually without --quiet (would be nice if DEBUG=1 did
that, BTW) I get the following output:

=== Begin ===
silbe@oc4731375738:~/build/qemu-devel$ date; DEB_ARCH=armel DEB_TYPE=stable EXECUTABLE=/usr/bin/qemu-arm-static DEBUG=1 /home/silbe/recoverable/qemu/tests/docker/docker.py build qemu:debian-bootstrap /home/silbe/recoverable/qemu/tests/docker/dockerfiles/debian-bootstrap.docker --include-executable=/usr/bin/qemu-arm-static
Tue Aug 23 15:39:00 CEST 2016
Building a rootfs using /usr/bin/fakeroot and /usr/sbin/debootstrap armel/stable
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
[...]
I: Extracting zlib1g...
/usr/bin/qemu-arm-static had no associated libraries (static build?)
Sending build context to Docker daemon 201.2 MB
Sending build context to Docker daemon 
Step 0 : FROM scratch
 ---> 
Step 1 : ADD . /
 ---> 366e15a5b4d8
Removing intermediate container 865d34d36d2b
Step 2 : RUN sed -i 's/in_target mount/echo not for docker in_target mount/g' /debootstrap/functions
 ---> Running in cf539dd3a3fd
 ---> 313acea8974a
Removing intermediate container cf539dd3a3fd
Step 3 : RUN /debootstrap/debootstrap --second-stage
 ---> Running in 7851b75bda73
I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring.gpg; switching to https mirror https://mirrors.kernel.org/debian
I: Installing core packages...
[...]
I: Configuring libc-bin...
I: Base system installed successfully.
 ---> 68b8522ff2e7
Removing intermediate container 7851b75bda73
Step 4 : RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list
 ---> Running in 4cc5be448b57
 ---> 4fa669cb8511
Removing intermediate container 4cc5be448b57
Step 5 : RUN apt-get update
 ---> Running in 354a69607da0
Reading package lists...
 ---> 3025b4f79141
Removing intermediate container 354a69607da0
Step 6 : RUN apt-get -y build-dep qemu
 ---> Running in 81bfa9e9fce8
Reading package lists...
Building dependency tree...
E: You must put some 'source' URIs in your sources.list
INFO[0184] The command [/bin/sh -c apt-get -y build-dep qemu] returned a non-zero code: 100 
=== End ===


Host is an x86_64 running Ubuntu 14.04.

Sascha
-- 
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg
https://se-silbe.de/
USt-IdNr. DE281696641

      reply	other threads:[~2016-08-23 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18 20:12 [Qemu-devel] [PATCH 0/3] docker tests fixes Sascha Silbe
2016-08-18 20:12 ` [Qemu-devel] [PATCH 1/3] docker.py: don't hang on large docker output Sascha Silbe
2016-08-19  8:58   ` Janosch Frank
2016-08-18 20:12 ` [Qemu-devel] [PATCH 2/3] docker: avoid dependency on 'realpath' package Sascha Silbe
2016-08-18 20:12 ` [Qemu-devel] [PATCH 3/3] docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset Sascha Silbe
2016-08-19  9:56 ` [Qemu-devel] [PATCH 0/3] docker tests fixes Alex Bennée
2016-08-23 13:52   ` Sascha Silbe [this message]

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=87y43nk2xr.fsf@oc4731375738.ibm.com \
    --to=silbe@linux.vnet.ibm.com \
    --cc=alex.bennee@linaro.org \
    --cc=famz@redhat.com \
    --cc=qemu-devel@nongnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.