Hi Kévin, In steps to build images for TI DRA7XX I need very similar patch:
https://review.tizen.org/gerrit/36375 So can we solve this issue in the same place or may be in unified way? With best regards, On Fri, Sep 12, 2014 at 1:42 PM, Kévin THIERRY < kevin.thie...@open.eurogiciel.org> wrote: > 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/bl >> uez5_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.thierry@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 >> >> >> >> >> >> >> >> >> >> >> >> >> > > _______________________________________________ > Dev mailing list > Dev@lists.tizen.org > https://lists.tizen.org/listinfo/dev > > -- *Vitaly Chernooky | Senior Developer - Product Engineering and Development* GlobalLogic P *+380.44.4929695 ext.1136* M *+380.63.6011802* S cvv_2k www.globallogic.com http://www.globallogic.com/email_disclaimer.txt
From c9584bf27ec71c1104fe3707b6258f9ae7bdeb8b 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 dra7xx-evm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * python-smartpm: do not check for OS value when installing rpms. Change-Id: I0427bff040d42edd0c3408f04a70bf5dc48853a2 Signed-off-by: Kévin THIERRY <kevin.thie...@open.eurogiciel.org> Signed-off-by: Vitaly Chernooky <vitaly.cherno...@globallogic.com> --- ...0001-Ignore-OS-check-when-installing-rpms.patch | 44 ++++++++++++++++++++ .../python/python-smartpm_1.4.1.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644 meta/recipes-devtools/python/files/dra7xx-evm/0001-Ignore-OS-check-when-installing-rpms.patch diff --git a/meta/recipes-devtools/python/files/dra7xx-evm/0001-Ignore-OS-check-when-installing-rpms.patch b/meta/recipes-devtools/python/files/dra7xx-evm/0001-Ignore-OS-check-when-installing-rpms.patch new file mode 100644 index 0000000..d6601f3 --- /dev/null +++ b/meta/recipes-devtools/python/files/dra7xx-evm/0001-Ignore-OS-check-when-installing-rpms.patch @@ -0,0 +1,44 @@ +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 +@@ -216,16 +216,18 @@ class RPMPackageManager(PackageManager): + ts.order() + probfilter = rpm.RPMPROB_FILTER_OLDPACKAGE + try: + # Test for RPM5 function + rpm.platformscore("") + except AttributeError: + probfilter |= rpm.RPMPROB_FILTER_IGNOREARCH + ++ probfilter |= rpm.RPMPROB_FILTER_IGNOREOS ++ + if force or reinstall: + probfilter |= rpm.RPMPROB_FILTER_REPLACEPKG + probfilter |= rpm.RPMPROB_FILTER_REPLACEOLDFILES + probfilter |= rpm.RPMPROB_FILTER_REPLACENEWFILES + ts.setProbFilter(probfilter) + cb = RPMCallback(prog, upgradednames) + cb.grabOutput(True) + probs = None +-- +1.8.1.4 + diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb index f2eb33d..666b257 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb @@ -33,6 +33,7 @@ SRC_URI = "\ file://smart-attempt.patch \ file://smart-filename-NAME_MAX.patch \ file://smart-rpm4-fixes.patch \ + file://0001-Ignore-OS-check-when-installing-rpms.patch \ " SRC_URI[md5sum] = "573ef32ba177a6b3c4bf7ef04873fcb6" -- 1.7.9.5
_______________________________________________ Dev mailing list Dev@lists.tizen.org https://lists.tizen.org/listinfo/dev