**** BEGIN LOGGING AT Thu Jun 22 03:00:02 2017 Jun 22 06:02:43 hello guys.. is that the right place to seek a suggestion ? I'm a yocto newbie and I'm struggling while building my first iamge Jun 22 06:22:17 hello guys.. is that the right place to seek a suggestion ? I'm a yocto newbie and I'm struggling while building my first image Jun 22 06:22:50 I still can't have php correctly shipped also if the baking progress returns with no errors at all Jun 22 06:56:49 Hello! Anyone who knows why there is no tune-cortexa53 in openembedded-core? Any specific reason? Jun 22 07:31:17 hello guys.. is that the right place to seek a suggestion ? I'm a yocto newbie and I'm struggling while building my first image Jun 22 07:31:23 I still can't have php correctly shipped also if the baking progress returns with no errors at all Jun 22 07:32:22 kappe: hi, what problem are you seeing specifically? Jun 22 07:36:15 Hello, I see there are a few patches around to add cortexa53 tunes like this: https://patchwork.openembedded.org/patch/134032/. But if I look into openembedded-core I do not see such support. Any idea why? Maybe the patch was not accepted? Jun 22 07:37:38 luc4: I don't know the specifics but it looks like there was an unanswered question on the patch Jun 22 07:37:45 hello bluelightning Jun 22 07:38:05 luc4: I notice the patch didn't provide any commit message explaining the change either Jun 22 07:38:41 I've added php to be shipped with the image in conf/local.conf CORE_IMAGE_EXTRA_INSTALL += " php" Jun 22 07:39:24 running "$ bitbake php" returns with no errorrs so I assume everything is fine Jun 22 07:40:14 running " find . -name php" Jun 22 07:40:25 ./php ./php/7.1.0-r0/pkgdata/runtime/php ./php/7.1.0-r0/pkgdata/php ./php/7.1.0-r0/pkgdata/runtime-reverse/php ./php/7.1.0-r0/sysroot-destdir/sysroot-providers/php ./php/7.1.0-r0/sysroot-destdir/usr/include/php ./php/7.1.0-r0/sysroot-destdir/usr/lib/php7/php ./php/7.1.0-r0/license-destdir/php ./php/5.6.26-r0/build/sapi/cli/php ./php/5.6.26-r0/pkgdata/runtime/php ./php/5.6.26-r0/pkgdata/php ./php/5.6.26-r0/pkgdata/runtime-reverse/php ./p Jun 22 07:40:38 bluelightning: I see. So there is no support for cortexa53 armv8 32bit? This means falling back to armv7… Ok thanks, in case I’ll try to patch. Thanks. Jun 22 07:41:37 by the way, burning the burned image created with "$ bitbake core-image-minimal" does not provide any /usr/bin/php Jun 22 07:45:28 luc4: if it's useful to you I would encourage you to post about it on the mailing list cc'ing the participants in that thread (Herve and Khem) Jun 22 07:45:54 bluelightning: ok thanks! Jun 22 07:46:33 kappe: you could check that php really is in "bitbake -e core-image-minimal|grep ^IMAGE_INSTALL=" Jun 22 07:47:26 kappe: the php binary is shipped in a separate package (php-cli) since it's not always needed, so I think you just need to add that as well Jun 22 07:48:01 and that :) Jun 22 07:52:50 thank you guys Jun 22 07:53:26 I've noticed it too but running: "$ bitbake php-cli" returns with the following error Jun 22 07:53:42 ERROR: Nothing PROVIDES 'php-cli'. Close matches: php RPROVIDES php-cli Jun 22 07:55:18 @jku, yes, running your suggested command shows that php is included Jun 22 07:55:47 kappe: php-cli is a package that is built by recipe php Jun 22 07:56:20 add php-cli to CORE_IMAGE_EXTRA_INSTALL if you want the binary in the image Jun 22 07:56:32 right, what jku said Jun 22 07:57:37 ok, thank you guys ! Jun 22 07:58:30 so if I have a recipe that needs php, within the "DEPENDS" option I have to put both "php" and "php-cli" ? Jun 22 08:04:17 kappe: DEPENDS is for build time dependency (typically libraries you need to link with) Jun 22 08:06:26 kappe: RDEPENDS is for runtime package dependencies. The usual case of libraries is handled automatically but if your app needs e.g. /usr/bin/php then you need to add php-cli to RDEPENDS Jun 22 08:08:09 @jku thank you ! Jun 22 08:14:41 I've tried to add php-cli to my recipe with the RDEPENDS option, then I've tried "$ bitbake myrecipe" and then the following error has reproduced Jun 22 08:15:00 Nothing PROVIDES 'php-cli' (but ......./layers/meta-logic/recipes-core/phpredis/phpredis_3.1.2.bb DEPENDS on or otherwise requires it). Close matches: php RPROVIDES php-cli Jun 22 08:25:19 kappe that sounds like you have "php-cli" (a package) in DEPENDS (build time recipe dependencies) Jun 22 08:31:40 the docs are pretty godd btw e.g. http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-RDEPENDS explains how to use RDEPENDS (often RDEPENDS_${PN} += "dependency-package") Jun 22 08:45:11 I have a recipe that is both native and for the target Jun 22 08:45:21 And I need to append something to a varaible only in the target and only for somep latform Jun 22 08:45:31 how can I do taht? I currently have DEPENDS_class-target += "dep" Jun 22 08:45:43 I guess it should be something like DEPENDS_myplatform_class-target += "dep" ? Jun 22 09:25:48 Dear all, Jun 22 09:26:11 Is there any easy way to inspect the dependencies between tasks without using Graphviz? Jun 22 09:26:26 I would like to avoid generating large pdf (with bitbake -g ) Jun 22 09:26:52 and only see dependencies between tasks - like: Jun 22 09:26:52 do_compile [do_fetch, do_configure] , etc Jun 22 09:29:22 lukma: does "bitbake -g -u taskexp" do what you want (on pyro/master)? Jun 22 09:29:45 bitbake -g -u taskexp Jun 22 09:41:17 jku: This is exactly what I was looking for, thanks a lot :-) Jun 22 09:42:15 jku: If I might is there any easy way to generate patch from changes, which I've made in /tmp/ source? Jun 22 09:45:09 no, as you edited the build tree. if you used devtool then you'd have the ability to update the recipe with a patch automatically. Jun 22 09:45:26 i still occasionally edit in the tmp/work/ tree directly but git init inside it first Jun 22 09:45:46 "easy" way is to mv the right source directory to somewhere else, unpack it again, then generate a diff Jun 22 09:46:45 rburton: uh, what's devtool? Jun 22 09:47:23 rbuton: What is the devtool? Jun 22 09:47:47 ah, found the refrerence. Jun 22 09:47:49 http://www.yoctoproject.org/docs/2.3/dev-manual/dev-manual.html#dev-modifying-source-code Jun 22 09:48:08 in the manual under "modifying source code" :) Jun 22 09:49:48 lukma, phako[m]: : it looks complicated but essentially manages a workspace where sources can be modified Jun 22 09:50:14 and then adds lots of tools around that Jun 22 10:13:04 jku: Regarding the -g -u taskexp -> is it supposed to work with -g -u ncurses? (for setups without easy access to X)? Jun 22 10:13:54 no Jun 22 10:14:03 -u is "select UI" Jun 22 10:14:16 -u taskexp is "the taskexp UI" Jun 22 10:14:49 * rburton has a headless build machine but tunnels X over ssh to use taskexp Jun 22 10:15:37 rbutton: Yes, I also tunnel Xes Jun 22 10:15:53 but I was wondering if there is some ncurses based alternative Jun 22 10:16:17 nope. pygobject+gtk3 is worth it :) Jun 22 10:17:02 :) ok Jun 22 10:24:02 Can someone tell me how a dts file should look like if I want to enable the PWMs? I tried to adapt it from other files but it always failed as the structure for yocto seems to be different than for debian a.o. Jun 22 10:33:34 Is anyone experiencing problems with qemu where it seems to hang just before startup of the kernel image. Jun 22 10:34:05 It is still possible to shut it down though, so perhaps its a problem with the console output... Jun 22 10:45:54 every time I try oe-selftest it gives crazy results :( Jun 22 10:48:20 * RP files #11702 Jun 22 11:45:23 Has the configuration for pwm changed under yocto? I mean do the files duty_cycle, enable and frequency still exist or where they renamed? Jun 22 11:49:07 khem: I see you worked a bit on https://patchwork.openembedded.org/series/4000. Is there a specific reason for that not being integrated? Jun 22 11:54:41 RP: rebased and pushed mut btw Jun 22 12:11:57 Anybody here using crops/poky-container on fedora or other SELinux enabled Linux? Jun 22 14:48:13 hello guys ! I have one question. I have added a specific library, say "mylibrary.a" to the image to be created. Now I have written some C code that uses "#include , then I have created both the CMakeLists.txt and the recipe to build the application that uses "mylibrary.a". Then if i run "$ bitbake myapp" the baking process returns the following error : fatal error: mylibrary.h: No such file or directory Jun 22 14:48:37 how can I instruct CMake to search for the library header? Jun 22 14:50:21 the library itself seems to be correctly linked using TARGET_LINK_LIBRARIES Jun 22 14:51:54 target_include_directories before link ? Jun 22 14:54:27 but what directory use ? Jun 22 14:55:18 the path must not be absolute as can be different for different build_system Jun 22 14:55:58 @yohboy Jun 22 14:57:58 I've tryied something like: find_package(bzip2) if( BZIP2_FOUND ) include_directories( ${BZIP2_INCLUDE_DIRS} ) target_link_libraries( flexbar ${BZIP2_LIBRARIES} ) else() message( STATUS "Build will not support bzip2." ) endif() Jun 22 14:59:42 by the way if I chane BZIP2 with "mylibrary" return with the following error: By not providing "Findmylibrary.cmake" in CMAKE_MODULE_PATH this project | has asked CMake to find a package configuration file provided by | "mylibrary", but CMake did not find one. Jun 22 15:01:38 did you try find_library ? Jun 22 15:03:07 @yohboy, no. I'll try now. It's the first time with yocto and cmake.. Jun 22 15:03:12 thank you Jun 22 15:58:00 what is the Yocto variable that refers to the complete working directory? Jun 22 15:58:09 ${WORKDIR} no, its parent Jun 22 15:58:17 so, the folder to which any files in SRC_URI are copied Jun 22 16:00:33 tlk: files in SRC_URI are unpacked to WORKDIR, yes Jun 22 16:01:06 really? I think I am missing something then... Jun 22 16:01:44 I have a config file defiend in the SRC_URI like this: SRC_URI += " myconfig.config". And then I am trying to use it in the do_install: Jun 22 16:02:02 that's not a valid entry in SRC_URI Jun 22 16:02:17 it has the file://, sorry Jun 22 16:02:18 SRC_URI, as the name implies, is a list of uris/urls, not filenames Jun 22 16:02:26 SRC_URI += "file://atmel_engine.config" Jun 22 16:02:35 And then I am doing: do_install_append_class-target_ccimx6ul() { cat "${WORKDIR}/atmel_engine.config" >> "${D}${sysconfdir}/ssl/openssl.cnf" } Jun 22 16:03:00 ${WORKDIR}/atmel_engine.config there is then the correct way to refer to the file in the SRC_URI? Jun 22 16:04:26 Never mind, it is working indeed. I got confused by another error Jun 22 16:04:26 thank you Jun 22 16:30:46 hi! Jun 22 18:08:51 Hi all ! More i advance using Yocto, more I have the feeling i'm not really understanding Yocto Branches... I thought a Yocto branch is the fact of doing an instant pictures of linux technology...Like every krogoth layers should be compatible between them... But I see yocto BSP Layer that choose different glibc versions, different kernel version... So what does define the yocto branch ? Only the tools from poky + the changing on recip Jun 22 18:09:23 I've tried to find the section on the manual... Sorry if i missed it. Jun 22 19:43:35 ... And then you learn about OpenEmbedded ... **** ENDING LOGGING AT Fri Jun 23 03:00:04 2017