Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] qemu: needs pkg-config
@ 2012-11-04 16:35 Thomas Petazzoni
  2012-11-04 16:35 ` [Buildroot] [PATCH 2/3] qemu: needs zlib Thomas Petazzoni
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-04 16:35 UTC (permalink / raw)
  To: buildroot

Fixes

  http://autobuild.buildroot.org/results/ccb7d6da503a81015275ff1e4ba9a564203932ec/build-end.log

Even though the build failure happens on host-qemu, adding
host-pkgconf to QEMU_DEPENDENCIES seems like the right thing to do
since that this dependency will also be needed for the target qemu
once it gets included.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/qemu/qemu.mk |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index de72e04..c2c4103 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -8,6 +8,8 @@ QEMU_VERSION = 1.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
 QEMU_SITE = http://wiki.qemu.org/download
 
+QEMU_DEPENDENCIES = host-pkgconf
+
 #       BR ARCH         qemu
 #       -------         ----
 #       arm             arm
@@ -53,7 +55,7 @@ endif
 HOST_QEMU_TARGETS=$(QEMU_ARCH)-linux-user
 
 define HOST_QEMU_CONFIGURE_CMDS
-	(cd $(@D); ./configure                          \
+	(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure   \
 		--target-list="$(HOST_QEMU_TARGETS)"    \
 		--prefix="$(HOST_DIR)/usr"              \
 		--interp-prefix=$(STAGING_DIR)          \
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/3] qemu: needs zlib
  2012-11-04 16:35 [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
@ 2012-11-04 16:35 ` Thomas Petazzoni
  2012-11-04 16:35 ` [Buildroot] [PATCH 3/3] qemu: needs libglib2 Thomas Petazzoni
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-04 16:35 UTC (permalink / raw)
  To: buildroot

Build error message is:
  Error: zlib check failed
  Make sure to have the zlib libs and headers installed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/qemu/qemu.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index c2c4103..67d5ab2 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -8,7 +8,7 @@ QEMU_VERSION = 1.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
 QEMU_SITE = http://wiki.qemu.org/download
 
-QEMU_DEPENDENCIES = host-pkgconf
+QEMU_DEPENDENCIES = host-pkgconf zlib
 
 #       BR ARCH         qemu
 #       -------         ----
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 3/3] qemu: needs libglib2
  2012-11-04 16:35 [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
  2012-11-04 16:35 ` [Buildroot] [PATCH 2/3] qemu: needs zlib Thomas Petazzoni
@ 2012-11-04 16:35 ` Thomas Petazzoni
  2012-11-04 17:03 ` [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
  2012-11-05  8:11 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-04 16:35 UTC (permalink / raw)
  To: buildroot

Build error message is:
  glib-2.12 required to compile QEMU

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/qemu/qemu.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 67d5ab2..d40d7c9 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -8,7 +8,7 @@ QEMU_VERSION = 1.2.0
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
 QEMU_SITE = http://wiki.qemu.org/download
 
-QEMU_DEPENDENCIES = host-pkgconf zlib
+QEMU_DEPENDENCIES = host-pkgconf zlib libglib2
 
 #       BR ARCH         qemu
 #       -------         ----
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/3] qemu: needs pkg-config
  2012-11-04 16:35 [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
  2012-11-04 16:35 ` [Buildroot] [PATCH 2/3] qemu: needs zlib Thomas Petazzoni
  2012-11-04 16:35 ` [Buildroot] [PATCH 3/3] qemu: needs libglib2 Thomas Petazzoni
@ 2012-11-04 17:03 ` Thomas Petazzoni
  2012-11-05  8:11 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-11-04 17:03 UTC (permalink / raw)
  To: buildroot


On Sun,  4 Nov 2012 17:35:24 +0100, Thomas Petazzoni wrote:

>  define HOST_QEMU_CONFIGURE_CMDS
> -	(cd $(@D); ./configure                          \
> +	(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure   \
>  		--target-list="$(HOST_QEMU_TARGETS)"    \
>  		--prefix="$(HOST_DIR)/usr"              \
>  		--interp-prefix=$(STAGING_DIR)          \

I should have explained this change in the commit log: it is needed so
that $(HOST_DIR)/usr/bin/ is in the PATH, which allows Qemu's configure
script to find our pkg-config.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/3] qemu: needs pkg-config
  2012-11-04 16:35 [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2012-11-04 17:03 ` [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
@ 2012-11-05  8:11 ` Peter Korsgaard
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2012-11-05  8:11 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes
 Thomas>   http://autobuild.buildroot.org/results/ccb7d6da503a81015275ff1e4ba9a564203932ec/build-end.log

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-05  8:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-04 16:35 [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
2012-11-04 16:35 ` [Buildroot] [PATCH 2/3] qemu: needs zlib Thomas Petazzoni
2012-11-04 16:35 ` [Buildroot] [PATCH 3/3] qemu: needs libglib2 Thomas Petazzoni
2012-11-04 17:03 ` [Buildroot] [PATCH 1/3] qemu: needs pkg-config Thomas Petazzoni
2012-11-05  8:11 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox