Tuesday, 2018-12-11

*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-bpiuxhqaeqiupeqi> has joined #yocto00:12
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC00:33
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto00:35
*** nyjan <nyjan!2504fb7a@gateway/web/freenode/ip.37.4.251.122> has joined #yocto00:35
*** dev1990 <dev1990!~dev@dynamic-78-8-108-228.ssp.dialog.net.pl> has quit IRC00:36
*** stephano <stephano!stephano@nat/intel/x-gmhyfwpcuignzath> has quit IRC00:40
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC00:53
*** OpenSorceress <OpenSorceress!~opensorce@216-82-197-9.static.grandenetworks.net> has joined #yocto01:01
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto01:01
*** kaspter <kaspter!~Instantbi@115.204.111.49> has joined #yocto01:37
*** kaspter1 <kaspter1!~Instantbi@115.204.111.49> has joined #yocto01:39
*** kaspter <kaspter!~Instantbi@115.204.111.49> has quit IRC01:41
*** kaspter1 is now known as kaspter01:41
*** moto-tim1 <moto-tim1!ttorling@nat/intel/x-gjifsbujgukqilcl> has joined #yocto01:59
*** moto-timo <moto-timo!~ttorling@fsf/member/moto-timo> has quit IRC02:00
*** woky <woky!~woky@2a02:2b88:2:1::e72:1> has quit IRC02:06
*** woky <woky!~woky@2a02:2b88:2:1::e72:1> has joined #yocto02:06
*** mattgirv20 <mattgirv20!~mattgirv@pool-71-175-60-90.phlapa.fios.verizon.net> has joined #yocto02:30
*** woky <woky!~woky@2a02:2b88:2:1::e72:1> has quit IRC02:31
*** woky <woky!~woky@2a02:2b88:2:1::e72:1> has joined #yocto02:31
*** moto-tim1 <moto-tim1!ttorling@nat/intel/x-gjifsbujgukqilcl> has quit IRC02:39
*** moto-timo <moto-timo!ttorling@fsf/member/moto-timo> has joined #yocto02:39
*** tprrt <tprrt!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has joined #yocto02:53
*** nyjan <nyjan!2504fb7a@gateway/web/freenode/ip.37.4.251.122> has quit IRC03:32
*** apteryx <apteryx!~maxim@45.72.138.75> has joined #yocto03:42
*** lazyape_penthous <lazyape_penthous!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has joined #yocto04:05
*** lazyape_home <lazyape_home!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has quit IRC04:07
*** tprrt <tprrt!~tprrt@ram31-1-82-234-79-177.fbx.proxad.net> has quit IRC04:43
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC05:23
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto05:47
*** armpit <armpit!~armpit@2601:202:4180:c33:3918:166c:831a:f447> has quit IRC05:52
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto05:58
*** lazyape_home <lazyape_home!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has joined #yocto05:59
*** lazyape_penthous <lazyape_penthous!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has quit IRC06:02
*** armpit <armpit!~armpit@2601:202:4180:c33:b596:402e:3806:c8f1> has joined #yocto06:04
*** beneth <beneth!~beneth@lxcb.beneth.fr> has quit IRC06:04
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto06:18
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC06:20
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto06:20
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC06:45
*** gtristan <gtristan!~tristanva@110.11.179.72> has joined #yocto06:51
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC06:53
*** rovanceo_ <rovanceo_!~rovanceo@80.97.64.55> has joined #yocto07:08
*** beneth <beneth!~beneth@lxcb.beneth.fr> has joined #yocto07:08
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto07:09
*** rovanceo <rovanceo!~rovanceo@80.97.64.55> has quit IRC07:11
*** lazyape_penthous <lazyape_penthous!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has joined #yocto07:12
*** lazyape_home <lazyape_home!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has quit IRC07:12
*** seebs <seebs!~seebs@24.196.59.174> has joined #yocto07:20
*** frederik <frederik!~frederik@b2b-37-24-96-114.unitymedia.biz> has joined #yocto07:23
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto07:30
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto07:30
*** frederik is now known as fmns07:31
*** yann <yann!~yann@lfbn-1-515-227.w86-245.abo.wanadoo.fr> has quit IRC08:00
*** lusus <lusus!~lusus@62.91.23.180> has joined #yocto08:02
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has joined #yocto08:04
*** gtristan <gtristan!~tristanva@110.11.179.72> has quit IRC08:05
*** dev1990 <dev1990!~dev@dynamic-78-8-108-228.ssp.dialog.net.pl> has joined #yocto08:15
*** wooosaiii <wooosaiii!~woo@cpe-90-157-180-95.static.amis.net> has quit IRC08:17
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@ubuntu/member/locutusofborg> has quit IRC08:20
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@gateway/shell/panicbnc/x-rrhfxcsojumdamcf> has joined #yocto08:20
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@ubuntu/member/locutusofborg> has joined #yocto08:21
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has joined #yocto08:26
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has left #yocto08:26
*** prabhakarlad <prabhakarlad!~prabhakar@194.75.40.178> has joined #yocto08:26
*** cquast <cquast!~cquast@laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr> has joined #yocto08:37
*** lazyape_penthous <lazyape_penthous!~lazyape@2a02:587:b919:4c00:8ba8:391b:2e37:8570> has quit IRC08:37
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-bpiuxhqaeqiupeqi> has quit IRC08:42
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-qigytwvmqptipnym> has joined #yocto08:44
*** fmns <fmns!~frederik@b2b-37-24-96-114.unitymedia.biz> has quit IRC08:48
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has joined #yocto08:50
*** cquast <cquast!~cquast@laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr> has quit IRC08:52
*** cquast <cquast!~cquast@laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr> has joined #yocto08:53
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto08:55
*** gtristan <gtristan!~tristanva@114.207.54.40> has joined #yocto08:58
*** cquast <cquast!~cquast@laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr> has quit IRC09:01
*** cquast <cquast!~cquast@90.85.130.193> has joined #yocto09:02
rokmHi, how to call do09:04
rokmdo_compile in my recipe to build library by cmake09:05
rokm?09:05
LetoThe2ndwhat are you *ACTUALLY* trying to do?09:05
LetoThe2ndif your recipe inherits cmake, all the bits and pieces are in place automatically.09:05
rokmso I should remove do_configure and do_compile09:08
rokmI will try09:08
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto09:08
LetoThe2ndrokm: https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-configuring-the-recipe09:10
LetoThe2ndand https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-installing09:10
LetoThe2ndboth have explicit information concerning cmake09:10
rokmhttps://pastebin.com/JZHb1SLM09:10
rokmhere is my recipe09:10
LetoThe2ndthat loooks...... wrong.09:11
rokm:(09:11
*** yann <yann!~yann@lfbn-idf1-1-33-83.w82-124.abo.wanadoo.fr> has joined #yocto09:11
rokmI need it it that ugly format because original is not ready for so09:11
rokmSo I got help here09:11
rokmhow to change recipe09:12
rokmbut it doesn't compile from bitbake and there are no *.so files in rootfs09:12
LetoThe2ndhere is a relatively simple cmake-based recipe to look at: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-support/libical/libical_2.0.0.bb?h=master09:13
LetoThe2ndand "it doesn't compile" is not a very good error description either.09:13
rokmdoesn't start to compile09:14
LetoThe2nd*sigh*09:14
LetoThe2ndwhane you do "what"?09:14
rokm?09:15
LetoThe2nd"it doesn't start to compile".09:15
LetoThe2ndwhen you do *WHAT*?09:15
rokmbitbake libinih09:15
LetoThe2ndwhen do you expect it to maybe ot thinks theres nothing to do?09:16
LetoThe2ndbitbake -c clean libinih; bitbake libinih09:17
rokmtried many times09:17
LetoThe2ndi really find it very hard to understand your problem and what you are doing.09:18
rokmtrying to get libini.so09:19
rokmfrom bitbake09:19
rokmbitbake libinih doesn't work09:19
LetoThe2nd"doesn't work" is not a valid error message09:19
rokmthere is no error09:20
LetoThe2nd*sigh* sorry, but i really do not have the nerves for this right now. good luck.09:20
rokmbut there are no so files09:20
rokmwrite this many times09:20
rokmshare recipe09:20
rokmthere are no error09:21
rokmbut there ar no so files09:21
rokmwhen im doing this from devshell it work09:22
*** no_such_user <no_such_user!~no_such_u@fpc125996-trow7-2-0-cust59.18-1.static.cable.virginm.net> has quit IRC09:25
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto09:35
*** yann <yann!~yann@lfbn-idf1-1-33-83.w82-124.abo.wanadoo.fr> has quit IRC09:46
*** florian_kc is now known as florian09:57
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto10:04
pepijndevosERROR: Nothing PROVIDES 'gstreamer1.0-omx'10:10
pepijndevoshttps://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb10:10
pepijndevosWhat is going on here??10:10
derRichardis there really no way to create an encrypted rootfs (ext4) with yocto?10:11
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto10:18
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto10:22
pepijndevosI should learn to read: gstreamer1.0-omx was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST10:27
*** berton <berton!~berton@181.220.84.254> has joined #yocto10:33
*** berton <berton!~berton@181.220.84.254> has quit IRC10:37
*** berton <berton!~berton@181.220.84.254> has joined #yocto10:39
*** berton <berton!~berton@181.220.84.254> has quit IRC10:41
*** berton <berton!~berton@181.220.84.254> has joined #yocto10:43
RPderRichard: If you know the command to do it from the commandline, bitbake can also do it. It might not be out the box.10:51
*** nacknick <nacknick!1fa801ba@gateway/web/freenode/ip.31.168.1.186> has joined #yocto10:57
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto10:57
nacknickHello. Where Yocto saves the packages binaries for the image? I need to edit some of those binaries before deploying to the board...11:00
nacknickAnd I need to know where can I put my python/bash script so it will run on those binaries before  creating the image11:02
rburtonnacknick: why don't you change the recipe to do what you want?11:02
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has joined #yocto11:09
*** no_such_user <no_such_user!~no_such_u@mail.analogue-micro.com> has joined #yocto11:10
derRichardRP: yeah, i was a bit shocked that mkfs.ext4 cannot create a fscrypt enabled fs. and there is also no tool to create a dmcrypt offline ;-\11:11
rburtonderRichard: you mean the per-file crypt that ext4 can do?11:13
derRichardrburton: yeah. fscrypt is very nice11:14
rburtonmkfs wouldn't need to be involved at all, surely11:14
rburtonits just a ext411:14
derRichardrburton: ???11:14
derRichardi want to use mkfs.ext4 -d rootfs/ ..11:15
derRichardand every file in rootfs should be encrypted11:15
derRichardsuch that i can flash the fs image to my target and have an encrypted rootfs by default11:16
derRichardi somehow expected mkfs.ext4 to support this use-case :D11:16
rburtonhttps://github.com/google/fscrypt11:16
derRichardrburton: did you read what this tool does?11:17
rburtonsets up the keys and stuff11:17
derRichardthis is not what i'm asking for11:17
rburtonas i understand it the process would be mkfs, then setup the crypto keys, then populate the11:18
rburtonthe catch being that we use mkfs's -d to populate a fs from a directory11:18
derRichardthe fscrypt tool is a tool to the fscrypt kernel interface11:19
derRichardi want to create an encrypted ext4 _offline_11:19
derRichardyocot does not run as root11:19
derRichard*yocto11:19
rburtonpretty sure i've seen people do dm-crypt offline fwiw11:20
derRichardrburton: do you remember which tool they used?11:20
rburtonah it was dm-verity11:20
rburtonclose11:20
derRichard:)11:21
* derRichard finds cryptsetup-reencrypt11:21
derRichardmaybe this can help me11:21
*** Carton__ <Carton__!~jo@193.134.219.72> has joined #yocto11:22
derRichardhttps://wiki.archlinux.org/index.php/dm-crypt/Device_encryption#Encrypt_an_unencrypted_filesystem11:22
derRichardlooks good11:22
derRichardif it works, i'll send a patch for yocto :)11:23
yoctiNew news from stackoverflow: How to get Baud rate of Bluetooth interface of UNIX based gateway (Eurotech)? <https://stackoverflow.com/questions/53722647/how-to-get-baud-rate-of-bluetooth-interface-of-unix-based-gateway-eurotech>11:26
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has quit IRC11:26
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC11:34
nacknickrburton: what do you mean? I can change the recipe to edit the binary? I have to edit the binary itself and replace the original with mine11:43
rburtonnacknick: unless you're attempting to backdoor the image by replacing a built binary with some you provide, why not just change the recipe to do what you want11:46
LetoThe2ndnacknick: the question reads as "why do you generate a binary that you don't want anyways?"11:47
rburton(which could be replacing a binary, but at least it will happen every time and be clear in the recipe)11:47
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto11:49
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto11:49
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto11:49
derRichardhmm, why is fixing/appending the recipe not an option?11:49
nacknickmaybe it's an option. I'm just trying to understand where the compiled binary is stored so I'l be able to run my script on it and replacing it12:03
rburtonin the work directory briefly during the build, and then the package is written to tmp/deploy12:04
*** no_such_user <no_such_user!~no_such_u@mail.analogue-micro.com> has quit IRC12:12
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC12:13
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has quit IRC12:15
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has joined #yocto12:16
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has quit IRC12:19
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has joined #yocto12:20
*** lundmar <lundmar!~lundmar@79.171.149.172> has quit IRC12:23
*** no_such_user <no_such_user!~no_such_u@217.144.149.244> has joined #yocto12:24
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@ubuntu/member/locutusofborg> has quit IRC12:25
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto12:31
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@gateway/shell/panicbnc/x-hiohltzovvmfnlmg> has joined #yocto12:34
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC12:34
kanavin_homerburton: I am working on meson 0.49 update, should be ready soonish12:35
rburtonkanavin_home: nice12:41
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto12:41
rburtonkanavin_: in theory it means we can upstream/remove the qt patch we have, because it should be respecting native=true for pkgconfig calls if we set the PKG_CONFIG=pkg-config-native env var.  might need patches from git unless they've rolled a 0.49.1 already.12:42
kanavin_homerburton: I didn't do anything with that patch, but I dropped two of yours as I understand they've been upstreamed in a tweaked form12:44
rburtonkanavin_home: sure we can leave the qt one for after the upgrade12:44
kanavin_homerburton: I am also experimenting with virgl support in qemu. just found out how to prevent it from crashing, didn't run demos yet :)12:45
rburtonnice12:45
rburtonyou know to talk to JaMa, pretty sure he has it actually working12:45
kanavin_homerburton: I believe it should be supported and enabled by default, if mesa-demos or qt3d or whatnot work well12:46
kanavin_homerburton: I took some of his patches :)12:46
rburtongood stuff12:46
rburtonit involves llvm right?12:46
rburtonthe performance hit on builds is quite considerable :/12:46
kanavin_homerburton: depends on whether you want the fancy software driver in mesa or not.12:46
kanavin_homerburton: if you just want to use nouveau, or intel driver, no need for llvm12:47
rburtonRP: revised sdk qa patches on the ab now12:47
ernstpdamn, still getting a lot of random builderrors popping up after enabling useradd-staticids12:47
ernstpand they get stuck in sstate cache unfortunately12:47
ernstphttps://bugzilla.yoctoproject.org/show_bug.cgi?id=1210712:48
yoctiBug 12107: normal, Medium, 2.7, JPEWhacker, NEW , useradd-staticids: groupadd: GID already exists12:48
ernstpI'm thinking that perhaps everything that inherits useradd.class needs to depend on the contents of your USERADD_[GU]ID_TABLES12:49
ernstpwhen you have staticids enabled12:50
kanavin_homerburton: theoretically we can also link qemu to the host libGL12:50
kanavin_homerburton: this would allow using nvidia's proprietary driver, and generally offload the issue of building mesa to the distributions12:51
RPrburton: thanks, was getting around to looking at that12:51
rburtonkanavin_home: awooga dragons12:52
rburtonkanavin_: epic can of works. maybe as an opt-in packageconfig12:52
RPkanavin_home: we've done this before once12:52
rburtonsdl used to have a lot less host deps, it was a nightmare12:53
rburtonerm, a lot more host, a lot less native12:53
kanavin_homeyeah, I remember :)12:54
pepijndevosEeeehm, I updated the raspi layer and now my gstreamer plugins are no longer being installed. dafuq?12:54
RPrburton: we had gl passthrough once too12:55
rburtonyeah but that was evil12:55
rburtonpepijndevos: sounds like the rpi layer changed?12:55
pepijndevosrburton, but the gstreamer recipes are in poky/meta. Meta-raspberrypi only adds a few bbapends to other recipes, but not to the plugins.12:56
rburtonpepijndevos: but does it control the image content too12:57
pepijndevosIt's really weird. I have plugins base show up, but good/bad doesn't. And then I add ugly and it also shows up.12:57
pepijndevosNo, I have my own image, and one of my main packages RDEPENDS on the plugins12:57
pepijndevosThey used to be there...12:58
RPrburton: totally, no denying that!12:58
kanavin_homethe way things are going, useful GL in qemu will become a necessity, I think12:59
pepijndevosCan I tell bitbake to rebuild those packages? Maybe it just confused itself...12:59
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has left #yocto12:59
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto12:59
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto12:59
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto12:59
pepijndevoshuuuuuh??? I did bitbake -f gstreamer1.0-plugins-good and it did nothing...13:01
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto13:02
RPpepijndevos: that would force the do_build task which would indeed do very little13:02
RPpepijndevos: compared to say forcing it to rerun do_compile13:02
ernstppepijndevos: does it show up in tmp/deploy/images/machine/IMAGE.manifest ?13:03
rburtonpepijndevos: if you want to force a build, neatest way is bitbake gstreamer1.0-plugins-good -C unpack13:03
RPpepijndevos: You can see if these things built by checking for the packages in tmp/deploy/<pkg>/*. I suspect they will have done and you want to look at what the image is including13:03
pepijndevosTrying those things... side note: how do I get rid of those warnings from tainted packages?13:08
pepijndevosernstp, it seems to be there alright gstreamer1.0-plugins-good cortexa7t2hf_neon_vfpv4 1.14.213:12
ernstprburton: do you have time to take a look at https://bugzilla.yoctoproject.org/show_bug.cgi?id=12107 ?13:13
yoctiBug 12107: normal, Medium, 2.7, JPEWhacker, NEW , useradd-staticids: groupadd: GID already exists13:13
*** gtristan <gtristan!~tristanva@114.207.54.40> has quit IRC13:14
pepijndevosRP, there is no tmp/deploy/<pkg>, only images, license, rpm. Neither13:15
pepijndevosof them seems to contain a gstreamer folder13:16
ernstppepijndevos: you can check in the rpm folder13:17
RPpepijndevos: you're presumably building rpms then which would be in the rpm folder13:17
pepijndevostmp/deploy/rpm/cortexa7t2hf_neon_vfpv4/gstreamer1.0-plugins-good-1.14.2-r0.cortexa7t2hf_neon_vfpv4.rpm13:18
pepijndevosand a looot of other ones for every single plugin it appears13:18
pepijndevosrpm -q -filesbypkg -p tmp/deploy/rpm/cortexa7t2hf_neon_vfpv4/gstreamer1.0-plugins-good-rtp-1.14.2-r0.cortexa7t2hf_neon_vfpv4.rpm13:21
pepijndevosgstreamer1.0-plugins-good-rtp /usr/lib/gstreamer-1.0/libgstrtp.so13:21
pepijndevosSo the RPM is fine... but somehow it never gets installed.13:22
rburtonadd gstreamer1.0-plugins-good explicitly to your image if you want all the plugins13:23
rburtonmaybe meta-rpi used to pull it in via a dependency and doesn't anymore13:23
rburtonRP: problem was at no point was lzip being told to use the cross compiler so it was always just using the host :)13:24
RPrburton: ouch13:24
ernstppepijndevos: you can check in tmp/work/machine-something/image/1.0-r0/rootfs/ also13:24
rburtonRP: i'll fix up the cpio test to do the same sanity check next13:25
pepijndevosernstp, ls tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.14.2-r0/image/usr/lib/gstreamer-1.0/ has all the things I want13:27
ernstppepijndevos: yeah, but does tmp/work/YOURMACHINE-something/YOURIMAGE/1.0-r0/rootfs/ have it?13:28
pepijndevosls tmp/work/raspberrypi3-poky-linux-gnueabi/rove-image/1.0-r0/rootfs/usr/lib/gstreamer-1.0/ does not have it :(((13:28
*** alinucs <alinucs!~abo@static-176-158-51-218.ftth.abo.bbox.fr> has quit IRC13:29
pepijndevoswhat is this madness...13:29
ernstpand you build with bitbake rove-image right?13:29
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto13:30
ernstpif you clean the image "bitbake -c clean rove-image" and then "bitbake -v rove-image" you can double check which packages are installed13:30
pepijndevosIs it normal that rpm -q -R -p tmp/deploy/rpm/cortexa7t2hf_neon_vfpv4/gstreamer1.0-plugins-good-1.14.2-r0.cortexa7t2hf_neon_vfpv4.rpm does not list any deps on the other rpms that actually seem to contain the plugins?13:30
nacknickLetoThe2nd: I don't generate a binary that I don't want. I have a tool that customizes some of the binaries that are generated and I need to run it on them and replace them with the customized binary13:33
nacknickAny change of a single recipe's bb file requires a full rebuild of the image? Is there any way to avoid it?13:36
pepijndevosernstp, erm... not gstreamer plugins it seems... :)13:38
pepijndevos:(13:38
rburtonpepijndevos: that should depend on all the plugins13:38
pepijndevosso my rpms are broken?13:39
*** Carton__ <Carton__!~jo@193.134.219.72> has quit IRC13:39
rburtonpepijndevos: oh, wait.  PN should recommend PN-meta and PN-meta depends on all the others13:40
rburtonmight neaten than and remove the -meta package13:40
pepijndevosrpmlib(CompressedFileNames) <= 3.0.4-113:42
pepijndevosrpmlib(FileDigests) <= 4.6.0-113:42
pepijndevosrpmlib(PayloadFilesHavePrefix) <= 4.0-113:42
pepijndevosrpmlib(PayloadIsXz) <= 5.2-113:42
pepijndevosNo meta dependency13:42
*** alinucs <alinucs!~abo@static-176-158-51-218.ftth.abo.bbox.fr> has joined #yocto13:42
pepijndevosOh actually, recommends. Yea... that's fine13:43
*** frederik <frederik!~frederik@b2b-37-24-96-114.unitymedia.biz> has joined #yocto13:43
*** frederik is now known as fmns13:43
pepijndevosSo wtf... I put the plugins directly in the image IMAGE_INSTALL_append and that doesn't help either13:43
*** Carton__ <Carton__!~jo@193.134.219.129> has joined #yocto13:47
*** Carton__ <Carton__!~jo@193.134.219.129> has left #yocto13:47
nacknickin the recipe's bb file, where can I find the name of the binary that is created?13:48
rburtonnacknick: depends on the recipe.  if it just calls make, it doesn't know or care13:50
nacknickunder "do_install" I have "oe_runmake DESTDIR=${D} install". what "oe_runmake" means?13:51
nacknickwhere can I found the compiled ELF file...? I could not find it under tmp/deploy13:52
nacknickfind13:52
nacknick*13:52
nacknickand what about my previous question? can I avoid rebuild of whole image if I change only single recipe' bb file?13:54
nacknickrburton: ^^^13:55
*** gtristan <gtristan!~tristanva@110.11.179.2> has joined #yocto13:55
ernstpnacknick: short answer, no. if it's part of the image you need to rebuild the image...13:56
rburtonnacknick: oe_runmake is a function that runs make13:57
*** lundmar <lundmar!~lundmar@79.171.149.172> has joined #yocto13:57
rburtontmp/deploy will have the package13:57
nacknickernstp: if I change build/conf/local.conf and add more packages to "CORE_IMAGE_EXTRA_INSTALL" it does not rebuild the whole image, the building process is much quicker...13:58
nacknickrburton: under tmp/deploy I have only three folders: image, ipk and licenses14:01
nacknickdo you mean ipk? because ipk it's no ELFs14:01
nacknicknot14:01
*** JaMa <JaMa!~martin@217.30.68.212> has quit IRC14:05
nacknickrburton: I think I've found the binaries you meant14:08
fmnsare you interested in patches to have sstate binary reproducable?14:09
nacknickare you asking me?14:09
fmnsnacknick, in general14:10
fmnsnacknick, ipk folder contains packages to be installed on the target which may be ELF14:11
rburtonnacknick: the elfs are inside the ipkg, obviously.  unpack it.  there will be transient elfs inside the work directory too, but altering those won't change anything14:17
*** tgoodwin <tgoodwin!~tgoodwin@static-108-40-78-74.bltmmd.fios.verizon.net> has joined #yocto14:18
nacknickfmns: I'm not sure what do you ask, so I'll try to explain what I'm trying to do: I have a python script that runs on a binary, does some stuff and create a new binary that includes my customizations, I need that this customized binary to be included in the image instead of the original14:21
rburtonnacknick: just call it in the recipe14:21
rburtoncurious what this stuff is though :)14:21
nacknickfmns: I can't generate the customized binary in advance, the original binaries are not mine and my script works on binaries only14:22
fmnsnacknick, I started a different topic, but tried to reply to your question in between.14:22
nacknickrburton: by mistake I searched the binaries under  build/tmp/deploy, there I found the ipk files14:25
rburtonnacknick: if you want your script to be run always and not just once then edit the recipe to call it in do_install14:25
*** Piraty <Piraty!~irc@unaffiliated/piraty> has joined #yocto14:26
nacknickrburton: this staff is a protection to the binary, because the binary runs under unprotected embedded env14:26
tgoodwinIs PREFERRED_VERSION intended to be used only at global scope (e.g., a recipe can't set a preferred version on one of its DEPENDS packages)?14:27
LetoThe2ndtgoodwin: very much so. recipes cannot influence other recipes14:28
tgoodwinLetoThe2nd: thanks; that's what I figured but the mega manual didn't call it out explicitly.  I just noticed that all other layers only ever use it in some global way like a distro.14:29
LetoThe2ndtgoodwin: one thing to absolutely memorize when using anything OE is: "recipes are local, confs are global"14:29
eduardas_mHello, I get a do_populate_sdk: Postinstall scriptlets of ['util-linux-umount', 'util-linux'] have failed. when generating an SDK via -c populate_sdk14:30
LetoThe2ndso when ever you need to do something that affects anything not right inside that very speicifc recipe you are in, then it needs to go into some form of conf file14:30
tgoodwinLetoThe2nd: right.  The issue came up with two packages that required specific versions of one another.  I'm looking for a way to enforce that for a layer.14:30
eduardas_mconflict seems between util-linux-umount and toybox umount14:30
eduardas_mbut the strange thing is that util-linux-umount does not even ship in my image14:31
eduardas_mfor which the SDK is generated14:31
fmnseduardas_m, do you use update-alternatives with toybox?14:31
eduardas_mfmns: yes14:31
rburtontgoodwin: i'd like to see DEPENDS have a way of having version restrictions, but we can't do that right now14:31
eduardas_mfmns: but perhaps not properly14:31
rburtontgoodwin: i'd be happy with it throwing an error if the version didn't match14:31
fmnscould you provide more context?14:31
rburtontgoodwin: if there's a preferred version for the recipe you're depending on you could check that in the recipe with some anon py and raise an exception if the version is wrong14:32
tgoodwinrburton: Something like DEPENDS = "package-a_1.2"14:32
rburtontgoodwin: well iirc DEPENDS = " foo (>1.2)" is already parsed, but ignored14:32
tgoodwin(I realize that's probably not bitbakeable)14:32
eduardas_mfmns: here is my toybox recipe: https://pastebin.com/1LRQQg8u14:33
tgoodwinInteresting.14:33
rburtonsame format as rdepends14:33
tgoodwinAlright, thanks.14:35
Piratydoes yocto use ccache?14:35
rburtonPiraty: can do14:35
Piratythank god14:35
rburtonPiraty: but we have a higher level caching which means typically its not needed14:36
Piratyyou mean packages14:36
rburtoni mean sstate14:36
Piratyhave yet to look into that14:36
fmnssstate >> ccache14:36
Piratybut i doubt you have a mechanism spying into the build process of an upstream makefile14:37
rburtonccache says "you want to compile foo.c with these flags, here's a binary you can have"14:37
Piratyor even autohell products14:37
Piratyi know what it does14:37
rburtonsstate says "you want to build a recipe with these sources/flags/patches, here's the resulting packages"14:37
Piratyi understand14:37
Piratybig software that only changes on little parts (say: a patch) would still not benefit from that14:38
rburtonsure, ccache is useful if you've a huge package with you're iterating on14:38
Piratyand i have to rebuild everything, if ccache isn't in option. but i'm glad it is14:38
Piratythanks you rburton14:38
tgoodwinrburton: is there a mechanism, from a conf file, that would dynamically enforce package versions?  For example, a layer has two versions of package A, which has a pile of dependencies with different version requirements for each version A.  Would the anonymous python function route "work" in that sense to inject PREFERRED_VERSIONs?  Seems like the evaluation of those new preferred version references would be "too late" to14:39
tgoodwinget picked up.14:39
rburtontgoodwin: i'd use anon py to abort the build early if the versions don't work14:39
tgoodwinalright14:39
*** grma <grma!~gruberm@80.93.38.128> has quit IRC14:40
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC14:49
eduardas_mrburton: how to fix update-alternatives conflict for SDK generation? https://pastebin.com/26tgB5Yb14:50
*** sagner <sagner!~ags@46.140.72.82> has joined #yocto14:53
*** marka <marka!~masselst@184.175.21.100> has joined #yocto14:55
eduardas_mrburton: I am using thud branch as it is, as far as I know this still does not contain this: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f00b998ef2403cefb0515258a87f14ad687d232514:57
eduardas_mcan this be related?14:58
*** grma <grma!~gruberm@80.93.38.128> has joined #yocto14:59
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has quit IRC15:01
*** didile <didile!b07ff51a@gateway/web/freenode/ip.176.127.245.26> has joined #yocto15:15
didileHi there!15:17
didileI've an issue at first boot with busybox15:17
didile"update-alternatives: Error: not linking /sbin/klogd to /bin/busybox.nosuid since /sbin/klogd exists and is not a link"15:17
eduardas_mdidile: seems like some other package in the image ships a klogd binary15:18
*** didile_ <didile_!b07ff51a@gateway/web/freenode/ip.176.127.245.26> has joined #yocto15:21
didile_eduardas_m: this issue happen in poky sumo15:21
didile_http://lists.openembedded.org/pipermail/openembedded-core/2018-August/155009.html15:21
*** didile <didile!b07ff51a@gateway/web/freenode/ip.176.127.245.26> has quit IRC15:22
eduardas_mdidile_: so this fix is not yet in sumo?15:23
didile_eduardas_m: nop15:24
didile_I don't think you can make poky sumo fully work as it is15:25
didile_I also have a warning at do_rootfs15:25
didile_"do_rootfs: Intentionally failing postinstall scriptlets of ['busybox'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} (). If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere."15:25
didile_the busybox recipe seems broken15:26
eduardas_mdidile_: seems there is some related busybox patch: http://lists.openembedded.org/pipermail/openembedded-core/2018-August/273469.html15:28
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC15:28
didile_eduardas_m: this is the same patch15:28
didile_from a different topic15:29
didile_*a different page of the mailinglist15:30
didile_I don't explicitly add klogd so to me this is a universal issue with poky sumo15:34
didile_the patch works however15:35
didile_I don't have the rights to do a pull request15:38
eduardas_mdidile_: if you read carefully, I think Chen Qi says he has sent out another patch15:39
eduardas_mthat is not directly linked in the post15:39
eduardas_mdidile_: he says "Khem, I've sent out a patch to fix busybox's alternatives logic"15:40
eduardas_mso that might not have been the final fix15:40
didile_eduardas_m: yes15:40
didile_eduardas_m: but nobody responded since then...15:40
eduardas_mdidile_: I think the fix in master is this: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=705bb5e8479b814efc2970b79f8709b4364f189d15:41
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has quit IRC15:42
didile_eduardas_m: I see...15:43
eduardas_mdidile_: commit seems to be on thud branch, but not in sumo15:45
didile_sumo needs it too15:46
didile_definitely15:47
eduardas_mrburton: I am not sure who is responsible for sumo branch maintenance, but could you look at https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=705bb5e8479b814efc2970b79f8709b4364f189d15:49
rburtoneduardas_m: not me, you want armpit15:49
eduardas_mrburton: ok, thank you15:49
didile_rburton: do_rootfs is doing its job15:50
eduardas_marmpit: hello, could you look at backporting this to sumo: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=705bb5e8479b814efc2970b79f8709b4364f189d15:50
didile_...15:50
eduardas_marmpit: I believe it would fix the problem that didile_ has encountered15:51
*** TobSnyder <TobSnyder!~schneider@95.90.163.47> has quit IRC15:52
didile_eduardas_m: it does15:52
armpitgot.. thanks..15:52
didile_what's the diff between sumo and thud today?15:56
didile_is thud a stable branch?15:57
didile_or rocko?15:57
rburtonboth are15:57
armpitboth are.. sumo is 2.5 release, thud is 2.615:57
rburtonhttps://wiki.yoctoproject.org/wiki/Releases15:57
didile_ok15:57
nacknickis there any way to prevent yocto from stripping linux built-in binaries?15:57
didile_thanks :)15:58
rburtonnacknick: what do you mean by linux built-in?15:58
* armpit starts 2 full builds15:58
rburtonnacknick: also, whatever is stripped goes into the -dbg package, so you still have symbols available if you install that package15:59
nacknickrburton: thanks16:01
*** kaspter <kaspter!~Instantbi@115.204.111.49> has quit IRC16:07
*** kaspter <kaspter!~Instantbi@115.204.111.49> has joined #yocto16:08
nacknickfor my script, I need the full  path of the generated binary (under build/tmp/), what variable saves that path inside .bb file?16:13
*** dqx <dqx!~dqx@unaffiliated/dqx> has quit IRC16:13
*** sagner <sagner!~ags@46.140.72.82> has quit IRC16:17
fmnsnacknick, I think you want to add a deploy task to deploy a binary next to images or add a new task16:17
nacknickfmns I want to add a 'curl' command inside 'do_install' function and I need to specify the binary's full path16:21
fmnsurgs. why not adding it to SRC_URI?16:21
nacknickadding what?16:22
fmnsthe file you want to download16:22
kergothnacknick: you sohuld not be doing anything with curl in do_install. the only network connections should be done in do_fetch16:22
fmnsack16:23
pepijndevosThe gstreamer plugin problem is still unresolved... but I've given up for today. I updated all the other repos too, let it build for a few hours... still the same.16:23
nacknickI don't want to download it. I want to modify an existing binary16:23
nacknickkergoth, ok. when do_fetch runs? after do_install?16:23
kergothno16:24
nacknickafter make?16:24
nacknickI need ready binary16:24
kergothi have no clue what you're trying to do16:24
kergothwhy would you run curl to modify a binary?16:24
kergothagain, if you want to download something, add it to SRC_URI and let do_fetch download it for you16:24
kergothas fmns indicated16:24
kergothotherwise it breaks numerous expectations of the system, and will make it impossible to do builds without network connectivity16:25
rburtonnacknick: in do_install, binaries are expected to be installed under $D16:26
*** yates_home <yates_home!~user@rrcs-96-10-234-158.midsouth.biz.rr.com> has joined #yocto16:29
yates_homeis there a recipe/package that pulls in the normal development packages all at once, like gcc, g++, make, etc?16:30
yates_homeis packagegroup-core-buildessential?16:30
nacknickkergoth, I have a server that get the binary and returns modified one which I want to replace with the original one16:30
rburtonyates_home: in an image?16:30
nacknickI send the binary to the server with curl16:30
kergothagain, add the url to SRC_URI, let do_fetch download it, and install it to the right place in do_install16:30
yates_homerburton: no, a package i can "smart install"16:31
RPsounds like some kind of signing server?16:31
rburtonyates_home: buildessential is probably i16:31
yates_homeright16:31
nacknickkergoth, but SRC_URI is defined before running bitbake...16:31
kergothahh, interesting. that's not ideal16:32
rburtonyates_home: the tools-sdk image feature uses packagegroup-core-sdk16:32
nacknickkergoth, I'm glad you understand at least16:32
rburtonnacknick: $D is the path you're after16:32
yates_homeok, thanks16:33
rburtonassuming you're running as part of do_install16:33
rburton*if* this is a signing server then you'll want to generalise a lot more16:33
rburtonand we can help with that, which is why its best to explain what you're trying to d16:33
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has quit IRC16:35
fmnskergoth, do you think it would be costly to replace dict(), set() by ordered versions in lib/bb/data.py to get binary reproducable output from pickle?16:41
*** sveinse_ <sveinse_!~sveinse@156.92-221-160.customer.lyse.net> has quit IRC16:45
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC16:47
nacknickrburton / kergoth: as I wrote, I have a server which modifies the binary (add a protection code to the original binary). you send a post request to the server with the binary in its content and you get in response a modified one. all I need to do is to send the binary to the server and replace the original with the one I get from the server16:48
kergoththe files are in ${D}, modify it there16:48
kergothideally you'd use a bbclass for this which is generic, metadata controlled, and could be disabled if necessary16:49
nacknickkergoth, as you can guess, I'm pretty new in yocto, I'll appreciate references because I have no idea what's it 'bbclass'16:50
fmnsI think the binaries from PKGD should be used because it's after usual post processing16:51
nacknickfmns what do you mean please?16:55
fmnsbbclass files are bitbake's way of extending functionality in multiple recipes16:56
*** didile_ <didile_!b07ff51a@gateway/web/freenode/ip.176.127.245.26> has quit IRC16:56
fmnsnacknick, I think you need to create a class to add a function at the end of PACKAGEBUILDPKGD17:03
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC17:03
*** ant_home <ant_home!~ant__@host55-101-dynamic.58-82-r.retail.telecomitalia.it> has joined #yocto17:04
kergothto clarify, you certainly *can* do it directly in do_install, and that'd work for now, but it'd be ideal to use a bbclass for easier usage and maintenance in the long term, rather than copying and pasting fragments around17:09
kergothfmns is right though, packaging will modify the binaries, so you should sign after that17:09
kergothor disable stripping/splitting/etc17:09
*** cquast <cquast!~cquast@90.85.130.193> has quit IRC17:10
*** fmns is now known as fsdun17:15
fsduntada17:15
nacknickkergoth / fsdun: if I use bbclass, can I choose which packages I want to apply my modification on, or it applies on all packages?17:17
fsdunyou can selectivliy inherit in a recipe or INHERIT in all recipes17:18
nacknickfsdun. ok. sounds interesting17:19
fsdunmostly likely you want to extend KERNEL_CLASSES17:19
fsdunbecause you'd talk about kernel before IIRC17:20
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC17:23
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto17:25
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC17:27
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC17:34
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto17:35
*** armpit <armpit!~armpit@2601:202:4180:c33:b596:402e:3806:c8f1> has quit IRC17:39
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC17:41
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-qigytwvmqptipnym> has quit IRC17:53
*** sagner <sagner!~ags@2a02:169:34b6:0:ef16:ca50:42ea:5779> has joined #yocto17:57
tgoodwinHas anyone run into this in rocko:  you rebuild your work environment from an sstate-cache only to find that some packages in your recipe "PACKAGES += ..." did not get populated17:59
Piratyformat c:18:04
*** fl0v0 <fl0v0!~fvo@87.123.145.0> has quit IRC18:04
Piratyoops wrong window18:04
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC18:05
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto18:06
*** gtristan <gtristan!~tristanva@110.11.179.2> has quit IRC18:06
*** kaspter <kaspter!~Instantbi@115.204.111.49> has quit IRC18:08
*** kaspter <kaspter!~Instantbi@115.204.111.49> has joined #yocto18:08
rburtontgoodwin: never seen that18:16
tgoodwinWeird.  Even after a rebuild, I get "nothing provides package-a-python" which is in my package-a recipe as PACKAGES += "package-a-devel"18:16
tgoodwinsorry, package-a-python (in the packages list)18:17
tgoodwinAh... the package is empty18:18
Croftonthe awful hack is ALLOW_EMPTY sometimes18:20
*** fsdun <fsdun!~frederik@b2b-37-24-96-114.unitymedia.biz> has quit IRC18:32
*** menomc <menomc!~amery@kwa.jpi.io> has joined #yocto18:38
*** menomc is now known as mnemoc18:38
*** fsdun <fsdun!~frederik@b2b-37-24-96-114.unitymedia.biz> has joined #yocto18:42
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC18:45
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto18:46
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has joined #yocto18:56
*** martinkelly <martinkelly!~martin@hq.xevo.com> has joined #yocto19:06
*** stephano <stephano!stephano@nat/intel/x-udrjndsdplksjglp> has joined #yocto19:07
yates_homei'm trying to build and use the soci recipe for on-target development. in addition to the core soci package, there are a number of soci "backends" which can be used such as sqlite4, mysql, odbc, etc, but the recipe apparently only builds the pseud-backend "empty"19:07
yates_homehttps://paste.fedoraproject.org/paste/DpK2643Uy2ZWuP~ObkK4ug19:07
yates_homeis there a way to bitbake that recipe but override the PACKAGECONFIG to use one of the other backends, such as "odbc"?19:08
yates_homewithout changing the recipe?19:08
yates_homewhich is in sources/meta-openembedded/meta-oe/recipes-support/soci/19:08
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto19:09
yates_homei mean, what's the best way to do this/19:10
yates_home?19:10
yates_homei can think of a couple of ways, but they seem like hacks..19:10
yates_homeon fedora/dnf/rpm, these backends come as separate packages.19:12
yates_homeam i missing something? like, are these already being built somehow somewhere?19:13
yates_homevia .bbappend?19:20
*** armpit <armpit!~armpit@45.19.219.177> has joined #yocto19:31
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC19:31
*** no_such_user <no_such_user!~no_such_u@217.144.149.244> has quit IRC19:33
yates_homeyates_home: yes, via .bbappend19:42
*** Bunio_FH <Bunio_FH!~bunio@clj-165.netdrive.pl> has quit IRC19:46
*** fsdun <fsdun!~frederik@b2b-37-24-96-114.unitymedia.biz> has quit IRC19:46
*** fsdun <fsdun!~frederik@b2b-37-24-96-114.unitymedia.biz> has joined #yocto19:51
*** adelcast <adelcast!~adelcast@130.164.62.136> has quit IRC19:56
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto19:56
yates_homequiet around here...20:00
bluelightningyates_home: sorry, I didn't see the earlier part of the discussion, otherwise I'd probably be responding20:02
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC20:10
*** Nazo <Nazo!~Nazo@mx-ll-180.183.104-216.dynamic.3bb.co.th> has joined #yocto20:16
*** berton <berton!~berton@181.220.84.254> has quit IRC20:16
*** Nazo <Nazo!~Nazo@mx-ll-180.183.104-216.dynamic.3bb.co.th> has quit IRC20:19
*** no_such_user <no_such_user!~no_such_u@213.133.132.188> has joined #yocto20:38
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has joined #yocto21:06
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@gateway/shell/panicbnc/x-hiohltzovvmfnlmg> has quit IRC21:09
*** LocutusOfBorg <LocutusOfBorg!LocutusOfB@ubuntu/member/locutusofborg> has joined #yocto21:09
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has joined #yocto21:09
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has quit IRC21:12
rburtonyates_home: bbappend or from distro config eg PACKAGECONFIG_pn-soci = "sqlite"21:13
*** abelloni_ is now known as abelloni21:14
rburtonthere's a big bit in the docs about this with plenty of worked examples21:14
kergothi like to use _append and _remove with an indirection rather than explicitly setting the value, that way changes to the default config won't be lost as  upstream layers are updated, myself21:16
*** martinkelly <martinkelly!~martin@hq.xevo.com> has quit IRC21:16
derRichardhow does yocto learn dependencies for packages?21:39
derRichardi'm facing this:21:39
derRichardERROR: regina-rexx-3.3-r0 do_package_qa: QA Issue: /usr/share/dateconv.rexx contained in package regina-rexx requires /scratch/rw/xxx/build/tmp/work/i586-poky-linux/regina-rexx/3.3-r0/image/usr/bin/rexx, but no providers found in RDEPENDS_regina-rexx? [file-rdeps]21:39
*** peniwize <peniwize!~peniwize@63.140.26.14> has joined #yocto21:39
derRichardthe problem is that the requires path contains the sysroot prefix. it should be just /usr/bin/rexx21:40
peniwizeI’m using the meta-intel layer, which has a .conf file that contains:21:45
peniwizeSERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"21:45
peniwizeI need to disable all boot loader serial consoles so I assume that I need to set SERIAL_CONSOLES to nothing and I’m not sure where to do it.  Can I simply set SERIAL_CONSOLES in one of my recipes or do I need to do it in my local.conf?  Is it possible to override the BSP’s conf file like you can override a recipe with an append file?  What is the correct way to do this?21:45
kergothderRichard: sounds like you need to fix dateconv to no longer hardcode the full absolute reference to rexx21:46
rburtonderRichard: what kergoth said, that's a bug in regina-rexx21:48
rburtonpeniwize: your local.conf or distro conf21:48
peniwizerburton: thanks21:49
*** martinkelly <martinkelly!~martin@hq.xevo.com> has joined #yocto21:51
derRichardkergoth: i don't understand how yocto find out. does it read /usr/share/dateconv.rexx?21:52
rburtonno, it reads the file in the package staging directory that corresponds to /usr/share/dateconv.rexx21:52
rburtonso for you /scratch/rw/xxx/build/tmp/work/i586-poky-linux/regina-rexx/3.3-r0/packages-split/regina-rexx/usr/share/dateconv.rexx21:53
rburtondoesn't show you the full path as it's not useful, it's telling you what file in what package21:53
derRichardhmmm21:55
derRichardtricky21:55
rburtonits foolishly inserting a build path instead of a target path21:55
rburtongenuine upstream bug, you just need to figure out how to fix it21:56
derRichardyeah, regina-rexx is "interesting"21:56
rburtongood news is that if other distros like debian have packaged this, they'll most likely have fixed it already21:56
derRichardit used to be in openembedded: http://cgit.openembedded.org/openembedded/tree/recipes/regina-rexx/regina-rexx_3.3.bb21:57
*** peniwize <peniwize!~peniwize@63.140.26.14> has quit IRC21:57
yoctiNew news from stackoverflow: Is it possible to use Embedded OS prepared for i.MX6solo over i.MX6UL...? [closed] <https://stackoverflow.com/questions/53638232/is-it-possible-to-use-embedded-os-prepared-for-i-mx6solo-over-i-mx6ul>21:58
*** sa2ajj <sa2ajj!~quassel@dsl-hkibng21-54f864-131.dhcp.inet.fi> has quit IRC22:08
*** marka <marka!~masselst@184.175.21.100> has quit IRC22:15
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has quit IRC22:15
*** sagner <sagner!~ags@2a02:169:34b6:0:ef16:ca50:42ea:5779> has quit IRC22:19
derRichard./configure: line 4690: MH_CHECK__SIGHANDLER_T: command not found22:21
* derRichard never saw such odd errors (autoconf)22:21
RPderRichard: it can do much worse, trust me ;-)22:23
neverpanicderRichard: Looks like an unexpanded macro after running autoreconf22:24
derRichardRP: yes. for sure22:24
neverpanicmaybe a missing dependency?22:24
derRichardwell, i don't run autoreconf. just "./configure ...". on my host it works. in yocto it explodes with the said error22:24
neverpanicyocto runs autoreconf22:24
derRichardi'm in devshell22:25
derRichardand disabled autoreconf with:22:25
derRicharddo_configure() {22:25
derRichard        oe_runconf22:25
derRichard}22:25
derRichardthe package sucks, and autoreconf does not work22:26
neverpanicit seems to already have done it then, because your ./configure looks broken. Unless the configure script shipped in the tarball is already broken.22:26
RPderRichard: usually, its easier to make it autoreconf22:26
derRichardRP: i fear you are right22:26
RPit does look rather like an unexpanded macro22:26
*** sa2ajj <sa2ajj!~quassel@dsl-hkibng21-54f864-131.dhcp.inet.fi> has joined #yocto22:29
rburtonhttps://fossies.org/linux/Regina-REXX/aclocal.m422:30
rburtonit doesn't use aclocal22:30
derRichardRP: maybe you can point me in the right direction? http://paste.debian.net/plain/105542322:30
rburtonRP: remember i was moaning about this ;)22:30
rburtonderRichard: EXTRA_AUTORECONF += "--exclude=aclocal"22:31
rburtonthat might make it autoreconf22:31
rburtonif it doesn't then it does sound like you just need to clean and rebuild it22:31
rburton(if you try the extra autoreconf thing remember to remove your do_configure)22:32
derRichardsure22:32
derRichardsadly --exclude=aclocal does not change things22:33
rburtonsame error?22:33
derRichardyes22:33
rburtonoh, clean it first22:33
rburtonyou'd have messed up the tree already22:33
derRichardso did i.22:33
derRichardi did a bitbake -c cleanall ...22:34
rburtonwell, bitbake [recipe] -C unpack is a easy way to force a build from scratch for a specific recipe22:34
derRichardthen -c devshell again and ran autoreconf --exclude=aclocal22:34
rburtonoh, don't do it in a devshell22:34
rburtonyou'll forget the arguments you need to pass22:34
derRichardok, give me a second22:34
rburtonor, hope the configure works, leave your do_configure in and run from clean, that should work as that's definitely an undefined macro error which *is* defined in their tree22:35
derRichardi set now EXTRA_AUTORECONF and removed the do_configure hook22:35
derRichardhm, same error (now bitbake ran autoreconf with all the parameters needed)22:36
rburtontbh if its a known crazy upstream, i'd start by making that old oe recipe work and then upgrade it22:37
rburtoni suspect you want to change autotools to autotools-brokensep22:37
derRicharddid that already :)22:37
rburtonoh the pastebin has different errors22:37
rburtonthats autoheader, add --exclude=autoheader too22:37
derRichardwow, it configured. how did you know that --exclude=autoheader is needed?22:38
derRichardi have to admit that my autotools fu is weak22:39
rburtonbecause the error log you pastebined was entirely autoheader going ARGH PANIC22:39
rburtonwhich suggests that they don't use autoheader22:39
rburtonsounds like a very old school configure script so you're lucky it configured at all22:40
derRichardhehe, ok22:40
rburtonthe old recipe says clearly  that they disable autoreconf because its so archaic22:40
derRichardi wonder why configure works fine on my host system22:40
rburtonbecause then you're running the configure they generated22:40
rburtonwould most likely work in oe too, the recipe in oe-classic did exactly that22:40
derRichardtrue, but the same configure does not work in yocto22:40
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC22:40
derRichard23:21 < derRichard> ./configure: line 4690: MH_CHECK__SIGHANDLER_T: command not found22:41
rburtonyes22:41
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto22:41
rburton[22:33:47]  <rburton>oh, clean it first22:41
derRichardi get this when i try to run the configure script as-is in yocto (with autoreconf disabled)22:41
derRichardi did that :)22:41
rburtonare you positive? because autotools.bbclass has some code to delete aclocal.m4 which is most likely the cause22:42
rburtonanyway, configures now, and properly22:42
rburtonso thats good22:42
rburtonnow back to watching my government explode22:42
kergothderRichard: either that was defined in aclocal as rburton indicates, or it's provided by a dependency that you don't have in DEPENDS22:43
kergothbest to check into it outside of yocto in a freshly unpacked tarball, or clean and re-run unpack/patch and examine that22:43
kergothif you disabled autoreconf but didn't clean the recipe, it's possible it didn't re-unpack the sources to resotre the already-removed aclocal22:44
kergothso i'd clean and rebuild the recipe to start22:44
derRichardkergoth: thanks a lot for the hint! makes sense22:44
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC22:45
kergothbitbake detects variable cahnges to re-run the changed tasks, but just re-executing the task doesn't always undo what previous runs did, if that makes sense22:45
* ant_home sees Gentoo has a recipe for 3.9.1 and uses eautoconf... plain, no patches22:46
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto22:47
derRichardant_home: yeah, suse also uses the configure as-is22:48
ant_hometry to update22:48
derRichardthis is 3.9.122:48
ant_homeok, I've read a 3.3 before, my bad22:49
kergothmost distros do, but most distros don't need to cross-compile either. we've had to change a number of macros, which means configure needs to be regenerated to include the changes22:51
derRichardyeah 3.3 was the old version22:51
derRichardkergoth: one thing i don't fully understand. why do you need to autoreconf?22:52
kergothi just told you22:52
*** CoRfr <CoRfr!~CoRfr@carmd-fwm01.sierrawireless.com> has quit IRC22:52
derRichardahh, now it makes sense22:53
kergothwe've changed macros, configure needs to be regenerated using them, which means autoconf needs to be re-run, and we need to re-run aclocal to ensure the updated macros from the other recipes make it into aclocal.m4 to be used by autoconf22:53
kergothautomake, etc are done too as a matter of course, less critical though22:53
derRichardi didn't realize that you changed autoconf that deeply22:53
kergothlibtool sucks, every libtool-using project includes th elibtool macros and ltmain.sh, and we've had to change both to ensure the generated libtool script is functional in a cross-compilation environment22:54
kergothand most projects using autoconf+automake also use libtool, so that's a required autoreconf by most recipes there alone22:54
kergothand then we've had to change some other macros as well along the way22:54
*** sa2ajj <sa2ajj!~quassel@dsl-hkibng21-54f864-131.dhcp.inet.fi> has quit IRC22:54
derRichardwhat a pain ;-\22:56
kergoththat's cross-compilation for you23:02
kergotha pain all around, in every way23:02
derRicharda few years ago i wrote a tool go generate a distro from scratch (cross arm and mips). it was a super pain. but i never had to mess with libtool and autoreconf23:03
derRichardmaybe because the set of packages i used as minimal :-)23:03
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-knjdzpgajoaoelzo> has joined #yocto23:03
*** CoRfr <CoRfr!~CoRfr@carmd-fwm01.sierrawireless.com> has joined #yocto23:04
RPderRichard: we really need to sort our libtool patches out with upstream. We just never get around to it and it will be painful23:08
*** sa2ajj <sa2ajj!~quassel@dsl-hkibng21-54f864-131.dhcp.inet.fi> has joined #yocto23:10
derRichardRP: these? https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/libtool/libtool/23:11
*** maudat <maudat!~moda@64.18.88.250> has quit IRC23:12
RPderRichard: yes23:13
*** martinkelly <martinkelly!~martin@hq.xevo.com> has quit IRC23:20
*** stephano <stephano!stephano@nat/intel/x-udrjndsdplksjglp> has quit IRC23:25
rburtonRP: qa series resent (and in ross/qa)23:26
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC23:26
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC23:27
*** stephano <stephano!~stephano@134.134.139.75> has joined #yocto23:28
*** AndersD_ <AndersD_!~AndersD@194.237.220.218> has quit IRC23:37
*** nate0202 <nate0202!~nate02@mail.validmanufacturing.com> has joined #yocto23:44
*** martinkelly <martinkelly!~martin@hq.xevo.com> has joined #yocto23:47
*** nate02 <nate02!~nate02@mail.validmanufacturing.com> has quit IRC23:47
*** dev1990 <dev1990!~dev@dynamic-78-8-108-228.ssp.dialog.net.pl> has quit IRC23:53

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