Thursday, 2019-04-18

*** ndec_ <ndec_!sid219321@linaro/ndec> has joined #yocto00:54
*** ukembedded_ <ukembedded_!sid304355@gateway/web/irccloud.com/x-ukyixelszwzgsxui> has joined #yocto00:55
*** smurray_ <smurray_!sid98062@gateway/web/irccloud.com/x-ucnogadikuueipfk> has joined #yocto00:55
*** ric96_ <ric96_!sid234506@gateway/web/irccloud.com/x-dpdeufydqmkvripw> has joined #yocto00:55
*** u1106_ <u1106_!~quassel@163.172.172.46> has joined #yocto00:56
*** ndec <ndec!sid219321@linaro/ndec> has quit IRC01:02
*** Crofton_ <Crofton_!~Crofton@2601:5c0:c100:b84:b51c:6067:adc2:a976> has quit IRC01:02
*** bjobjo <bjobjo!~bjobjo@2a01:79d:3e81:5208::9e6> has quit IRC01:02
*** ric96 <ric96!sid234506@gateway/web/irccloud.com/x-pjndrdjsykimerda> has quit IRC01:02
*** ukembedded <ukembedded!sid304355@gateway/web/irccloud.com/x-mnjghloljpyscdlv> has quit IRC01:02
*** smurray <smurray!sid98062@gateway/web/irccloud.com/x-hpuvdrhwixihaydf> has quit IRC01:02
*** csanchezdll <csanchezdll!~user@galileo.kdpof.com> has quit IRC01:02
*** u1106 <u1106!~quassel@163.172.172.46> has quit IRC01:02
*** pebenito <pebenito!~pebenito@unaffiliated/pebenito> has quit IRC01:02
*** ndec_ is now known as ndec01:02
*** ukembedded_ is now known as ukembedded01:02
*** smurray_ is now known as smurray01:02
*** ric96_ is now known as ric9601:02
*** gattuso <gattuso!~gattuso@pompel.me> has quit IRC01:05
*** gattuso <gattuso!~gattuso@pompel.me> has joined #yocto01:08
*** pebenito <pebenito!~pebenito@unaffiliated/pebenito> has joined #yocto01:08
*** Crofton_ <Crofton_!~Crofton@2601:5c0:c100:b84:38ba:5e86:9682:958f> has joined #yocto01:09
erakisHi, 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
tzget rid of the "-dev"01:43
erakis@tz Sorry, typo. I currently have `DEPENDS="mylib"``.01:43
tzthat... should be enough01:44
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC01:45
erakis@tz, can I show you a paste bin of the two recipes ? Maybe I made a mistake...01:46
tzcan't hurt!01:46
tzI don't proclaim to be any sort of expert, though01:46
tzjust a friendly dev who's avoiding their normal dayjob ;)01:47
tzprocrastination is a wonderful thing01:47
erakisThe library: https://pastebin.com/7RbBh9Jq, the application https://pastebin.com/L0e5aWpL01:54
erakis@tz sorry for the delay, I'm working remotely from home and I'm not really well installed.01:55
tzall good01:55
tzthe summary on the gdd lib doesn't have a leading double quote " -- copypaste issue?01:56
erakisYeah, copy paste issue. Sorry. Probably when I erase the HOMEPAGE and other link to my company. Sorry.01:59
tzyep, figured as much01:59
tzhonestly not sure, it looks fine -- perhaps check the logs in tmp/work/(lib|app)/<ver>/temp02:04
tzdo_install's I'd guess02:04
tzI 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 respect02:06
erakisCould 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
erakisHere is the Makefile of the library https://pastebin.com/FSE3jzJc02:07
tzperhaps, I don't think I've worked with a makefile in earnest for several years if I'm completely honest02:07
erakis>> perhaps check the logs.   The log contains onlly this error and no other clue.02:08
tzwonder if you run bitbake with verbose (-v) flag it gets any extra output02:09
tzfor the logs02:09
erakisSure, I try now02:10
erakisHere is something that look strange https://pastebin.com/2GfMxj8t02:16
erakisLine 342 and 343. Could it be that objdump detect that netclient application depends on gdd library automatically ?02:17
tzseems like it, what's in the log for do_package and do_package_qa?02:20
erakislog.do_package_qa --> https://pastebin.com/YNg5G6eM02:22
erakislog.do_package -> https://pastebin.com/zmMEBRmB02:24
tzsounds a bit like it, try a: bitbake -c devshell intelia-netclient, then run the failing objdump command manually, see if it spits out anything abnormal02:24
tzshame it doesn't include the output02:24
tzof the objdump02:25
erakisobjdump -> https://pastebin.com/q14pz5YP02:27
tzwas that the .debug one? what about the other invocation?02:29
erakisWhat do you means by .debug ? I don't understand.02:29
tzah, there were two objdump invocations in the logfile02:30
tzwas curious what the output of the other was02:30
erakisOh sorry I did not notice that.02:30
tzlines 8 and 1402:30
erakisFor the debug -> https://pastebin.com/nY7wRQDX02:34
erakisCould 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
tzhonestly not sure02:36
tznothing I can see really stands out I'm afraid02:40
tzlooks... fine02:40
tzsorry mate :(02:41
*** armpit <armpit!~armpit@2601:202:4180:c33:cc23:8bc8:1820:5475> has quit IRC02:43
erakisThank 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
tzsounds like a plan02:44
tzgood luck :D02:44
*** armpit <armpit!~armpit@2601:202:4180:c33:1950:e945:4c78:35f2> has joined #yocto02:55
*** justanotherboy <justanotherboy!~justanoth@136.49.196.186> has joined #yocto03:16
*** fatalhalt <fatalhalt!~fatalhalt@c-67-163-60-93.hsd1.il.comcast.net> has quit IRC03:42
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has joined #yocto04:02
*** justanotherboy <justanotherboy!~justanoth@136.49.196.186> has quit IRC04:08
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has joined #yocto04:40
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has quit IRC04:43
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-wgzzhwaahmdhzdwb> has quit IRC04:58
*** tgraydon <tgraydon!~textual@134.134.139.76> has quit IRC05:09
*** rcw <rcw!~rcw@104.247.246.111> has quit IRC05:17
*** kaspter <kaspter!~Instantbi@115.216.25.105> has quit IRC05:25
*** agust <agust!~agust@217.95.17.244> has joined #yocto05:37
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto06:01
*** frsc <frsc!~frsc@200116b8246fbb00c3341ded93d4fdf1.dip.versatel-1u1.de> has joined #yocto06:06
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto06:14
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto06:45
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-unnyzdwugcmudwbz> has joined #yocto06:54
*** cvasilak <cvasilak!~cvasilak@2a02:587:810c:1400:58c1:c646:6c80:f598> has joined #yocto06:56
*** yann <yann!~yann@lfbn-1-3372-5.w90-127.abo.wanadoo.fr> has quit IRC07:01
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto07:04
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto07:12
*** fl0v0 <fl0v0!~fvo@i5E8690EF.versanet.de> has joined #yocto07:12
*** yacar_ <yacar_!~yacar@80.215.81.178> has joined #yocto07:30
*** rcw <rcw!~rcw@104.247.246.111> has joined #yocto08:42
*** dqx <dqx!~dqx@unaffiliated/dqx> has quit IRC09:02
*** dqx <dqx!~dqx@unaffiliated/dqx> has joined #yocto09:02
*** rcw <rcw!~rcw@104.247.246.111> has quit IRC09:11
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto09:16
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has quit IRC09:17
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto09:22
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC09:25
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto09:27
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC09:30
*** yann <yann!~yann@85.118.38.73> has joined #yocto09:31
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC09:37
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto09:37
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto09:39
*** yacar_ <yacar_!~yacar@80.215.81.178> has quit IRC09:46
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC10:03
*** bjobjo <bjobjo!~bjobjo@2a01:79d:3e81:5208::9e6> has joined #yocto10:12
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:c1ff:b34e:888b:79ea> has joined #yocto10:25
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:c1ff:b34e:888b:79ea> has quit IRC10:30
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:10cf:c0b9:e688:dca9> has joined #yocto10:31
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto10:35
*** learningc <learningc!~learningc@2001:d08:d6:1aa9:10cf:c0b9:e688:dca9> has quit IRC10:36
*** learningc <learningc!~learningc@43.240.22.166> has joined #yocto10:38
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC10:39
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto10:40
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC10:44
nayfeHi 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 #yocto10:58
yoctiNew 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 #yocto11:42
*** ronybeck <ronybeck!~ronybeck@46.140.63.234> has joined #yocto11:48
ronybeckhow do I add files to a recipe using devtool?11:49
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC12:05
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto12:06
*** erakis_ <erakis_!~erakis@204.80.6.198> has joined #yocto12:29
*** berton_ <berton_!~berton@181.220.81.97> has joined #yocto12:32
*** erakis <erakis!cc5006c6@gateway/web/freenode/ip.204.80.6.198> has quit IRC12:32
*** berton <berton!~berton@181.220.81.97> has quit IRC12:35
*** erakis_ is now known as erakis12:36
*** MarcWe <MarcWe!hmwmatrixo@gateway/shell/matrix.org/x-ugrabvkjjczzsgyq> has joined #yocto12:37
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC12:39
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-oyhbsbcfuylexsls> has joined #yocto12:39
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto12:43
erakisI 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
erakisright ?12:44
*** marka <marka!~marka@184.175.21.100> has quit IRC12:46
nayfeerakis: 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 place12:47
erakisnayfe: For standard file put in the (rootfs) do_install (includedir, bindir, confdir, etc...), they will be copied automatically in the package ?12:50
nayfeerakis: you can see here default values for FILES_${PN} .. etc https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#including-static-library-files12:53
nayfeerakis and yes :)12:53
*** marka <marka!~marka@184.175.21.100> has joined #yocto12:54
nayferonybeck> 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
erakisnayfe: 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 #yocto13:07
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC13:10
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto13:13
erakisnayfe: 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 IRC13:16
*** justanotherboy <justanotherboy!~justanoth@THOUSAND-EY.bear1.Houston1.Level3.net> has joined #yocto13:17
nayfeerakis: I'm not a Makefile expert, I'm using cmake those days  :)13:18
*** frsc <frsc!~frsc@200116b8246fbb00c3341ded93d4fdf1.dip.versatel-1u1.de> has quit IRC13:32
*** frsc <frsc!~frsc@200116b824997a00e310cdb4804006ce.dip.versatel-1u1.de> has joined #yocto13:45
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto13:49
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto14:12
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has left #yocto14:17
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto14:30
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC14:30
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto14:45
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC14:45
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC14:49
*** adelcast <adelcast!~adelcast@130.164.62.198> has joined #yocto14:49
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC15:09
*** cvasilak <cvasilak!~cvasilak@2a02:587:810c:1400:58c1:c646:6c80:f598> has quit IRC15:12
*** JPEW_ <JPEW_!cc4da372@gateway/web/freenode/ip.204.77.163.114> has quit IRC15:22
erakisIs 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 IRC15:24
JPEWRP: If you can point me toward the link for those ptest JSON results, I'll open the bugs15:36
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto15:45
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC15:47
*** yacar_ <yacar_!~yacar@80.215.81.178> has quit IRC15:49
psrcodeRP: JPEW: I'll also take a look at the result for lttng-tools15:50
RPpsrcode: I saw your question about logs, I'll send some data about that15:51
RP(thanks)15:51
psrcodeRP: +115:51
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC15:55
RPpsrcode: mail reply off list with the logs15:58
RPJPEW: 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 ideal15:59
JPEWCool, I'll work on logging them to bugs16:00
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC16:00
JPEWFor 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/bar16:01
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto16:02
dreynaJoshua Watt, could you (or anyone) ping me your email address? Thanks16:05
dreynaoh, found it16:06
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC16:06
RPJPEW: yes, if it starts with http it'd be handled as a remote url16:11
nayfeerakis> you can add inherit image-buildinfo but it creates more than just a number16:11
*** armpit <armpit!~armpit@2601:202:4180:c33:1950:e945:4c78:35f2> has quit IRC16:12
nayfeerakis> 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 variable16:17
nayfethere is also /etc/version file that matches a specific build16:17
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto16:17
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC16:21
nayfeouch 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 IRC16:22
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto16:26
erakisnayfe: 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. Thanks16:34
*** noway96 <noway96!~noway96@50-244-213-195-static.hfc.comcastbusiness.net> has joined #yocto16:37
noway96I 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 #yocto16:37
nayfenoway96> do you use systemd?16:42
noway96yes16:43
nayfewhat is your volatile partition?16:43
noway96it's /var/log16:44
noway96I want to make that persist on reboots16:44
nayfethen you should look at https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-VOLATILE_LOG_DIR16:44
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto16:44
noway96hmm doesn't jump to the section with #16:45
noway96but thank you!16:46
noway96how do I increase the size of the partition?16:46
nayfenoway96: you have to put  VOLATILE_LOG_DIR = "no" if you want /var/log to be persistant16:54
nayfein local.conf or distro conf16:54
nayfeFor 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" variables16:56
nayfe"Section 36.19. How do I create images with more free space" on manual16:58
*** frsc <frsc!~frsc@200116b824997a00e310cdb4804006ce.dip.versatel-1u1.de> has quit IRC17:01
noway96so what is local.conf for exactly?17:01
kergothlocal configuration.17:03
kergothlocal to the build, that is17:03
kergothhence the name17:03
noway96vs what?17:05
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC17:05
noway96so yocto has a generic .conf file and my local.conf has higher precedence?17:06
*** lfa <lfa!~lfa@217.19.35.51> has quit IRC17:06
nayfenoway96> It is useful to temporary modify Yocto environment, then you can integrate those changes into custom machine/distribution configuration17:07
kroonnoway96, see openembedded-core/meta/conf/bitbake.conf, thats where all the big includes are being done17:08
*** marka <marka!~marka@184.175.21.100> has quit IRC17:09
*** marka <marka!~marka@184.175.21.100> has joined #yocto17:09
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-oyhbsbcfuylexsls> has quit IRC17:09
*** thaytan <thaytan!~thaytan@121-200-23-18.79c817.syd.nbn.aussiebb.net> has quit IRC17:22
*** thaytan <thaytan!~thaytan@121.200.23.18> has joined #yocto17:23
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-unnyzdwugcmudwbz> has quit IRC17:32
psrcodeRP: 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 IRC17:40
psrcodeRP: i'll try with poky/master-next for now17:42
*** otavio_ <otavio_!~otavio@debian/developer/otavio> has joined #yocto17:44
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto17:51
yoctiNew 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
erakisnayfe: 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
erakisnayfe: 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
keithanyone have instructions to use qemu to load up an arm-based raspberrypi yocto image?18:12
nayfeerakis: 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 #define18:24
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto18:25
erakisnayfe: 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
nayfeBasically in a ci loop, you generate your local.conf on the fly18:26
nayfeBut you can also call bitbake with wrapper script that manage build id18:28
erakisYeah but for now I don't have a CI. In a couple of week I will setup a gitlab runner....18:28
erakisnayfe: "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
nayfeAnywhere on build host18:31
nayfeBrb in 10min18:31
noway96I can clone a repository but when I try to do so using yocto it complains: Permission denied (publickey).18:34
erakisnayfe: 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
JPEWRP: 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=61183018:45
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has joined #yocto18:51
nayfenoway96> can you put your SRC_URI of git repo?18:52
nayfeerakis> 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
nayfethat wraps oe-init-build-env18:54
nayfeso 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 IRC18:58
nayfeon 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 use19:00
nayfeerakis19:00
*** yann <yann!~yann@lfbn-1-3372-5.w90-127.abo.wanadoo.fr> has joined #yocto19:05
erakisnayfe: 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
nayfeexactly :)19:08
nate02kergoth: 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
nayfenate02: like expanding it to maximum size? :)19:12
nate02yes19:12
nayfenate02: I know raspbian do it with resize2fs_once19:14
nayfehttps://github.com/RPi-Distro/pi-gen/blob/master/stage2/01-sys-tweaks/files/resize2fs_once19:15
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto19:19
nayfenate02: 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 IRC19:22
kergothnate02: 96boards-tools has a systemd service, that's what we'r eusing at mentor. see resize-helper at https://github.com/96boards/96boards-tools19:23
kergothso seems you have a few different options19:23
kergothhttps://github.com/96boards/meta-96boards/blob/master/recipes-bsp/96boards-tools/96boards-tools_0.12.bb19:23
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC19:26
nate02is this the method you ended up using?19:26
nate02The log was 2016, so understandable if you don't recall, haha19:27
kergothi 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-tools19:27
kergoththough apparently i need to update the recipe. we didn't wnat to pull in all of meta-96boards19:27
nate02sorry, missed the targeted msg, my bad19:27
nate02thanks!19:28
nate02 nayfe: Also thanks!19:31
nayfenp :)19:31
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC19:33
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto19:38
nayfeotavio_: 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 IRC19:41
*** otavio_ <otavio_!~otavio@debian/developer/otavio> has quit IRC19:51
*** berton_ <berton_!~berton@181.220.81.97> has quit IRC19:52
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto19:58
*** lazyape_home <lazyape_home!~lazyape@athedsl-211560.home.otenet.gr> has quit IRC19:58
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC20:02
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto20:22
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC20:26
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto20:33
justanotherboyJPEW, RP: Just commented on util-linux ptest one. I think is not a bug. https://bugzilla.yoctoproject.org/show_bug.cgi?id=1330120:33
yoctiBug 13301: normal, Undecided, ---, ross.burton, NEW , util-linux ptest results are inconsistent per image20:33
JPEWjustanotherboy: OK, that's good to know. It's good to have that documented somewhere at least20:35
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC20:37
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto20:38
justanotherboyJPEW: 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 #yocto20:39
JPEWjustanotherboy: 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 say20:40
JPEWjustanotherboy: 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 IRC20:44
justanotherboyJPEW: They should match up if the same numbers of test are run20:44
JPEWjustanotherboy: OK, good. I think we are trying to get the two images to run the same tests. I'm commenting on the bugzilla now20:45
RPjustanotherboy: thanks, I've replied. I think that explains the skipped but the passed counts are still a bug20:46
RPJPEW: thanks for filing those that is much appreciated!20:47
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC20:48
JPEWnp. I was able to work on some of the resulttool improvements on the way.20:49
justanotherboyRP: 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
RPjustanotherboy: its the dependencies util-linux-ptest has, not any other part of util-linux21:19
RPjustanotherboy: util-linux-ptest is not part of core-image-minimal21:19
*** fatalhalt <fatalhalt!~fatalhalt@c-67-163-60-93.hsd1.il.comcast.net> has joined #yocto21:20
justanotherboyRP: Correct, just add the dependencies to RDEPENDS_${PN}-ptest21:22
RPjustanotherboy: yes21:22
justanotherboyRP: It's just that I usually have ptest-pkgs in my IMAGE_FEATURES :)21:22
justanotherboyRP: But yeah, it shouldn't affect other enviroments21:24
RPjustanotherboy: then your images won't be minimal :)21:24
*** kroon <kroon!~kroon@37-247-29-68.customers.ownit.se> has quit IRC21:30
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto21:32
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC21:47
*** agust <agust!~agust@217.95.17.244> has quit IRC21:57
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto22:07
*** justanotherboy <justanotherboy!~justanoth@THOUSAND-EY.bear1.Houston1.Level3.net> has quit IRC22:09
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:11
Striking7Imgur: The magic of the Internet <https://imgur.com/a/BrGWC9K>22:21
Striking7oops wrong one22:21
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto22:23
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:27
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto22:38
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto22:40
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:42
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has joined #yocto22:43
*** sk_tandt_ <sk_tandt_!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:43
*** sk_tandt__ <sk_tandt__!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:46
*** sk_tandt <sk_tandt!~sk_tandt@net-5-88-141-17.cust.vodafonedsl.it> has quit IRC22:56
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC22:59
*** scottrif <scottrif!~scottrif@47.39.60.15> has left #yocto23:53

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!