[oe-commits] Martin Jansa : gtkperf: add gtk+ dependency

git at git.openembedded.org git at git.openembedded.org
Fri May 9 12:59:14 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 2c313ca01f12b333f1f7ed224627566fbfca336f
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=2c313ca01f12b333f1f7ed224627566fbfca336f

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon May  5 22:22:20 2014 +0200

gtkperf: add gtk+ dependency

* when there is no gtk+ in sysroot, configure fails to find it
  but doesn't cause do_configure task to fail :/

  configure: WARNING: using cross tools not prefixed with host triplet
  checking pkg-config is at least version 0.9.0... yes
  checking for GTK... no

* builds fails a bit later with confusing do_install error:
  ERROR: Function failed: do_install (log file is located at /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/gtkperf/0.40-r0/temp/log.do_install.31526)
  ERROR: Logfile of failure stored in: /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/gtkperf/0.40-r0/temp/log.do_install.31526
  Log data follows:
  | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
  | DEBUG: Executing shell function do_install
  | NOTE: make -j 9 DESTDIR=/OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/gtkperf/0.40-r0/image install
  | make: *** No rule to make target 'install'.  Stop.
  | ERROR: oe_runmake failed
  | WARNING: /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/gtkperf/0.40-r0/temp/run.do_install.31526:1 exit 1 from
  |   exit 1
  | ERROR: Function failed: do_install (log file is located at /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/gtkperf/0.40-r0/temp/log.do_install.31526)
  NOTE: recipe gtkperf-0.40-r0: task do_install: Failed
  ERROR: Task 2 (/OE/build/oe-core/meta-openembedded/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb, do_install) failed with exit code '1'

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
index c95ea8e..e404a7a 100644
--- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
@@ -9,6 +9,8 @@ SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
 SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
 SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"
 
+DEPENDS = "gtk+"
+
 S = "${WORKDIR}/${BPN}"
 
 inherit autotools binconfig pkgconfig gettext



More information about the Openembedded-commits mailing list