[yocto] bitbake error
Hi, i'm trying to build an image with Yocto on a new machine (ubuntu 16.04 LTS)but i have this error that i can't resolve. Can you help ? ERROR: Execution of event handler 'uninative_event_fetchloader' failed Traceback (most recent call last): File "/home/b/yocto-krogoth/sources/poky/meta/classes/uninative.bbclass", line 55, in uninative_event_fetchloader(e=0x7f2015027790>): if not os.path.exists(tarballpath): >bb.utils.mkdirhier(tarballdir) if d.getVar("UNINATIVE_URL", True) == "unset": File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/utils.py", line 716, in mkdirhier(directory='/home/b/yocto-krogoth/../../yocto/downloads//uninative/acf1e44a0ac2e855e81da6426197d36358bf7b4e88e552ef933128498c8910f8'): if e.errno != errno.EEXIST: >raise e OSError: [Errno 13] Permission denied: '/home/b/yocto-krogoth/../../yocto' ERROR: Command execution failed: Traceback (most recent call last): File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/command.py", line 104, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/command.py", line 325, in buildTargets command.cooker.buildTargets(pkgs_to_build, task) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/cooker.py", line 1423, in buildTargets bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.data) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/event.py", line 178, in fire fire_class_handlers(event, d) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/event.py", line 110, in fire_class_handlers execute_handler(name, handler, event, d) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/event.py", line 82, in execute_handler ret = handler(event) File "/home/b/yocto-krogoth/sources/poky/meta/classes/uninative.bbclass", line 55, in uninative_event_fetchloader bb.utils.mkdirhier(tarballdir) File "/home/b/yocto-krogoth/sources/poky/bitbake/lib/bb/utils.py", line 716, in mkdirhier raise e OSError: [Errno 13] Permission denied: '/home/b/yocto-krogoth/../../yocto' -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [meta-raspberry]rpi-config
Hi, this patch didn't resolve this issue. On my image, i just add rpi-congig on IMAGE_INSTALL += The recipe is builded witout error but after can't build my image ! regards Le Tue, 11 Sep 2018 18:43:22 +0200, Khem Raj a écrit: On 9/11/18 8:17 AM, idealsim wrote: Hi i'm trying to build an image for a raspberry-pi 3 on branch sumo but i have an error when i try to include rpi-config. See the issue under : ERROR: Task do_populate_sdk in /media/xxx/data/raspberry/yocto/yocto_official/poky-sumo/meta-xxx/recipes-/images/console-image-.bb rdepends upon non-existent task do_package_write_rpm in /media/xxx/data/raspberry/yocto/yocto_official/poky-sumo/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb ERROR: Command execution failed: 1 Do you have an idea how i can resolve this please ? can you try this patch and report back if it helps or not https://github.com/kraj/meta-raspberrypi/commit/095f642e7c064b44d12854966468cc5a2699d8fd Regards, Mickaël -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [meta-raspberry]rpi-config
Hi i'm trying to build an image for a raspberry-pi 3 on branch sumo but i have an error when i try to include rpi-config. See the issue under : ERROR: Task do_populate_sdk in /media/xxx/data/raspberry/yocto/yocto_official/poky-sumo/meta-xxx/recipes-/images/console-image-.bb rdepends upon non-existent task do_package_write_rpm in /media/xxx/data/raspberry/yocto/yocto_official/poky-sumo/meta-raspberrypi/recipes-bsp/bootfiles/rpi-config_git.bb ERROR: Command execution failed: 1 Do you have an idea how i can resolve this please ? Regards, Mickaël -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [php7] packageconfig apache2 error
Hi i would like to add modphp to my image (pyro branch). For this i add this to my local.conf : PACKAGECONFIG_append_pn-php = "apache2 pam" IMAGE_INSTALL_append = "\ apache2 \ php \ php-cli \ " But during the build of php (7.1.0 by default in pyro) i have this error during install : /| /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/php-7.1.0/build/shtool install -c ext/phar/phar.phar /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/bin// //| page: php-config.1// //| ln -s -f phar.phar /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/bin/phar// //| Installing PDO headers: /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/include/php/ext/pdo/// //| // //| Notice: unserialize(): Error at offset 394 of 2427 bytes in phar:///media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/build/pear/install-pear-nozlib.phar/PEAR/Config.php on line 1080// //| ERROR: One of /home/modjo/.pearrc or /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/recipe-sysroot-native/usr/bin/../../etc//pear.conf is corrupt, please remove them and try againInstalling header files: /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/image/usr/include/php/// //| install: cannot stat 'libs/libphp5.so': No such file or directory// //| WARNING: exit code 1 from a shell command.// //| ERROR: Function failed: do_install (log file is located at /media/modjo/data1TO/yocto/pyro/quadBuild/tmp/work/udooqdl-poky-linux-gnueabi/php/7.1.0-r0/temp/log.do_install.31439)// //ERROR: Task (/media/modjo/data1TO/yocto/pyro/sources/meta-openembedded/meta-oe/recipes-devtools/php/php_7.1.0.bb:do_install) failed with exit code '1'// //NOTE: Tasks Summary: Attempted 1283 tasks of which 1276 didn't need to be rerun and 1 failed./ To resolve this i change this line (in php.inc) : /Line 179 install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules/ by this one : /Line 179 install -m 755 libs/libphp7.so ${D}${libdir}/apache2/modules /Perhaps this recipe need a patch ? Modjo -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] samba create user with password
I have made some progress but still have an issue. First to create an user we need expect. I add it to my local.conf. Under the script that work (tested on the card) : #!/usr/bin/expect -f spawn echo script for create samba user spawn smbpasswd -a sambaUser expect "New SMB password:" send "myPassword\n" expect "Retype new SMB password:" send "myPassword\n" interact spawn echo end of script Then i have modified my recipe to add this script and launch it at first boot : FILESEXTRAPATHS_prepend := "${THISDIR}/files:" # Add custom smb.conf file to samba recipe SRC_URI += "file://22-samba-conf.patch \ file://createUserSamba.sh \ " do_install_append () { install -m 0755 ${WORKDIR}/createUserSamba.sh ${D}${sysconfdir}/samba } pkg_postinst_samba () { /etc/samba/createUserSamba.sh } But this don't work ! Do you have some advices to resolve this please ? regards Mickael. Le Mon, 12 Jun 2017 21:30:55 +0200, idealsim <ideal...@laposte.net> a écrit: Hi, i'm trying to configure a samba server from yocto for my card. I have a working server (add samba in local.conf), but i would like to add the user >with password to samba at yocto build step. For this i add this recipe (samba_%.bbappend) FILESEXTRAPATHS_prepend := "${THISDIR}/files:" # Replace default smb.conf file to /etc/samba with my custom SRC_URI += "file://22-samba-conf.patch" pkg_postinst_${PN} () { smbpasswd -a sambaUser -s echo Password echo Password echo } For that i use pkg_postinst () but i don't know if i use it correctly (for the moment this won't work) ! At first boot time i need to execute #smbpasswd in >shell to activate the user in Samba. If someone can help to configure it in yocto recipe ? regards Mickael -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] samba create user with password
Hi, i'm trying to configure a samba server from yocto for my card. I have a working server (add samba in local.conf), but i would like to add the user with password to samba at yocto build step. For this i add this recipe (samba_%.bbappend) FILESEXTRAPATHS_prepend := "${THISDIR}/files:" # Replace default smb.conf file to /etc/samba with my custom SRC_URI += "file://22-samba-conf.patch" pkg_postinst_${PN} () { smbpasswd -a sambaUser -s echo Password echo Password echo } For that i use pkg_postinst () but i don't know if i use it correctly (for the moment this won't work) ! At first boot time i need to execute /#smbpasswd/ in shell to activate the user in Samba. If someone can help to configure it in yocto recipe ? regards Mickael -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Re: How to add libudev.h
Hi, it works fine ( dev-pkgs + DEPENDS). thanks Mickaël Le Thu, 03 Nov 2016 14:17:23 +0100, idealsim <ideal...@laposte.net> a écrit: Ok, i will try to add dev-pkgs to my recipe here https://github.com/modjo756/meta-udoo-modjo/blob/krogoth-modjo/qt5-layer/recipes-qt/images/udoo->image-qt5.bb and add udev to my local.conf. I let you know if it's work... Mickael Le Thu, 03 Nov 2016 14:03:04 +0100, Burton, Ross <ross.bur...@intel.com> a écrit: On 3 November 2016 at 12:55, idealsim <ideal...@laposte.net> wrote: Thanks for your answer. It seems that i didn't have DEPENDS = "udev". How i can add it ? - to my local.conf or - to myImage.bb Regards, If you want to do compiling inside the image, the easy way is to just add dev-pkgs to IMAGE_FEATURES for the image recipe. This gives you all of >>the headers for everything installed, which will include the udev headers assuming that your image has udev. Ross --Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to add libudev.h
Ok, i will try to add dev-pkgs to my recipe here https://github.com/modjo756/meta-udoo-modjo/blob/krogoth-modjo/qt5-layer/recipes-qt/images/udoo-image-qt5.bb and add udev to my local.conf. I let you know if it's work... Mickael Le Thu, 03 Nov 2016 14:03:04 +0100, Burton, Ross <ross.bur...@intel.com> a écrit: On 3 November 2016 at 12:55, idealsim <ideal...@laposte.net> wrote: Thanks for your answer. It seems that i didn't have DEPENDS = "udev". How i can add it ? - to my local.conf or - to myImage.bb Regards, If you want to do compiling inside the image, the easy way is to just add dev-pkgs to IMAGE_FEATURES for the image recipe. This gives you all of the >headers for everything installed, which will include the udev headers assuming that your image has udev. Ross -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to add libudev.h
Thanks for your answer. It seems that i didn't have DEPENDS = "udev". How i can add it ? - to my local.conf or - to myImage.bb Regards, Le Thu, 03 Nov 2016 13:29:57 +0100, Gary Thomas <g...@mlbassoc.com> a écrit: On 2016-11-03 13:19, idealsim wrote: Hi all, i need to build a lib --> openZwave (on a imx6 card) libudev.h. I have this error during the build : /home/root/openzwave-1.4.164/cpp/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory I have tried to add udev to my local.conf but this not resolve the problem. How i can add it to my build please ? Did you try adding 'udev' to DEPENDS in your recipe? That's the way bitbake knows to provide such connections (i.e. how your recipe can find the appropriate files during build) -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] How to add libudev.h
Hi all, i need to build a lib --> openZwave (on a imx6 card) libudev.h. I have this error during the build : /home/root/openzwave-1.4.164/cpp/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory I have tried to add udev to my local.conf but this not resolve the problem. How i can add it to my build please ? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [yocto/meta-qt5] broken qt5 sdk
Hi, since one week now i have a problem with my generated sdk. When i deploy sdk and configure qtCreator i have this error when i try do deploy an app : /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libQt5Charts.so when searching for -lQt5Charts /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libQt5Charts.so when searching for -lQt5Charts /usr/bin/ld: cannot find -lQt5Charts /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libQt5Widgets.so when searching for -lQt5Widgets /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libQt5Widgets.so when searching for -lQt5Widgets /usr/bin/ld: cannot find -lQt5Widgets /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libQt5Gui.so when searching for -lQt5Gui /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libQt5Gui.so when searching for -lQt5Gui /usr/bin/ld: cannot find -lQt5Gui /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libQt5Core.so when searching for -lQt5Core /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libQt5Core.so when searching for -lQt5Core /usr/bin/ld: cannot find -lQt5Core /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libGLESv2.so when searching for -lGLESv2 /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libGLESv2.so when searching for -lGLESv2 /usr/bin/ld: cannot find -lGLESv2 /usr/bin/ld: skipping incompatible /opt/poky/secoA62/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libpthread.so when searching for -lpthread /usr/bin/ld: skipping incompatible /home/mls/yocto-seco/secoA62q/tmp/sysroots/secosbca62/usr/lib/libpthread.a when searching for -lpthread collect2: error: ld returned 1 exit status make: *** [barchart] Error 1 09:57:17: Le processus "/usr/bin/make" s'est terminé avec le code 2. For information we are on krogoth branch for oe/poky ... and master in meta-qt5 (for qt5.7). We have no warning or error during the build. I also see that qmake -query (the qmake give by the sdk in /x86_64-pokysdk-linux/usr/bin/qt5/bin) give this : QT_EXTERNAL_HOST_BINS: QMAKE_SPEC:linux-g++ QMAKE_XSPEC:linux-g++ QMAKE_VERSION:3.0 QT_VERSION:5.7.0 and before for a working sdk, i have this for qmake -query : QT_EXTERNAL_HOST_BINS: QMAKE_SPEC:/home/mls/yoctoUdoo/neoBuild/tmp/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++ QMAKE_XSPEC:linux-oe-g++ QMAKE_VERSION:3.0 QT_VERSION:5.6.1 I think a problem with QMAKE_SPEC, but i don't know how to resolve this ! If someone can help please ! Mickaël -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Re: add dejavu-fonts to image
Hi Michel, your solution work fine thanks a lot for that ! Le Fri, 14 Oct 2016 10:08:37 +0200, idealsim <ideal...@laposte.net> a écrit: Ok, i will test this week end and let you know ! Otherwise, if you build qt5.7 perhaps you can have the same issue like me with sdk, see here for more details : https://github.com/graugans/meta-udoo/issues/20 regards Le 13/10/2016 à 18:12, Michel D'HOOGE a écrit : After solving all the QA issues, this bbappend creates RPM packages with fonts in the expected folder. I didn't try to generate an image but I'm quite confident about the result. Michel do_install() { install -d ${D}${libdir}/fonts/ find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${libdir}/fonts/ \; install -d ${D}${sysconfdir}/fonts/conf.d/ install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ } FILES_${PN}-sans= "${libdir}/fonts/DejaVuSans.ttf ${libdir}/fonts/DejaVuSans-*.ttf" FILES_${PN}-sans-mono = "${libdir}/fonts/DejaVuSansMono*.ttf" FILES_${PN}-sans-condensed = "${libdir}/fonts/DejaVuSansCondensed*.ttf" FILES_${PN}-serif = "${libdir}/fonts/DejaVuSerif.ttf ${libdir}/fonts/DejaVuSerif-*.ttf" FILES_${PN}-serif-condensed = "${libdir}/fonts/DejaVuSerifCondensed*.ttf" FILES_${PN}-mathtexgyre = "${libdir}/fonts/DejaVuMathTeXGyre.ttf" -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] add dejavu-fonts to image
Ok, i will test this week end and let you know ! Otherwise, if you build qt5.7 perhaps you can have the same issue like me with sdk, see here for more details : https://github.com/graugans/meta-udoo/issues/20 regards Le 13/10/2016 à 18:12, Michel D'HOOGE a écrit : After solving all the QA issues, this bbappend creates RPM packages with fonts in the expected folder. I didn't try to generate an image but I'm quite confident about the result. Michel do_install() { install -d ${D}${libdir}/fonts/ find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${libdir}/fonts/ \; install -d ${D}${sysconfdir}/fonts/conf.d/ install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ } FILES_${PN}-sans= "${libdir}/fonts/DejaVuSans.ttf ${libdir}/fonts/DejaVuSans-*.ttf" FILES_${PN}-sans-mono = "${libdir}/fonts/DejaVuSansMono*.ttf" FILES_${PN}-sans-condensed = "${libdir}/fonts/DejaVuSansCondensed*.ttf" FILES_${PN}-serif = "${libdir}/fonts/DejaVuSerif.ttf ${libdir}/fonts/DejaVuSerif-*.ttf" FILES_${PN}-serif-condensed = "${libdir}/fonts/DejaVuSerifCondensed*.ttf" FILES_${PN}-mathtexgyre = "${libdir}/fonts/DejaVuMathTeXGyre.ttf" -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] add dejavu-fonts to image
Thanks for this. I will try and let you know the solution worked for me ! regards Le Thu, 13 Oct 2016 16:56:34 +0200, Michel D'HOOGEa écrit: Hello, thanks a lot the build work now ! I'm very proud: this is the 1st time I can help someone on Yocto! This means a lot to me ;-) But i have another issue, i would like to install the font in /usr/lib/fonts, this is not the case for the moment (it 's >>for Qt5.7 use). How i can said to yocto to install font (.ttf) on this folder please ? I also need to use Qt5.7, but since I'm currently on other tasks, you discover the troubles a couple of hours before >me. So let's try to debug this together… 1/ File ttf-dejavu_2.37.bb includes (requires) `ttf.inc` that is in the same folder. 2/ File ttf.inc has the following method: do_install() { install -d ${D}${datadir}/fonts/truetype/ find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/>truetype/ \; } which is in turn appended by dejavu with: do_install_append () { install -d ${D}${sysconfdir}/fonts/conf.d/ install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/>conf.d/ } 3/ The log of the install task of the recipe is /tmp/work/all-poky-linux/ttf-dejavu/2.37-r7/temp/run.do_install We have: export datadir="/usr/share" export sysconfdir="/etc" I compared to my Debian system: the files are stored in the same folders. So it seems this is qt that doesn't search >in the "correct" place. 4/ After some grepping in meta-qt5, I have: classes/qmake5_paths.bbclass OE_QMAKE_PATH_LIBS = "${libdir}" classes/qmake5_paths.bbclass OE_QMAKE_PATH_QT_FONTS = "${OE_QMAKE_PATH_LIBS}/fonts" 5/ But I don't know what is the best solution now. We could change the OE_QMAKE_PATH_QT_FONTS variable. >But this implies to recompile many pieces, I believe. So I opt for changing the do_install function. The quick & dirty solution is to create a ttf-dejavu_2.37.bbappend file >that totally redefine the do_install method. do_install() { install -d ${D}${datadir}/fonts/truetype/ find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${libdir}/fonts/>truetype/ \; install -d ${D}${sysconfdir}/fonts/conf.d/ install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/>conf.d/ } I can't test it right now, but I hope this helps you. Michel -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] add dejavu-fonts to image
Hello, thanks a lot the build work now ! But i have another issue, i would like to install the font in /usr/lib/fonts, this is not the case for the moment (it 's for Qt5.7 use). How i can said to yocto to install font (.ttf) on this folder please ? regards Mickaël Le Thu, 13 Oct 2016 12:07:24 +0200, Michel D'HOOGEa écrit: Hello, In fact, the ttf-dejavu recipe doesn't provide a package with the same name. If you look at the PACKAGES variable, you'll find that it >provides ${PN}-sans, ${PN}-sans-mono, ${PN}-sans-condensed, ${PN}-serif , ${PN}-serif-condensed & ${PN}-mathtexgyre. So you have to explicitly choose the packages you want. Michel -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] add dejavu-fonts to image
Hi, i have build an image for an imx6 card (secoA62) based on this good layer https://github.com/graugans/meta-udoo (krogoth branch). All work fine but since the last version of qt 5.7, qtbase-font is not provided and now i have this error when i deploy an app : /QFontDatabase: Cannot find font directory /usr/lib/fonts.// //Note that Qt no longer ships fonts. Deploy some (from //http://dejavu-fonts.org//for example) or switch to fontconfig./ Apparently we need to provide fonts with yocto now. Can you advise me how i can add ttf-dejavu to the image. I have tried to add it to my local.conf like this : IMAGE_INSTALL_append = "\ ttf-dejavu \ " but i have an error during the build of the image rootfs ! Can you help please ? Mickaël LE STEPHAN -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] problem with developer sdk
Hi, i have rebuild an image of yocto krogoth with qt 5.6.2 (lasted release). The problem is now i have a problem with developer sdk. The problem is when i use it with a host machine (after install the script and configure qt creator), i obtain this error when i want to deploy an app : /|/usr/bin/ld: cannot find -lQt5Widgets |/ /|/usr/bin/ld: cannot find -lQt5Gui |/ /|/usr/bin/ld: cannot find -lQt5SerialPort |/ /|/usr/bin/ld: cannot find -lQt5Core |/ /|/usr/bin/ld: cannot find -lGLESv2 |/ /|collect2: error: ld returned 1 exit status make: *** [terminal] Error 1|/ That is strange is that when i use an old sdk (qt5.6.1), it works ! That i see on qtcreator/tools/options/qtversions and details about the kit (see this post for more details : https://github.com/graugans/meta-udoo/issues/20) is that mkspec for qt5.6.2 is different than for the qt5.6.1 kit : qt5.6.2 : mkspec = linux-g++ qt5.6.1: mkspec=linux-oe-g++ If someone can help, it would be very useful ! regards, -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] fix-parallel-build.patch error Krogoth branch
Hi, i have a problem with the patch give in sources/poky/meta/recipes-support/db/db/fix-parallel-build.patch. I have this error during the build : NOTE: Applying patch 'fix-parallel-build.patch' (../sources/poky/meta/recipes-support/db/db/fix-parallel-build.patch) ERROR: Command Error: 'quilt --quiltrc /home/xxx/udoo-community-bsp/SA62/tmp/sysroots/x86_64-linux/etc/quiltrc push' exited with 1 Output: Applying patch fix-parallel-build.patch patching file Makefile.in Hunk #1 FAILED at 1034. 1 out of 1 hunk FAILED -- rejects in file Makefile.in Patch fix-parallel-build.patch can be reverse-applied DEBUG: Python function patch_do_patch finished DEBUG: Python function do_patch finished ERROR: Function failed: patch_do_patch I use this layer https://github.com/graugans/meta-udoo for my card. Can you help about this issue please ? -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Qt base font and Qt5.7
Hi i have build an image for an imx6 card with yocto Krogoth and meta Qt5 master to have qt5.7 (especially for chart). To build the image i needed to remove qtbase-font from my conf to remove an error. But now when i deploy an app on the card i have this error : QFontDatabase: Cannot find font directory /usr/lib/fonts. Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig. EGL Error : Could not create the egl surface: error = 0x300b If someone can help to resolve this issue ? For information a build with qt5.6 work fine on the card ! Regards, Mickaël -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Re: Re: Qt5.6 new modules
It seems that they have a problem with c++11, see QTBUG-51655, change comit https://github.com/qtproject/qtserialbus/commit/04b75569f36eec14662505a08bf8c1d565cb10fe The SRCREV is now 04b75569f36eec14662505a08bf8c1d565cb10fe Seems to work ! compil the lib ... Continue to build the master image now Mickaël Le 18/03/2016 11:39, Christian Ege a écrit : Hi, 2016-03-18 10:00 GMT+01:00 idealsim <ideal...@laposte.net>: Hi and thank you, now i know where to find SRCREV ! After adjust this variable and LICENSE.FDL the source is fetched. My bb : require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \ file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ " DEPENDS += "qtbase qtserialport" SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b" When i launch bitbake qtserialbus, the process build without error, but it seems there is something missing because the compile step is very fast and my neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+92c979c665-r0/package/ folder is empty ! If i take the qtsensors folder, there are this folder (in package) : usr/ include/ lib/ src/ I'm looking to meta-qt5 BSP to find where i can precise to build my new recipe but didn't find anything can help. Do you know how to proceed ? You can execute a bitbake with option -v so You'll see the output. But When the package was previously build you should clean stuff before bitbake -ccleansstate qtserialbus bitbake -v qtserialbus Best, Christian regards, Le 18/03/2016 08:16, Christian Ege a écrit : Hi, 2016-03-17 17:16 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus : WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862 ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1' This is my qtserialbus_git.bb : require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ " DEPENDS += "qtbase qtserialport" SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79" The SRCREV is the git SHA1 of the repository qtserialbus. For the 5.6 Branch the latest one is: SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b" You can check the SHA1s here: https://github.com/qtproject/qtserialbus/commits/5.6 The MD5 Sums will be complained during configure step and bitbake wil tell you the right ones. Please check if the Licences do match Regards, Christian An idea is welcome ! Regards, Mickaël Le 16/03/2016 14:57, idealsim a écrit : Thanks for the tip. I will try it out and let you know ... Regards, Mickaël Le 16/03/2016 10:17, Christian Ege a écrit : Hi,, 2016-03-16 9:04 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf : "qtquickcontrols2 \ qtserialbus \ " But this modules don't have buildable providers ! If someone can help to said me how to proceed ... You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take fo
Re: [yocto] Re: Qt5.6 new modules
Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus : /WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available// //ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream// //ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source.// //ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862// //ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1'/ This is my /qtserialbus_git.bb : //require qt5.inc// //require qt5-git.inc// // //# There are no LGPLv3-only licensed files in this component.// //# There are no GPLv2 licensed files in this component.// //LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \// //file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \// //file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \// //"// // //DEPENDS += "qtbase qtserialport"// // //SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"// /An idea is welcome ! Regards, Mickaël Le 16/03/2016 14:57, idealsim a écrit : Thanks for the tip. I will try it out and let you know ... Regards, Mickaël Le 16/03/2016 10:17, Christian Ege a écrit : Hi,, 2016-03-16 9:04 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf : "qtquickcontrols2 \ qtserialbus \ " But this modules don't have buildable providers ! If someone can help to said me how to proceed ... You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ " DEPENDS += "qtbase" SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343" The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones Best, Christian regards, Mickael -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Qt5.6 new modules
Thanks for the tip. I will try it out and let you know ... Regards, Mickaël Le 16/03/2016 10:17, Christian Ege a écrit : Hi,, 2016-03-16 9:04 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf : "qtquickcontrols2 \ qtserialbus \ " But this modules don't have buildable providers ! If someone can help to said me how to proceed ... You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ " DEPENDS += "qtbase" SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343" The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones Best, Christian regards, Mickael -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Re: Re: Qt5.6 new modules
Hi and thank you, now i know where to find SRCREV ! After adjust this variable and LICENSE.FDL the source is fetched. My bb : / //require qt5.inc// //require qt5-git.inc// // //# There are no LGPLv3-only licensed files in this component.// //# There are no GPLv2 licensed files in this component.// //LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \// //file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \// //file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \// //"// // //DEPENDS += "qtbase qtserialport"// // //SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"/ When i launch bitbake qtserialbus, the process build without error, but it seems there is something missing because the compile step is very fast and my neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+92c979c665-r0/package/ folder is empty ! If i take the qtsensors folder, there are this folder (in package) : usr/ include/ lib/ src/ I'm looking to meta-qt5 BSP to find where i can precise to build my new recipe but didn't find anything can help. Do you know how to proceed ? regards, Le 18/03/2016 08:16, Christian Ege a écrit : Hi, 2016-03-17 17:16 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus : WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862 ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1' This is my qtserialbus_git.bb : require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \ file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \ " DEPENDS += "qtbase qtserialport" SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79" The SRCREV is the git SHA1 of the repository qtserialbus. For the 5.6 Branch the latest one is: SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b" You can check the SHA1s here: https://github.com/qtproject/qtserialbus/commits/5.6 The MD5 Sums will be complained during configure step and bitbake wil tell you the right ones. Please check if the Licences do match Regards, Christian An idea is welcome ! Regards, Mickaël Le 16/03/2016 14:57, idealsim a écrit : Thanks for the tip. I will try it out and let you know ... Regards, Mickaël Le 16/03/2016 10:17, Christian Ege a écrit : Hi,, 2016-03-16 9:04 GMT+01:00 idealsim <ideal...@laposte.net>: Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf : "qtquickcontrols2 \ qtserialbus \ " But this modules don't have buildable providers ! If someone can help to said me how to proceed ... You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference require qt5.inc require qt5-git.inc # There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \ file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \ file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \ file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d
[yocto] Qt5.6 new modules
Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf : "qtquickcontrols2 \ qtserialbus \ " But this modules don't have buildable providers ! If someone can help to said me how to proceed ... regards, Mickael -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] yocto and linux mint 17.3
Up ! nobodies have an idea ? Le Thu, 04 Feb 2016 13:08:00 +0100, a écrit: Hi all, i'm new on yocto and i have a problem to start a buil with my host pc. My pc is under linux mint 17.3 (cinnamon) 64 bits. When i launch a bitbake, i >have this error : ImportError: No module named pysqlite2 /home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py:107: RuntimeWarning: Parent module 'bb' not found while handling absolute >import from bb.msg import BBLogFormatter Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue from bb.msg import BBLogFormatter File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in from bb import fetch2 as fetch File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in import bb.persist_data, bb.utils File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 Error in sys.exitfunc: Traceback (most recent call last): File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue from bb.msg import BBLogFormatter File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in from bb import fetch2 as fetch File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in import bb.persist_data, bb.utils File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in from pysqlite2 import dbapi2 as sqlite3 ImportError: No module named pysqlite2 apparently bb can't import pysqlite2 ? I already install pip install pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to >resolve this please ? --Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/ -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] yocto and linux mint 17.3
I don't think, probably install by default ! do you think i can remove python 3 to solve the problem ? Le Thu, 04 Feb 2016 13:32:10 +0100, Burton, Ross <ross.bur...@intel.com> a écrit: On 4 February 2016 at 12:09, idealsim <ideal...@laposte.net> wrote: apparently bb can't import pysqlite2 ? I already install pip install pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to >>resolve this please ? Did that install a pysqlite for python 3? bitbake uses python2. Ross -- Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/-- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto