All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PULL 00/10] Ui 20171011 patches
Date: Thu, 12 Oct 2017 09:24:56 +0100	[thread overview]
Message-ID: <20171012082456.GB16125@redhat.com> (raw)
In-Reply-To: <CAFEAcA8OZALycKmsrC=MrftfF0YytXzRxGrzbetmSvddfTVf1g@mail.gmail.com>

On Wed, Oct 11, 2017 at 05:45:04PM +0100, Peter Maydell wrote:
> On 11 October 2017 at 16:49, Daniel P. Berrange <berrange@redhat.com> wrote:
> > On Wed, Oct 11, 2017 at 03:37:08PM +0100, Peter Maydell wrote:
> >> Build failures:
> >>
> >> NetBSD:
> >>   CC      ui/input-keymap.o
> >> /root/qemu/ui/input-keymap.c:8:44: fatal error:
> >> ui/input-keymap-linux-to-qcode.c: No such file or directory
> >>  #include "ui/input-keymap-linux-to-qcode.c"
> >>                                             ^
> >>
> >> FreeBSD:
> >>
> >>
> >>   CC      ui/input-keymap.o
> >> /root/qemu/ui/input-keymap.c:8:10: fatal error:
> >> 'ui/input-keymap-linux-to-qcode.c' file not found
> >> #include "ui/input-keymap-linux-to-qcode.c"
> >>          ^
> >
> > So something is still racing in these two.
> >
> > I don't suppose you have the full log - interested if it
> > ever run the "GIT     ui/keycodemapdb dtc" rule and/or
> > re-ran configure earlier, or if this is literally all it
> > did ?
> 
> For NetBSD we have:
> From git://git.linaro.org/people/pmaydell/qemu-arm
>    bac9608320..54070377a3  staging    -> pmaydell/staging
> gmake: Entering directory '/root/qemu/build/all'
> sh: ./scripts/git-submodule.sh: not found
> gmake: Leaving directory '/root/qemu/build/all'
> gmake: Entering directory '/root/qemu/build/all'
> config-host.mak is out-of-date, running configure
> Install prefix    /usr/local
> BIOS directory    /usr/local/share/qemu
> firmware path     /usr/local/share/qemu-firmware
> binary directory  /usr/local/bin
> library directory /usr/local/lib
> module directory  /usr/local/lib/qemu
> libexec directory /usr/local/libexec
> include directory /usr/local/include
> config directory  /usr/local/etc
> local state directory   /usr/local/var
> Manual directory  /usr/local/share/man
> ELF interp prefix /usr/gnemul/qemu-%M
> Source path       /root/qemu
> GIT submodules    ui/keycodemapdb dtc
> C compiler        cc
> Host C compiler   cc
> C++ compiler      c++
> [...]
> jemalloc support  no
> avx2 optimization yes
> replication support yes
> VxHS block device no
> gmake: Leaving directory '/root/qemu/build/all'
> gmake: Entering directory '/root/qemu/build/all'
>   GEN     ui/input-keymap-linux-to-qcode.c
> gmake: Leaving directory '/root/qemu/build/all'
> gmake: Entering directory '/root/qemu/build/all'
> [...]
> gmake: Leaving directory '/root/qemu/build/all'
> gmake: Entering directory '/root/qemu/build/all'
>   CC      ui/input-keymap.o
> /root/qemu/ui/input-keymap.c:8:44: fatal error:
> ui/input-keymap-linux-to-qcode.c: No such file or directory
> 
> 
> I didn't notice the 'git-submodule.sh not found' issue before:
> looks like that's the same /bin/bash problem as OpenBSD,
> maybe, plus something not noticing the failure?

Yeah looks the same. I'll investigate the error status checking
I'll assume FreeBSD also hit the bash problem.


> 
> >> AArch32 Linux:
> >>
> >> make: Entering directory '/home/peter.maydell/qemu/build/all-a32'
> >> config-host.mak is out-of-date, running configure
> >> Install prefix    /usr/local
> >> BIOS directory    /usr/local/share/qemu
> >> [...]
> >> VxHS block device no
> >>   GEN     config-host.h
> >>   GEN     module_block.h
> >>   GEN     ui/input-keymap-linux-to-qcode.c
> >>   GEN     ui/input-keymap-qcode-to-qnum.c
> >>   GEN     ui/input-keymap-qnum-to-qcode.c
> >>   GIT     ui/keycodemapdb dtc
> >>   GEN     trace/generated-tcg-tracers.h
> >>   GEN     trace/generated-helpers-wrappers.h
> >>   GEN     trace/generated-helpers.h
> >>   GEN     trace/generated-helpers.c
> >> Makefile:30: recipe for target 'git-submodule-update' failed
> >
> > Damn, we should not throw away stderr in scripts/git-submodule.sh,
> > as its hides whatever error occurred for you here.
> 
> I edited out the stdout/stderr throwaway on the git submodule command:
> 
> $ ./scripts/git-submodule.sh update ui/keycodemapdb dtc
> Cloning into 'ui/keycodemapdb'...
> fatal: unable to access
> 'https://gitlab.com/keycodemap/keycodemapdb.git/': Problem with the
> SSL CA cert (path? access rights?)
> fatal: clone of 'https://gitlab.com/keycodemap/keycodemapdb.git' into
> submodule path 'ui/keycodemapdb' failed

I'm not sure what I can do about this one - if GIT can't checkout
a normal git repo, this looks like a OS distro / setup bug on the
build host. 

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

  reply	other threads:[~2017-10-12  8:25 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11  8:35 [Qemu-devel] [PULL 00/10] Ui 20171011 patches Gerd Hoffmann
2017-10-11  8:35 ` [Qemu-devel] [PULL 01/10] build: automatically handle GIT submodule checkout for dtc Gerd Hoffmann
2017-10-11  8:35 ` [Qemu-devel] [PULL 02/10] docker: don't rely on submodules existing in the main checkout Gerd Hoffmann
2017-10-11  8:35 ` [Qemu-devel] [PULL 03/10] ui: add keycodemapdb repository as a GIT submodule Gerd Hoffmann
2017-10-11  8:35 ` [Qemu-devel] [PULL 04/10] ui: convert common input code to keycodemapdb Gerd Hoffmann
2017-10-11  8:35 ` [Qemu-devel] [PULL 05/10] ui: convert key events to QKeyCodes immediately Gerd Hoffmann
2017-10-11  8:36 ` [Qemu-devel] [PULL 06/10] ui: don't export qemu_input_event_new_key Gerd Hoffmann
2017-10-11  8:36 ` [Qemu-devel] [PULL 07/10] tools: add qemu-keymap Gerd Hoffmann
2017-10-11  8:36 ` [Qemu-devel] [PULL 08/10] Add pc-bios/keymaps/Makefile Gerd Hoffmann
2017-10-11  8:36 ` [Qemu-devel] [PULL 10/10] ui/gtk: Fix deprecation of vte_terminal_copy_clipboard Gerd Hoffmann
2017-10-11 14:37 ` [Qemu-devel] [PULL 00/10] Ui 20171011 patches Peter Maydell
2017-10-11 14:49   ` Kamil Rytarowski
2017-10-11 15:49   ` Daniel P. Berrange
2017-10-11 16:45     ` Peter Maydell
2017-10-12  8:24       ` Daniel P. Berrange [this message]
2017-10-12  9:00         ` Peter Maydell
2017-10-12  9:30         ` Gerd Hoffmann
2017-10-12  9:33           ` Daniel P. Berrange
2017-10-12 10:04             ` Gerd Hoffmann
2017-10-12 10:07               ` Daniel P. Berrange
2017-10-12 10:11                 ` Peter Maydell
2017-10-12 10:13                 ` Gerd Hoffmann
2017-10-12 10:14                   ` Daniel P. Berrange
2017-10-12  9:51           ` Peter Maydell
2017-10-12 10:01   ` Gerd Hoffmann
2017-10-13  8:15   ` Gerd Hoffmann

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=20171012082456.GB16125@redhat.com \
    --to=berrange@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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.