*** ndec_ <ndec_!sid219321@linaro/ndec> has joined #yocto | 00:54 | |
*** ukembedded_ <ukembedded_!sid304355@gateway/web/irccloud.com/x-ukyixelszwzgsxui> has joined #yocto | 00:55 | |
*** smurray_ <smurray_!sid98062@gateway/web/irccloud.com/x-ucnogadikuueipfk> has joined #yocto | 00:55 | |
*** ric96_ <ric96_!sid234506@gateway/web/irccloud.com/x-dpdeufydqmkvripw> has joined #yocto | 00:55 | |
*** u1106_ <u1106_!~quassel@163.172.172.46> has joined #yocto | 00:56 | |
*** ndec <ndec!sid219321@linaro/ndec> has quit IRC | 01:02 | |
*** Crofton_ <Crofton_!~Crofton@2601:5c0:c100:b84:b51c:6067:adc2:a976> has quit IRC | 01:02 | |
*** bjobjo <bjobjo!~bjobjo@2a01:79d:3e81:5208::9e6> has quit IRC | 01:02 | |
*** ric96 <ric96!sid234506@gateway/web/irccloud.com/x-pjndrdjsykimerda> has quit IRC | 01:02 | |
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-mnjghloljpyscdlv> has quit IRC | 01:02 | |
*** smurray <smurray!sid98062@gateway/web/irccloud.com/x-hpuvdrhwixihaydf> has quit IRC | 01:02 | |
*** csanchezdll <csanchezdll!~user@galileo.kdpof.com> has quit IRC | 01:02 | |
*** u1106 <u1106!~quassel@163.172.172.46> has quit IRC | 01:02 | |
*** pebenito <pebenito!~pebenito@unaffiliated/pebenito> has quit IRC | 01:02 | |
*** ndec_ is now known as ndec | 01:02 | |
*** ukembedded_ is now known as ukembedded | 01:02 | |
*** smurray_ is now known as smurray | 01:02 | |
*** ric96_ is now known as ric96 | 01:02 | |
*** gattuso <gattuso!~gattuso@pompel.me> has quit IRC | 01:05 | |
*** gattuso <gattuso!~gattuso@pompel.me> has joined #yocto | 01:08 | |
*** pebenito <pebenito!~pebenito@unaffiliated/pebenito> has joined #yocto | 01:08 | |
*** Crofton_ <Crofton_!~Crofton@2601:5c0:c100:b84:38ba:5e86:9682:958f> has joined #yocto | 01:09 | |
erakis | Hi, Is someone can help me with the error `QA Issue: myapp rdepends on mylib-dev [dev-deps]` ? In the myapp.bb I already have `DEPENDS="mylib-dev"` | 01:38 |
---|---|---|
tz | get rid of the "-dev" | 01:43 |
erakis | @tz Sorry, typo. I currently have `DEPENDS="mylib"``. | 01:43 |
tz | that... should be enough | 01:44 |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 01:45 | |
erakis | @tz, can I show you a paste bin of the two recipes ? Maybe I made a mistake... | 01:46 |
tz | can't hurt! | 01:46 |
tz | I don't proclaim to be any sort of expert, though | 01:46 |
tz | just a friendly dev who's avoiding their normal dayjob ;) | 01:47 |
tz | procrastination is a wonderful thing | 01:47 |
erakis | The library: https://pastebin.com/7RbBh9Jq, the application https://pastebin.com/L0e5aWpL | 01:54 |
erakis | @tz sorry for the delay, I'm working remotely from home and I'm not really well installed. | 01:55 |
tz | all good | 01:55 |
tz | the summary on the gdd lib doesn't have a leading double quote " -- copypaste issue? | 01:56 |
erakis | Yeah, copy paste issue. Sorry. Probably when I erase the HOMEPAGE and other link to my company. Sorry. | 01:59 |
tz | yep, figured as much | 01:59 |
tz | honestly not sure, it looks fine -- perhaps check the logs in tmp/work/(lib|app)/<ver>/temp | 02:04 |
tz | do_install's I'd guess | 02:04 |
tz | I tend to use CMake for my projects and it just seems to work out exactly what it needs and how to deploy it, relatively painless in that respect | 02:06 |
erakis | Could it be related to the Makefile of the gdd ? Because I have basic knowledge with Makefile. I'm not 100% sur of the way I produce the output of the library and the install rules. | 02:06 |
erakis | Here is the Makefile of the library https://pastebin.com/FSE3jzJc | 02:07 |
tz | perhaps, I don't think I've worked with a makefile in earnest for several years if I'm completely honest | 02:07 |
erakis | >> perhaps check the logs. The log contains onlly this error and no other clue. | 02:08 |
tz | wonder if you run bitbake with verbose (-v) flag it gets any extra output | 02:09 |
tz | for the logs | 02:09 |
erakis | Sure, I try now | 02:10 |
erakis | Here is something that look strange https://pastebin.com/2GfMxj8t | 02:16 |
erakis | Line 342 and 343. Could it be that objdump detect that netclient application depends on gdd library automatically ? | 02:17 |
tz | seems like it, what's in the log for do_package and do_package_qa? | 02:20 |
erakis | log.do_package_qa --> https://pastebin.com/YNg5G6eM | 02:22 |
erakis | log.do_package -> https://pastebin.com/zmMEBRmB | 02:24 |
tz | sounds a bit like it, try a: bitbake -c devshell intelia-netclient, then run the failing objdump command manually, see if it spits out anything abnormal | 02:24 |
tz | shame it doesn't include the output | 02:24 |
tz | of the objdump | 02:25 |
erakis | objdump -> https://pastebin.com/q14pz5YP | 02:27 |
tz | was that the .debug one? what about the other invocation? | 02:29 |
erakis | What do you means by .debug ? I don't understand. | 02:29 |
tz | ah, there were two objdump invocations in the logfile | 02:30 |
tz | was curious what the output of the other was | 02:30 |
erakis | Oh sorry I did not notice that. | 02:30 |
tz | lines 8 and 14 | 02:30 |
erakis | For the debug -> https://pastebin.com/nY7wRQDX | 02:34 |
erakis | Could this be because my makefile has to produce 2 libraries, including a debug and a release? And that bitbake expects the release to be in the FILES _ $ {PN} and the other in FILES _ $ {PN} -dev? | 02:35 |
tz | honestly not sure | 02:36 |
tz | nothing I can see really stands out I'm afraid | 02:40 |
tz | looks... fine | 02:40 |
tz | sorry mate :( | 02:41 |
*** armpit <armpit!~armpit@2601:202:4180:c33:cc23:8bc8:1820:5475> has quit IRC | 02:43 | |
erakis | Thank you so much @tz. I will continue tomorrow and If I did not found the problem I will ask again here when there will be more active members. | 02:43 |
tz | sounds like a plan | 02:44 |
tz | good luck :D | 02:44 |
*** armpit <armpit!~armpit@2601:202:4180:c33:1950:e945:4c78:35f2> has joined #yocto | 02:55 | |
*** justanotherboy <justanotherboy!~justanoth@136.49.196.186> has joined #yocto | 03:16 | |
*** fatalhalt <fatalhalt!~fatalhalt@c-67-163-60-93.hsd1.il.comcast.net> has quit IRC | 03:42 | |
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has joined #yocto | 04:02 | |
*** justanotherboy <justanotherboy!~justanoth@136.49.196.186> has quit IRC | 04:08 | |
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has joined #yocto | 04:40 | |
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has quit IRC | 04:43 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-wgzzhwaahmdhzdwb> has quit IRC | 04:58 | |
*** tgraydon <tgraydon!~textual@134.134.139.76> has quit IRC | 05:09 | |
*** rcw <rcw!~rcw@104.247.246.111> has quit IRC | 05:17 | |
*** kaspter <kaspter!~Instantbi@115.216.25.105> has quit IRC | 05:25 | |
*** agust <agust!~agust@217.95.17.244> has joined #yocto | 05:37 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 06:01 | |
*** frsc <frsc!~frsc@200116b8246fbb00c3341ded93d4fdf1.dip.versatel-1u1.de> has joined #yocto | 06:06 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto | 06:14 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto | 06:45 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-unnyzdwugcmudwbz> has joined #yocto | 06:54 | |
*** cvasilak <cvasilak!~cvasilak@2a02:587:810c:1400:58c1:c646:6c80:f598> has joined #yocto | 06:56 | |
*** yann <yann!~yann@lfbn-1-3372-5.w90-127.abo.wanadoo.fr> has quit IRC | 07:01 | |
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto | 07:04 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 07:12 | |
*** fl0v0 <fl0v0!~fvo@i5E8690EF.versanet.de> has joined #yocto | 07:12 | |
*** yacar_ <yacar_!~yacar@80.215.81.178> has joined #yocto | 07:30 | |
*** rcw <rcw!~rcw@104.247.246.111> has joined #yocto | 08:42 | |
*** dqx <dqx!~dqx@unaffiliated/dqx> has quit IRC | 09:02 | |
*** dqx <dqx!~dqx@unaffiliated/dqx> has joined #yocto | 09:02 | |
*** rcw <rcw!~rcw@104.247.246.111> has quit IRC | 09:11 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 09:16 | |
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has quit IRC | 09:17 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 09:22 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 09:25 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 09:27 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 09:30 | |
*** yann <yann!~yann@85.118.38.73> has joined #yocto | 09:31 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC | 09:37 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 09:37 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 09:39 | |
*** yacar_ <yacar_!~yacar@80.215.81.178> has quit IRC | 09:46 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC | 10:03 | |
*** bjobjo <bjobjo!~bjobjo@2a01:79d:3e81:5208::9e6> has joined #yocto | 10:12 | |
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:c1ff:b34e:888b:79ea> has joined #yocto | 10:25 | |
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:c1ff:b34e:888b:79ea> has quit IRC | 10:30 | |
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:10cf:c0b9:e688:dca9> has joined #yocto | 10:31 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 10:35 | |
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:10cf:c0b9:e688:dca9> has quit IRC | 10:36 | |
*** learningc <learningc!~learningc@43.240.22.166> has joined #yocto | 10:38 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 10:39 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 10:40 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 10:44 | |
nayfe | Hi all, would it be possible to apply this patch https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg63307.html on meta-java to allow warrior builds? | 10:49 |
*** yacar_ <yacar_!~yacar@80.215.81.178> has joined #yocto | 10:58 | |
yocti | New news from stackoverflow: Pysqlcipher3 cannot find sqllite3 shared library <https://stackoverflow.com/questions/55744917/pysqlcipher3-cannot-find-sqllite3-shared-library> | 11:21 |
*** berton <berton!~berton@181.220.81.97> has joined #yocto | 11:42 | |
*** ronybeck <ronybeck!~ronybeck@46.140.63.234> has joined #yocto | 11:48 | |
ronybeck | how do I add files to a recipe using devtool? | 11:49 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 12:05 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 12:06 | |
*** erakis_ <erakis_!~erakis@204.80.6.198> has joined #yocto | 12:29 | |
*** berton_ <berton_!~berton@181.220.81.97> has joined #yocto | 12:32 | |
*** erakis <erakis!cc5006c6@gateway/web/freenode/ip.204.80.6.198> has quit IRC | 12:32 | |
*** berton <berton!~berton@181.220.81.97> has quit IRC | 12:35 | |
*** erakis_ is now known as erakis | 12:36 | |
*** MarcWe <MarcWe!hmwmatrixo@gateway/shell/matrix.org/x-ugrabvkjjczzsgyq> has joined #yocto | 12:37 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 12:39 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-oyhbsbcfuylexsls> has joined #yocto | 12:39 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 12:43 | |
erakis | I created a library and I would like to know what should be in the production package FILES-${PN} versus the FILES-${PN}-dev ? From what I understand, in FILES-${PN} I have to put the (at least) the library produced by the rule "install" of the Makefile, so "{libdir}/*". However, the "install" rule of the Makefile also produces symlinks and a call to "ldconfig -n {libdir}". Is it OK ? And in FILES-${PN}-dev I have to put that the headers "{includedir}/*" | 12:44 |
erakis | right ? | 12:44 |
*** marka <marka!~marka@184.175.21.100> has quit IRC | 12:46 | |
nayfe | erakis: FILES-${PN} and FILES-${PN}-dev have default values with "standard" paths, so you don't need to modify it unless you install something in an uncommon place | 12:47 |
erakis | nayfe: For standard file put in the (rootfs) do_install (includedir, bindir, confdir, etc...), they will be copied automatically in the package ? | 12:50 |
nayfe | erakis: you can see here default values for FILES_${PN} .. etc https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#including-static-library-files | 12:53 |
nayfe | erakis and yes :) | 12:53 |
*** marka <marka!~marka@184.175.21.100> has joined #yocto | 12:54 | |
nayfe | ronybeck> I'm not sure you can add a file to SRC_URI with devtool (I use it only to create recipes so I may be wrong) | 12:55 |
erakis | nayfe: Really interesting :) Thank you so much, I have a meeting and I will come back, I have a question on Makefile too. | 13:00 |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 13:07 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 13:10 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 13:13 | |
erakis | nayfe: I come from the Windows world and I have basic knowledge with Makefile and GNU recommendation. Does the "install" rule of the library's Makefile should create a symlink "mylib.so" -> "mylib.so.1.1.0"? And also calling "ldconfig -n $ {bindir}" at the end ? | 13:14 |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 13:16 | |
*** justanotherboy <justanotherboy!~justanoth@THOUSAND-EY.bear1.Houston1.Level3.net> has joined #yocto | 13:17 | |
nayfe | erakis: I'm not a Makefile expert, I'm using cmake those days :) | 13:18 |
*** frsc <frsc!~frsc@200116b8246fbb00c3341ded93d4fdf1.dip.versatel-1u1.de> has quit IRC | 13:32 | |
*** frsc <frsc!~frsc@200116b824997a00e310cdb4804006ce.dip.versatel-1u1.de> has joined #yocto | 13:45 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 13:49 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 14:12 | |
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has left #yocto | 14:17 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 14:30 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 14:30 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 14:45 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 14:45 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC | 14:49 | |
*** adelcast <adelcast!~adelcast@130.164.62.198> has joined #yocto | 14:49 | |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 15:09 | |
*** cvasilak <cvasilak!~cvasilak@2a02:587:810c:1400:58c1:c646:6c80:f598> has quit IRC | 15:12 | |
*** JPEW_ <JPEW_!cc4da372@gateway/web/freenode/ip.204.77.163.114> has quit IRC | 15:22 | |
erakis | Is there a way to get a BUILD NUMBER append to the version of each recipes ? I mean, this build number must be incremented at each build, no matter if the recipe or source code has changed. I read about the PR Service but it does not seem to be what I need. | 15:23 |
*** learningc <learningc!~learningc@43.240.22.166> has quit IRC | 15:24 | |
JPEW | RP: If you can point me toward the link for those ptest JSON results, I'll open the bugs | 15:36 |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 15:45 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 15:47 | |
*** yacar_ <yacar_!~yacar@80.215.81.178> has quit IRC | 15:49 | |
psrcode | RP: JPEW: I'll also take a look at the result for lttng-tools | 15:50 |
RP | psrcode: I saw your question about logs, I'll send some data about that | 15:51 |
RP | (thanks) | 15:51 |
psrcode | RP: +1 | 15:51 |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 15:55 | |
RP | psrcode: mail reply off list with the logs | 15:58 |
RP | JPEW: mail reply on list with the links and how to get the logs. Adding the logs from the first run to the bugs would be ideal | 15:59 |
JPEW | Cool, I'll work on logging them to bugs | 16:00 |
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC | 16:00 | |
JPEW | For resulttool pulling from a URL, were you thinking some sort of "this path is a URL so download it" automatic detection or something like $ resulttool report -- url http://foo/bar | 16:01 |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 16:02 | |
dreyna | Joshua Watt, could you (or anyone) ping me your email address? Thanks | 16:05 |
dreyna | oh, found it | 16:06 |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 16:06 | |
RP | JPEW: yes, if it starts with http it'd be handled as a remote url | 16:11 |
nayfe | erakis> you can add inherit image-buildinfo but it creates more than just a number | 16:11 |
*** armpit <armpit!~armpit@2601:202:4180:c33:1950:e945:4c78:35f2> has quit IRC | 16:12 | |
nayfe | erakis> otherwise if you use jenkins or equivalent, you can add job number in local.conf and then use ROOTFS_POSTPROCESS_COMMAND hook to create a file with that variable | 16:17 |
nayfe | there is also /etc/version file that matches a specific build | 16:17 |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 16:17 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 16:21 | |
nayfe | ouch I'm offtopic, I don't see any reason to change version of a recipe that does not change? | 16:21 |
*** yann <yann!~yann@85.118.38.73> has quit IRC | 16:22 | |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto | 16:26 | |
erakis | nayfe: I'm using Gitlab, they have a JOB_ID through their runner. But for now we did not setup a gitlab ro run our Yocto build machine. Maybe later... I was not aware of image-buildinfo, I'm going to read about it. Thanks | 16:34 |
*** noway96 <noway96!~noway96@50-244-213-195-static.hfc.comcastbusiness.net> has joined #yocto | 16:37 | |
noway96 | I have a partition that's volatile made by yocto. How do I make it non-volatile? | 16:37 |
*** scottrif <scottrif!~scottrif@47.39.60.15> has joined #yocto | 16:37 | |
nayfe | noway96> do you use systemd? | 16:42 |
noway96 | yes | 16:43 |
nayfe | what is your volatile partition? | 16:43 |
noway96 | it's /var/log | 16:44 |
noway96 | I want to make that persist on reboots | 16:44 |
nayfe | then you should look at https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-VOLATILE_LOG_DIR | 16:44 |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 16:44 | |
noway96 | hmm doesn't jump to the section with # | 16:45 |
noway96 | but thank you! | 16:46 |
noway96 | how do I increase the size of the partition? | 16:46 |
nayfe | noway96: you have to put VOLATILE_LOG_DIR = "no" if you want /var/log to be persistant | 16:54 |
nayfe | in local.conf or distro conf | 16:54 |
nayfe | For rootfs size, you have to set IMAGE_ROOTFS_SIZE but it will not be the exact size, so you have to add IMAGE_ROOTFS_MAXSIZE, IMAGE_ROOTFS_EXTRA_SPACE = "0" , IMAGE_OVERHEAD_FACTOR = "1.0" variables | 16:56 |
nayfe | "Section 36.19. How do I create images with more free space" on manual | 16:58 |
*** frsc <frsc!~frsc@200116b824997a00e310cdb4804006ce.dip.versatel-1u1.de> has quit IRC | 17:01 | |
noway96 | so what is local.conf for exactly? | 17:01 |
kergoth | local configuration. | 17:03 |
kergoth | local to the build, that is | 17:03 |
kergoth | hence the name | 17:03 |
noway96 | vs what? | 17:05 |
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC | 17:05 | |
noway96 | so yocto has a generic .conf file and my local.conf has higher precedence? | 17:06 |
*** lfa <lfa!~lfa@217.19.35.51> has quit IRC | 17:06 | |
nayfe | noway96> It is useful to temporary modify Yocto environment, then you can integrate those changes into custom machine/distribution configuration | 17:07 |
kroon | noway96, see openembedded-core/meta/conf/bitbake.conf, thats where all the big includes are being done | 17:08 |
*** marka <marka!~marka@184.175.21.100> has quit IRC | 17:09 | |
*** marka <marka!~marka@184.175.21.100> has joined #yocto | 17:09 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-oyhbsbcfuylexsls> has quit IRC | 17:09 | |
*** thaytan <thaytan!~thaytan@121-200-23-18.79c817.syd.nbn.aussiebb.net> has quit IRC | 17:22 | |
*** thaytan <thaytan!~thaytan@121.200.23.18> has joined #yocto | 17:23 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-unnyzdwugcmudwbz> has quit IRC | 17:32 | |
psrcode | RP: thanks for the link, still 781a947a5973553bb529c4b189a6ea7bca596749 does not seems to exist in poky/master-next, am I looking at the right git tree? | 17:38 |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has quit IRC | 17:40 | |
psrcode | RP: i'll try with poky/master-next for now | 17:42 |
*** otavio_ <otavio_!~otavio@debian/developer/otavio> has joined #yocto | 17:44 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 17:51 | |
yocti | New news from stackoverflow: Yocto CI Build number ? PR Service do not increment ${PR} <https://stackoverflow.com/questions/55542738/yocto-ci-build-number-pr-service-do-not-increment-pr> | 17:52 |
erakis | nayfe: About the "image-buildinfo", from what I've understand so far, it give me the distro version, layers version, etc... but not a global build number that increment at each build. Did I miss something ? | 18:06 |
erakis | nayfe: What I need is a sequential build number (CI) that I can inject in a version.h from the do_compile_prepend or do_configure of a recipe. | 18:07 |
keith | anyone have instructions to use qemu to load up an arm-based raspberrypi yocto image? | 18:12 |
nayfe | erakis: so you can create custom variable, in local.conf or directly in bitbake command, like MY_VERSION, then in your recipe you can add MY_VERSION as a CFLAGS, then in version.h you use that variable as a #define | 18:24 |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 18:25 | |
erakis | nayfe: I could create a custom variable, in local.conf but how will it be auto incremented at each build ? This is what I don't understand :( | 18:26 |
nayfe | Basically in a ci loop, you generate your local.conf on the fly | 18:26 |
nayfe | But you can also call bitbake with wrapper script that manage build id | 18:28 |
erakis | Yeah but for now I don't have a CI. In a couple of week I will setup a gitlab runner.... | 18:28 |
erakis | nayfe: "bitbake with wrapper script that manage build id" -> Interesting, I've tough doing this last week but I don't know where put/handle the script. | 18:30 |
nayfe | Anywhere on build host | 18:31 |
nayfe | Brb in 10min | 18:31 |
noway96 | I can clone a repository but when I try to do so using yocto it complains: Permission denied (publickey). | 18:34 |
erakis | nayfe: Suppose I create a script that hold a file with the build number in it. Once I trigger the build of an image I could open this file and increment the build number by 1. This is the easy part. What I don't understand is where do I call my script ? Sorry I'm a bit novice with Yocto. | 18:36 |
JPEW | RP: Done: https://bugzilla.yoctoproject.org/buglist.cgi?query_format=specific&order=relevance%20desc&bug_status=__open__&content=ptest%20results%20are%20inconsistent%20per%20image&list_id=611830 | 18:45 |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto | 18:51 | |
nayfe | noway96> can you put your SRC_URI of git repo? | 18:52 |
nayfe | erakis> in freescale yocto, they use google repo to manage multiple layers and a script to initialize build folder (https://github.com/Freescale/fsl-community-bsp-base/blob/master/setup-environment) | 18:53 |
nayfe | that wraps oe-init-build-env | 18:54 |
nayfe | so what I have is a script (embedded in jenkinsfile) that calls ". setup-environment build-xxx && bitbake image-xxx" | 18:56 |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 18:58 | |
nayfe | on build host, you create a script anywhere or in your yocto layer, that will do something like "source oe-init-build-env build-xxx && SW_VERS=`compute_version` bitbake myimage" and in recipe you add SW_VERS to CFLAGS depending on what makefile/cmake/whatever you use | 19:00 |
nayfe | erakis | 19:00 |
*** yann <yann!~yann@lfbn-1-3372-5.w90-127.abo.wanadoo.fr> has joined #yocto | 19:05 | |
erakis | nayfe: So you are creating an environment variable before calling bitbake to build the image. From any recipe, you read the environment variable (SW_VERS) and you inject it through CFLAGS so the compiler can replace it in the `version.h` or something similar. | 19:07 |
nayfe | exactly :) | 19:08 |
nate02 | kergoth: was just reading some archived irc logs. Seems you were working on a method to resize the partition on first boot. Are you able to share what you settled on? | 19:11 |
nayfe | nate02: like expanding it to maximum size? :) | 19:12 |
nate02 | yes | 19:12 |
nayfe | nate02: I know raspbian do it with resize2fs_once | 19:14 |
nayfe | https://github.com/RPi-Distro/pi-gen/blob/master/stage2/01-sys-tweaks/files/resize2fs_once | 19:15 |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 19:19 | |
nayfe | nate02: mender uses https://github.com/mendersoftware/mender-convert/tree/master/files for instance :) | 19:20 |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 19:22 | |
kergoth | nate02: 96boards-tools has a systemd service, that's what we'r eusing at mentor. see resize-helper at https://github.com/96boards/96boards-tools | 19:23 |
kergoth | so seems you have a few different options | 19:23 |
kergoth | https://github.com/96boards/meta-96boards/blob/master/recipes-bsp/96boards-tools/96boards-tools_0.12.bb | 19:23 |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 19:26 | |
nate02 | is this the method you ended up using? | 19:26 |
nate02 | The log was 2016, so understandable if you don't recall, haha | 19:27 |
kergoth | i just said that. "That's what we're using at mentor". - https://github.com/MentorEmbedded/meta-mentor/tree/master/meta-mel-support/recipes-bsp/96boards-tools | 19:27 |
kergoth | though apparently i need to update the recipe. we didn't wnat to pull in all of meta-96boards | 19:27 |
nate02 | sorry, missed the targeted msg, my bad | 19:27 |
nate02 | thanks! | 19:28 |
nate02 | nayfe: Also thanks! | 19:31 |
nayfe | np :) | 19:31 |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 19:33 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 19:38 | |
nayfe | otavio_: Hi, do you think it is possible to apply this patch https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg63307.html on meta-java to allow warrior builds? warrior is not ready yet so it's only only if you have some time, and if you're still meta-java maintainer? :) | 19:41 |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 19:41 | |
*** otavio_ <otavio_!~otavio@debian/developer/otavio> has quit IRC | 19:51 | |
*** berton_ <berton_!~berton@181.220.81.97> has quit IRC | 19:52 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 19:58 | |
*** lazyape_home <lazyape_home!~lazyape@athedsl-211560.home.otenet.gr> has quit IRC | 19:58 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 20:02 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 20:22 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 20:26 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 20:33 | |
justanotherboy | JPEW, RP: Just commented on util-linux ptest one. I think is not a bug. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13301 | 20:33 |
yocti | Bug 13301: normal, Undecided, ---, ross.burton, NEW , util-linux ptest results are inconsistent per image | 20:33 |
JPEW | justanotherboy: OK, that's good to know. It's good to have that documented somewhere at least | 20:35 |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 20:37 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 20:38 | |
justanotherboy | JPEW: Where is a good place to document this behavior? | 20:38 |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 20:39 | |
JPEW | justanotherboy: I'm not sure. I was referring to having it documented in the bugzilla.... at least we know its sort of expected behaviour. Whether we want to make it consistent across all the ptest images I couldn't say | 20:40 |
JPEW | justanotherboy: Hmm, does that mean if we fix the test getting skipped the numbers will probably match up? | 20:42 |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 20:44 | |
justanotherboy | JPEW: They should match up if the same numbers of test are run | 20:44 |
JPEW | justanotherboy: OK, good. I think we are trying to get the two images to run the same tests. I'm commenting on the bugzilla now | 20:45 |
RP | justanotherboy: thanks, I've replied. I think that explains the skipped but the passed counts are still a bug | 20:46 |
RP | JPEW: thanks for filing those that is much appreciated! | 20:47 |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC | 20:48 | |
JPEW | np. I was able to work on some of the resulttool improvements on the way. | 20:49 |
justanotherboy | RP: I can work on adding the runtime dependencies to the util-linux-ptest package, my only concern is image size because of util-linux is installed even on core-image-minimal. I will check the difference on image size and report it to the bug. | 20:58 |
RP | justanotherboy: its the dependencies util-linux-ptest has, not any other part of util-linux | 21:19 |
RP | justanotherboy: util-linux-ptest is not part of core-image-minimal | 21:19 |
*** fatalhalt <fatalhalt!~fatalhalt@c-67-163-60-93.hsd1.il.comcast.net> has joined #yocto | 21:20 | |
justanotherboy | RP: Correct, just add the dependencies to RDEPENDS_${PN}-ptest | 21:22 |
RP | justanotherboy: yes | 21:22 |
justanotherboy | RP: It's just that I usually have ptest-pkgs in my IMAGE_FEATURES :) | 21:22 |
justanotherboy | RP: But yeah, it shouldn't affect other enviroments | 21:24 |
RP | justanotherboy: then your images won't be minimal :) | 21:24 |
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has quit IRC | 21:30 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 21:32 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 21:47 | |
*** agust <agust!~agust@217.95.17.244> has quit IRC | 21:57 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 22:07 | |
*** justanotherboy <justanotherboy!~justanoth@THOUSAND-EY.bear1.Houston1.Level3.net> has quit IRC | 22:09 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:11 | |
Striking7 | Imgur: The magic of the Internet <https://imgur.com/a/BrGWC9K> | 22:21 |
Striking7 | oops wrong one | 22:21 |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 22:23 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:27 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 22:38 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 22:40 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:42 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto | 22:43 | |
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:43 | |
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:46 | |
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC | 22:56 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 22:59 | |
*** scottrif <scottrif!~scottrif@47.39.60.15> has left #yocto | 23:53 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!