From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: alex.bennee@linaro.org
Subject: Re: [Qemu-devel] [PATCH] shippable: fix build
Date: Wed, 20 Feb 2019 18:19:26 +0100 [thread overview]
Message-ID: <48b1d514-d0e4-44fb-6cda-741cc71506eb@redhat.com> (raw)
In-Reply-To: <20190220104523.22059-1-pbonzini@redhat.com>
Hi Paolo,
Please also Cc reviewers :)
On 2/20/19 11:45 AM, Paolo Bonzini wrote:
> It looks like something in netmap has changed and compilation fails:
Partly my fault, I had the intention to add a git 'stable' tag for
reproducible builds [*] but forgot to add to my TODO list :/
[*] https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg02028.html
>
> install -D libnetmap.a //usr/local/lib/libnetmap.a
> install: cannot stat libnetmap.a: No such file or directory
>
> Add an explicit "make" step to fix it.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/docker/dockerfiles/debian-amd64.docker | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/docker/dockerfiles/debian-amd64.docker b/tests/docker/dockerfiles/debian-amd64.docker
> index 954fcf9606..df79f35a46 100644
> --- a/tests/docker/dockerfiles/debian-amd64.docker
> +++ b/tests/docker/dockerfiles/debian-amd64.docker
> @@ -33,7 +33,7 @@ RUN DEBIAN_FRONTEND=noninteractive eatmydata \
> apt-get install -y --no-install-recommends \
> linux-headers-amd64
> RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
So the fix would be:
- RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
+ RUN git clone https://github.com/luigirizzo/netmap.git /usr/src/netmap
&& \
git checkout v11.4
> -RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make install
> +RUN cd /usr/src/netmap/LINUX && ./configure --no-drivers --no-apps --kernel-dir=$(ls -d /usr/src/linux-headers-*-amd64) && make && make install
Your change doesn't hurt.
> ENV QEMU_CONFIGURE_OPTS --enable-netmap
>
> RUN ldconfig
>
Regards,
Phil.
prev parent reply other threads:[~2019-02-20 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 10:45 [Qemu-devel] [PATCH] shippable: fix build Paolo Bonzini
2019-02-20 16:37 ` Alex Bennée
2019-02-20 17:24 ` Philippe Mathieu-Daudé
2019-02-20 17:45 ` Alex Bennée
2019-02-20 18:00 ` Philippe Mathieu-Daudé
2019-02-21 9:14 ` Stefano Garzarella
2019-02-21 9:24 ` Vincenzo Maffione
2019-02-20 17:19 ` Philippe Mathieu-Daudé [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=48b1d514-d0e4-44fb-6cda-741cc71506eb@redhat.com \
--to=philmd@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=pbonzini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).