qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Fam Zheng" <famz@redhat.com>,
	"Aurelien Jarno" <aurel32@debian.org>,
	"Riku Voipio" <riku.voipio@iki.fi>,
	"Vagrant Cascadian" <vagrant@debian.org>,
	"Michael Tokarev" <mjt@tls.msk.ru>
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [Qemu-devel] [PATCH 17/23] shippable: use dtc submodule if distrib packages are too old
Date: Mon,  8 May 2017 01:57:09 -0300	[thread overview]
Message-ID: <20170508045715.21770-18-f4bug@amsat.org> (raw)
In-Reply-To: <20170508045715.21770-1-f4bug@amsat.org>

shippable output:
----------------
  LINK    mips64el-softmmu/qemu-system-mips64el
../hw/core/loader-fit.o: In function `load_fit':
/root/src/github.com/philmd/qemu/hw/core/loader-fit.c:278: undefined reference to `fdt_first_subnode'
/root/src/github.com/philmd/qemu/hw/core/loader-fit.c:286: undefined reference to `fdt_next_subnode'
/root/src/github.com/philmd/qemu/hw/core/loader-fit.c:277: undefined reference to `fdt_first_subnode'
collect2: error: ld returned 1 exit status
Makefile:201: recipe for target 'qemu-system-mips64el' failed
make[1]: *** [qemu-system-mips64el] Error 1
Makefile:327: recipe for target 'subdir-mips64el-softmmu' failed
make: *** [subdir-mips64el-softmmu] Error 2

having this too old libfdt version (required version >= 1.4.2):
 # dpkg-query --showformat='${Version}\n' --show libfdt-dev
1.4.0+dfsg-1

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 .shippable.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.shippable.yml b/.shippable.yml
index b3cbca458c..6601243060 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -27,5 +27,13 @@ build:
     options: "-e HOME=/root"
   ci:
     - unset CC
+    # some targets require newer up to date packages, for example TARGET_LIST matching
+    # aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu)
+    # see the configure script:
+    #    error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:"
+    #    "  (1) Preferred: Install the DTC (libfdt) devel package"
+    #    "  (2) Fetch the DTC submodule, using:"
+    #    "      git submodule update --init dtc"
+    - dpkg --compare-versions `dpkg-query --showformat='${Version}' --show libfdt-dev` ge 1.4.2 || git submodule update --init dtc
     - ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST}
     - make -j$(getconf _NPROCESSORS_ONLN)
-- 
2.11.0

  parent reply	other threads:[~2017-05-08  4:59 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08  4:56 [Qemu-devel] [PATCH 00/23] docker/shippable: cross-build mipsel and powerpc targets Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [PATCH 01/23] shippable: use C locale to simplify console output Philippe Mathieu-Daudé
2017-05-08 10:54   ` Alex Bennée
2017-05-08  4:56 ` [Qemu-devel] [PATCH 02/23] shippable: build using all available cpus Philippe Mathieu-Daudé
2017-05-08 10:55   ` Alex Bennée
2017-05-08 13:21     ` Philippe Mathieu-Daudé
2017-05-08 14:42       ` Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [RFC PATCH 03/23] shippable: ignore SSL verification Philippe Mathieu-Daudé
2017-05-08 10:58   ` Alex Bennée
2017-05-08 11:56     ` Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [PATCH 04/23] docker: compact debian base Philippe Mathieu-Daudé
2017-05-08 11:04   ` Alex Bennée
2017-05-08 18:19     ` Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [PATCH 05/23] docker: compact debian armhf Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [PATCH 06/23] docker: compact debian arm64 Philippe Mathieu-Daudé
2017-05-08  4:56 ` [Qemu-devel] [PATCH 07/23] docker: add extra libs to armhf target to extend codebase coverage Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 08/23] docker: add extra libs to arm64 " Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 09/23] docker: add extra libs to s390x " Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 10/23] docker: add mipsel build target Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 11/23] shippable: add mipsel target Philippe Mathieu-Daudé
2017-05-08 11:06   ` Alex Bennée
2017-05-08  4:57 ` [Qemu-devel] [PATCH 12/23] docker: let _copy_with_mkdir() sub_path argument be optional Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [RFC PATCH 13/23] docker: add --include-file argument to 'build' command Philippe Mathieu-Daudé
2017-05-08 11:10   ` Alex Bennée
2017-05-08  4:57 ` [Qemu-devel] [RFC PATCH 14/23] docker: add 'apt-fake' script which generate fake debian packages Philippe Mathieu-Daudé
2017-05-08 11:12   ` Alex Bennée
2017-05-08 17:48     ` Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 15/23] docker: fix mipsel debian/stable dependencies problem Philippe Mathieu-Daudé
2017-05-08 11:14   ` Alex Bennée
2017-05-08  4:57 ` [Qemu-devel] [PATCH 16/23] shippable: do not initialize submodules automatically Philippe Mathieu-Daudé
2017-05-08 11:15   ` Alex Bennée
2017-05-08 17:48     ` Philippe Mathieu-Daudé
2017-05-08  4:57 ` Philippe Mathieu-Daudé [this message]
2017-05-08 11:15   ` [Qemu-devel] [PATCH 17/23] shippable: use dtc submodule if distrib packages are too old Alex Bennée
2017-05-08  4:57 ` [Qemu-devel] [PATCH 19/23] docker: add powerpc build target Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 20/23] shippable: add powerpc target Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 21/23] docker: fix powerpc debian/stable dependencies problem Philippe Mathieu-Daudé
2017-05-08 11:19   ` Alex Bennée
2017-05-08 17:50     ` Philippe Mathieu-Daudé
2017-05-08  4:57 ` [Qemu-devel] [PATCH 22/23] MAINTAINERS: add Shippable automation platform URL Philippe Mathieu-Daudé
2017-05-08 11:21   ` Alex Bennée
2017-05-08  4:57 ` [Qemu-devel] [PATCH 23/23] MAINTAINERS: self-appoint me as reviewer in build/test automation Philippe Mathieu-Daudé
2017-05-08 11:22   ` Alex Bennée
2017-05-08  5:02 ` [Qemu-devel] [PATCH 18/23] shippable: temporary disable mips64el-softmmu build Philippe Mathieu-Daudé
2017-05-08 11:22   ` Alex Bennée
2017-05-08 17:52     ` Philippe Mathieu-Daudé

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=20170508045715.21770-18-f4bug@amsat.org \
    --to=f4bug@amsat.org \
    --cc=alex.bennee@linaro.org \
    --cc=aurel32@debian.org \
    --cc=famz@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    --cc=vagrant@debian.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).