* [PATCH] firefox: fix install issue and do_package_qa issues
@ 2016-03-15 9:19 guojian.zhou
2016-03-15 9:19 ` [meta-browser][PATCH] " guojian.zhou
0 siblings, 1 reply; 5+ messages in thread
From: guojian.zhou @ 2016-03-15 9:19 UTC (permalink / raw)
To: openembedded-devel
From: Guojian Zhou <guojian.zhou@windriver.com>
1. Fix the firefox install missing the "usr/lib64/firefox/defaults/pref" directory issue.
| make[1]: Leaving directory `tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/mozilla-esr38/firefox-build-dir'
| install: target
'tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/image/usr/lib64/firefox/defaults/pref/' is not a directory: No such file or directory
| WARNING: tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/run.do_install.329:1 exit 1 from
2. Add the "--libdir=${libdir}" into the EXTRA_OECONF to make sure these
library files could be installed into the /usr/lib64 in the 64 bits OS.
WARNING: QA Issue: firefox: Files/directories were installed but not
shipped in any package:
/usr/lib64/firefox
/usr/lib64/firefox-devel-38.6/xpcom-config.h
/usr/lib64/firefox-devel-38.6/idl
/usr/lib64/firefox-devel-38.6/include
/usr/lib64/firefox-devel-38.6/bin
3. Fix some do_package_qa warning issue which comes from the commit e045c68c41f65ba3b0b22d06022ea6c53e072ab5
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Started
ERROR: QA Issue: non -staticdev package contains static .a library:
firefox-dev path
'work/core2-64-wrs-linux/firefox/38.6.1esr-r0/packages-split/firefox-dev/usr/lib64/firefox-devel-38.6/sdk/lib/libcrmf.a'
[staticdev]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/log.do_package_qa.90631
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Failed
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
---
recipes-mozilla/firefox/firefox_38.6.1esr.bb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes-mozilla/firefox/firefox_38.6.1esr.bb b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
index 4e4a7aa..ba04f41 100644
--- a/recipes-mozilla/firefox/firefox_38.6.1esr.bb
+++ b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
@@ -59,16 +59,18 @@ MOZ_APP_BASE_VERSION = "38.6"
inherit mozilla
EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
+EXTRA_OECONF += "--libdir=${libdir}"
ARM_INSTRUCTION_SET = "arm"
do_install_append() {
install -d ${D}${datadir}/applications
install -d ${D}${datadir}/pixmaps
+ install -d ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
- install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}/defaults/pref/
+ install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref/
# Fix ownership of files
chown root:root -R ${D}${datadir}
@@ -78,10 +80,10 @@ do_install_append() {
FILES_${PN} = "${bindir}/${PN} \
${datadir}/applications/ \
${datadir}/pixmaps/ \
- ${libdir}/${PN}/* \
+ ${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/* \
${bindir}/defaults"
-FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config"
-
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config ${libdir}/${PN}-devel-*"
+FILES_${PN}-staticdev += "${libdir}/${PN}-devel-*/sdk/lib/*.a"
# We don't build XUL as system shared lib, so we can mark all libs as private
PRIVATE_LIBS = "libmozjs.so \
libxpcom.so \
--
1.7.12.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [meta-browser][PATCH] firefox: fix install issue and do_package_qa issues
2016-03-15 9:19 [PATCH] firefox: fix install issue and do_package_qa issues guojian.zhou
@ 2016-03-15 9:19 ` guojian.zhou
2016-03-22 5:51 ` gzhou1
0 siblings, 1 reply; 5+ messages in thread
From: guojian.zhou @ 2016-03-15 9:19 UTC (permalink / raw)
To: openembedded-devel
From: Guojian Zhou <guojian.zhou@windriver.com>
1. Fix the firefox install missing the "usr/lib64/firefox/defaults/pref" directory issue.
| make[1]: Leaving directory `tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/mozilla-esr38/firefox-build-dir'
| install: target
'tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/image/usr/lib64/firefox/defaults/pref/' is not a directory: No such file or directory
| WARNING: tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/run.do_install.329:1 exit 1 from
2. Add the "--libdir=${libdir}" into the EXTRA_OECONF to make sure these
library files could be installed into the /usr/lib64 in the 64 bits OS.
WARNING: QA Issue: firefox: Files/directories were installed but not
shipped in any package:
/usr/lib64/firefox
/usr/lib64/firefox-devel-38.6/xpcom-config.h
/usr/lib64/firefox-devel-38.6/idl
/usr/lib64/firefox-devel-38.6/include
/usr/lib64/firefox-devel-38.6/bin
3. Fix some do_package_qa warning issue which comes from the commit e045c68c41f65ba3b0b22d06022ea6c53e072ab5
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Started
ERROR: QA Issue: non -staticdev package contains static .a library:
firefox-dev path
'work/core2-64-wrs-linux/firefox/38.6.1esr-r0/packages-split/firefox-dev/usr/lib64/firefox-devel-38.6/sdk/lib/libcrmf.a'
[staticdev]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/log.do_package_qa.90631
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Failed
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
---
recipes-mozilla/firefox/firefox_38.6.1esr.bb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes-mozilla/firefox/firefox_38.6.1esr.bb b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
index 4e4a7aa..ba04f41 100644
--- a/recipes-mozilla/firefox/firefox_38.6.1esr.bb
+++ b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
@@ -59,16 +59,18 @@ MOZ_APP_BASE_VERSION = "38.6"
inherit mozilla
EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
+EXTRA_OECONF += "--libdir=${libdir}"
ARM_INSTRUCTION_SET = "arm"
do_install_append() {
install -d ${D}${datadir}/applications
install -d ${D}${datadir}/pixmaps
+ install -d ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
- install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}/defaults/pref/
+ install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref/
# Fix ownership of files
chown root:root -R ${D}${datadir}
@@ -78,10 +80,10 @@ do_install_append() {
FILES_${PN} = "${bindir}/${PN} \
${datadir}/applications/ \
${datadir}/pixmaps/ \
- ${libdir}/${PN}/* \
+ ${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/* \
${bindir}/defaults"
-FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config"
-
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config ${libdir}/${PN}-devel-*"
+FILES_${PN}-staticdev += "${libdir}/${PN}-devel-*/sdk/lib/*.a"
# We don't build XUL as system shared lib, so we can mark all libs as private
PRIVATE_LIBS = "libmozjs.so \
libxpcom.so \
--
1.7.12.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-browser][PATCH] firefox: fix install issue and do_package_qa issues
2016-03-15 9:19 ` [meta-browser][PATCH] " guojian.zhou
@ 2016-03-22 5:51 ` gzhou1
0 siblings, 0 replies; 5+ messages in thread
From: gzhou1 @ 2016-03-22 5:51 UTC (permalink / raw)
To: openembedded-devel
Ping.
Thanks a lot,
Guojian
On 03/15/2016 05:19 PM, guojian.zhou@windriver.com wrote:
> From: Guojian Zhou <guojian.zhou@windriver.com>
>
> 1. Fix the firefox install missing the "usr/lib64/firefox/defaults/pref" directory issue.
>
> | make[1]: Leaving directory `tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/mozilla-esr38/firefox-build-dir'
> | install: target
> 'tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/image/usr/lib64/firefox/defaults/pref/' is not a directory: No such file or directory
> | WARNING: tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/run.do_install.329:1 exit 1 from
>
> 2. Add the "--libdir=${libdir}" into the EXTRA_OECONF to make sure these
> library files could be installed into the /usr/lib64 in the 64 bits OS.
>
> WARNING: QA Issue: firefox: Files/directories were installed but not
> shipped in any package:
> /usr/lib64/firefox
> /usr/lib64/firefox-devel-38.6/xpcom-config.h
> /usr/lib64/firefox-devel-38.6/idl
> /usr/lib64/firefox-devel-38.6/include
> /usr/lib64/firefox-devel-38.6/bin
>
> 3. Fix some do_package_qa warning issue which comes from the commit e045c68c41f65ba3b0b22d06022ea6c53e072ab5
>
> NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Started
> ERROR: QA Issue: non -staticdev package contains static .a library:
> firefox-dev path
> 'work/core2-64-wrs-linux/firefox/38.6.1esr-r0/packages-split/firefox-dev/usr/lib64/firefox-devel-38.6/sdk/lib/libcrmf.a'
> [staticdev]
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa
> ERROR: Logfile of failure stored in:
> tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/log.do_package_qa.90631
> NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Failed
>
> Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
> ---
> recipes-mozilla/firefox/firefox_38.6.1esr.bb | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-mozilla/firefox/firefox_38.6.1esr.bb b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
> index 4e4a7aa..ba04f41 100644
> --- a/recipes-mozilla/firefox/firefox_38.6.1esr.bb
> +++ b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
> @@ -59,16 +59,18 @@ MOZ_APP_BASE_VERSION = "38.6"
> inherit mozilla
>
> EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
> +EXTRA_OECONF += "--libdir=${libdir}"
>
> ARM_INSTRUCTION_SET = "arm"
>
> do_install_append() {
> install -d ${D}${datadir}/applications
> install -d ${D}${datadir}/pixmaps
> + install -d ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref
>
> install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
> install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
> - install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}/defaults/pref/
> + install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref/
>
> # Fix ownership of files
> chown root:root -R ${D}${datadir}
> @@ -78,10 +80,10 @@ do_install_append() {
> FILES_${PN} = "${bindir}/${PN} \
> ${datadir}/applications/ \
> ${datadir}/pixmaps/ \
> - ${libdir}/${PN}/* \
> + ${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/* \
> ${bindir}/defaults"
> -FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config"
> -
> +FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config ${libdir}/${PN}-devel-*"
> +FILES_${PN}-staticdev += "${libdir}/${PN}-devel-*/sdk/lib/*.a"
> # We don't build XUL as system shared lib, so we can mark all libs as private
> PRIVATE_LIBS = "libmozjs.so \
> libxpcom.so \
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-browser][PATCH] firefox: fix install issue and do_package_qa issues
2016-03-25 1:21 ` [meta-browser][PATCH] " guojian.zhou
@ 2016-03-25 10:12 ` Otavio Salvador
0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2016-03-25 10:12 UTC (permalink / raw)
To: OpenEmbedded Devel List; +Cc: Eric Bénard, Otavio Salvador
On Thu, Mar 24, 2016 at 10:21 PM, <guojian.zhou@windriver.com> wrote:
...
> 2. Add the "--libdir=${libdir}" into the EXTRA_OECONF to make sure these
> library files could be installed into the /usr/lib64 in the 64 bits OS.
This should be set, as prefix, in firefox/mozconfig.
All the rest looks fine.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 5+ messages in thread
* [meta-browser][PATCH] firefox: fix install issue and do_package_qa issues
2016-03-25 1:21 [PATCH] " guojian.zhou
@ 2016-03-25 1:21 ` guojian.zhou
2016-03-25 10:12 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: guojian.zhou @ 2016-03-25 1:21 UTC (permalink / raw)
To: openembedded-devel; +Cc: otavio, eric
From: Guojian Zhou <guojian.zhou@windriver.com>
1. Fix the firefox install missing the "usr/lib64/firefox/defaults/pref" directory issue.
| make[1]: Leaving directory `tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/mozilla-esr38/firefox-build-dir'
| install: target
'tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/image/usr/lib64/firefox/defaults/pref/' is not a directory: No such file or directory
| WARNING: tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/run.do_install.329:1 exit 1 from
2. Add the "--libdir=${libdir}" into the EXTRA_OECONF to make sure these
library files could be installed into the /usr/lib64 in the 64 bits OS.
WARNING: QA Issue: firefox: Files/directories were installed but not
shipped in any package:
/usr/lib64/firefox
/usr/lib64/firefox-devel-38.6/xpcom-config.h
/usr/lib64/firefox-devel-38.6/idl
/usr/lib64/firefox-devel-38.6/include
/usr/lib64/firefox-devel-38.6/bin
3. Fix some do_package_qa warning issue which comes from the commit e045c68c41f65ba3b0b22d06022ea6c53e072ab5
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Started
ERROR: QA Issue: non -staticdev package contains static .a library:
firefox-dev path
'work/core2-64-wrs-linux/firefox/38.6.1esr-r0/packages-split/firefox-dev/usr/lib64/firefox-devel-38.6/sdk/lib/libcrmf.a'
[staticdev]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
tmp/work/core2-64-wrs-linux/firefox/38.6.1esr-r0/temp/log.do_package_qa.90631
NOTE: recipe firefox-38.6.1esr-r0: task do_package_qa: Failed
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
---
recipes-mozilla/firefox/firefox_38.6.1esr.bb | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/recipes-mozilla/firefox/firefox_38.6.1esr.bb b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
index 4e4a7aa..ba04f41 100644
--- a/recipes-mozilla/firefox/firefox_38.6.1esr.bb
+++ b/recipes-mozilla/firefox/firefox_38.6.1esr.bb
@@ -59,16 +59,18 @@ MOZ_APP_BASE_VERSION = "38.6"
inherit mozilla
EXTRA_OEMAKE += "installdir=${libdir}/${PN}"
+EXTRA_OECONF += "--libdir=${libdir}"
ARM_INSTRUCTION_SET = "arm"
do_install_append() {
install -d ${D}${datadir}/applications
install -d ${D}${datadir}/pixmaps
+ install -d ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
install -m 0644 ${WORKDIR}/mozilla-firefox.png ${D}${datadir}/pixmaps/
- install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}/defaults/pref/
+ install -m 0644 ${WORKDIR}/vendor.js ${D}${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/defaults/pref/
# Fix ownership of files
chown root:root -R ${D}${datadir}
@@ -78,10 +80,10 @@ do_install_append() {
FILES_${PN} = "${bindir}/${PN} \
${datadir}/applications/ \
${datadir}/pixmaps/ \
- ${libdir}/${PN}/* \
+ ${libdir}/${PN}-${MOZ_APP_BASE_VERSION}/* \
${bindir}/defaults"
-FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config"
-
+FILES_${PN}-dev += "${datadir}/idl ${bindir}/${PN}-config ${libdir}/${PN}-devel-*"
+FILES_${PN}-staticdev += "${libdir}/${PN}-devel-*/sdk/lib/*.a"
# We don't build XUL as system shared lib, so we can mark all libs as private
PRIVATE_LIBS = "libmozjs.so \
libxpcom.so \
--
1.7.12.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-25 10:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 9:19 [PATCH] firefox: fix install issue and do_package_qa issues guojian.zhou
2016-03-15 9:19 ` [meta-browser][PATCH] " guojian.zhou
2016-03-22 5:51 ` gzhou1
2016-03-25 1:21 [PATCH] " guojian.zhou
2016-03-25 1:21 ` [meta-browser][PATCH] " guojian.zhou
2016-03-25 10:12 ` Otavio Salvador
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.