Thursday, 2016-10-20

*** nighty <nighty!> has joined #yocto00:12
*** JordonWu <JordonWu!~quassel@> has joined #yocto00:28
*** dvhart <dvhart!~dvhart@> has quit IRC00:35
*** JordonWu <JordonWu!~quassel@> has quit IRC00:35
*** JordonWu <JordonWu!~quassel@> has joined #yocto00:37
*** sameo <sameo!samuel@nat/intel/x-rntzufkqtlclxtjs> has quit IRC00:54
*** ulf^ <ulf^!> has joined #yocto00:59
*** vmeson <vmeson!> has joined #yocto01:02
*** armpit <armpit!> has quit IRC01:05
*** vmeson <vmeson!> has quit IRC01:08
*** vmeson <vmeson!> has joined #yocto01:08
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has joined #yocto01:16
*** vmeson <vmeson!> has quit IRC01:31
*** vmeson <vmeson!> has joined #yocto01:31
*** CTtpollard <CTtpollard!> has joined #yocto02:04
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto02:18
*** paulg <paulg!> has quit IRC02:28
khemneverpanic: some projects have been using clang for more eg. webkit02:28
*** yocti <yocti!> has joined #yocto02:34
*** Tenhi <Tenhi!> has joined #yocto02:38
*** vmeson <vmeson!> has quit IRC02:49
*** behanw <behanw!uid110099@gateway/web/> has quit IRC03:29
*** armpit <armpit!~akuster@2601:202:4001:9ea0:65fe:afa5:176a:9468> has joined #yocto03:34
*** hatter <hatter!~hatter@> has quit IRC03:55
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC03:59
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto04:03
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC04:04
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto04:11
*** AndersD <AndersD!> has joined #yocto04:15
*** behanw <behanw!uid110099@gateway/web/> has joined #yocto04:27
*** AndersD <AndersD!> has quit IRC04:54
*** ulf^ <ulf^!> has quit IRC04:58
*** tlwoerner_ <tlwoerner_!~trevor@unaffiliated/tlwoerner> has joined #yocto05:22
*** tlwoerner <tlwoerner!~trevor@unaffiliated/tlwoerner> has quit IRC05:26
awaisbmorning guys05:43
awaisbwith I am seeing broken builds for linux-yocto 4.405:43
awaisbcan anyone else comment on this?05:44
*** qt-x <qt-x!~Thunderbi@> has joined #yocto05:49
*** grma <grma!~gruberm@> has joined #yocto05:53
*** rt90 <rt90!> has joined #yocto05:56
*** agust <agust!> has joined #yocto05:58
*** qt-x <qt-x!~Thunderbi@> has quit IRC06:11
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has joined #yocto06:12
*** AndersD <AndersD!> has joined #yocto06:12
*** frsc <frsc!> has joined #yocto06:13
*** qt-x <qt-x!~Thunderbi@> has joined #yocto06:13
*** TobSnyder <TobSnyder!> has joined #yocto06:17
*** AndersD <AndersD!> has quit IRC06:20
*** AndersD <AndersD!> has joined #yocto06:21
*** olani <olani!user@nat/axis/x-yhqwulubrkuneibf> has joined #yocto06:22
*** csanchezdll <csanchezdll!> has joined #yocto06:32
*** joseppc <joseppc!> has joined #yocto06:32
*** joseppc <joseppc!~josep@linaro/joseppc> has joined #yocto06:32
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has quit IRC06:43
*** gtristan <gtristan!~tristanva@> has joined #yocto06:43
*** jonver <jonver!> has joined #yocto06:49
*** jku <jku!~jku@2001:998:22:0:4e8d:79ff:fef2:49ba> has joined #yocto06:50
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto06:51
*** erbo <erbo!> has joined #yocto06:52
*** jbrianceau_away <jbrianceau_away!uid10952@gateway/web/> has joined #yocto06:56
*** jbrianceau_away is now known as jbrianceau06:56
*** rt90 <rt90!> has quit IRC06:57
*** behanw <behanw!uid110099@gateway/web/> has quit IRC06:59
*** yann <yann!> has quit IRC07:04
*** kalyan__ <kalyan__!~kalyan@> has joined #yocto07:07
*** toanju <toanju!~toanju@> has joined #yocto07:08
*** kjokinie <kjokinie!~kjokinie@> has quit IRC07:08
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto07:09
*** fl0v0 <fl0v0!> has joined #yocto07:11
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@> has joined #yocto07:11
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has joined #yocto07:11
*** hamis <hamis!~irfan@> has joined #yocto07:11
kalyan__hi everyone07:11
*** eduardas_m <eduardas_m!~eduardas_@> has joined #yocto07:11
kalyan__i am getting following while using bitbake07:11
*** eduardas_m <eduardas_m!~eduardas_@> has joined #yocto07:12
fl0v0ERROR: Unable to parse $~/BBB/poky-krogoth/meta/conf/layer.conf:07:13
kalyan__i am new to yocto can you suggest me what action i have to take07:14
fl0v0why is there a $ in front of the path? Don't know if thats the problem, but bitbake can't find the file07:14
*** rajm <rajm!> has joined #yocto07:15
*** Kakounet <Kakounet!> has joined #yocto07:15
kalyan__Thanks fl0v007:19
*** yann <yann!> has joined #yocto07:23
*** boucman_work <boucman_work!> has joined #yocto07:25
*** zeenix <zeenix!~zeenix@> has joined #yocto07:26
*** Kakounet <Kakounet!> has quit IRC07:29
*** jku <jku!~jku@2001:998:22:0:4e8d:79ff:fef2:49ba> has quit IRC07:30
*** jku_ <jku_!~jku@2001:998:22:0:4e8d:79ff:fef2:49ba> has joined #yocto07:31
*** jku_ is now known as jku07:31
*** Kakounet <Kakounet!> has joined #yocto07:32
*** morphis_ <morphis_!~morphis@> has joined #yocto07:38
*** mckoan|away is now known as mckoan07:46
*** dreyna <dreyna!> has joined #yocto07:46
*** jku <jku!~jku@2001:998:22:0:4e8d:79ff:fef2:49ba> has left #yocto07:46
*** kalyan__ <kalyan__!~kalyan@> has quit IRC07:46
*** joseppc <joseppc!~josep@linaro/joseppc> has quit IRC07:50
*** Biliogadafr <Biliogadafr!> has joined #yocto08:02
*** jku_ <jku_!jku@nat/intel/x-umvcwiownaxvlvdc> has joined #yocto08:04
*** armpit <armpit!~akuster@2601:202:4001:9ea0:65fe:afa5:176a:9468> has quit IRC08:07
*** ant_work <ant_work!~ant__@> has joined #yocto08:08
*** vdehors <vdehors!> has joined #yocto08:12
*** morphis_ <morphis_!~morphis@> has quit IRC08:21
*** morphis_ <morphis_!~morphis@> has joined #yocto08:22
*** kjokinie <kjokinie!~kjokinie@> has quit IRC08:28
*** joseppc <joseppc!~josep@linaro/joseppc> has joined #yocto08:28
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto08:28
*** dreyna <dreyna!> has quit IRC08:39
*** florian_kc <florian_kc!~fuchs@Maemo/community/contributor/florian> has joined #yocto08:42
*** florian_kc is now known as florian08:42
*** yann <yann!> has quit IRC08:48
*** kjokinie <kjokinie!~kjokinie@> has quit IRC08:49
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto08:49
*** maxin <maxin!> has joined #yocto08:50
*** kjokinie <kjokinie!~kjokinie@> has quit IRC08:58
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto08:58
*** maxin <maxin!> has quit IRC09:04
*** obsrwr_home <obsrwr_home!~obsrwr@> has joined #yocto09:05
*** kalyan__ <kalyan__!~kalyan@> has joined #yocto09:07
*** olani <olani!user@nat/axis/x-yhqwulubrkuneibf> has quit IRC09:09
*** kjokinie <kjokinie!~kjokinie@> has quit IRC09:10
g0hl1nhi everybody, I'm currently facing a problem with buildhistory in YP jethro. If "buildhistory" is disabled the rootfs build works fine. As soon as I activate buildhistory (start toaster in my case) do_rootfs fails with the error shown at . Any kind of help is much appreciated :-) Thanks!09:10
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto09:13
*** Kakounet <Kakounet!> has quit IRC09:13
*** Kakounet <Kakounet!> has joined #yocto09:13
*** mihai <mihai!mihai@nat/intel/x-nqqtcoqeinkdaqgs> has joined #yocto09:17
*** lpapp <lpapp!~lpapp@kde/lpapp> has joined #yocto09:17
lpapphi, Yocto somehow managed to generate inconsistent LD and LDFLAGS for my SDK. 1) Why is it so? 2) How can I fix it?09:17
lpappexport LD="arm-polatis-linux-gnueabi-ld  --sysroot=$SDKTARGETSYSROOT"09:18
lpappexport LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"09:18
lpapparm-polatis-linux-gnueabi-ld --help does not show that it has flags like -Wl,-O1. That looks like a gcc linker flag to me rather than ld.09:18
*** joshuagl <joshuagl!~joshuagl@> has joined #yocto09:18
lpappthis makes it difficult using our SDK, so we would need to fix it ASAP... I am using daisy.09:18
*** nighty <nighty!> has quit IRC09:23
*** maxin <maxin!~maxin@2001:998:22:0:201c:134b:fb4e:b50f> has joined #yocto09:25
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC09:26
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC09:27
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto09:32
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto09:34
*** olani <olani!user@nat/axis/x-hxzyvperunifvuma> has joined #yocto09:34
*** dlan <dlan!~dennis@> has joined #yocto09:35
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #yocto09:35
*** fragfutter <fragfutter!> has quit IRC09:38
*** maxin <maxin!~maxin@2001:998:22:0:201c:134b:fb4e:b50f> has quit IRC09:48
*** morphis_ <morphis_!~morphis@> has quit IRC09:54
*** eduardas_m <eduardas_m!~eduardas_@> has quit IRC10:03
*** maxin <maxin!~maxin@2001:998:22:0:201c:134b:fb4e:b50f> has joined #yocto10:04
*** vdehors_ <vdehors_!> has joined #yocto10:07
*** vdehors <vdehors!> has quit IRC10:08
*** arkver <arkver!> has joined #yocto10:12
*** armpit <armpit!~akuster@2601:202:4001:9ea0:65fe:afa5:176a:9468> has joined #yocto10:12
*** nighty <nighty!> has joined #yocto10:22
*** maxin <maxin!~maxin@2001:998:22:0:201c:134b:fb4e:b50f> has quit IRC10:24
*** kjokinie <kjokinie!~kjokinie@> has quit IRC10:24
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC10:26
*** 7YUAAFB4P <7YUAAFB4P!> has quit IRC10:26
*** Kakounet <Kakounet!> has quit IRC10:28
*** maxin <maxin!> has joined #yocto10:28
*** Tenhi_ <Tenhi_!> has joined #yocto10:31
*** yann <yann!> has joined #yocto10:36
*** Kakounet <Kakounet!> has joined #yocto10:37
*** kjokinie <kjokinie!~kjokinie@> has joined #yocto10:42
*** berton <berton!~fabio@> has joined #yocto10:50
*** reibax <reibax!c21e5946@gateway/web/freenode/ip.> has joined #yocto10:50
reibaxHello everyone10:50
reibaxI am new to yocto, and I am learning a lot from its documentation10:50
reibaxI am working on a new recipe, and looking at different examples in order to learn how to propperly do it10:51
reibaxsadly, as much as I have tried to look for an explanation about the purpose of SSTATE_SCAN_FILES10:52
jku_g0hl1n: how old is your yocto? that code doesn't seem to be in the two last releases10:52
reibaxI have been unable to find any information about that variable10:52
reibaxcan anyone help me understand what it is for?10:52
*** mortderire <mortderire!~rkinsell@> has joined #yocto10:53
g0hl1njku_: as mentioned, I'm using jethro (current branch).10:54
jku_ah sorry, my bad10:54
*** mortderire <mortderire!~rkinsell@> has quit IRC10:56
*** mortderire <mortderire!rkinsell@nat/intel/x-hvvplnxziufphzum> has joined #yocto11:01
*** Kakounet <Kakounet!> has quit IRC11:01
rburtong0hl1n: see sstate.bbclass, its used to find files that need paths replaced in them11:06
rburtonin the general case this is magic you don't need to care about.11:07
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has quit IRC11:14
*** ziggo <ziggo!~ziggo@> has joined #yocto11:15
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC11:16
*** kalyan__ <kalyan__!~kalyan@> has quit IRC11:16
*** morphis_ <morphis_!~morphis@> has joined #yocto11:16
*** mortderire <mortderire!rkinsell@nat/intel/x-hvvplnxziufphzum> has quit IRC11:17
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC11:18
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto11:18
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC11:23
*** fl0v01 <fl0v01!> has joined #yocto11:26
*** mortderire <mortderire!~rkinsell@> has joined #yocto11:27
*** fl0v0 <fl0v0!> has quit IRC11:28
*** ant_work <ant_work!~ant__@> has quit IRC11:28
*** fl0v01 <fl0v01!> has quit IRC11:28
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC11:30
*** boucman_work <boucman_work!> has quit IRC11:32
*** boucman_work <boucman_work!> has joined #yocto11:33
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC11:36
*** Kakounet <Kakounet!> has joined #yocto11:36
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto11:37
*** morphis_ <morphis_!~morphis@> has quit IRC11:39
*** kalyan__ <kalyan__!~kalyan@> has joined #yocto11:39
*** ziggo <ziggo!~ziggo@> has quit IRC11:47
*** mortderire <mortderire!~rkinsell@> has quit IRC11:47
*** maho <maho!> has quit IRC11:48
*** ernstp <ernstp!uid168075@gateway/web/> has joined #yocto11:50
*** m4ho <m4ho!~m4ho@unaffiliated/m4ho> has joined #yocto11:52
arkverHi. Can you have a machine specific do_install_append in a bbappend? E.g. do_install_append-mx6 ?11:52
Ulfalizerarkver: sure, but you have to make it  do_install_append_mx6  or the like. see
Ulfalizerthat glossary entry (and the ones for CLASSOVERRIDE, MACHINEOVERRIDES, and DISTROOVERIDES) were fleshed out recently11:55
arkverThanks. Also for the link. Should have rtfm'd first. :)11:55
Ulfalizerit's worth looking at the 2.2 manuals if you're reading an earlier version btw11:56
*** sgw_ <sgw_!~sgw_@> has quit IRC11:57
*** pohly <pohly!> has joined #yocto11:58
arkverBookmarked the 2.2 version last time you pointed me at it. :)12:00
Ulfalizerhehe... didn't remember12:00
*** Kakounet <Kakounet!> has quit IRC12:01
reibaxWhat is the purpose of SSTATE_SCAN_FILES ?12:02
*** caiortp <caiortp!~inatel@> has joined #yocto12:08
*** hunk <hunk!ce7a6654@gateway/web/freenode/ip.> has joined #yocto12:09
hunkHello, i builing a really small package witch only copy  a script to the target12:09
hunkbut i have problems with my LIC_FILES_CHKSUM12:09
hunkwhere i have to place this file12:09
hunkdo i really need one?12:10
reibaxyou can skip the checking if you set12:10
reibaxLICENSE = "CLOSED"12:11
*** igor2 <igor2!~igor@> has joined #yocto12:11
reibaxBut it is good practise to get your licenses right12:11
hunkand when i define my own license ?12:13
reibaxwhen? As soon as possible. I'd say before starting working on the software, but definitetly before releasing it to the user.12:16
*** pohly <pohly!> has quit IRC12:17
*** Kakounet <Kakounet!> has joined #yocto12:18
*** rajm <rajm!> has quit IRC12:20
*** rajm <rajm!> has joined #yocto12:21
*** rajm <rajm!> has quit IRC12:23
*** rajm <rajm!> has joined #yocto12:23
*** gtristan <gtristan!~tristanva@> has quit IRC12:23
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto12:24
*** dmoseley <dmoseley!> has quit IRC12:24
arkverreibax: There's a hint in the original commit ( and an example of it's use for apache2 (, but as rburton says it's not something the new Yocto user would normally need to be concerned about.12:25
reibaxThank you very much arkver, and rburton!12:34
arkverbtw, I think if you set your license to CLOSED you need to whitelist it in the local conf's LICENSE_FLAGS_WHITELIST = "CLOSED_pn"12:37
rburtonyou don't need to whitelist closed12:39
arkverok, odd. I'll retry my build.12:40
*** Kakounet <Kakounet!> has quit IRC12:42
*** Kakounet <Kakounet!> has joined #yocto12:42
*** kalyan__ <kalyan__!~kalyan@> has quit IRC12:43
arkverright enough. Wonder why I ended up with a whitelist in my conf. Can't remember.12:43
*** JordonWu <JordonWu!~quassel@> has quit IRC12:44
*** t0mmy <t0mmy!~tprrt@> has joined #yocto12:47
*** simonl <simonl!uid6729@gateway/web/> has joined #yocto12:48
*** JordonWu <JordonWu!~quassel@> has joined #yocto12:49
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has quit IRC12:54
*** mortderire <mortderire!~rkinsell@> has joined #yocto12:54
*** lamego <lamego!~jose@> has joined #yocto12:55
*** zeddii <zeddii!~bruce@> has quit IRC12:59
*** pohly <pohly!> has joined #yocto13:01
*** Kukos <Kukos!c2fb77c5@gateway/web/freenode/ip.> has joined #yocto13:02
*** jku_ <jku_!jku@nat/intel/x-umvcwiownaxvlvdc> has left #yocto13:04
*** anselmolsm <anselmolsm!~anselmols@> has joined #yocto13:04
*** tlwoerner_ <tlwoerner_!~trevor@unaffiliated/tlwoerner> has quit IRC13:05
*** pohly <pohly!> has quit IRC13:05
KukosHi, I have a little problem with adding user to image. In I add EXTRA_USERS_PARAMS  = "useradd --password `openssl passwd my_password` --non-unique --uid my_UID --gid my_GUI ftp;" because I need another user for ftp, but Sometimes I have error that during adduser ftp user exists. How to fix it ?13:06
*** morphis_ <morphis_!~morphis@> has joined #yocto13:06
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has quit IRC13:09
*** mckoan <mckoan!~marco@unaffiliated/mckoan> has joined #yocto13:10
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has joined #yocto13:10
*** JordonWu <JordonWu!~quassel@> has quit IRC13:10
*** mortderire <mortderire!~rkinsell@> has quit IRC13:12
*** mortderire <mortderire!rkinsell@nat/intel/x-nkiiasgcspzymqlg> has joined #yocto13:14
*** fl0v0 <fl0v0!> has joined #yocto13:20
*** anselmolsm <anselmolsm!~anselmols@> has joined #yocto13:22
*** anselmolsm <anselmolsm!~anselmols@> has quit IRC13:27
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto13:30
*** sveinse <sveinse!> has joined #yocto13:30
sveinseIs @base_contains('PACKAGECONFIG'... the only way to add to RDEPENDS?13:31
*** zeddii <zeddii!~bruce@> has joined #yocto13:34
*** billiebobthorty <billiebobthorty!> has joined #yocto13:35
*** mortderire <mortderire!rkinsell@nat/intel/x-zvskcdpyhlblqayr> has joined #yocto13:36
*** hamis <hamis!~irfan@> has quit IRC13:37
*** rcw <rcw!~rwoolley@> has joined #yocto13:39
simonlcan a postinst script define a function? I've tried but it seems bitbake interprets the ending } as the end of the postinst script instead of the end of the function definition. Is there some trick to it?13:42
rburtonsveinse: the forth argument of the packageconfig flag is something to add to RDEPENDS_${PN}.  you only need to do base_contains() if you want to add rdepends to other packages.13:43
sveinserburton: yes, but I belive it does not aid if there are multiple PACKAGES, right?13:45
*** ntl <ntl!> has joined #yocto13:45
*** mortderire <mortderire!rkinsell@nat/intel/x-zvskcdpyhlblqayr> has quit IRC13:46
sveinse...which is what you're saying essentially. thanks.13:46
rburtonthere is almost always multiple packages but you *need* to say what package rdepends are for, so packageconfig assumes PN13:48
KukosCan I add any flag to useradd that if user exist function do nothing and exit with 0 ?13:48
*** benjamirc1 <benjamirc1!~besquive@> has quit IRC13:51
*** AndersD <AndersD!> has quit IRC14:04
simonlExample of what I would like to do:14:06
simonlbut bitbake errors out: ERROR: ParseError at /.../ unparsed line: 'somecommand || die "failed to do something"'14:08
*** mihai <mihai!mihai@nat/intel/x-nqqtcoqeinkdaqgs> has quit IRC14:09
*** madisox <madisox!~madison@> has joined #yocto14:09
simonlreal script is a bit more complicated of course, which is why die() would be useful. Any hints? Maybe I have to install an actual script and run that?14:10
*** madisox <madisox!~madison@> has quit IRC14:10
arkverUse a python def die : maybe?14:13
*** hunk <hunk!ce7a6654@gateway/web/freenode/ip.> has quit IRC14:14
*** vmeson <vmeson!> has joined #yocto14:15
*** CTtpollard <CTtpollard!> has joined #yocto14:16
*** qt-x <qt-x!~Thunderbi@> has quit IRC14:18
rburtonsimonl: i'd file a bug for bitbake but i wouldn't be surprised if using \{ worked for the function definition14:21
*** dl9pf <dl9pf!~quassel@opensuse/member/dl9pf> has quit IRC14:21
*** dl9pf <dl9pf!~quassel@opensuse/member/dl9pf> has joined #yocto14:22
arkversimonl: This ( seems to imply you can define your new die function outside the other function and just call it as needed.14:25
simonlarkver: I had to read up on python functions and then I stumbled on that myself. Trying it out now. I didn't expect bitbake to be that sophisticated (assuming it works)14:26
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC14:28
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto14:30
simonlarkver: hmm it doesn't magically include the definition in the script... I guess for scripts that run during the build process it will be available in the environment, maybe?14:32
simonlrburton: \} and \{ in the definition of die() both result in errors still...14:32
*** Kukos <Kukos!c2fb77c5@gateway/web/freenode/ip.> has quit IRC14:35
*** armpit <armpit!~akuster@2601:202:4001:9ea0:65fe:afa5:176a:9468> has quit IRC14:35
*** mortderire <mortderire!rkinsell@nat/intel/x-hsdlowjffshltath> has joined #yocto14:45
*** armpit <armpit!~akuster@2601:202:4001:9ea0:bc9a:54ac:66f2:66ed> has joined #yocto14:47
*** mortderire <mortderire!rkinsell@nat/intel/x-hsdlowjffshltath> has quit IRC14:49
*** sgw_ <sgw_!~sgw_@> has joined #yocto14:53
*** TobSnyder <TobSnyder!> has quit IRC14:55
arkverWorks for me?15:02
*** adelcast <adelcast!~adelcast@> has quit IRC15:04
*** gtristan <gtristan!~tristanva@> has joined #yocto15:04
arkverMaybe I'm misunderstanding what you're trying to do. :)15:04
*** adelcast <adelcast!~adelcast@> has joined #yocto15:04
rburtonarkver: doesn't work like that for postinsts though15:06
rburton(as they just take the pkg_postinst value and put it in the package, no following of functional dependencies afaik)15:07
*** morphis_ <morphis_!~morphis@> has quit IRC15:07
arkverok, I misunderstood what he was trying to do.15:08
*** zeenix <zeenix!~zeenix@> has quit IRC15:09
*** t0mmy <t0mmy!~tprrt@> has quit IRC15:10
arkverSo a python func def won't help as this is a shell script and it's (as you say) BB's script parser not handling escaped {} that needs fixed.15:10
*** morphis_ <morphis_!~morphis@> has joined #yocto15:11
kergothbitbake will only pick up a } if it's on its own at the beginning of a line. anything not indented at all will be a syntax error, a bitbake function's contents must be indented15:11
* kergoth yawns15:11
*** boucman_work <boucman_work!> has quit IRC15:19
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto15:19
* armpit sees "yawns" are trending15:20
*** t0mmy <t0mmy!~tprrt@> has joined #yocto15:23
*** joseppc <joseppc!~josep@linaro/joseppc> has quit IRC15:24
*** dmoseley <dmoseley!> has joined #yocto15:27
*** mortderire <mortderire!rkinsell@nat/intel/x-qjauqbixiksswysu> has joined #yocto15:28
*** vmeson <vmeson!> has quit IRC15:29
*** mortderire <mortderire!rkinsell@nat/intel/x-qjauqbixiksswysu> has quit IRC15:32
*** jonver <jonver!> has quit IRC15:37
*** maxin <maxin!> has left #yocto15:37
*** billiebobthorty <billiebobthorty!> has quit IRC15:38
*** florian <florian!~fuchs@Maemo/community/contributor/florian> has quit IRC15:39
*** CTtpollard <CTtpollard!> has quit IRC15:40
*** mortderire <mortderire!rkinsell@nat/intel/x-tbqivkxkpvjddqqe> has joined #yocto15:43
*** sgw_ <sgw_!~sgw_@> has quit IRC15:45
*** sgw_ <sgw_!~sgw_@> has joined #yocto15:46
*** egavinc <egavinc!> has quit IRC15:46
*** egavinc <egavinc!> has joined #yocto15:47
*** sgw_ <sgw_!~sgw_@> has quit IRC15:47
*** morphis_ <morphis_!~morphis@> has quit IRC15:49
*** rajm <rajm!> has quit IRC15:51
sveinseHow can I fetch from a hg SRC_URI that requires authentication? mercurial stops at "http authorization required but program used in non-interactive mode"15:52
sveinseany ideas?15:53
*** sgw_ <sgw_!~sgw_@> has joined #yocto15:53
sveinseapparently the yocto/bb env overrides the user's env, and as such any hg settings does not seem to apply, such as auth settings15:55
sveinseHow is this managed with git?15:55
*** jku <jku!jku@nat/intel/x-dxjmvqdoowgyjbmq> has joined #yocto15:55
*** pohly <pohly!> has joined #yocto15:55
sveinsemoto-timo: thanks. yet, I don't really want to hardcode any username. this is up to the user running the build, not the recipe15:58
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC16:00
*** mckoan is now known as mckoan|away16:02
*** Kakounet <Kakounet!> has quit IRC16:02
moto-timosveninse: set an environment variable that can be passed in on the command line?16:03
rburtonembed username/password in SRC_URI as variables that your user has to set in local.conf?16:04
rburtonie ${CORPORATE_USERNAME} etc16:04
rburtonand SRC_URI=hg://${CORPORATE_USERNAME}:${CORPORATE_PASSWORD}…. might work16:05
moto-timorburton: even better :)16:06
sveinseyes, probably. but *gross*, this has horrible security16:08
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto16:09
*** galak <galak!> has joined #yocto16:10
moto-timothen use kerberos or ssh keys that operate outside of OE16:11
rburtonsveinse: so write a function to extract the password from a secure keystore and store it in secure memory (not the bitbake data store) until the fetch happens and then somehow pass it to the fetcher without it appearing in ps or hg's memory16:11
fraywe've got a method that works with the GIT_ASKPASS, I don't know if hg does that or not..16:12
rburtonbasically the easy fix is to make it not bitbake's problem - kerberos / askpass / ssh / etc16:13
frayI've been working to get that support open sourced.. somewhat for more eyes to review it, but cause I think it would be generally useful..16:13
frayASKPASS really is the right approach from what ic an see here..16:13
fraywget was enhanced to support askpass as well..16:13
fray(not sure if that version of wget is in YP 2.2 though, but it is upstream)16:13
*** fl0v0 <fl0v0!> has quit IRC16:13
frayactually it looks like we have already open sourced the code..16:15
frayprogram uses the ASKPASS mechanism and a key/value store to handle things..16:15
frayit has a master password for the store (optional) to assist in securing things, but nothing is left in plain text (say like a .netrc would be)16:16
sveinsehg is normally (via ~/.hgrc) to use mercurial-keyring, a gnome-keyring-ish thing. And the repo I'm trying to access from my recipe, has already been put into the keyring. So the problem is that hg is invoked in an environment not being able to use to or access the user's setting or auth16:16
fraythen you may hvae to change the setting for hg in the bitbake.conf file (or add one) so the right environment is present16:17
sveinseI dont really see the different from hg's keyring and askpass. They both need interactivity for asking for password and/or some user environment to store their previous approved auths.16:17
frayanspass asks for an unlock password -before- you run bitbake.. and then you use the replied token to set an environment variable for everything to talk..16:18
frayanspass does require wget, git, and other things to pass that specific token in the environment16:18
*** thhp <thhp!> has joined #yocto16:18
kergothkeyring can do the same thing, afaik. the python keyring module is quite capable, and can interact with any number of password stores / keyrings16:18
frayfor 'hg', there is probably little to no difference in behavior.. but it become specific to that one item16:19
sveinseright, so that is how it is done for git auth in yocto?16:19
frayanspass uses the ASKPASS API, which works with wget, curl, git, and other common systems.. so it's more then just one particular use16:19
frayYP does not do anything specific for git authentication16:19
*** muppe <muppe!> has left #yocto16:20
rburtonsveinse: if hg's keyring thingy needs magic env vars add their name to BB_ENV_EXTRAWHITE in your environment so they get preserved16:20
rburtonsveinse: (see scripts/oe-buildenv-internal which already preserves the ssh agent vars)16:20
*** ntl <ntl!> has quit IRC16:21
*** reibax <reibax!c21e5946@gateway/web/freenode/ip.> has quit IRC16:22
sveinserburton: I'll have to check how hg handles auth, but I'll look into it. Don't know if its env (doubt it) or via some python.... ahh, yocto builds its own mercurial client. Thus it needs the keyring extension installed to be able to handle pre-recorded auth. I'll follow this lead...16:22
*** boucman_work <boucman_work!> has joined #yocto16:23
frayyou can prevent YP from building it's own hg client by doing an assumed_provided16:23
frayit builds it because we have found a lot of hosts do not have hg clients by default16:23
rburtonsveinse: i'd be surprised if you couldn't add mercurial-native to ASSUME_PROVIDED to make it use the host one16:23
rburton(just remember to wipe the sysroot once you do that so it doesn't continue to use the one in there)16:24
sveinseASSUME_PROVIDED+="mercurial-native" in local.conf, right?16:24
sveinsethanks guys!16:24
*** frsc <frsc!> has quit IRC16:25
*** grma <grma!~gruberm@> has quit IRC16:29
rburtonso i was thinking about creating a Planet Yocto or similar, if anyone actively blogs about relevant stuff feel free to ping me your URL16:30
kergothi really should start blogging about relevant stuff, but don't yet :)16:31
*** boucman_work <boucman_work!> has quit IRC16:31
* kergoth ponders16:31
rburtonyeah same here16:31
rburtonbasically rebirthing planet linuxtogo but with people actually still here16:33
kergothsveinse: suppose you could probably also add python-keyring-native as a dep of mercurial-native to ensure it's in the native python sysroot for it to use16:33
*** toanju <toanju!~toanju@> has quit IRC16:33
sveinseadditionally, mercurial must also access ~/.hgrc to be able to read identity settings16:34
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC16:37
*** mortderire <mortderire!rkinsell@nat/intel/x-vyeojhrfpggjkkke> has joined #yocto16:37
*** behanw <behanw!uid110099@gateway/web/> has joined #yocto16:38
*** mortderire <mortderire!rkinsell@nat/intel/x-vyeojhrfpggjkkke> has quit IRC16:39
*** vmeson <vmeson!~rmacleod@> has joined #yocto16:40
*** jbrianceau is now known as jbrianceau_away16:41
sveinseupdate: the yocto mercurial client /does/ indeed read ~/.hgrc, as the env HOME is defined prior to running hg clone. And it seems to not protest at the enabling of the mercurialkeyring setting, which in the hgrc file. So next step is to figure what mercurial keyring indeed needs16:44
rburtonmust have some magic env var16:45
*** boucman_work <boucman_work!> has joined #yocto16:48
*** Nilesh_ <Nilesh_!uid116340@gateway/web/> has quit IRC16:54
*** igor2 <igor2!~igor@> has quit IRC17:00
*** vmeson <vmeson!~rmacleod@> has quit IRC17:01
*** rt90 <rt90!> has joined #yocto17:01
*** vmeson <vmeson!~rmacleod@> has joined #yocto17:02
*** dvhart <dvhart!~dvhart@> has joined #yocto17:02
*** dreyna <dreyna!> has joined #yocto17:09
*** igor2 <igor2!~igor@> has joined #yocto17:14
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has quit IRC17:21
*** boucman_work <boucman_work!> has quit IRC17:22
*** ntl <ntl!> has joined #yocto17:22
*** sgw_ <sgw_!~sgw_@> has quit IRC17:25
*** lpapp <lpapp!~lpapp@kde/lpapp> has quit IRC17:27
*** vmeson <vmeson!~rmacleod@> has quit IRC17:28
*** vmeson <vmeson!~rmacleod@> has joined #yocto17:28
*** igor2 <igor2!~igor@> has quit IRC17:31
*** challinan <challinan!> has quit IRC17:43
*** challinan <challinan!> has joined #yocto17:45
*** igor2 <igor2!~igor@> has joined #yocto17:45
*** paulg_ <paulg_!~paulg@> has quit IRC17:46
*** sgw_ <sgw_!~sgw_@> has joined #yocto17:48
*** paulg <paulg!~paulg@> has joined #yocto17:49
*** dmoseley <dmoseley!> has quit IRC18:02
*** jku <jku!jku@nat/intel/x-dxjmvqdoowgyjbmq> has quit IRC18:14
*** jku <jku!> has joined #yocto18:15
*** jku <jku!> has quit IRC18:18
*** rt90 <rt90!> has quit IRC18:23
*** dvhart <dvhart!~dvhart@> has quit IRC18:24
*** nikodem <nikodem!5efe814b@gateway/web/cgi-irc/> has joined #yocto18:24
*** paulg_ <paulg_!> has joined #yocto18:25
*** rcwoolley_ <rcwoolley_!~rwoolley@> has joined #yocto18:33
*** sveinse <sveinse!> has quit IRC18:35
*** rcw <rcw!~rwoolley@> has quit IRC18:36
*** paulg_ <paulg_!> has quit IRC18:45
*** jbrianceau_away <jbrianceau_away!uid10952@gateway/web/> has quit IRC18:49
*** sveinse <sveinse!> has joined #yocto18:52
*** ernstp <ernstp!uid168075@gateway/web/> has quit IRC18:52
*** hatter <hatter!> has joined #yocto18:57
nikodemHello! Why there is no support for using built-in Buildbot steps in buildset-config file? (ex. ShellCommand). This would give us the full power of Buildbot and Autobuilder's elegance making the latter powerful general purpose build system.18:57
nikodemHello! Why there is no support for using built-in Buildbot steps in buildset-config file? (ex. ShellCommand). This would give us the full power of Buildbot and Autobuilder's elegance making the latter powerful general purpose build system.18:57
kergothI have no clue what you're even talking about18:57
kergothmaybe someone else does18:57
kergothyocto's buildsystem uses bitbake, which is a tool. how you happen to run it from your autobuilder of choice is on you18:58
*** paulg_ <paulg_!> has joined #yocto18:58
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto19:01
*** igor2 <igor2!~igor@> has quit IRC19:01
nikodemI'm talking about yocto-autobuilder which uses Buildbot under the hood, but doesn't support Buildbot's built-in classes inside its scripts19:02
kergothif you're reporting an issue with a project, i.e. yocto-autobuilder, it helps to actually mention it :)19:04
kergothi'll let the autobuilder folks respond19:04
*** sveinse <sveinse!> has quit IRC19:08
*** igor2 <igor2!~igor@> has joined #yocto19:17
*** sveinse <sveinse!> has joined #yocto19:18
*** stephano <stephano!~stephano@> has joined #yocto19:19
*** blueness <blueness!~blueness@gentoo/developer/blueness> has quit IRC19:19
sveinseI think I found it. hg needs the env var DBUS_SESSION_BUS_ADDRESS to be able to get to the proper keyring. I've found in the sources, but from what file is this called? I want to see if there are any vars that I can configure env not to erase, or as a last resort, modify the actual env command.19:23
*** blueness <blueness!~blueness@gentoo/developer/blueness> has joined #yocto19:23
*** bluelightning <bluelightning!~paul@> has joined #yocto19:26
*** bluelightning <bluelightning!~paul@> has quit IRC19:26
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto19:26
*** hatter <hatter!> has quit IRC19:27
*** crankslider <crankslider!~slidercra@unaffiliated/slidercrank> has joined #yocto19:28
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@> has joined #yocto19:30
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has joined #yocto19:30
*** joshuagl <joshuagl!~joshuagl@> has quit IRC19:32
*** dvhart <dvhart!dvhart@nat/intel/x-sftgzhzmjgiejplh> has joined #yocto19:37
*** hatter <hatter!~hatter@> has joined #yocto19:42
kergothsveinse: see runfetchcmd() in fetch2/__init__.py19:43
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has quit IRC19:52
*** obsrwr_home <obsrwr_home!~obsrwr@> has quit IRC19:53
*** stryx` <stryx`!~stryx@unaffiliated/stryx/x-3871776> has joined #yocto19:54
*** nikodem <nikodem!5efe814b@gateway/web/cgi-irc/> has quit IRC19:55
*** CTtpollard <CTtpollard!~tom@> has joined #yocto19:58
*** caiortp <caiortp!~inatel@> has quit IRC19:59
*** sgw_ <sgw_!~sgw_@> has quit IRC20:05
*** pohly <pohly!> has quit IRC20:13
sveinseCan I get a variable from env and set as a variable in local.conf?20:15
*** sgw_ <sgw_!~sgw_@> has joined #yocto20:16
*** vmeson <vmeson!~rmacleod@> has quit IRC20:17
*** Jefro <Jefro!> has joined #yocto20:18
sveinserunfetchcmd() has a exportvars list which is seems to be what I need. However this list fetches its contents from d.getVar(), which is not the environment. So what would be the best way to copy env var DBUS_SESSION_BUS_ADDRESS into a bb variable?20:18
sveinse^ kergoth20:18
*** kscherer <kscherer!~kscherer@> has quit IRC20:20
*** thaytan <thaytan!> has joined #yocto20:23
*** Jefro <Jefro!> has quit IRC20:24
rburtonsveinse: cherry-pick the commit from bitbake master that adds DBUS_SESSION_BUS_ADDRESS? :)20:24
rburtonwhoever wrote 20ad1ea87712d042bd5d89ce1957793f7ff71da0 was clearly awesome20:25
*** CTtpollard <CTtpollard!~tom@> has quit IRC20:25
*** psadro <psadro!~Thunderbi@> has quit IRC20:27
*** Jefro <Jefro!> has joined #yocto20:27
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto20:29
*** hatter <hatter!~hatter@> has quit IRC20:30
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has quit IRC20:31
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto20:32
*** berton <berton!~fabio@> has quit IRC20:32
sveinserburton: I wonder who that is....20:34
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has quit IRC20:34
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto20:34
sveinserburton: I actually made exactly the same patch, just missing the "or d.getVar("BB_ORIGENV", False).getVar(var, True)" statement :D20:35
*** rcwoolley_ <rcwoolley_!~rwoolley@> has quit IRC20:35
*** pohly <pohly!> has joined #yocto20:39
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has quit IRC20:39
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:72f3:95ff:fe1d:9866> has joined #yocto20:40
*** caiortp <caiortp!~caiortp@> has joined #yocto20:42
*** pohly <pohly!> has quit IRC20:49
rburtonsveinse: you'll need that bit20:51
sveinserburton: and now it works!20:54
* sveinse very happy20:54
*** Jefro1 <Jefro1!> has joined #yocto20:54
sveinse(this is now you leave for the evening, NOT saying to yourself "oh, by the way, let me test one more thing")20:54
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC20:57
*** Jefro <Jefro!> has quit IRC20:58
*** caiortp <caiortp!~caiortp@> has quit IRC21:03
*** LocutusOfBorg <LocutusOfBorg!~Gianfranc@ubuntu/member/locutusofborg> has quit IRC21:05
*** CTtpollard <CTtpollard!~tom@> has joined #yocto21:10
*** thhp <thhp!> has quit IRC21:11
*** igor2 <igor2!~igor@> has quit IRC21:26
*** agust <agust!> has quit IRC21:27
*** paulg_ <paulg_!> has quit IRC21:29
*** arkver <arkver!> has quit IRC21:30
*** sveinse <sveinse!> has quit IRC21:39
*** Flow86 <Flow86!> has quit IRC21:51
*** paulg_ <paulg_!> has joined #yocto21:52
*** Jefro1 <Jefro1!> has quit IRC21:52
*** lamego <lamego!~jose@> has quit IRC21:56
*** vmeson <vmeson!> has joined #yocto21:56
*** Flow86 <Flow86!> has joined #yocto21:59
*** CTtpollard <CTtpollard!~tom@> has quit IRC22:00
*** fmeerkoetter <fmeerkoetter!> has quit IRC22:01
*** bfederau <bfederau!> has quit IRC22:01
*** bfederau <bfederau!> has joined #yocto22:01
*** fmeerkoetter <fmeerkoetter!> has joined #yocto22:01
*** tlab <tlab!~tlab@> has quit IRC22:07
*** tlab <tlab!~tlab@> has joined #yocto22:11
*** rburton <rburton!> has quit IRC22:14
*** Jefro <Jefro!> has joined #yocto22:15
*** tlab <tlab!~tlab@> has quit IRC22:22
*** tlab <tlab!~tlab@> has joined #yocto22:23
*** ntl <ntl!> has quit IRC22:36
*** tlab <tlab!~tlab@> has quit IRC22:50
*** tlab <tlab!~tlab@> has joined #yocto22:52
-YoctoAutoBuilder- build #74 of nightly-no-x11 is complete: Failure [failed BuildImages] Build details are at http://localhost:8010/builders/nightly-no-x11/builds/7422:59
*** Jefro <Jefro!> has quit IRC23:03
*** lukma1 <lukma1!~lukma@> has quit IRC23:07
*** stephano_ <stephano_!~stephano@> has joined #yocto23:13
*** lukma1 <lukma1!~lukma@> has joined #yocto23:15
*** stephano <stephano!~stephano@> has quit IRC23:17
*** nighty <nighty!> has quit IRC23:27
*** dvhart <dvhart!dvhart@nat/intel/x-sftgzhzmjgiejplh> has quit IRC23:33
*** Biliogadafr <Biliogadafr!> has quit IRC23:38
*** sgw_ <sgw_!~sgw_@> has quit IRC23:43
*** paulg_ <paulg_!> has quit IRC23:52
*** simfir <simfir!> has quit IRC23:59

Generated by 2.11.0 by Marius Gedminas - find it at!