qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Robert Ball <1888431@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1888431] [NEW] v5.1.0-rc1 build fails on Mac OS X 10.11.6
Date: Tue, 21 Jul 2020 21:04:24 -0000	[thread overview]
Message-ID: <159536546453.8597.9185320640612954142.malonedeb@wampee.canonical.com> (raw)

Public bug reported:

Hi all,

build of tag v5.1.0-rc1 fails on Mac OS X 10.11.6 (El Capitan) with the
following error:

git clone https://git.qemu.org/git/qemu.git
    <output elided, but all OK>
cd qemu
git submodule init
    <output elided, but all OK>
git submodule update --recursive
    <output elided, but all OK>
./configure
    <output elided, but all OK>
make
    <output elided, but all OK up until fail>

  CC      trace/control.o
In file included from trace/control.c:29:
In file included from /Users/rtb/src/qemu/include/monitor/monitor.h:4:
In file included from /Users/rtb/src/qemu/include/block/block.h:4:
In file included from /Users/rtb/src/qemu/include/block/aio.h:23:
/Users/rtb/src/qemu/include/qemu/timer.h:843:9: warning: implicit declaration of function 'clock_gettime' is invalid in C99
      [-Wimplicit-function-declaration]
        clock_gettime(CLOCK_MONOTONIC, &ts);
        ^
/Users/rtb/src/qemu/include/qemu/timer.h:843:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
        clock_gettime(CLOCK_MONOTONIC, &ts);
                      ^
1 warning and 1 error generated.
make: *** [trace/control.o] Error 1


rtb:qemu rtb$ git log -n1
commit c8004fe6bbfc0d9c2e7b942c418a85efb3ac4b00 (HEAD -> master, tag: v5.1.0-rc1, origin/master, origin/HEAD)
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Tue Jul 21 20:28:59 2020 +0100

    Update version for v5.1.0-rc1 release
    
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
rtb:qemu rtb$ 


Please find the full output of all the commands (from git clone of the repo, to the make) in the attached file "buildfail.txt".

Thank you!

Best regards,

Robert Ball

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: build-failed macosx-10.11.6 v5.1.0-rc1

** Attachment added: "full output of git clone through make"
   https://bugs.launchpad.net/bugs/1888431/+attachment/5394703/+files/buildfail.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1888431

Title:
  v5.1.0-rc1 build fails on Mac OS X 10.11.6

Status in QEMU:
  New

Bug description:
  Hi all,

  build of tag v5.1.0-rc1 fails on Mac OS X 10.11.6 (El Capitan) with
  the following error:

  git clone https://git.qemu.org/git/qemu.git
      <output elided, but all OK>
  cd qemu
  git submodule init
      <output elided, but all OK>
  git submodule update --recursive
      <output elided, but all OK>
  ./configure
      <output elided, but all OK>
  make
      <output elided, but all OK up until fail>

    CC      trace/control.o
  In file included from trace/control.c:29:
  In file included from /Users/rtb/src/qemu/include/monitor/monitor.h:4:
  In file included from /Users/rtb/src/qemu/include/block/block.h:4:
  In file included from /Users/rtb/src/qemu/include/block/aio.h:23:
  /Users/rtb/src/qemu/include/qemu/timer.h:843:9: warning: implicit declaration of function 'clock_gettime' is invalid in C99
        [-Wimplicit-function-declaration]
          clock_gettime(CLOCK_MONOTONIC, &ts);
          ^
  /Users/rtb/src/qemu/include/qemu/timer.h:843:23: error: use of undeclared identifier 'CLOCK_MONOTONIC'
          clock_gettime(CLOCK_MONOTONIC, &ts);
                        ^
  1 warning and 1 error generated.
  make: *** [trace/control.o] Error 1

  
  rtb:qemu rtb$ git log -n1
  commit c8004fe6bbfc0d9c2e7b942c418a85efb3ac4b00 (HEAD -> master, tag: v5.1.0-rc1, origin/master, origin/HEAD)
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Tue Jul 21 20:28:59 2020 +0100

      Update version for v5.1.0-rc1 release
      
      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  rtb:qemu rtb$ 

  
  Please find the full output of all the commands (from git clone of the repo, to the make) in the attached file "buildfail.txt".

  Thank you!

  Best regards,

  Robert Ball

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1888431/+subscriptions


             reply	other threads:[~2020-07-21 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-21 21:04 Robert Ball [this message]
2020-07-22  4:28 ` [Bug 1888431] Re: v5.1.0-rc1 build fails on Mac OS X 10.11.6 Thomas Huth
2020-07-22 16:42 ` Robert Ball
2020-07-24  4:49 ` Thomas Huth
2020-07-24 11:46 ` Robert Ball

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=159536546453.8597.9185320640612954142.malonedeb@wampee.canonical.com \
    --to=1888431@bugs.launchpad.net \
    --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).