[oe] [PATCH][meta-oe 3/4] system-config-keyboard: inherit gettext and add dependency on intltool-native

Martin Jansa martin.jansa at gmail.com
Thu Mar 10 11:36:14 UTC 2016


* it actually depends on native intltool:
  NOTE: recipe system-config-keyboard-1.4.0-r0: task do_compile: Started
  ERROR: system-config-keyboard-1.4.0-r0 do_compile: oe_runmake failed
  ERROR: system-config-keyboard-1.4.0-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052)
  ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052
  Log data follows:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8 PYTHON=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/python-native/python PYTHON_SITELIB=/usr/lib/python2.7/site-packages
  | make: intltool-merge: Command not found
  | make: *** [system-config-keyboard.desktop] Error 127
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.16052)
  NOTE: recipe system-config-keyboard-1.4.0-r0: task do_compile: Failed
* and it also used gettext:
  | DEBUG: Executing shell function do_compile
  | NOTE: make -j 8
  PYTHON=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/python-native/python
  PYTHON_SITELIB=/usr/lib/python2.7/site-packages
  | cd po && for i in *.po; do msgfmt $i -o $(echo $i |sed s/.po/.mo/) ||
  exit 1; done
  | echo -e "#!/bin/sh\nexec /usr/bin/pkexec
  /usr/sbin/system-config-keyboard \"\$@\"" > "system-config-keyboard.sh"
  | chmod 755 "system-config-keyboard.sh"
  | /bin/sh: 1: msgfmt: not found
  | make: *** [gettext] Error 1
  | make: *** Waiting for unfinished jobs....
  | Merging translations into system-config-keyboard.desktop.
  | WARNING: exit code 1 from a shell command.
  | ERROR: oe_runmake failed
  | ERROR: Function failed: do_compile (log file is located at
  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/system-config-keyboard/1.4.0-r0/temp/log.do_compile.23230)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../system-config-keyboard/system-config-keyboard_1.4.0.bb            | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
index eaca96d..078fcea 100644
--- a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
+++ b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
@@ -6,7 +6,9 @@ SRC_URI = "https://fedorahosted.org/releases/s/y/${BPN}/${BP}.tar.bz2"
 SRC_URI[md5sum] = "c267db0ee7a2131ba418399dc17f9e72"
 SRC_URI[sha256sum] = "218c883e4e2bfcc82bfe07e785707b5c2ece28df772f2155fd044b9bb1614284"
 inherit python-dir
-DEPENDS = "intltool"
+
+inherit python-dir gettext
+DEPENDS = "intltool-native"
 
 EXTRA_OEMAKE = " \
     PYTHON='${STAGING_BINDIR_NATIVE}'/python-native/python \
-- 
2.7.2




More information about the Openembedded-devel mailing list