IRC log for #oe on 20140709

00:07.41*** join/#oe dvhart_ (~dvhart@134.134.139.76)
01:22.36*** join/#oe DJW|Home (~djwillis@cpc2-trow6-2-0-cust204.aztw.cable.virginm.net)
01:32.55*** join/#oe ccube (ccube@nx.mindrunner.de)
02:35.38*** join/#oe s3v3n62mm2 (~s3v3n62mm@p5DDC29E9.dip0.t-ipconnect.de)
03:20.21*** join/#oe pompomJuice (~pompomJui@41.0.38.138)
03:47.16*** join/#oe S_A (3df6bac6@gateway/web/freenode/ip.61.246.186.198)
03:50.43S_AHi
03:51.00S_AI am trying to buildoe-core first time
03:51.11S_Agetting error "chown: changing ownership of `/home/test/oe/oe-core/build/tmp-eglibc/work/i686-linux/db-native/5.3.21-r0/image/home/test/oe/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/include/db_cxx.h': Operation not permitted
03:51.23S_Aand afterwards so man chown errors
03:51.31S_Aany suggestions what might have gone wrong
03:51.32S_A?
03:56.07*** join/#oe S_A (3df6bac6@gateway/web/freenode/ip.61.246.186.198)
04:39.43*** join/#oe belen (~Adium@190.227.187.81.in-addr.arpa)
05:27.21*** join/#oe DJWillis (~djwillis@cpc2-trow6-2-0-cust204.aztw.cable.virginm.net)
05:48.42*** join/#oe ao2 (~ao2@2001:1418:117::1)
06:02.09*** join/#oe likewise (~likewise@h230004.upc-h.chello.nl)
06:03.25*** join/#oe likewise (~likewise@h230004.upc-h.chello.nl)
06:04.29*** join/#oe clio (~andrej@85.159.109.222)
06:33.52*** join/#oe tgall_foo (~tgall@68.69.84.18)
06:33.52*** join/#oe tgall_foo (~tgall@linaro/tgall-foo)
06:42.58*** join/#oe kroon (~kroon@fw.mikrodidakt.se)
06:52.16*** join/#oe kroon (~kroon@fw.mikrodidakt.se)
07:04.53*** join/#oe woglinde (~henning@fb-n15-11.unbelievable-machine.net)
07:09.17*** join/#oe jbrianceau_away (uid10952@gateway/web/irccloud.com/x-xipthmmwnueujcfe)
07:13.32*** join/#oe ant_work (~ant__@host54-128-static.10-188-b.business.telecomitalia.it)
07:21.39*** join/#oe hexsane (~quassel@ip174-71-72-34.om.om.cox.net)
07:25.15*** join/#oe stefan__ (~chatzilla@5.28.68.25)
07:27.32*** join/#oe eballetbo (~eballetbo@43.Red-2-139-180.staticIP.rima-tde.net)
07:33.49*** join/#oe florian (~fuchs@Maemo/community/contributor/florian)
07:38.03*** join/#oe nullpuppy (~dustin@freematrix/staff/nullpuppy)
07:52.17mago_what is the purpose of DEPENDS_class-native?
07:52.26mago_is there a package called "class-native"?
07:53.08*** join/#oe diego_r (~diego@host65-246-static.10-188-b.business.telecomitalia.it)
07:53.51*** join/#oe kuldeepdhaka (~kuldeepdh@unaffiliated/kuldeepdhaka)
07:54.28ndecmago_: it's to specify a DEPENDS when the recipe is built for 'native'
07:54.52ndece.g. some recipes are used on the target, some are used on the host too.
07:54.56*** join/#oe dlan (~dennis@116.228.88.131)
07:54.56*** join/#oe dlan (~dennis@gentoo/developer/dlan)
07:55.31*** join/#oe Rick (5a509091@gateway/web/freenode/ip.90.80.144.145)
07:55.57mago_ndec, so if I've added BBCLASSEXTEND = "native" (enabling my recipe to be built as both myrecipe and myrecipe-native), will it ignore RDEPENDS when building for -native, and instead use RDEPENDS_class-native ?
07:56.39Guest83683trying  to build libav9.13 for arm (colibri-t20) im getting ERROR: ERROR: objcopy failed with exit code 1 (cmd was 'arm-angstrom-linux-gnueabi-objcopy' --only-keep-debug '/home/rick/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/libavdep/9.13-r0/package/usr/lib/libavformat.so.54.20.4' '/home/rick/oe-core/build/out-eglibc/work/armv7ahf-vfp-angstrom-linux-gnueabi/libavdep/9.13-r0/package/usr/lib/.debug/libavformat.so.
07:56.50Guest83683can someone help me fix this pls?
07:57.06ndecmago_: probably. though this is a good question... not sure how DEPENDS and DEPENDS-class_native are combined together.
07:57.31ndecmago_: i would recommend doing a quick test to try out..and confirm.
08:02.01ant_workhttps://lists.yoctoproject.org/pipermail/yocto/2013-September/016302.html
08:02.06ant_workmago_: ^
08:02.47ant_workthe overrides are processed later so th emain variable is reset
08:03.32ant_workRDEPENDS_class* is not a good idea
08:05.26ant_workRDEPENDS -> RDEPENDS_${PN}
08:13.23mago_ant_work, i see. so this _class-native-thing is just a way to add additional (or override) the dependencies, IF building for native instead of target?
08:13.56ant_workyou need that in case of BBCLASSEXTEND typically
08:14.32mago_i thought that if I do BBCLASSEXTEND, it will automatically change the dependencies so that it depends on -native version of all dependencies?
08:15.36ant_workhm, no, it's not so easy
08:15.45ant_workcheck code in native.bbclass
08:16.00ant_workpython native_virtclass_handler () {
08:19.50mago_hm. map_dependencies() seems to do what I meant?
08:20.05ant_workit does in most cases, yes
08:20.24ant_workjust grep the metadata to find the exceptions
08:21.13ant_workbut th eprinciple is valid for other extensins, i.e. your custom class
08:22.53ant_work(sorry the typos, this wireless kb is ugly)
08:24.14mago_my problem is with a python module recipe called pyserial (http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-devtools/python/python-pyserial_2.4.bb). It RDEPENDS python-fcntl. If I customize the pyserial recipe with BBCLASSEXTEND = "native" (using a python-pyserial_%.bbappend-file), it complains that python-fcntl-native is not available. What would be the appropriate way to build python-pyserial natively? python-fcntl is provided
08:24.14mago_by python (as a package split), so would the appropriate solution here be to also add RDEPENDS_${PN}_class-native = "python-native" ?
08:25.11mago_(what im trying to do is to build a recipe that needs pyserial-native, in case that was not clear from above)
08:27.58ant_workI think this is a similar example  http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078668.html
08:30.20mago_should not all python modules have a RDEPENDS on python?
08:30.30mago_(not just the appropriate modules)
08:30.51mago_i think that would solve my problem, since the python RDEP would then be translated to python-native by map_dependencies()
08:32.05ant_workI'd say, check the python recipes in oe-core
08:32.53*** join/#oe roric (~roric@89-160-176-89.du.xdsl.is)
08:35.51mago_thanks
08:38.05Guest83683anyone knows why "split and trip files" could fail?
08:42.00*** join/#oe tgall_foo (~tgall@linaro/tgall-foo)
08:42.18*** join/#oe nslu2-log (~nslu2-log@140.211.169.184)
08:44.10*** join/#oe anarsoul (~anarsoul@178.124.194.242)
08:44.17ant_workGuest83683: you should really check the logs carefully
08:44.36ant_workquick google gave some matches about the possible reasons
08:44.43ant_workanyway, to silence it, try  include INHIBIT_PACKAGE_STRIP = "1"
08:44.54*** join/#oe kuldeepdhaka (~kuldeepdh@unaffiliated/kuldeepdhaka)
08:45.04ant_works/include/add/
08:45.23Guest83683ant_work: already tried INHIBIT_PACKAGE_STRIP
08:45.41ant_workthen you have to inspect the workdir
08:45.43Guest83683gives me QA issues architecture did not match
08:45.48ant_workand the .run files
08:46.29ant_workI'm sorry I don't build for armv7ahf
08:47.12ant_workstill, arch mismatch should be really easy to spot
08:47.26ant_work(very strange I'd say)
08:49.54mago_ant_work, doesn't the map_dependencies() kind of break if a recipe depends on package splits? lets say A provides packages A-a, A-b and A-c. My package B depends on A-a and A-b. map_dependencies() translates that into A-a-native and A-b-native, but does not know that the dependency it really needs to add is A-native ?
08:50.39*** join/#oe belen (~Adium@192.198.151.43)
08:50.44mago_because A will not PROVIDES A-a-native unless you try to build A-native, I guess?
08:53.11ant_worksorry, phone call
08:53.32ant_workthe DEPENDS are on the recipe, not on the providede package
08:53.50ant_workyou RDEPEND on package
08:54.05ant_workso B DEPENDS on A
08:54.17ant_workat buildtime
08:54.47ant_workdifferent is at runtime
08:54.56mago_what is the difference between a package and a recipe?
08:55.56*** join/#oe anarsoul (~anarsoul@178.124.194.242)
08:56.33ant_workthe recipe A PACKAGES foo, bar, baz
08:59.24mago_so if RDEPEND refers to the packages, why will not python-fcntl-native be available in my native build, when it is available for a target (non-native) build?
08:59.43ant_workfound the thread..
08:59.45ant_workhttps://www.mail-archive.com/yocto@yoctoproject.org/msg15184.html
09:01.27Guest83683ant_work: dont be sorry, im really new to this so im trying stuff
09:03.30ant_workGuest83683: you are using Angstrom and armv7ahf, I really can't help here
09:04.23ant_workhave you tried to clean and rebuild?
09:04.45*** join/#oe belen (~Adium@192.198.151.43)
09:09.39ant_workGuest83683: in oe-core libav was updated 2 months ago
09:10.39ant_workmaybe Angstrom is needing the old version? Wild guess
09:11.45mago_ant_work, thanks for the link, really useful. However, I still don't understand why I cannot RDEPEND on python-fcntl-native without also doing RDEPEND_${PN}_class-native = "python-native" ? how come Bitbake cannot figure out that there is a package called python-fcntl-native?
09:14.37mago_i assume bitbake parses every recipe and know which packages are available, and which ones are also available as native variants
09:14.42Guest83683ant_work: I tried to do some cheating by using the 0.8 version recipe and just modifying the license, URI etc.. and it didnt fail, ill see if it actually works
09:19.32*** join/#oe kuldeepdhaka (~kuldeepdh@unaffiliated/kuldeepdhaka)
09:24.11*** join/#oe kristoffer (~kristoffe@ua-83-227-162-207.cust.bredbandsbolaget.se)
09:29.57*** join/#oe stefan__ (~chatzilla@5.28.68.25)
09:31.51ant_workmago_: with python and perl there is sort of chicke-egg problem
09:32.12ant_workmago_: check out the python-native_2.7.3.bb recipe
09:33.49mago_i see, so they do two completely different recipes for python and python-native?
09:34.39ant_workyes
09:34.56ant_workcheck i.e. PROVIDES vs. RPROVIDES
09:35.43*** join/#oe g1zer0 (~gizero@host168-65-static.12-87-b.business.telecomitalia.it)
09:37.55*** join/#oe dlan (~dennis@gentoo/developer/dlan)
09:39.23mago_btw, ant_work, the link you have me indicates that a RDEPENDS adds a dependency on otherpackage.do_write_package() for do_build(). When I do RDEPENDS on my python modules and then build the -native variant, the modules are not processed (although it seems to verify that they exist). The result is that my recipe is built, but none of the required python modules are available in the site-packages of my python-native. There is no error. If I manually
09:39.23mago_build the required modules, e.g. bitbake python-mymodule-native, it becomes available in site-packages. I also checked, the python module recipes do not have a do_write_package task, could this be related? Is it not correct to assume that a RDEPENDS is suppose to be installed?
09:39.27mago_(into the sysroot)
09:41.33ant_workhm, no, RDEPENDS just means it will be BUILT
09:43.35mago_in that case, how am I suppose to get a working system with any python module? every python module in meta-openembedded only RDEPENDS on other modules. Do I have to go through them all and manually calculate the dependency tree and add it to my DEPENDS?
09:46.19*** join/#oe belen (Adium@nat/intel/x-ykolabzxduesporv)
09:46.28mago_ant_work, im not even getting a work-dir for the python modules in my RDEPENDS. It's like it's not even bothering with unpacking them?
09:47.12ant_workare you talking about target or buildhost now?
09:47.46mago_native. but is the behavior of RDEPENDS different depending on if building for target or native?
09:49.29ant_workthe mechanism is the same
09:51.10mago_i'm pretty sure the modules are automatically installed onto the target rootfs if I do a target build, even if the recipes only use RDEPENDS
09:53.53ant_worksure, if you add package A to your image and it RDEPENDS on B, B will be added to target image. Or afterwards if you install i.e. A.opkg then B.opkg will be installed
09:54.34mago_so adding stuff to your image adds special treatment to your RDEPENDS?
09:54.53ant_workdepends, shlibs are automatically detected
09:54.54mago_i guess this is handled by the image recipe, ie going through the RDEPENDS list and install it?
09:55.39ant_workbitbake does that
09:56.19ant_workyou should really read the manual about these vars
09:56.29ant_workand remember that python is a special case ;)
09:56.42mago_yeah, i feel confused :) i'll do that! thanks, now it's lunchtime!
09:57.30ant_workyou can inspect the dependency tree. obviously it is possible that there is some bug
09:58.01mago_one last question though: if you wanted a package to be built for native, and end up in the deployment directory, where would you put the dependency? i'd like this to happen for a specific image
09:58.24mago_i.e if you build core-image-minimal for machine X, it builds package Y for host aswell
09:58.39ant_workmago_: the packages are for the target
09:59.01ant_workremember natives are only used to build the toolchain
10:00.03ant_workhttp://www.yoctoproject.org/docs/1.6.1/ref-manual/ref-manual.html#ref-classes-native
10:27.58*** join/#oe hexsane (~quassel@ip174-71-72-34.om.om.cox.net)
10:30.51*** join/#oe AlexVaduva (c1ca1642@gateway/web/freenode/ip.193.202.22.66)
10:41.35mago_ant_work, okay, so you're saying that if i want to create a tool that is available inside the buildtree, i should not create a package for it?
10:49.11*** join/#oe dlan (~dennis@gentoo/developer/dlan)
10:52.32mago_sorry, when i said i want to package something for native, i just meant to provide a bitbake package.. it does not need to package into a file (such as a ipk) or anything
10:55.06*** join/#oe dlan (~dennis@116.228.88.131)
10:55.06*** join/#oe dlan (~dennis@gentoo/developer/dlan)
10:59.46woglindemago right
11:00.07woglindeperhaps you need to provide it for native-sdk
11:02.18mago_woglinde, the script im trying to integrate is a deployment script. Ideally, i'd like the user to be able to run it without installing any python modules in his or hers system, instead the OE tree should provide the python modules (and also python itself). The user can then run the script from the deployment directory to deploy the generated binaries to a device. Is this something I can achieve with OE? is it a "supported" use-case? The script itse
11:02.18mago_lf is only there as a convenience, there is nothing else depending on it.
11:03.46woglinde?
11:04.24woglindehm
11:04.32woglindethats not a normal usecase
11:04.47mago_i'm starting to realize this :) is it a bad use-case?
11:04.54woglindeand if inherit rm_work is set there bill not binaries in the end
11:05.04woglindeups there will be no
11:05.32mago_so maybe i should keep this script outside the OE build tree?
11:05.36woglindeprovide an image with all included or set up a package feed
11:05.55woglindewhere uses can easily do opkg update install
11:06.04woglindemago yes
11:07.08mago_perhaps it is better to provide a .deb-file for the users to install on their system, rather than messing around with OE
11:07.41mago_can opkg also be used for native packages?
11:10.53woglindemago again what is your usecase?
11:11.04woglindeI can not see a clear one
11:13.05mago_i want to provide a convenient script for the users that allows deploying OE generated binaries (uImage, rootfs etc) to a device. This (python) script depends on a few other python modules, which are not installed by default on an Ubuntu system. So I thought I could instead provide this script through my build tree, so when a user has built his binaries, there will also be a copy of the deployment script, and all the required modules are installed
11:13.05mago_and ready to use using the OE provided python version
11:13.46mago_so once the build has finished for a user, one can just run a command such as: cd tmp-eglibc/deploy/images/asdf/ && ./deploy_stuff.py -i 192.168.1.5
11:14.50mago_the only reason to why i want to keep my script inside the OE buildtree is because I was hoping it would allow the user to run it without having to install anything
11:14.57mago_so it basically becomes linux agnostic
11:22.34ant_workmago_: sry, ws away
11:22.45ant_workmago_: normally it is the other way
11:23.12ant_workyour script is pushing (ssh or ftp ?) 'files' on target
11:23.32ant_worknormal case is, the package manager on target §(opkg i.e.) pulls the packages from a feed
11:24.23*** join/#oe florian (~fuchs@Maemo/community/contributor/florian)
11:25.13ant_workthe packages and the eventual dependencies
11:27.36ant_workany native
11:28.25ant_worknative are typically of different ARCH
11:28.51mago_ant_work, this script deploys boot loader on empty devices so running the package manager on target is not an option
11:29.06mago_it deploys boot loader and the inital system (linux+rootfs+dtb)
11:30.05mago_so this script transfers the SPL bootloader using x-modem, then sends the full u-boot over Y-modem and finally launches a TFTP server and transfers the rest over network, which is finally written to NAND
11:30.36ant_workok, I see
11:31.54mago_but the more I think of it, keeping this outside the OE tree makes sense. I'm basically asking for a way to make the buildsystem generate a script which is not needed by the build process itself, and it is not included in the target filesystem, and it shall be built for the host. It doesn't make sense from the buildsystem perspective, I guess
11:32.32ant_workwe are all in similar circumstances: the built kernel/rootfs must be somehow flashed
11:33.40ant_workit all depends on your bootloader
11:33.53mago_i just vaguely recall that some part of Yocto is capable of generating virtual machine images "build appliances". If i understand these correctly, it is just a virtual machine that users can boot to run OpenEmbedded. They should fall under the same category of tasks, its something being built for the users as a convenience, not so much because the build system needs it
11:34.06ant_worksome devices can be switched in 'usb' mode and get flashed with custom tools
11:34.13*** join/#oe marek_ (~marek@81.89.61.168.vnet.sk)
11:34.18ant_workother devices expect a pre-formatted SD card
11:34.29ant_workrouters have/had just tftp
11:34.33mago_ant_work, yes, but regardless of how your boot loader works, you will need tools available on the machine to do it. I'm just looking for a way to get those tools into place
11:34.38ant_workso there is a vaste panorama
11:34.54marek_hi, I've asked on #yocto but no reply so sorry for double asking: is it possible to use update-rc class to remove package specific S*files and keep only script in /etc/init.d?
11:35.11mago_if its a usb bootloader, you need dfu, if your device runs a tftp client, you need a tftp server etc
11:36.34ant_workoften you can use mtd-utils and flash from shell
11:36.49ant_workit all depends on device/bootloader
11:37.16ant_workyou might think about an autoinstaller
11:37.29mago_ant_work, sure, but you still need mtd-utils on your host? would you add that as a ASSUME_PROVIDED, or would you have OE build it for you?
11:37.41ant_worki,.e. a kernel embedding an initramfs wjth flasher+images
11:38.31ant_workmago_: some natives are installed jut choosing the jffs2/ubifs imagetypes
11:39.24ant_workyou can add i.e. flashcp or ubiformat in your cpio
11:39.30mago_ant_work, still talking about completely empty devices. we only have the bootrom level bootloaders to talk to; i agree that once you have u-boot in place, you have a lot more options in how to transfer the rest. That's not the problem, it's how to get the initial bootloader onto the device
11:40.03mago_our only option is to send programs over x-modem, and in order to do that we need a x-modem tool on the host
11:40.09ant_workI don't work in a factory but suppose they have some jtag multi-flashers
11:40.16ant_workhow many devices?
11:40.57mago_ant_work, well, our production uses serial. we're talking thousands of units
11:41.04ant_workargh
11:41.09ant_workI see
11:42.06ant_workit all remembers my old Zyxel router
11:42.13mago_and we are quite happy with serial/x-modem, my problem is still that i need to make a x-modem tool available on the host,, and it'd be really nice if OpenEmbedded could do that for me
11:42.43*** join/#oe ldnunes (~ldnunes_@177.35.70.10)
11:43.00mago_well your zyxel router probably also had only very few boot options when the flash was empty. Once U-boot is up, you can flash it using any method you want, tftp, usb, serial, even HTTP
11:43.56mago_another use-case is if the device is bricked, this deployment script is capable of unbricking any device since it does not rely on _any_ software in the device. It only relies on the bootrom code which is hardcoded into the ASIC
11:44.10ant_workmago_: that code can boot a linux kernel?
11:44.45ant_workor can only chainload to a bootloader?
11:45.13mago_ant_work, it can run a 64kb program, with 32 kb of RAM. What you do is boot the u-boot SPL (a tiny version of uboot). It will setup the DDR and everything. You then transfer the full U-boot, which is capable of writing to NAND, tftp and everything else. From there you can boot Linux
11:45.30mago_the bootrom code will never use the DDR, so you are limited to on-chip memory
11:46.39ant_workis it a mips32?
11:46.51mago_no :)
11:47.04mago_this is how 99% of all SoCs work
11:47.14ant_workI have recently seen smthg similar but specific
11:47.33ant_workto jz4770
11:47.56ant_workthey developed a small 2nd stage bootloader
11:48.07ant_workmininit
11:48.20ant_workanyway
11:48.33ant_workwho wil lupdate the device? the users?
11:49.39mago_yeah, mostly the developers who get brand new hardware. the production facility will run the same script, but will of course not use OE. So the use-case is looking to solve is for developers
11:50.01mago_flashing bootloader to virgin devices, or unbricking devices
12:04.57marek_anybody?
12:08.09*** join/#oe kuldeepdhaka (~kuldeepdh@unaffiliated/kuldeepdhaka)
12:17.15woglindemago_ provide a native-sdk which has the stuff inside
12:17.34woglindethats the closest I can think of
12:17.41woglindeto achieve it
12:18.06woglindebut there are some corner cases getting the image out of the deployment dir and so on
12:18.13mago_so i will get a installer shellscript in deploy/sdk? or how does a native-sdk work?
12:18.36woglinderead the yocto documentation
12:40.04*** join/#oe otavio (~otavio@debian/developer/otavio)
12:44.52*** join/#oe challinan (~chris@173-10-226-189-BusName-WestFlorida.hfc.comcastbusiness.net)
12:57.16Croftonkoen, ping
12:57.23koenpong
12:57.43Croftonhey, I'm fixing a commit messgae for the postgress autfoo to usse pkgconfig
12:57.56Croftonand you wanted to know more about the pg* stuff
12:58.09koenright
12:58.19Croftonabout all I can figure is they are filtering for some things from the output of xml-config
12:58.36koenright again
12:58.41Croftonor do you know somethign clever they are doing?
12:58.47koenI still say the filtering is stupid and misguided
12:58.56koenit will drop -isystem
12:58.57Croftonthe pg processing?
12:59.04koenyes
12:59.14CroftonI just dropped it and used output of pkgconfig
12:59.52Croftonso pretty much say the filtering was overly complicated and stop worrying about it :)
13:00.58*** join/#oe Vutral (~ss@mirbsd/special/Vutral)
13:01.04*** join/#oe msm (~msm@cpe-72-182-100-192.austin.res.rr.com)
13:01.13koenas long as you mention it in the commit message :)
13:09.24*** join/#oe trondeau (~trondeau@c-174-62-214-216.hsd1.vt.comcast.net)
13:09.49*** join/#oe kroon (~kroon@fw.mikrodidakt.se)
13:15.03*** join/#oe fusman (~fahad@39.42.132.182)
13:15.45*** join/#oe falk0n (~falk0n@a85-138-89-15.cpe.netcabo.pt)
13:18.09*** join/#oe diego_r (~diego@host65-246-static.10-188-b.business.telecomitalia.it)
13:21.33*** join/#oe fusman (~fahad@39.42.132.182)
13:23.02*** join/#oe fusman (~fahad@39.42.132.182)
13:26.40*** join/#oe s3v3n62mm (~s3v3n62mm@p5DDC29E9.dip0.t-ipconnect.de)
13:28.16*** join/#oe thaytan (~thaytan@113.94.233.220.static.exetel.com.au)
13:40.28*** join/#oe mario-go` (~user@email.parenteses.org)
13:41.40*** join/#oe diego_ (~diego@host65-246-static.10-188-b.business.telecomitalia.it)
13:43.04*** join/#oe EsbenH_ (~esben@hugin.dotsrc.org)
13:43.15*** join/#oe uwe_mobile (~uwe@static.88-198-8-117.clients.your-server.de)
13:44.07*** join/#oe rtollert_ (~rtollert@130.164.62.31)
13:44.29*** join/#oe dany1 (~Thunderbi@sestofw01.enea.se)
13:46.57*** join/#oe sr105|aw` (~sr105@65349hfc19.tampabay.res.rr.com)
13:47.16*** join/#oe Rootert_ (~Rootert@54694E34.cm-12-2b.dynamic.ziggo.nl)
13:47.17*** join/#oe XorA_ (~XorA@www.xora.org.uk)
13:47.53*** join/#oe dlan (~dennis@116.228.88.131)
13:47.53*** join/#oe dlan (~dennis@gentoo/developer/dlan)
13:48.35RIckohow do I use ASSUMED_PROVIDED to add native depends to a recipe?
13:48.48*** join/#oe pdp7 (~pdp7@asciipr0n.com)
13:50.23*** join/#oe contempt (~contempt@unaffiliated/contempt)
13:50.31*** join/#oe nullpuppy (~dustin@freematrix/staff/nullpuppy)
13:53.21*** join/#oe dlan (~dennis@116.228.88.131)
13:53.21*** join/#oe dlan (~dennis@gentoo/developer/dlan)
13:54.51*** join/#oe anarsoul|2 (~anarsoul@46.28.103.46)
13:54.51*** join/#oe aloril_ (~aloril@dsl-tkubrasgw2-54f80b-12.dhcp.inet.fi)
13:54.59*** join/#oe darkschneider (~gab@93-32-34-252.ip31.fastwebnet.it)
13:55.07*** join/#oe denix (~denix@pool-71-191-205-189.washdc.fios.verizon.net)
13:56.47*** join/#oe kscherer (~kscherer@128.224.252.2)
13:57.06*** join/#oe SorenHolm (~quassel@5634f347.rev.stofanet.dk)
13:57.53*** join/#oe uwe_ (~uwe_@ipservice-092-211-041-018.pools.arcor-ip.net)
13:58.10*** join/#oe Daemon404 (~who_knows@cpc21-newt31-2-0-cust123.newt.cable.virginm.net)
13:58.34*** join/#oe bencoh (~bencoh@nautica.notk.org)
13:58.38RIckowhere and how do i specify the path to local dependencies?
13:58.55woglindenormaly you dont
13:59.19woglindewhen bitbake is running the PATH will be altered to use the sysroot
13:59.24woglindebefore host
14:01.13*** join/#oe Anarky (~Anarky@136.217.123.78.rev.sfr.net)
14:05.36*** join/#oe bencoh (~bencoh@unaffiliated/bencoh/x-184637)
14:06.21*** join/#oe mr_science (~sarnold@gentoo/developer/nerdboy)
14:09.06*** join/#oe iwamatsu (~iwamatsu@www1015ue.sakura.ne.jp)
14:09.08*** join/#oe blindvt_ (~brf@91-119-109-133.dynamic.xdsl-line.inode.at)
14:10.50*** join/#oe fray (U2FsdGVkX1@gate.crashing.org)
14:13.07*** join/#oe dlan (~dennis@116.228.88.131)
14:13.07*** join/#oe dlan (~dennis@gentoo/developer/dlan)
14:21.43*** join/#oe blitz00 (~stefans@unaffiliated/blitz00)
14:23.47*** join/#oe _ao2 (~ao2@host125-192-dynamic.3-87-r.retail.telecomitalia.it)
14:27.40*** join/#oe Vutral (~ss@mirbsd/special/Vutral)
14:29.36*** join/#oe belen1 (~Adium@192.198.151.43)
14:42.13*** join/#oe staylor (~staylor@mail.au-zone.com)
14:49.52*** join/#oe fusman (~fahad@39.42.132.182)
14:53.30*** join/#oe ant_home (~andrea@95.236.252.199)
15:01.07*** join/#oe dvhart_ (dvhart@nat/intel/x-mfctpuqvtnbhgjvc)
15:03.28*** join/#oe adelcast (~adelcast@130.164.62.224)
15:05.28*** join/#oe roric (~roric@89-160-176-89.du.xdsl.is)
15:05.57*** join/#oe ladu (~pi@h52n6-fk-a12.ias.bredband.telia.com)
15:08.38*** join/#oe Vutral (~ss@mirbsd/special/Vutral)
15:10.11kroonwoglinde, hey, just fyi, it seems at least on daisy, "perf" still has a rdependency on perl. looks like cpan-base.bbclass adds it to RDEPENDS_${PN}
15:10.57woglindekroon uhm
15:11.41woglindekroon I was sure I could install perf with perl
15:11.45woglindebut I will test it again
15:11.52woglindetill later
15:16.24kroonI started looking into it, maybe something like s/+=/= in the RDEPENDS of the perf recipe
15:23.21*** join/#oe Daemon404 (~who_knows@pdpc/supporter/student/Daemon404)
15:36.41*** join/#oe mr_science (~sarnold@gentoo/developer/nerdboy)
15:50.50*** join/#oe yann (~dwitch@nan92-1-81-57-214-146.fbx.proxad.net)
15:53.23mago_are there any tools to integrate software coming from .deb files (with proprietary software) into a OE build?
16:01.25*** join/#oe dvhart_ (dvhart@nat/intel/x-mnerletvdhavbayx)
16:04.38*** join/#oe belen (~Adium@192.198.151.43)
16:12.14*** join/#oe awozniak (~awozniak@71-93-61-178.static.snlo.ca.charter.com)
16:32.20*** join/#oe ao2__ (~ao2@host125-192-dynamic.3-87-r.retail.telecomitalia.it)
16:35.19*** join/#oe dvhart_ (~dvhart@134.134.137.71)
16:48.30*** part/#oe WarheadsSE (~WarheadsS@50.164.115.22)
17:02.04*** join/#oe eFfeM (~frans@c73189.upc-c.chello.nl)
17:24.28*** join/#oe lct_ (ae2d78d1@gateway/web/freenode/ip.174.45.120.209)
17:26.21lct_Can anyone help me with an openembedded recipe build? I am getting a "QA Issue: Architecture did not match (3 to 62)", not sure if this is the right place to go for this...
17:32.12kergothit's telling you the problem
17:32.19kergoththe binaries you built weren't for what you're targeting
17:32.25kergothe.g. it built x86 binaries which wont run on your arm target
17:32.33kergothso the build didn't obey our variables (CC, CFLAGS, etc)
17:34.52lct_Sorry, I'm failry inexperienced, I'm an intern learning this on my own, is there any way you can help me decide how to correct it so that it will build it for the right machine architecture?
17:36.50lct_My recipe is located at https://github.com/wolfSSL/meta-wolfssl/tree/master/recipes-wolfssl/benchmark
17:37.12kergothlct_: there's nowhere near sufficient information. how we make a buildsystem obey our variables is completely dependent on the type of buildsystem and the particular implementation. its a case by case thing, it varies from one piece of software to the next.
17:37.39kergothoh, that's obvious then. you're manually using a compiler command instead of using our variables
17:37.50kergothdon't call clang, call ${CC}, and pass ${CFLAGS} and ${LDFLAGS}
17:38.20kergothalso, you don't have cyassl in your DEPENDS, so it wont be available to link against for hte target anyway
17:39.02kergoththe best bet is to just call out to the buildsystem of the softwar ein question rather than writing your compile commands in do_compile
17:39.12kergothe.g. if it uses a makefile, bitbake will automatically call out to make
17:39.33kergothoh, i see, the source is just the .c file
17:39.48kergothyeah, in that case just run ${CC} directly with the correct arguments
17:51.50lct_Thanks <kergoth>, I have changed my compile line but sadly, to no effect.
17:52.02kergoththen you didn't do so correctly, i'd say
17:53.37lct_<PROTECTED>
17:55.48lct_Perhaps I should not be using the location on my own machine for my .c file?
17:56.56sr105Is there a faster way to test image_type classes? Also, it seems like bitbake is caching my class and not seeing changes.
17:57.19kergothlct_: that would be a start, using the correct path. ${WORKDIR}/benchmark.c
17:57.25kergothbut i doubt thats cuasing your failure
17:58.17kergothsr105: what are you changing, and what bitbake command are you running to vierfy the change? and did you examine the contents of the metadata as bitbake sees it to make sure it sees your change? (e.g. make sure no higher piroirty layer is overriding your class)
17:58.21kergothsr105: see bitbake -e
17:58.44kergothwhenever something seems inexplicable, first step is to check our assumptions, and the first step with that when using bitbake is to make sure vars are set the way we think they are
17:58.49kergoththis is invaluable when debugging
18:00.22sr105kergoth: I added my own image_types_mine.bbclass which is based on one from meta-fsl-arm. Their's builds an "sdcard" image file. I made one that generates a script in DEPLOY_IMAGE_DIR that will do the same to a card
18:01.17sr105I created the class, so there shouldn't be any other IMAGE_CMD_sdcard-script vars to overrride mine. And I can tell from the generated output that it's running that it's not picking up changes
18:01.25sr105I'll try -e
18:01.28kergothokay, step one, make sure its set the way you think it is, and that its being inherited
18:02.02kergothstep two, make sure the do_rootfs task is being re-run, that is, make sure bitbake recognizes that a change to that variable means it needs to re-run do_rootfs task
18:02.08sr105the inherit is in the MACHINE conf and it gives me a warning about running my image function
18:02.22kergothokay, thats a good sign
18:02.23sr105I tried -C rootfs to force that
18:02.56sr105then tried -c cleansstate in case the image creation function is being cached
18:02.57kergothif forcing a re-run of the task doesn't help, then you have something bigger going on
18:03.03sr105k
18:03.07kergothcleansstate doesn't matter for images, images aren't archived as sstate
18:03.23sr105I didn't think so, but I thought it couldn't hurt. :)
18:03.25kergothnods
18:03.28kergoththat's fair enough
18:04.00kergothi was going to suggest that you could examine the run. script in ${WORKDIR}/temp/ for do_rootfs, but most of the do_rootfs work is in python in the python module now, so not sure how useful it is
18:04.01sr105I'll dig a bit more. Having you tell me about sstate helps me cull that branch of investigation
18:04.04*** join/#oe rob_w (~rob@unaffiliated/rob-w/x-1112029)
18:04.10kergothbut in general its useful, since thats equivalent to what bitbake runs for the task
18:04.13kergothnods
18:04.47sr105I have the python libs and classes open in emacs right now. I used them to see what environment the functions run in and what vars would be available to me
18:04.51kergothyou could also add echo commands and examine the do_rootfs log
18:05.01kergothto see if those lines are being run at all, to make sure it is indeed using the currnet version of your function
18:05.11kergothnods
18:05.31sr105Well, for now, bitbake generates a standalone script based on my function and is giving me a path to it in the warning
18:05.56kergothah, right, it's using exec_func for it. good
18:06.22kergothis still somewhat used to how the image creation used to work, before the rework to the python module :)
18:06.23sr105That's how I can tell it's not updating because I removed 90% of the function to try and narrow down on the error and 100% is in the output
18:06.41sr105yeah. It's much cleaner now it seems
18:07.33kergothbitbake only caches metadata in the up front full parse used for dependency analysis for runqueue generation
18:07.41kergothwhen it runs the tasks, it re-parses the recipe anyway
18:07.47kergothfor config files, it goes by the timestamp on the file
18:08.02kergoth(by config, that also includes classes listed in INHERIT, as they end up in the config metadata to act globally)
18:08.47kergothit's unlikely that its failing to reparse the class when it should, so bitbake -e should show the correct content
18:08.54*** join/#oe nitink (~nitink@134.134.139.72)
18:09.01kergothi'm guessing something is going wrong farther down the line, past the parsing and parse cache
18:09.11kergothhey nitink
18:15.19*** join/#oe Jafura (~Jean-Fran@2a02:2788:114:11ce:8571:5e51:e702:687c)
18:18.17sr105I think bitbake -e was the trick. I forget about using that. It was a layer problem. There was a backup copy of the class. Ugh. Thank you.
18:19.37nitinkHi kergoth
18:20.06kergothsr105: :) np
18:20.15kergothsr105: bitbake-layers can be useful for diagnosing those sort of problems too
18:25.16*** join/#oe dvhart (~dvhart@134.134.139.72)
18:40.12sr105Note to self: create an empty image recipe for testing image classes.
18:41.28*** join/#oe flo_lap (~fuchs@Maemo/community/contributor/florian)
18:42.16*** join/#oe florian_kc (~fuchs@Maemo/community/contributor/florian)
18:50.23*** join/#oe woglinde (~henning@f052225189.adsl.alicedsl.de)
19:01.47*** join/#oe woglinde (~henning@f052225189.adsl.alicedsl.de)
19:05.04*** join/#oe woglinde (~henning@f052225189.adsl.alicedsl.de)
19:06.00*** join/#oe likewise (~likewise@h230004.upc-h.chello.nl)
19:06.00*** join/#oe signal11 (esteban@abq.quaddro.net)
19:06.18*** join/#oe woglinde (~henning@f052225189.adsl.alicedsl.de)
19:14.07*** join/#oe jackmitchell (~Thunderbi@cbnluk-gw0.cambridgebroadband.com)
19:17.45sr105Is there any way to put ${VAR} inside a function and not have bitbake expand it *before* running the script (including in script comments)?
19:19.46*** join/#oe woglinde_ (~henning@g225128083.adsl.alicedsl.de)
19:21.56*** join/#oe jackmitchell (~Thunderbi@cbnluk-gw0.cambridgebroadband.com)
19:56.39*** join/#oe jackmitchell (~Thunderbi@cbnluk-gw0.cambridgebroadband.com)
19:59.00*** join/#oe mago_ (~mago@c193-14-123-186.cust.tele2.se)
19:59.57*** join/#oe mago_ (~mago@c193-14-123-186.cust.tele2.se)
20:01.46*** join/#oe mago_ (~mago@c193-14-123-186.cust.tele2.se)
20:12.44*** join/#oe mr_science (~sarnold@gentoo/developer/nerdboy)
20:16.08kergothsr105: nope. there's no escaping for bitbake variables
20:16.19kergothsr105: if you're wanting to expand the shell variable, you can use $VAR, but otherwise your options are limited
20:17.43*** join/#oe NvrBst (~NvrBst@gateway/tor-sasl/nvrbst)
20:27.45*** join/#oe Crofton (~balister@pool-71-171-36-96.ronkva.east.verizon.net)
20:28.53*** join/#oe Crofton|work (~balister@pool-71-171-36-96.ronkva.east.verizon.net)
20:32.22sr105I ended up swicthing all my vars to $VAR unless it was one I knew was from bitbake.
20:32.54kergoththat's for the best, yeah
20:32.54sr105hindsight is 20/20. I wish bitbake had used $(VAR) like make for it's own substitutions
20:33.07kergothagreed, or % like rpm specfiles, or anything else really
20:33.21kergothwe wanted it to be something people were used to, and just caused confusion about what happens when instead
20:33.25kergoth:)
20:33.28sr105:)
20:34.01kergothits one of the most common sources of confusion, knowing the order of operations becomes important, even though ideally it shouldn't be something people have to be aware of
20:34.38kergothcourse, you have to be aware of it even in makefiles, hence the need for :=
20:35.19kergothmuch of bitbake's format is make inspired. := and lazy expansion especially
20:35.21sr105It made my here-docs easier to code. I didn't have to use backslash escapes since bitbake substitutes everywhere.
20:36.35sr105I used a here-doc to generate my make_sdcard.sh script. I've been trying to figure out how to do it in such a way that it is easy for others to grok and mess with.
20:48.26*** join/#oe jbrianceau_away (uid10952@gateway/web/irccloud.com/x-qipkgfrgjwvfcqdb)
20:50.12*** join/#oe likewise (~likewise@h230004.upc-h.chello.nl)
20:55.42*** join/#oe fray (U2FsdGVkX1@gate.crashing.org)
21:33.28*** join/#oe dvhart_ (~dvhart@134.134.139.74)
21:56.15*** join/#oe nitink1 (~nitink@134.134.139.76)
22:02.50*** join/#oe dvhart_ (dvhart@nat/intel/x-qkzmczhhxcteekqf)
22:18.53*** join/#oe likewise (~likewise@h230004.upc-h.chello.nl)
22:27.58*** join/#oe nitink (nitink@nat/intel/x-oyisjjhxjozjvjpc)
22:40.38*** join/#oe GusBricker (~GusBricke@cre1513898.lnk.telstra.net)
23:17.42*** join/#oe jackmitchell (~Thunderbi@cbnluk-gw0.cambridgebroadband.com)
23:48.17*** join/#oe dvhart_ (~dvhart@134.134.139.70)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.