python-smartpm: add gettext-native to DEPENDS
PATCH 1/1 python-smartpm: add gettext-native to DEPENDS
Fixes the following failure at do_install if gettext-native has not already been built and gettext tools are not installed on the host:
| compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo | sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file
--- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1 -1
@@ -8,7 +8,7 @@ SECTION = "devel/python" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" -DEPENDS = "python rpm" +DEPENDS = "python rpm gettext-native" PR = "r9" SRCNAME = "smart"
Signature · 1 line
1.8.1.2
Quoted 4 lines · Paul Eggleton
Fixes the following failure at
do_installif gettext-native has not already been built and gettext tools are not installed on the host:| compiling locale/it/LC_MESSAGES/smart.po ->
locale/it/LC_MESSAGES/smart.mo
Quoted 4 lines
| sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or
not a regular file
Review
Quoted 7 lines
Signed-off-by Paul Eggleton <[email protected]>--- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0
python-smartpm_1.4.1.bb
meta/recipes-devtools/python/python-smartpm_1.4.1.bb SECTION = "devel/python" · line 11
Quoted 9 lines
index cfa2dba..0cf3847 100644
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1
-1@@ -8,7 +8,7 @@ SECTION = "devel/python" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" -DEPENDS = "python rpm" +DEPENDS = "python rpm gettext-native"
Why not inherit gettext ?
Quoted 11 lines
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +0
-1PR = "r9" SRCNAME = "smart" --1.8.1.2
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 6 lines · On Wednesday 29 May 2013 10:41:25 Khem Raj wrote:
meta/recipes-devtools/python/python-smartpm_1.4.1.bb SECTION = "devel/python" · line 11
Quoted 2 lines · Paul Eggleton
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1
-1-DEPENDS = "python rpm" +DEPENDS = "python rpm gettext-native"Why not inherit gettext ?
Because that doesn't work for python-smartpm-native - that will add gettext- minimal-native to DEPENDS which does not provide msgfmt.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 10 lines · Paul Eggleton
Quoted 6 lines · On Wednesday 29 May 2013 10:41:25 Khem Raj wrote:
meta/recipes-devtools/python/python-smartpm_1.4.1.bb SECTION = "devel/python" · line 11
Quoted 2 lines · Paul Eggleton
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1
-1-DEPENDS = "python rpm" +DEPENDS = "python rpm gettext-native"Why not inherit gettext ?
Because that doesn't work for python-smartpm-native - that will add gettext- minimal-native to DEPENDS which does not provide msgfmt.
Add that info to commit log please
Quoted 8 lines
Cheers,
PaulSignature · 2 lines
Paul Eggleton Intel Open Source Technology Centre