Hi Anoop,
We found what was the issue and successfully built an ARM image (thanks
to Ronan) ! Of course we didn't test the image since we don't have the
corresponding board.
The issue was that rpm checks an OS value when installing packages and
it probably doesn't know the value that is set. Th solution is to add a
flag to prevent this checking.
I attached the patch for meta-tizen to this mail (the patch also removes
mesa from the image). Once you succesfully built an image, can you
please test it and tell us how it goes ? I'm very curious about it :)
Regards,
Kevin
On 09/09/2014 17:13, Anoop Babu wrote:
Dear kevin, Xavier,
I'm not able to figure out what is going wrong with do rootfs and
installation, which in turn is giving rise to error: package .....
is intended for a different operating system.
Any inputs from your side is highly appreciated.
Best regards
Anoop
On Mon, Sep 1, 2014 at 2:13 AM, Anoop Babu <babu.an...@gmail.com
<mailto:babu.an...@gmail.com>> wrote:
Dear Xavier,
Any updates for me from your side? Do you require any particular
logs/files for further analysis?
Best regards
Anoop
On Thu, Aug 28, 2014 at 3:13 PM, Kévin THIERRY
<kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>> wrote:
Change Xavier mail to the correct one.
Kevin
On 28/08/2014 11:21, Anoop Babu wrote:
Dear Xaiver,
Kevin had informed about you being on vocation till
Thursday . I was awaiting your return to get some inputs
to overcome this final stage do rootfs error.
I had posted the issue to Yocto group based on Kevin's
suggestion, but unfortunately no inputs have come.
Best regards
Anoop
On Fri, Aug 22, 2014 at 6:50 PM, Kévin THIERRY
<kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>> wrote:
Hi Anoop,
I don't know this error, maybe it is related to the
issue Xavier
has ? I'm sorry but I can't help you much on this
right now.
Xavier might be able to help you but he is now on
holidays. He
will be back on Thursday next week. Maybe you can look
at the
bitbake code to see what is the issue and/or ask the
Yocto guys.
Best regards,
Kevin
On 22/08/2014 14:39, Anoop Babu wrote:
Dear Kevin,
Thank you for your valuable inputs. I commented
out statement
related egl and gallium egl, with that I could
proceed to
overcome the mesa package error.
Finally was able to reach do_rootfs stage, where
it broke
down stating mesa installation errors for which I
had comment
out dependencies as you had mentioned.
I could over come that error but hit upon another
series of
error. I have attached the log files for the same.
Hope clear this hurdle. Expecting you valuable inputs.
Please find the attached log files.
Best regards
Anoop
Best regards
A.B
PPlease think about the environment before
printing this e-mail
/
*7*Switch off as you go |*q*Always recycle |*P*Save a
tree...please don't print this e-mail unless you
really need to.
/
On Wed, Aug 20, 2014 at 6:18 PM, Kévin THIERRY
<kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>>> wrote:
Hi Anoop,
If don't mind not having mesa maybe you can
just remove it
from
the image recipe. In
meta-tizen/recipes-image/tizen-core-image-minimal.bb
<http://tizen-core-image-minimal.bb>
<http://tizen-core-image-minimal.bb>
<http://tizen-core-image-minimal.bb> comment
or remove
those lines:
CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
CORE_IMAGE_BASE_INSTALL += "libegl-gallium"
CORE_IMAGE_BASE_INSTALL += "libegl-mesa"
CORE_IMAGE_BASE_INSTALL += "libgbm"
CORE_IMAGE_BASE_INSTALL += "libgbm-gallium"
CORE_IMAGE_BASE_INSTALL +=
"mesa-driver-pipe-nouveau"
CORE_IMAGE_BASE_INSTALL +=
"mesa-driver-pipe-swrast"
CORE_IMAGE_BASE_INSTALL +=
"mesa-driver-pipe-vmwgfx"
CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-i915"
CORE_IMAGE_BASE_INSTALL += "libgles1-mesa"
CORE_IMAGE_BASE_INSTALL += "libgles2-mesa"
Regarding BlueZ 5 I think it is an upstream
recipe and
I've never
had this kind of error. Try to google it and
if you find
nothing
look at what bitbake is trying to do directly
in the code.
You can
also ask the Yocto guys on the relevant yocto
mailing list or
directly on IRC. Also you may want to clean
the bluez5
project and
try to build it again in case your environment
has been
corrupted
(bitbake bluez5 -c cleanall).
I hope this help,
Kevin
On 20/08/2014 14:10, Anoop Babu wrote:
Dear Kevin, Xavier,
I have commented out GALLIUMDRIVERS_append
= ",i915" in
mesa_%.bbappend under
meta-tizen/recipes-graphics/mesa/.
Unfortunately I haven't overcome the do
configure
error for
mesa - ERROR: oe_runconf failed.
I also hit upon another error.
ERROR: Recipe bluez5 is trying to change
PR from 'r1' to
'r11'. This will cause do_package_write_*
failures
since the
incorrect data will be used and they will
be unable to
find
the right workdir.
ERROR: Function failed:
read_subpackage_metadata
ERROR: Logfile of failure stored in:
/home/sfm/YOCTO/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/bluez5/5.21-r1/temp/log.do_package_write_rpm.31553
NOTE: recipe bluez5-5.21-r1: task
do_package_write_rpm: Failed
ERROR: Task 2107
(/home/sfm/YOCTO/poky/meta/recipes-connectivity/bluez5/bluez5_5.21.bb
<http://bluez5_5.21.bb>
<http://bluez5_5.21.bb>
<http://bluez5_5.21.bb>
<http://bluez5_5.21.bb>,
do_package_write_rpm) failed with exit code '1'
attached the log file for the same.
Best regards
Anoop
On Wed, Aug 20, 2014 at 4:12 PM, Anoop Babu
<babu.an...@gmail.com
<mailto:babu.an...@gmail.com> <mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com> <mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com <mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>>>
wrote:
Thank you Kevin. Yes I have to admit
that I have
totally gone
wrong here. I will make the changes as
suggested.
Regards
Anoop
On Tue, Aug 19, 2014 at 8:54 PM, Kévin
THIERRY
<kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>
<mailto:kevin.thie...@open.eurogiciel.org
<mailto:kevin.thie...@open.eurogiciel.org>>>>> wrote:
On 19/08/2014 17:10, Anoop Babu wrote:
Dear Xiaver,
Further to making the changes
you have
suggested
unfortunately I still cannot get over the
error. I
doubt
whether mesa_%.bbappend file
has more to
it than
what i
have added based on your
inputs. Please
share your
thoughts
I have attached the logs for
your reference.
Best regards
Anoop
On Mon, Aug 18, 2014 at 7:38
PM, Anoop Babu
<babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>
<mailto:babu.an...@gmail.com <mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>>
<mailto:babu.an...@gmail.com <mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>
<mailto:babu.an...@gmail.com <mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>
<mailto:babu.an...@gmail.com
<mailto:babu.an...@gmail.com>>>>>> wrote:
Dear Xavier,
Thank you for your valuable inputs. I
do not have
mesa_%.bbappend
file in mesa. But i have
created one
and add the
change that you
have mentioned.
Best regards
Anoop
I think you looked in the wrong
directory.
There is a
mesa_%.bbappend in
meta-tizen/recipes-graphics/mesa/.
Try the
modification Xavier gave you in
this file, it
may work
(and
remove the one you created).
On Mon, Aug 18, 2014 at
6:47 PM,
Xavier Roche
<xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>
<mailto:xavier.ro...@eurogiciel.fr
<mailto:xavier.ro...@eurogiciel.fr>>>>>>
wrote:
Hi Anoop,
I'm currently working on making an arm
based yocto
tizen image.
As you can read in Kevin's weekly
report,
there
are still
several things to fix in order to
build a
suitable
image.
I will create a specific qemuarm
recipe
you could
then refer
to for your IMX6 target. I won't
publish this
recipe for the
moment since major fixes (related
on RPM
staff)
are supposed
to be pushed on meta-tizen ASAP..
In the mid-time I would recommend
you to
manually
deactivate
mesa gallium driver in :
/recipes-graphics/mesa/mesa_%.bbappend :
-GALLIUMDRIVERS_append = ",i915"
\ No newline at end of file
+#GALLIUMDRIVERS_append = ",i915"
Best regards,
Xavier
>From 8b91632eaa7a4701e4213378fcfc27be7f3d042c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= <kevin.thie...@open.eurogiciel.org>
Date: Fri, 12 Sep 2014 12:29:19 +0200
Subject: [PATCH] Build tizen-core-image-minimal for imx6qsabreauto
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Remove mesa & mesa drivers from image.
* python-smartpm: do not check for OS value when installing rpms.
Signed-off-by: Kévin THIERRY <kevin.thie...@open.eurogiciel.org>
---
...0001-Ignore-OS-check-when-installing-rpms.patch | 33 ++++++++++++++++++++++
.../python/python-smartpm_1.4.1.bbappend | 3 ++
recipes-graphics/mesa/mesa_%.bbappend | 10 +++----
recipes-image/images/tizen-core-image-minimal.bb | 22 +++++++--------
4 files changed, 52 insertions(+), 16 deletions(-)
create mode 100644 recipes-devtools/python/files/imx6qsabreauto/0001-Ignore-OS-check-when-installing-rpms.patch
diff --git a/recipes-devtools/python/files/imx6qsabreauto/0001-Ignore-OS-check-when-installing-rpms.patch b/recipes-devtools/python/files/imx6qsabreauto/0001-Ignore-OS-check-when-installing-rpms.patch
new file mode 100644
index 0000000..bd8352a
--- /dev/null
+++ b/recipes-devtools/python/files/imx6qsabreauto/0001-Ignore-OS-check-when-installing-rpms.patch
@@ -0,0 +1,33 @@
+From 24f3e296774647642e94163a43291667a38d4e8b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= <kevin.thie...@open.eurogiciel.org>
+Date: Fri, 12 Sep 2014 11:36:15 +0200
+Subject: [PATCH] Ignore OS check when installing rpms
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add "RPMPROB_FILTER_IGNOREOS" flag to prevent checking of the operating
+system when installing RPM. This is necessary when using specific
+BSP/MACHINE leading to uncommon OS values.
+
+Signed-off-by: Kévin THIERRY <kevin.thie...@open.eurogiciel.org>
+Signed-off-by: Ronan Le Martret <ro...@fridu.net>
+---
+ smart/backends/rpm/pm.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/smart/backends/rpm/pm.py b/smart/backends/rpm/pm.py
+index f5c3051..b8c7c24 100644
+--- a/smart/backends/rpm/pm.py
++++ b/smart/backends/rpm/pm.py
+@@ -217,6 +217,7 @@ class RPMPackageManager(PackageManager):
+ ts.order()
+ probfilter = rpm.RPMPROB_FILTER_OLDPACKAGE
+ probfilter |= rpm.RPMPROB_FILTER_IGNOREARCH
++ probfilter |= rpm.RPMPROB_FILTER_IGNOREOS
+ if force or reinstall:
+ probfilter |= rpm.RPMPROB_FILTER_REPLACEPKG
+ probfilter |= rpm.RPMPROB_FILTER_REPLACEOLDFILES
+--
+1.8.1.4
+
diff --git a/recipes-devtools/python/python-smartpm_1.4.1.bbappend b/recipes-devtools/python/python-smartpm_1.4.1.bbappend
index e5b7fb3..5793b23 100644
--- a/recipes-devtools/python/python-smartpm_1.4.1.bbappend
+++ b/recipes-devtools/python/python-smartpm_1.4.1.bbappend
@@ -7,3 +7,6 @@ DEPENDS_append = " python-rpm-native "
SRC_URI_append = " file://remove_checkrpm_public_key.patch "
SRC_URI_append = " file://add_archscore.patch "
SRC_URI_append = " file://ignorearch_for_ts.patch "
+
+SRC_URI_append_imx6qsabreauto = "file://0001-Ignore-OS-check-when-installing-rpms.patch"
+
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 93096f7..b4b2a8c 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,6 +1,6 @@
-PACKAGECONFIG_append = " gallium"
-PACKAGECONFIG_append = " gallium-egl"
-PACKAGECONFIG_append = " gallium-gbm"
-PACKAGECONFIG_append = " gallium-llvm"
+#PACKAGECONFIG_append = " gallium"
+#PACKAGECONFIG_append = " gallium-egl"
+#PACKAGECONFIG_append = " gallium-gbm"
+#PACKAGECONFIG_append = " gallium-llvm"
-GALLIUMDRIVERS_append = ",i915"
\ No newline at end of file
+#GALLIUMDRIVERS_append = ",i915"
diff --git a/recipes-image/images/tizen-core-image-minimal.bb b/recipes-image/images/tizen-core-image-minimal.bb
index c6e1331..cf69657 100644
--- a/recipes-image/images/tizen-core-image-minimal.bb
+++ b/recipes-image/images/tizen-core-image-minimal.bb
@@ -20,17 +20,17 @@ CORE_IMAGE_BASE_INSTALL += "${WESTONSTARTUP}"
# Profile specific configuration - default is Tizen common
CORE_IMAGE_BASE_INSTALL += "${IMAGECONFIG}"
-CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
-CORE_IMAGE_BASE_INSTALL += "libegl-gallium"
-CORE_IMAGE_BASE_INSTALL += "libegl-mesa"
-CORE_IMAGE_BASE_INSTALL += "libgbm"
-CORE_IMAGE_BASE_INSTALL += "libgbm-gallium"
-CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-nouveau"
-CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-swrast"
-CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-vmwgfx"
-CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-i915"
-CORE_IMAGE_BASE_INSTALL += "libgles1-mesa"
-CORE_IMAGE_BASE_INSTALL += "libgles2-mesa"
+#CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
+#CORE_IMAGE_BASE_INSTALL += "libegl-gallium"
+#CORE_IMAGE_BASE_INSTALL += "libegl-mesa"
+#CORE_IMAGE_BASE_INSTALL += "libgbm"
+#CORE_IMAGE_BASE_INSTALL += "libgbm-gallium"
+#CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-nouveau"
+#CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-swrast"
+#CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-vmwgfx"
+#CORE_IMAGE_BASE_INSTALL += "mesa-driver-pipe-i915"
+#CORE_IMAGE_BASE_INSTALL += "libgles1-mesa"
+#CORE_IMAGE_BASE_INSTALL += "libgles2-mesa"
CORE_IMAGE_BASE_INSTALL += "meta-common"
CORE_IMAGE_BASE_INSTALL += "pam"
--
1.8.1.4
_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev