Monday, 2018-07-30

*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has joined #yocto00:16
*** vmeson <vmeson!~rmacleod@192-0-133-4.cpe.teksavvy.com> has joined #yocto00:28
*** anujm <anujm!~anujm@192.198.146.173> has joined #yocto00:38
*** sjolley <sjolley!sjolley@nat/intel/x-osjhmqfxdmnxjsxm> has joined #yocto01:39
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto01:40
-YoctoAutoBuilder- build #1188 of nightly-musl is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-musl/builds/118802:19
-YoctoAutoBuilder- build #636 of nightly-musl-x86-64 is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/63602:25
*** kaspter <kaspter!~Instantbi@115.194.184.33> has joined #yocto02:28
-YoctoAutoBuilder- build #1164 of nightly-no-x11 is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-no-x11/builds/116402:38
yoctiNew news from stackoverflow: Yocto Bluetooth a2dp audio choppy/skipping [closed] <https://stackoverflow.com/questions/51509124/yocto-bluetooth-a2dp-audio-choppy-skipping>02:38
-YoctoAutoBuilder- build #1144 of nightly-arm64 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-arm64/builds/114403:06
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC03:12
-YoctoAutoBuilder- build #1155 of nightly-mips-lsb is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/115503:30
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto03:31
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC03:39
-YoctoAutoBuilder- build #1158 of nightly-mips is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-mips/builds/115803:51
*** gtristan <gtristan!~tristanva@110.11.179.2> has quit IRC04:00
-YoctoAutoBuilder- build #1260 of nightly is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly/builds/126004:14
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto04:19
*** gtristan <gtristan!~tristanva@114.207.54.40> has joined #yocto04:33
*** CoLa|work <CoLa|work!~cordlandw@91.239.177.14> has joined #yocto04:58
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC04:59
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has joined #yocto05:53
*** learningc <learningc!~User@mti-37-145.tm.net.my> has joined #yocto06:05
*** malanecora <malanecora!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has joined #yocto06:06
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto06:11
*** agust <agust!~agust@p50886A63.dip0.t-ipconnect.de> has joined #yocto06:18
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto06:29
*** learningc <learningc!~User@mti-37-145.tm.net.my> has quit IRC06:34
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has quit IRC06:37
-YoctoAutoBuilder- build #1148 of nightly-world is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-world/builds/114806:38
*** malanecora_ <malanecora_!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has joined #yocto06:38
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has joined #yocto06:38
*** malanecora <malanecora!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has quit IRC06:39
*** aragua <aragua!~aragua@232-28-190-109.dsl.ovh.fr> has joined #yocto06:49
*** fl0v0 <fl0v0!~fvo@mue-88-130-107-199.dsl.tropolys.de> has joined #yocto06:58
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto06:58
*** diego_r <diego_r!~diego@host57-224-static.7-79-b.business.telecomitalia.it> has joined #yocto07:07
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has joined #yocto07:08
*** diego_r <diego_r!~diego@host57-224-static.7-79-b.business.telecomitalia.it> has quit IRC07:09
*** diego_r <diego_r!~diego@host57-224-static.7-79-b.business.telecomitalia.it> has joined #yocto07:09
*** mckoan|away is now known as mckoan07:20
*** anujm <anujm!~anujm@192.198.146.173> has quit IRC07:32
*** vdehors <vdehors!~vdehors@46.218.172.218> has joined #yocto07:51
*** thaytan <thaytan!~thaytan@121-200-23-18.cust.aussiebb.net> has quit IRC07:57
*** thaytan <thaytan!~thaytan@121-200-23-18.cust.aussiebb.net> has joined #yocto07:58
*** afaure <afaure!~antoine@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto07:58
*** sigint <sigint!~marks@p200300C78F3A4000E6A471FFFE89F1E3.dip0.t-ipconnect.de> has quit IRC08:06
*** bluelightning <bluelightning!~paul@192.198.146.173> has joined #yocto08:19
*** bluelightning <bluelightning!~paul@192.198.146.173> has quit IRC08:19
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto08:19
*** bluelightning <bluelightning!paul@nat/intel/x-xqfxeojjkbpybiab> has joined #yocto08:20
*** bluelightning <bluelightning!paul@nat/intel/x-xqfxeojjkbpybiab> has quit IRC08:20
*** bluelightning <bluelightning!paul@pdpc/supporter/professional/bluelightning> has joined #yocto08:20
*** dawod <dawod!c533555d@gateway/web/freenode/ip.197.51.85.93> has joined #yocto08:30
*** Net147 <Net147!~Net147@unaffiliated/net147> has quit IRC08:31
*** Net147 <Net147!~Net147@unaffiliated/net147> has joined #yocto08:32
dawodhi08:34
dawodI am new to yocto project.08:35
dawodI need to know how to add wayland to my image istead of x1108:35
dawodcan any one help ?08:35
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-gzfsgjmlhyyvpnri> has joined #yocto08:40
*** rajm <rajm!~robertmar@cpc126996-macc4-2-0-cust25.1-3.cable.virginm.net> has joined #yocto08:42
-YoctoAutoBuilder- build #1165 of nightly-no-x11 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-no-x11/builds/116508:45
-YoctoAutoBuilder- build #1149 of nightly-world is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-world/builds/114908:48
*** jof <jof!~jofr@193.182.166.3> has joined #yocto08:51
-YoctoAutoBuilder- build #1189 of nightly-musl is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-musl/builds/118908:55
-YoctoAutoBuilder- build #637 of nightly-musl-x86-64 is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-musl-x86-64/builds/63708:56
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC08:58
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto09:03
fl0v0dawod: this is the first hit when i type 'yocto wayland' into google. https://wiki.yoctoproject.org/wiki/Wayland What have you already tried?09:03
dawodthe same for me, but at first i couldn't understand some details . i read it again and understand .thank you09:09
fl0v0dawod: if you dont know what something means, the first thing i would do is go to the Mega Manual and ctrl + f for the term you are loooking for (https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html)09:24
dawodfl0v0: thank you veru much . I will do in the next times.09:26
-YoctoAutoBuilder- build #1148 of nightly-world-lsb is complete: Failure [failed BuildImages] Build details are at https://autobuilder.yocto.io/builders/nightly-world-lsb/builds/114809:38
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::2> has quit IRC09:41
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::2> has joined #yocto09:46
-YoctoAutoBuilder- build #1261 of nightly is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly/builds/126109:48
*** dawod <dawod!c533555d@gateway/web/freenode/ip.197.51.85.93> has quit IRC10:01
*** lukma <lukma!~lukma@85-222-111-42.dynamic.chello.pl> has joined #yocto10:10
lukmaGood afternoon,10:12
lukmaIs there any easy way to install a legacy toolchain? For example gcc-4.8 on a modern YP ?10:12
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto10:12
-YoctoAutoBuilder- build #1181 of nightly-ppc is complete: Failure [failed Running SDK Sanity Tests] Build details are at https://autobuilder.yocto.io/builders/nightly-ppc/builds/118110:16
*** nighty- <nighty-!~nighty@kyotolabs.asahinet.com> has quit IRC10:19
*** antoine__ <antoine__!~antoine@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto10:20
*** afaure <afaure!~antoine@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC10:21
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::2> has quit IRC10:23
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC10:25
*** rburton_ <rburton_!~textual@35.106.2.81.in-addr.arpa> has joined #yocto10:32
*** nemunaire <nemunaire!~nemunaire@2a01:e35:8bb7:3c60::2> has joined #yocto10:52
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto11:07
-YoctoAutoBuilder- build #1262 of nightly is complete: Failure [failed] Build details are at https://autobuilder.yocto.io/builders/nightly/builds/126211:15
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto11:17
tlwoernerhttps://lists.yoctoproject.org/pipermail/yocto-ab/2018-July/002279.html11:28
* tlwoerner congratulates ndec 11:28
*** malanecora_ <malanecora_!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has quit IRC11:33
*** nayfe <nayfe!uid259604@gateway/web/irccloud.com/x-mzubxvarseowwhmp> has quit IRC11:37
*** |Sno| <|Sno|!~sno@b2b-78-94-80-58.unitymedia.biz> has joined #yocto11:53
*** [Sno] <[Sno]!~sno@b2b-78-94-80-58.unitymedia.biz> has quit IRC11:55
*** andycooper <andycooper!uid246432@gateway/web/irccloud.com/x-qrftphxnvqwdrash> has joined #yocto11:59
ndectlwoerner: thanks ;)12:03
tlwoernerit's sad to see jefro playing a reduced role (officially?) in this community, but it's great to see you taking this over12:04
mckoanndec: congrats!12:04
ndechi tlwoerner , yes, jefro has stepped back officially. see https://lists.yoctoproject.org/pipermail/yocto-ab/2018-June/002233.html. this was the trigger for Lieu Ta to take the AB chairman position, and myself.12:06
ndecalso, i hope you've noticed that the 'member' page has been updated recently, with new platinum members.. https://www.yoctoproject.org/ecosystem/members/12:07
rburton_ndec: yes very nice to see :)12:07
tlwoernersomeone needs to update the subject of this channel (i.e. update the community manager)12:14
tlwoernerndec: i was very surprised to see fb and am curious about their interest12:14
tlwoernerndec: and i saw the ARM announcement in my feeds very recently12:15
* tlwoerner thinks these are interesting times for the project12:15
ndec;-)12:15
rburton_tlwoerner: https://github.com/facebook/openbmc12:17
rburton_well thats their fork but they're working upstream more now12:18
tlwoernerrburton_: nice! it's nice to see less home-brew12:19
rburton_yeah12:20
rburton_extrapolating from the size of their data centre and the fact that their servers run yocto makes me think they've got one of the largest deployments in the world12:21
tlwoernernow that they've joined the -ab, maybe we'll also start to see them at devdays, ELC(E)s, and OED{A|E}Ms12:25
*** tendie <tendie!267fa492@gateway/web/freenode/ip.38.127.164.146> has joined #yocto12:37
tendieHello! I am new to yocto, and have a question: How do I add apt-get to my target? I have added PACKAGE_CLASSES ?= " package_deb" and EXTRA_IMAGE_FEATURES ?= " package-management". apt-get is added, but is functionally worthless, as it doesn't have any sources or anything.12:38
*** dc13ff <dc13ff!uid190567@gateway/web/irccloud.com/x-cibrmmbfzgyrkruz> has joined #yocto12:41
*** malanecora <malanecora!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has joined #yocto12:41
malanecoraHow can I make available a file of one recipe (recipe-A) in another recipe (recipe-B)?12:42
malanecorae.g. package-config binary configuration script12:42
malanecoraI guess it should be in recipe's B ${WORKDIR}/recipe-sysroot/usr/bin/crossscripts/12:47
malanecoraBut it doesn't12:47
neverpanicmalanecora: recipe-A needs to install it so that it gets put into the sysroot, and recipe-B needs to have recipe-A in DEPENDS12:49
neverpanicbeware that not all paths that are installed by recipe-A are automatically part of the sysroot, but the standard paths for pkg-config scripts definitely are, so unless you're installing your .pc file in a non-standard location, this should work out of the box12:49
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC12:50
*** karthik__ <karthik__!b9dd452c@gateway/web/freenode/ip.185.221.69.44> has joined #yocto12:50
karthik__does anyone know how to write a recipe file for installing a folder in the rootfs ?12:51
karthik__i was trying the "cp"command, but's not working for me12:51
malanecora neverpanic: recipe-B already have recipe-A in DEPENDS. It's not a .pc script but kind of (the very same as the old configuration scripts used to be).12:52
malanecoraSo, I have to install it in sysroots, right?12:53
malanecorakarthik__: It does works for me.12:54
malanecoraI manage the folder as a normal file12:55
*** fl0v0 <fl0v0!~fvo@mue-88-130-107-199.dsl.tropolys.de> has quit IRC12:55
*** Qantel <Qantel!3e862e04@gateway/web/freenode/ip.62.134.46.4> has joined #yocto12:56
QantelHey guys! Having trouble with meta-intel-qat. Anyone faced issues with that before ?12:56
malanecoraneverpanic: BTW, I'm installing it in ${bindir}12:57
*** fl0v0 <fl0v0!~fvo@mue-88-130-101-178.dsl.tropolys.de> has joined #yocto12:57
neverpanicmalanecora: As long as it's in one of the standard paths (http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/staging.bbclass#n10), it should still work.12:57
neverpanickarthik__: can you pastebin the recipe that you're tried and the error message you're getting?12:59
malanecoraneverpanic: should I install it also in sysroot-dest folder in order to make the file available for other recipes?13:02
neverpanicNo, that should happen automatically.13:03
karthik__neverpanic : I don't have access to pastebin and let me see if i can find some alternative.13:07
neverpanickarthik__: p.dnnr.de13:07
karthik__malanecora : can you share you bb file ?13:07
karthik__share your*13:07
karthik__neverpanic : you saved me from google :P13:08
*** gtristan <gtristan!~tristanva@114.207.54.40> has quit IRC13:08
karthik__neverpanic : https://p.dnnr.de/bGUAdBLSSKura06Y this is my recipe13:09
*** mihai- <mihai-!~mihai@unaffiliated/mihai> has joined #yocto13:09
karthik__neverpanic : cannot stat the folder "eventmachine-1.2.7" in work directory is the error13:10
malanecoraSRC_URI = "file://test"13:11
*** rburton_ <rburton_!~textual@35.106.2.81.in-addr.arpa> has quit IRC13:11
malanecoraS="${WORKDIR}"  do_compile() { : }  do_install() { install -d ${D}/ cp -r ${S}/test ${D}/ }  FILES_${PN} += "/test"13:11
malanecoraBeing "test" a folder with subfolders and files13:11
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has joined #yocto13:11
karthik__malanecora : what does the S varibale stands for ?13:12
malanecoraUsually S = "${WORKDIR}/${BP}"13:13
malanecoraIn Yocto environment13:14
malanecorahttp://git.yoctoproject.org/cgit.cgi/poky/plain/meta/conf/bitbake.conf?h=bernard13:15
neverpanickarthik__: Not sure wildcards will work in SRC_URI.13:15
karthik__install: cannot stat ‘/home/iriejc/my_workspace/tmp/work/cortexa7hf-neon-linux-gnueabi/eventmachine/1.2.7-r0/eventmachine-1.2.7.gemspec’: No such file or directory13:15
karthik__this is the error the build is throwing when i tried the cp command in bb file13:16
karthik__neverpanic : then how do i point to that folder ?13:16
neverpanickarthik__: have you tried using a tarball?13:16
karthik__nope13:16
karthik__tar the folder ?13:17
*** gtristan <gtristan!~tristanva@110.11.179.2> has joined #yocto13:17
neverpanicyes, and point the recipe to the tarball. that should automatically extract the contents into ${WORKDIR}, where you can cp them13:17
karthik__will try that13:19
malanecoraAlso, my /tmp/sysroots folder is empty, is that normal?13:22
neverpanicIIRC the sysroots moved with the recipe-specific sysroots feature, but I'm not regularly using a modern Yocto with that feature, so I'm the wrong person to ask.13:26
*** vdehors <vdehors!~vdehors@46.218.172.218> has quit IRC13:26
*** marka <marka!~masselst@184.175.21.48> has joined #yocto13:28
tendieHow do I add apt-get to my target? I have added PACKAGE_CLASSES ?= " package_deb" and EXTRA_IMAGE_FEATURES ?= " package-management". apt-get is added, but is functionally worthless, as it doesn't have any sources or anything.13:28
malanecoraneverpanic: Ok! Thank you!13:29
*** vdehors <vdehors!~vdehors@46.218.172.218> has joined #yocto13:30
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto13:36
karthik__neverpanic : good suggestion. There is improvement. Thank you.13:39
karthik__arm-linux-gnueabi-objcopy:/home/iriejc/yocto_digi/my_workspace/tmp/work/cortexa7hf-neon-linux-gnueabi/eventmachine/1.2-r0/package/usr/lib/ruby/gems/2.5.0/gems/eventmachine-1.2.7/ext/fastfilereader/fastfilereaderext.so: File format not recognized13:39
karthik__but now i am getting this error13:39
karthik__why is not objcopy not recogonizing .so files ?13:40
*** frieder <frieder!~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC13:42
neverpanicwrong architecture, maybe?13:58
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto14:03
*** jij <jij!~jonashg@proxy02.se.axis.com> has joined #yocto14:17
*** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has joined #yocto14:27
Qantelhey guys! When I run bitbake I get a 'CC= ... -fdebug-prefix-map = ...' but I do not get the --sysroot=path so some headers while they are there are not found14:29
Qanteland it throws a missing error while using devshell14:29
Qantelany idea?14:29
*** karthik__ <karthik__!b9dd452c@gateway/web/freenode/ip.185.221.69.44> has quit IRC14:30
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has joined #yocto14:33
rburtontendie: set PACKAGE_FEED_URLS in your local.conf to the base URL that you're running the feed on14:33
rburtontendie: bitbake doesnt' run a http itself, so you need to do that bit yourself14:34
rburton(i just have a lighttp on my build box)14:34
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC14:42
*** dmoseley <dmoseley!18a42f7b@gateway/web/cgi-irc/kiwiirc.com/ip.24.164.47.123> has joined #yocto14:42
tendierburton: What do you mean, the base URL that I'm running the feed on? I think I'm a step or two behind that.14:45
*** vdehors <vdehors!~vdehors@46.218.172.218> has quit IRC14:48
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto14:49
*** dc13ff <dc13ff!uid190567@gateway/web/irccloud.com/x-cibrmmbfzgyrkruz> has quit IRC14:50
malanecoraPlease take a look over this post! https://stackoverflow.com/questions/51496061/using-files-generated-by-other-recipes-in-yocto14:53
*** jacques <jacques!~jacques@nslu2-linux/jacques> has joined #yocto14:58
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto15:01
*** malanecora <malanecora!b23cc82d@gateway/web/freenode/ip.178.60.200.45> has quit IRC15:02
*** vdehors <vdehors!~vdehors@37.173.188.226> has joined #yocto15:03
*** armpit <armpit!~armpit@2601:202:4180:c33:f98c:c6a6:efae:e2fe> has joined #yocto15:04
*** dawod <dawod!c533555d@gateway/web/freenode/ip.197.51.85.93> has joined #yocto15:07
rburtontendie: if you want apt-get to work then you need to host the feed somewhere...15:11
rburtonas i said, i just run a lighttp on the build machine and point to the right ip15:11
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC15:15
tendieMy target has an ethernet plug and can download things from repos with mercurial, why does is depend on the build host to get package feeds for apt-get?15:16
rburtonok who understands mips15:24
fraylol.. 'what part'15:24
rburtontendie: where else is apt going to get package feeds from?15:24
rburtonfray: arch flags and tunes and etc15:24
*** Qantel <Qantel!3e862e04@gateway/web/freenode/ip.62.134.46.4> has quit IRC15:24
rburtonfray: debugging the sdk failure where cmake won't link15:24
*** diego_r <diego_r!~diego@host57-224-static.7-79-b.business.telecomitalia.it> has quit IRC15:26
tendierburton: I guess I'm still misunderstanding. I am going to ask some questions to clarify what I'm not getting: A package feed is like the urls you would find in sources.list in /etc/ept. Is this correct?15:32
rburtonthe URLs point to a package feed yse15:32
rburtonyes15:32
tendieOkay. So if i'm looking to get apt-get on my target to mimic how it default is set up on for example ubuntu, PACKAGE_FEED_URLS should contain those urls found in sources.list. That's one step, correct?15:36
*** antoine__ <antoine__!~antoine@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC15:37
*** stephano <stephano!stephano@nat/intel/x-esnfpnymnpqzyzox> has joined #yocto15:39
kergothubuntu has a web server hosting their package feeds15:39
kergothyou'll have to do the same, bitbake doesn't install a web server for you15:39
kergothsome *distros* may or may not provide a package feed, but it's not possible for oe/yocto to provide a generic one, as there are too many ways to change the build in ways that break binary compatibility15:40
yoctiNew news from stackoverflow: Build Qt5 with Cmake in Yocto <https://stackoverflow.com/questions/51597322/build-qt5-with-cmake-in-yocto>15:40
tendiekergoth: so because my image isn't using ubuntu, I can't use the ubuntu package feeds by just copying those URLs. Is this correct?15:44
kergoththat's true for any distro of any kind. packages from one distro aren't safe to install on other distros unless they're explicitly compatible. that's true on the desktop as well as embedded.15:45
*** jacques is now known as linuxjacques15:47
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC15:52
*** sgw <sgw!sgw@nat/intel/x-azrmuneasplfjjgp> has joined #yocto15:58
*** chandana73 <chandana73!~ckalluri@149.199.62.254> has joined #yocto15:59
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC16:01
*** mckoan is now known as mckoan|away16:02
*** fl0v0 <fl0v0!~fvo@mue-88-130-101-178.dsl.tropolys.de> has quit IRC16:08
rburtontendie: *if* you want a working package feed then set PACKAGE_FEED_URLs to the base URL that you'll have the feed on, and bitbake will write the correct sources.list using that URL16:12
rburtoni run a local httpd on my build machine so PACKAGE_FEED_URLS=http://flashheart.local/deploy/16:12
*** t0mmy <t0mmy!~tprrt@217.114.201.133> has quit IRC16:13
*** CoRfr <CoRfr!~CoRfr@carmd-fwm01.sierrawireless.com> has joined #yocto16:22
yateslike many yocto projects, my image recipe generates a foo.rootfs.ext file in the deploy/images/machine directory.16:23
yatesi need to custom-generate a similar type of file. how do i a) specify the components which go into the file, and b) create a partition of a specific type (in my case, fat32)?16:25
yatescomponents == files..16:25
*** tripzero_ <tripzero_!~tripzero@134.134.139.74> has quit IRC16:26
yatess/foo.rootfs.ext/foo.rootfs.ext4/16:26
yatesdoes it require wic?16:26
yatesper section 5.6 of the development manual?16:27
yateswant to generate my own16:27
yatesignore that last line ^^^^16:27
yateshttps://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#creating-partitioned-images16:27
*** tripzero <tripzero!tripzero@nat/intel/x-zgzlowbjrezvxzvt> has joined #yocto16:28
kergothpartitioning would require wic or something similar/custom, yes16:28
yatescan you just use fdisk somehow in the recipe?16:29
yates(running on linux)16:29
kergothto create a partition table, sure, but scripting fdisk is a pain in the ass, and you'd still have to know the correct offsets to dd the filesystem image into the right spot in that image16:30
kergothparted is better, but still a royal pain. there's a reason wic exists, it wraps exactly this sort of thing for you16:30
kergothbut sure, you could definitely roll your own if you want to, i've done it before16:30
yatesi use a bong.16:31
yates:)16:31
yatesis there an example of this somewhere?16:32
yatesof an entire recipe, that is, which performs these steps?16:33
kergothit's generally done in an image type class introducing a new image type, not a recipe16:33
kergothand you'd likely have to check old branches, since most everyone has moved to wic16:33
yatesso you mean folks do this by using wic outside of bitbake?16:34
yatesdid you mean the wic commands are used within the class routines to generate an image type?16:35
yatess/did you mean/or did you mean.../16:36
*** vdehors <vdehors!~vdehors@37.173.188.226> has quit IRC16:39
yateswhy am i constantly feeling like using yocto is like getting directions without knowing which way north is?!?!?16:42
kergothimage types are functions/variables with the commands to create an iage of that type16:48
kergoththose types are added to IMAGE_TYPES by the machine .conf to control what image binaries are emitted16:49
kergothi.e. tar.gz, ext4, wic, etc16:49
kergothyou can create your own as well16:49
*** justinttt <justinttt!49e56612@gateway/web/freenode/ip.73.229.102.18> has joined #yocto16:49
*** frieder <frieder!~frieder@i59F72303.versanet.de> has joined #yocto16:49
kergothfairly sure image types are covered by the yoctoproject.org docs, but it's been a while since i read them16:49
*** tripzero <tripzero!tripzero@nat/intel/x-zgzlowbjrezvxzvt> has quit IRC16:51
*** frieder <frieder!~frieder@i59F72303.versanet.de> has quit IRC16:55
*** tripzero <tripzero!~tripzero@134.134.139.74> has joined #yocto16:55
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto16:55
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has quit IRC17:04
*** ant_home <ant_home!~ant__@host183-250-dynamic.16-79-r.retail.telecomitalia.it> has joined #yocto17:05
*** dmoseley <dmoseley!18a42f7b@gateway/web/cgi-irc/kiwiirc.com/ip.24.164.47.123> has quit IRC17:08
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto17:12
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto17:13
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has quit IRC17:22
*** bluelightning <bluelightning!paul@pdpc/supporter/professional/bluelightning> has quit IRC17:26
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto17:30
*** reto <reto!~reto@85.195.220.82> has joined #yocto17:34
*** stephano <stephano!stephano@nat/intel/x-esnfpnymnpqzyzox> has quit IRC17:34
*** stephano <stephano!stephano@nat/intel/x-ojulgjakynhfglhc> has joined #yocto17:35
retoWhen I boot my Yoco distribution (systemd based), for some reason it already has a somewhat recent date set (Fri Jul 20 08:26:37 UTC 2018) - where does this come from? Asking because /var/lib/systemd/timesync/clock does not exists initially.17:36
*** rajm <rajm!~robertmar@cpc126996-macc4-2-0-cust25.1-3.cable.virginm.net> has quit IRC17:39
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto17:50
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has quit IRC17:51
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto17:52
yatesreto: your board may have a battery backup17:55
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto17:59
*** stephano <stephano!stephano@nat/intel/x-ojulgjakynhfglhc> has quit IRC18:02
*** stephano <stephano!~stephano@134.134.139.72> has joined #yocto18:02
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has quit IRC18:05
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:7d78:a0d5:21c3:94ae> has quit IRC18:05
*** bluelightning <bluelightning!~paul@109.123.118.46> has joined #yocto18:07
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto18:07
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto18:07
*** Crofton <Crofton!~Crofton@64.124.121.174> has joined #yocto18:08
retoyates: nope18:08
retoit is our own board and there is no rtc (MediaTek MT7688 based)18:09
retoAnd on every startup the time is reset to around Fri Jul 20 08:26:37 UTC 201818:09
retoPretty sure it just takes a timestamp as reference and uses it - I just would like to understand which file and which server (likely systemd)18:10
*** psadro <psadro!~Thunderbi@2620:0:ed0:800a:7d78:a0d5:21c3:94ae> has joined #yocto18:13
yatesdoes the mips24kEc have an on-board clock? perhaps the kernel is initializing it?18:17
yateslet me back WAY up and ask a top-level question: what is an "image"? is it the rootfs?18:26
*** tgraydon <tgraydon!~textual@134.134.139.83> has joined #yocto18:27
yates"IMAGE_FSTYPES: Specifies the formats the OpenEmbedded build system uses during the build when creating the root filesystem."18:27
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC18:29
yateskergoth: i've looked through the docs and don't see any section specific to images and image_types. can you please provide a poitner?18:29
yatesi am not trying to create a rootfs "iamge"18:31
yatesimage18:31
yatesi am trying to create a fat32 "image" with zImage and the .dtb files on it18:31
yatesthis for for swupdate, so that image can be added to sw-description18:32
kergotheven if you don't use the image type mechanism directly, you can easily *read the image type functions* to see how they're constructing the binaries18:32
kergotheither look at the wic one to see how wic is used, or look at an old branch's custom image types to see how folks use fdisk/parted/etc to construct images18:32
kergothi.e. many layers have done an image_types_sdcard in the past prior to migrating to wic18:32
yateshow old is "old"? morty?18:33
kergothor just do it yourself, really your call18:33
kergothi don't know the exact timeline of wic adoption, it was gradual18:33
kergothjust search the layer index for image_types, or mksdcard, or whatever, or again, just research how to script fdisk and do it yourself18:33
* kergoth shrugs18:33
tendiekergoth: regarding the package management discussion earlier: is there a distro I can use that is compatible with the ubuntu package feeds? That is most likely a requirement for my current project.18:34
yateswhere are the "*image type functions*"?18:37
yatesi'd love to read them and adapt to them.18:38
yatesimage_types.bbclass?18:39
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-gzfsgjmlhyyvpnri> has quit IRC18:47
*** aragua_ <aragua_!~aragua@232-28-190-109.dsl.ovh.fr> has joined #yocto18:49
*** aragua <aragua!~aragua@232-28-190-109.dsl.ovh.fr> has quit IRC18:51
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC18:52
*** georgem <georgem!~georgem@216.21.169.52> has quit IRC18:55
*** georgem <georgem!~georgem@216.21.169.52> has joined #yocto18:57
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto18:57
yatestendie: http://layers.openembedded.org/layerindex/branch/master/recipes/?q=apt18:58
*** Crofton <Crofton!~Crofton@64.124.121.174> has quit IRC18:59
tendieyates: I'm including apt, but the target doesn't get flashed with anything in sources.list.19:00
yatesi'm no expert on package management, but i get the repo doesn't have your machine type19:03
yatess/get/bet/19:03
yatesand i'm an apt-idiot - i use rpm/dnf (fedora)19:04
yates(for my host machine)19:04
yatesand "flashed"?19:05
yatesi don't apt would do any flashing, just copying to the filesystem.19:05
yatess/don't/don't think/19:06
yates(dang...)19:06
*** sno <sno!~sno@b2b-78-94-80-58.unitymedia.biz> has joined #yocto19:24
*** |Sno| <|Sno|!~sno@b2b-78-94-80-58.unitymedia.biz> has quit IRC19:24
*** marks__ <marks__!~marks@p200300C78F3A4000E6A471FFFE89F1E3.dip0.t-ipconnect.de> has joined #yocto19:32
-YoctoAutoBuilder- build #1182 of nightly-ppc is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-ppc/builds/118219:35
*** aragua_ <aragua_!~aragua@232-28-190-109.dsl.ovh.fr> has quit IRC19:35
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has quit IRC19:51
*** aragua_ <aragua_!~aragua@232-28-190-109.dsl.ovh.fr> has joined #yocto19:56
*** tgraydon <tgraydon!~textual@134.134.139.83> has quit IRC20:01
*** aragua__ <aragua__!~aragua@232-28-190-109.dsl.ovh.fr> has joined #yocto20:04
*** aragua_ <aragua_!~aragua@232-28-190-109.dsl.ovh.fr> has quit IRC20:06
*** diego_r <diego_r!~diego@37.177.32.104> has joined #yocto20:09
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC20:10
*** micka <micka!~micka@reverse-75.fdn.fr> has quit IRC20:11
*** micka <micka!~micka@reverse-75.fdn.fr> has joined #yocto20:12
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has joined #yocto20:23
*** martinkelly1 <martinkelly1!~martin@97-113-244-131.tukw.qwest.net> has joined #yocto20:29
*** martinkelly <martinkelly!~martin@97-113-244-131.tukw.qwest.net> has quit IRC20:29
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto20:37
yateshow does something in a .bb file cause anything in the image_types.bbclass to be run?20:38
yatesi'm not getting that connection20:38
*** pohly <pohly!~pohly@p54849228.dip0.t-ipconnect.de> has quit IRC20:42
yatesand what distinguishes a "non-image" recipe from an "image" recipe?20:42
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC20:43
-YoctoAutoBuilder- build #1234 of nightly-oe-selftest is complete: Success [build successful] Build details are at https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/123420:47
yateswhat is a "bootable live image"?20:48
yates(do_bootimg)20:48
yateslike "fedora live"?20:49
yatessomething you can boot off a thumbdrive?20:50
yateskergoth: perhaps you don't understand where i am confused. if all i had to do was write my own script to use fdisk or whatever to generate a .fat32 file, i'd have been done days ago. that part i know.20:57
yateswhat i am trying to do is get YOCTO to do this as part of a recipe (or a recipe which invokes functions in a bbclass, or what the hell ever)20:57
*** tgraydon <tgraydon!textual@nat/intel/x-rzostqteckfahiro> has joined #yocto20:58
yatesi want ultimately to generate the .swu file by running "bitbake swu", which would then do what's necessary to generate the ext4 of the rootfs (i think i have this part down) and then fat32 of the "linux" image (zImage + dtbs)20:58
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC20:59
yatesthe .swu file is one output from the babic's swupdate process21:00
yatesi see that there is a built-in "do_rootfs" routine which is part of a standard set of image tasks. but i want to build a "linux" fs (zImage + .dtbs in a fat32), not a rootfs21:02
yateswhat distinguishes an "image" recipe from a "non-image" recipe?21:04
yatesWHAT DISTINGUISHES AN "IMAGE" RECIPE FROM A "NON-IMAGE" RECIPE?21:05
*** justinsg <justinsg!sid296040@gateway/web/irccloud.com/x-gcvtqfwndmoaykan> has quit IRC21:05
*** gtristan <gtristan!~tristanva@110.11.179.2> has quit IRC21:05
*** justinsg <justinsg!sid296040@gateway/web/irccloud.com/x-yrqmpmltoxgxfsba> has joined #yocto21:06
*** bbhoss <bbhoss!sid18216@gateway/web/irccloud.com/x-mchjczrmycisvodl> has quit IRC21:06
*** bbhoss <bbhoss!sid18216@gateway/web/irccloud.com/x-aiifzwaoojyxbesq> has joined #yocto21:07
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC21:08
yatesWHAT DISTINGUISHES AN "IMAGE" RECIPE FROM A "NON-IMAGE" RECIPE?21:09
*** marka <marka!~masselst@184.175.21.48> has quit IRC21:10
kergothyates: whether the recipe inherits the image class. "inherit image"21:12
kergothand screaming and repeating yourself isn't particularly productive21:12
yateswhat does the syntax "python () {...}" accomplish in .bbclass files?21:19
yateshow are such functions invoked? by what name?21:20
*** stephano <stephano!~stephano@134.134.139.72> has quit IRC21:27
yatesis it true that all non-manual tasks (https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-tasks) get invoked when running bitbake, but the bbclass files which some recipes may not define every task function, so that function basically does nothing?21:28
yatess/which some recipes/which some recipes are based on/21:29
kergothby default bitbake runs the do_build task (specifically, the task defined by the BB_DEFAULT_TASK variable)21:29
kergothit runs any tasks that do_build depends on21:29
kergothaddtask foo creates a task that has to be run manually, addtask foo before do_build or before some otehr task that's run by default, will be run automatically21:30
yateshow do you make do_build depend on a task?21:35
*** sgw <sgw!sgw@nat/intel/x-azrmuneasplfjjgp> has quit IRC21:35
yateskergoth: are you saying the addtask (after/before) mechanism is precisely how you accrete dependencies to the do_build task?21:40
kergothi just told you21:41
kergothyes21:41
kergothwithin a recipe, anyway21:41
kergothcross-recipe dependencies are defined with DEPENDS/RDEPENDS_<pkg> and various variable flags21:41
yatesi see21:41
kergothbut yes, before == the other recipe runs after this task, aka depends on this task, and after is vice versa21:41
*** Crofton <Crofton!~Crofton@64.124.121.174> has joined #yocto21:46
*** aragua__ <aragua__!~aragua@232-28-190-109.dsl.ovh.fr> has quit IRC21:46
*** aragua__ <aragua__!~aragua@232-28-190-109.dsl.ovh.fr> has joined #yocto21:46
*** sgw <sgw!~sgw@134.134.139.83> has joined #yocto21:52
*** diego__ <diego__!~diego@37.177.6.237> has joined #yocto21:52
*** diego_r <diego_r!~diego@37.177.32.104> has quit IRC21:53
justintttyates: you could look at https://github.com/Freescale/meta-fsl-arm/blob/master/classes/image_types_fsl.bbclass. _generate_boot_image()21:55
*** Crofton <Crofton!~Crofton@64.124.121.174> has quit IRC21:55
yatesthanks justinttt21:56
yatesagain, what does the syntax "python () {...}" accomplish in .bbclass files?21:57
*** diego__ <diego__!~diego@37.177.6.237> has quit IRC21:58
*** AbleBacon <AbleBacon!~AbleBacon@unaffiliated/ablebacon> has quit IRC21:58
kergothsee the bitbake user manual, it covers the file format21:59
yatessee Anonymous Python Functions22:01
*** Crofton <Crofton!~Crofton@64.124.121.174> has joined #yocto22:04
justintttyates: https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#bitbake-style-python-functions22:05
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC22:06
justintttyates: here is the source of some of the bitbake utils functions to look at. https://github.com/openembedded/bitbake/blob/master/lib/bb/utils.py22:08
*** sgw <sgw!~sgw@134.134.139.83> has quit IRC22:13
*** chandana73 <chandana73!~ckalluri@149.199.62.254> has quit IRC22:13
*** Crofton <Crofton!~Crofton@64.124.121.174> has quit IRC22:15
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has quit IRC22:19
*** stephano <stephano!~stephano@134.134.139.76> has joined #yocto22:20
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto22:23
RParmpit: We can't take that rm_work patch for sumo, it breaks things. There are fixes from me in master to rm_work but its invasive22:29
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has joined #yocto22:30
*** sgw <sgw!~sgw@134.134.139.76> has joined #yocto22:31
armpitRP, ok22:34
*** nathani_ <nathani_!~nathani@mail.validmanufacturing.com> has quit IRC22:37
*** nathani_ <nathani_!~nathani@mail.validmanufacturing.com> has joined #yocto22:37
RParmpit: I did merge the rest, thanks!22:38
armpitnp. glad I can help22:41
*** dc13ff <dc13ff!uid190567@gateway/web/irccloud.com/x-ikcxuycopkysjjps> has joined #yocto22:41
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-vapbltzuqxkoyphj> has joined #yocto22:42
*** aragua__ <aragua__!~aragua@232-28-190-109.dsl.ovh.fr> has quit IRC22:50
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC22:58
*** linuxjacques <linuxjacques!~jacques@nslu2-linux/jacques> has quit IRC23:01
*** bluelightning <bluelightning!~paul@109.123.118.46> has joined #yocto23:04
*** bluelightning <bluelightning!~paul@109.123.118.46> has quit IRC23:04
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto23:04
RPrsalveti: I think a patch I just posted should fix your hardlink issue in package.bbclass23:05
*** jacques <jacques!~jacques@nslu2-linux/jacques> has joined #yocto23:05
*** jacques is now known as linuxjacques23:05
*** sjolley <sjolley!sjolley@nat/intel/x-osjhmqfxdmnxjsxm> has quit IRC23:17
*** sjolley <sjolley!~sjolley@134.134.139.76> has joined #yocto23:22
*** sjolley <sjolley!~sjolley@134.134.139.76> has quit IRC23:36
*** sjolley <sjolley!~sjolley@134.134.139.76> has joined #yocto23:37
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has quit IRC23:43
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has joined #yocto23:43
*** majuk <majuk!~majuk@174-24-35-31.clsp.qwest.net> has quit IRC23:48

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!