*** comptroller <comptroller!~comptroll@47-213-222-253.paolcmtc01.res.dyn.suddenlink.net> has joined #yocto | 00:08 | |
*** kaspter <kaspter!~Instantbi@115.205.169.242> has quit IRC | 00:20 | |
*** kaspter <kaspter!~Instantbi@115.205.169.242> has joined #yocto | 00:21 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 00:29 | |
Marex | zeddii: zeddii_home: bump regarding linux-yocto 4.19 ? | 00:35 |
---|---|---|
Marex | bluelightning: Hi, are you attending LCA 2019 ? | 00:35 |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 00:39 | |
*** nerdboy <nerdboy!~sarnold@gatekeeper.gentoogeek.org> has joined #yocto | 00:44 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 00:44 | |
*** peacememories <peacememories!~textual@80-110-119-185.cgn.dynamic.surfer.at> has joined #yocto | 00:50 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 00:55 | |
la_croix | Anyone around? | 01:29 |
*** alicef <alicef!~none@www1392ue.sakura.ne.jp> has joined #yocto | 01:30 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has joined #yocto | 01:30 | |
la_croix | I'm having trouble with setuptools whilst building scipy | 01:31 |
Crofton | scpy is a pain | 01:35 |
Crofton | hav eyou found the prior art on it? | 01:35 |
la_croix | Crofton Nope, I've done a lot of googling | 01:36 |
Crofton | hang on | 01:36 |
la_croix | It says it can't find setuptools, even though 'inherit setuptools3' is in the recipe. The only SO question I found had 'inherit setuptools3' as the answer | 01:37 |
la_croix | Also, I've built 10 other python packages using the same recipe structure, and not had any problems | 01:37 |
Crofton|work | la_croix, https://github.com/scipy/scipy/issues/8571#issuecomment-436233233 | 01:38 |
Crofton|work | scipy is a pain | 01:38 |
Crofton|work | much messed up shit | 01:38 |
la_croix | Crofton|work I'll add that line and try building. Why is it such a mess? | 01:39 |
Crofton | read the thread | 01:40 |
Crofton | reminds me, need to look at tit again sometime | 01:40 |
la_croix | Crofton Same problem... Have I done something stupid? http://paste.ubuntu.com/p/zHmrqyCtP5/ | 01:41 |
Crofton | what am I looking at? | 01:42 |
la_croix | Crofton The recipe, this is the other bit: http://paste.ubuntu.com/p/M2mPtvVkHh/ | 01:43 |
Crofton | I thinkk you need to look closely | 01:44 |
Crofton | I sustecpt setup.py isn't a standrad form | 01:44 |
la_croix | Crofton Sorry to be stupid, but I don't really know where to start | 01:46 |
Crofton | read the setup.py file | 01:46 |
Crofton | scipy is painful | 01:46 |
Crofton | readin ghte "recips" postsed not sure they really work :) | 01:46 |
la_croix | Crofton In terms of the recipes, these are what I was given when I came on here and asked how to install python packages. ;) I've been using the same structure, just changing names, and checksums, and it has worked fine for everything apart from scipy | 01:48 |
Crofton | compare setup.py in scipy to standard | 01:49 |
Crofton | scipy isn't straight forward | 01:49 |
la_croix | Yeah... it looks complicated | 01:49 |
la_croix | Crofton Surely there's a recipe somewhere... I can't be the first person to try to install scipy on yocto :/ | 01:50 |
*** peacememories <peacememories!~textual@80-110-119-185.cgn.dynamic.surfer.at> has quit IRC | 01:52 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has quit IRC | 01:54 | |
Crofton | see link | 01:54 |
la_croix | Crofton Oh, thank you | 02:02 |
la_croix | Crofton I've got as far as this: https://jumpnowtek.com/yocto/Add-Fortran-support-to-a-Yocto-build.html (the recipe complained it had no fortran support), and I've followed the instructions. Now I get: No recipes found for /home/ubuntu/dev/poky/meta-custom/recipes-devtools/gcc/gcc-runtime_4.8.bbappend | 02:20 |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 02:26 | |
Crofton | what is meta-custom? | 02:29 |
* Crofton isn't a poky user | 02:29 | |
la_croix | Crofton It's just a layer I've put all my crap in | 02:34 |
la_croix | Crofton To be honest, I think this is more effort than it's worth. I'm going to modify the code and try to get away with not using scipy | 02:35 |
Crofton | some stuff is also in numpy | 02:35 |
Crofton | last resort you can build scipy on device | 02:36 |
Crofton | not sure what gcc-runtime_4.8bbappend is | 02:36 |
Crofton | but gcc version isn;t 4.8 | 02:36 |
Crofton | mayb eyou have bad instructinos for turning on FORTRAN | 02:36 |
Crofton | # Enabling FORTRAN | 02:37 |
Crofton | # Note this is not officially supported and is just illustrated here to | 02:37 |
Crofton | # show an example of how it can be done | 02:37 |
Crofton | # You'll also need your fortran recipe to depend on libgfortran | 02:37 |
Crofton | #FORTRAN_forcevariable = ",fortran" | 02:37 |
Crofton | #RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath" | 02:37 |
Crofton | from local.conf.extended | 02:38 |
la_croix | Crofton It's ok, I really appreciate your help, but to be honest, I just need to get an audio file into an array, and I've found a way to do it that doesn't take scipy | 02:41 |
Crofton | good :) | 02:43 |
Crofton | write answer | 02:43 |
Crofton | er right answer | 02:43 |
la_croix | :) | 02:49 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 02:50 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 02:50 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has quit IRC | 02:57 | |
*** alicef <alicef!~none@www1392ue.sakura.ne.jp> has joined #yocto | 03:39 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has joined #yocto | 03:40 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has quit IRC | 03:50 | |
*** alicef <alicef!~none@www1392ue.sakura.ne.jp> has joined #yocto | 03:51 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has joined #yocto | 03:51 | |
*** ski7777 <ski7777!~quassel@ip5b437013.dynamic.kabel-deutschland.de> has quit IRC | 04:04 | |
*** submux <submux!~submux@179.51-175-186.customer.lyse.net> has joined #yocto | 04:13 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has quit IRC | 04:15 | |
*** submux <submux!~submux@179.51-175-186.customer.lyse.net> has quit IRC | 04:18 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 04:52 | |
*** dmoseley <dmoseley!~dmoseley@072-184-106-074.res.spectrum.com> has quit IRC | 05:19 | |
*** gtristan <gtristan!~tristanva@110.11.179.72> has joined #yocto | 05:35 | |
*** submux <submux!~submux@2001:840:4b2b:101:9d2a:6ae0:2f27:f7fe> has joined #yocto | 05:37 | |
*** hamis <hamis!~irfan@110.93.212.98> has joined #yocto | 05:47 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 05:53 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 05:58 | |
*** alicef <alicef!~none@www1392ue.sakura.ne.jp> has joined #yocto | 06:11 | |
*** alicef <alicef!~none@gentoo/developer/alicef> has joined #yocto | 06:11 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-zfcpwtrdmqtjsxbj> has quit IRC | 06:13 | |
*** adrianbunk <adrianbunk!~bunk@dsl-hkibng31-54faec-60.dhcp.inet.fi> has joined #yocto | 06:18 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 06:27 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 06:28 | |
*** moemoe <moemoe!~moemoe@sirius-tau.a-ix.net> has quit IRC | 06:28 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC | 06:29 | |
*** moemoe <moemoe!~moemoe@sirius-tau.a-ix.net> has joined #yocto | 06:30 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto | 06:30 | |
*** anujm <anujm!~anujm@192.55.54.39> has joined #yocto | 06:40 | |
*** thaytan <thaytan!~thaytan@121-200-23-18.cust.aussiebb.net> has quit IRC | 06:55 | |
*** thaytan <thaytan!~thaytan@121-200-23-18.cust.aussiebb.net> has joined #yocto | 06:57 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto | 07:12 | |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:eca2:e4f2:113e:4233> has joined #yocto | 07:14 | |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has joined #yocto | 07:18 | |
learningc | What's the compiler optimization flag is Yocto using to compile its packages? | 07:19 |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has joined #yocto | 07:22 | |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has quit IRC | 07:24 | |
*** hwy <hwy!c2440282@gateway/web/freenode/ip.194.68.2.130> has quit IRC | 07:33 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:37 | |
*** dmoseley <dmoseley!~dmoseley@072-184-106-074.res.spectrum.com> has joined #yocto | 07:37 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto | 07:46 | |
khem | -O2 generally, but its a series of flags you should check bitbake -e <recipe> and check for CFLAGS and CC variable settings | 07:49 |
*** fl0v0 <fl0v0!~fvo@mue-88-130-96-067.dsl.tropolys.de> has joined #yocto | 07:59 | |
*** tasslehoff_ <tasslehoff_!~Tasslehof@82.147.55.166> has joined #yocto | 07:59 | |
*** ski7777 <ski7777!~quassel@91.67.112.19> has joined #yocto | 08:02 | |
*** mckoan|away is now known as mckoan | 08:02 | |
mckoan | good morning | 08:02 |
*** slips <slips!~slips@2.51-174-212.customer.lyse.net> has joined #yocto | 08:04 | |
pepijndevos | How can I find the DISTRO_FEATURES that I'm using? | 08:07 |
pepijndevos | I'm still trying to sort out the wifi situation on my meta-raspberrypi image. I've added networkmanager, but I'm not sure how to start it and add a config file. | 08:08 |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:eca2:e4f2:113e:4233> has left #yocto | 08:08 | |
*** kaspter <kaspter!~Instantbi@115.205.169.242> has quit IRC | 08:13 | |
henriknj | Trying to use the kernel-yocto.bbclass for a custom tree and I'm having some issues with applying a patch. It seems like do_patch() always create a symlink from 'series -> patch.queue' even though the branch option in a given scc file changes the name of the patch queue. Am I missing some variable or something that determines this? | 08:14 |
*** cvasilak <cvasilak!~cvasilak@ppp-94-66-25-27.home.otenet.gr> has joined #yocto | 08:14 | |
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto | 08:16 | |
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto | 08:18 | |
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC | 08:20 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has joined #yocto | 08:22 | |
*** interruptguy <interruptguy!~interrupt@hel-inetgw01.vaisala.com> has joined #yocto | 08:23 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto | 08:25 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC | 08:28 | |
*** gtristan <gtristan!~tristanva@110.11.179.72> has quit IRC | 08:28 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 08:29 | |
*** OpenSorceress <OpenSorceress!~opensorce@216-82-197-9.static.grandenetworks.net> has joined #yocto | 08:30 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 08:30 | |
*** rajm <rajm!~robertmar@office.codethink.co.uk> has joined #yocto | 08:32 | |
*** submux <submux!~submux@2001:840:4b2b:101:9d2a:6ae0:2f27:f7fe> has quit IRC | 08:34 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 08:34 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has joined #yocto | 08:35 | |
*** OpenSorceress <OpenSorceress!~opensorce@216-82-197-9.static.grandenetworks.net> has joined #yocto | 08:36 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 08:36 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto | 08:38 | |
*** ant_home <ant_home!~ant__@host55-101-dynamic.58-82-r.retail.telecomitalia.it> has quit IRC | 08:39 | |
henriknj | I guess I would have to just read the kgit-meta and scc scripts | 08:43 |
*** sagner <sagner!~ags@46.140.72.82> has joined #yocto | 08:45 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 08:55 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 08:56 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-kxhlnngqtcxfndmj> has joined #yocto | 09:00 | |
*** rubdos <rubdos!~rubdos@ptr-1uzevqefjgxdm5wv65h.18120a2.ip6.access.telenet.be> has quit IRC | 09:10 | |
pepijndevos | huh, I added systemd to my local.conf and now it's recompiling the whole universe. | 09:12 |
LetoThe2nd | pepijndevos: usually one adds it to the custom DISTRO... but yes, the impact is rather massive. | 09:14 |
pepijndevos | oh... hmm, making a custom DISTRO sounds way nicer than putting random shit in local.conf. I'll look into that. | 09:17 |
*** alinucs <alinucs!~abo@static-176-158-51-218.ftth.abo.bbox.fr> has joined #yocto | 09:20 | |
LetoThe2nd | pepijndevos: local.conf is usually good for "ummmm lemme give that a try" after, that, move stuff to approriate places for reproductibility. | 09:22 |
*** rubdos <rubdos!~rubdos@ptr-1uzevqefjgxdm5wv65h.18120a2.ip6.access.telenet.be> has joined #yocto | 09:22 | |
LetoThe2nd | pepijndevos: in almost all projects you will have a custom MACHINE, custom DISTRO and custom IMAGE | 09:22 |
*** anujm <anujm!~anujm@192.55.54.39> has quit IRC | 09:25 | |
*** cquast <cquast!~cquast@90.85.130.193> has joined #yocto | 09:26 | |
*** gtristan <gtristan!~tristanva@114.207.54.40> has joined #yocto | 09:26 | |
pepijndevos | What are the bottom 3 lines for here? http://forum.variscite.com/viewtopic.php?t=343 | 09:27 |
*** rubdos <rubdos!~rubdos@ptr-1uzevqefjgxdm5wv65h.18120a2.ip6.access.telenet.be> has quit IRC | 09:27 | |
LetoThe2nd | pepijndevos: each setting should be neatly explained here: https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#selecting-an-initialization-manager | 09:27 |
*** rubdos <rubdos!~rubdos@ptr-1uzevqefjgxdm5wv65h.18120a2.ip6.access.telenet.be> has joined #yocto | 09:29 | |
learningc | khem, Thanks | 09:30 |
pepijndevos | I read that, but not thoroughly enough. Now reading how backfill works. Still not sure what the "virtual runtime" refers to. Sounds to me like some qemu thing. | 09:32 |
*** aratiu <aratiu!~adi@80.97.64.55> has quit IRC | 09:32 | |
*** aratiu <aratiu!~adi@80.97.64.55> has joined #yocto | 09:34 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 09:38 | |
LetoThe2nd | pepijndevos: i would interpret the VIRTUAL-RUNTIME_xxxx as "package that provides the functionality of xxxx at runtime". you can have different recipes that provide VIRTUAL-RUNTIME_init_manager, for example | 09:38 |
*** radsquirrel <radsquirrel!~bradleyb@mail.fuzziesquirrel.com> has joined #yocto | 09:53 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 09:59 | |
rburton | pepijndevos: virtual as in not real: init-manager is a package name that never actually exists, just other packages provide it | 09:59 |
rburton | so systemd provides init-manager | 09:59 |
rburton | so does sysvinit | 09:59 |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 10:02 | |
pepijndevos | ahhh makes sense | 10:07 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 10:07 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 10:08 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 10:13 | |
*** ant_work <ant_work!~ant__@host27-31-dynamic.0-87-r.retail.telecomitalia.it> has joined #yocto | 10:15 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 10:20 | |
*** no_such_user <no_such_user!~no_such_u@mail.analogue-micro.com> has quit IRC | 10:24 | |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 10:35 | |
*** rburton_ <rburton_!~rburton@35.106.2.81.in-addr.arpa> has joined #yocto | 10:35 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 10:38 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has quit IRC | 10:41 | |
*** no_such_user <no_such_user!~no_such_u@217.144.149.244> has joined #yocto | 10:42 | |
*** no_such_user <no_such_user!~no_such_u@217.144.149.244> has quit IRC | 10:49 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 10:50 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 10:50 | |
pepijndevos | What is the correct way to enable wifi and add a config to connman? Basically so it connects to the right network on first boot. | 10:54 |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has joined #yocto | 10:56 | |
pepijndevos | Basically by default there is a file in /var/lib/connman/settings that contains [WiFi] Enabled=false, but I don't see where it is created. | 10:57 |
*** rajm <rajm!~robertmar@office.codethink.co.uk> has quit IRC | 10:58 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 10:58 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 10:58 | |
*** rajm <rajm!~robertmar@office.codethink.co.uk> has joined #yocto | 10:59 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 11:00 | |
*** OpenSorceress <OpenSorceress!~opensorce@216-82-197-9.static.grandenetworks.net> has joined #yocto | 11:00 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 11:00 | |
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has quit IRC | 11:00 | |
*** lucaceresoli <lucaceresoli!~lucaceres@45.11.168.109.cust.ip.kpnqwest.it> has joined #yocto | 11:01 | |
*** cquast <cquast!~cquast@90.85.130.193> has quit IRC | 11:02 | |
*** cquast <cquast!~cquast@90.85.130.193> has joined #yocto | 11:04 | |
*** no_such_user <no_such_user!~no_such_u@2a01:4c8:d:e55f:19d7:4196:43d7:7870> has joined #yocto | 11:04 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 11:05 | |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:e5dd:3963:cb10:588e> has joined #yocto | 11:08 | |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:e5dd:3963:cb10:588e> has left #yocto | 11:09 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has quit IRC | 11:13 | |
*** no_such_user <no_such_user!~no_such_u@2a01:4c8:d:e55f:19d7:4196:43d7:7870> has quit IRC | 11:17 | |
*** cquast <cquast!~cquast@90.85.130.193> has quit IRC | 11:18 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC | 11:18 | |
yocti | New news from stackoverflow: ADV7513 on yocto - kernel 4.14 <https://stackoverflow.com/questions/52969842/adv7513-on-yocto-kernel-4-14> | 11:21 |
*** slips <slips!~slips@2.51-174-212.customer.lyse.net> has quit IRC | 11:25 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 11:26 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 11:26 | |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has quit IRC | 11:27 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:35 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 11:40 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 11:40 | |
*** no_such_user <no_such_user!~no_such_u@mail.analogue-micro.com> has joined #yocto | 11:41 | |
*** slips <slips!~slips@2.51-174-212.customer.lyse.net> has joined #yocto | 11:43 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 11:45 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 11:46 | |
*** laumann <laumann!~thomas@188.226.179.218> has joined #yocto | 11:47 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC | 11:48 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 11:51 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has joined #yocto | 11:53 | |
laumann | Hi all! Can I ask a Poky related question here? I'm pretty new to Yocto as a system, so this may be an easy question: How do I install SSL certificates in Poky (2.3.2)? | 11:55 |
laumann | (I asked in #Poky, but it seems pretty quiet there) | 11:56 |
LetoThe2nd | laumann: no idea about #poky, but generally you are correct here. just what do you mean exactly by "install ssl certificates"= | 11:57 |
laumann | LetoThe2nd: I'm trying to do 'curl https://google.com' (for instance) and am getting: curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none | 11:59 |
*** florian_kc is now known as florian | 11:59 | |
LetoThe2nd | laumann: just add ca-certificates to your image. -> http://layers.openembedded.org/layerindex/recipe/5903/ | 12:00 |
laumann | LetoThe2nd: thanks, I guess this is where my n00bness in Yocto comes in: I have a gateway that came with Poky pre-installed, and this is the one I'd like to add the CA certificates to | 12:02 |
laumann | can I modify that image? | 12:02 |
LetoThe2nd | hum no, this is not how things work in openembedded. | 12:02 |
LetoThe2nd | unless that image for some reason has package management enabled, which is rare IMHO | 12:03 |
laumann | LetoThe2nd: that's what I feared :-) | 12:03 |
laumann | I'm not even sure what package manager this has (if any) | 12:03 |
laumann | not apt, for sure | 12:03 |
LetoThe2nd | i mean, you can test if there is something like dpkg or rpm there. but in that case, you're probably better off just getting the certificate archive, and manually extract + place it at the respective destinations. | 12:04 |
LetoThe2nd | laumann: you have to think of yocto/OE as a toolkit that *builds* your distribution, and not *is* a distribution. that means who ever sold that gateway created a custom linux distribution to run on it. | 12:05 |
laumann | LetoThe2nd: Ah thanks! Looks like there's rpm | 12:05 |
LetoThe2nd | which product is that, by the way? | 12:05 |
laumann | LetoThe2nd: but I'm up for doing this manually | 12:06 |
laumann | LetoThe2nd: Just a sec, let me find it | 12:06 |
T_UNIX | if no explicit preferred version is defined, how's the preferred version determined? lexicgraphical order? | 12:06 |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:7866:c413:7d08:a7a6> has joined #yocto | 12:06 | |
*** Carton__ <Carton__!~jo@2a02:120b:7ff:51a0:7866:c413:7d08:a7a6> has left #yocto | 12:06 | |
LetoThe2nd | T_UNIX: highest version, should be | 12:06 |
laumann | LetoThe2nd: It's this one: https://www.eurotech.com/en/products/subsystems/edge-computers/dynagate-10-12 | 12:06 |
LetoThe2nd | laumann: looks like a beaglebone black with a fancy case + some special sauce | 12:07 |
T_UNIX | ah, Debian. | 12:07 |
laumann | LetoThe2nd: their manual is not quite specific about the Linux: it just says "Yocto Linux" | 12:08 |
laumann | which isn't very helpful :P | 12:08 |
LetoThe2nd | laumann: which is technically an incorrect term | 12:08 |
laumann | LetoThe2nd: Yeah, I know | 12:08 |
laumann | LetoThe2nd: but I've been able to determine that it's a Poky of some sort | 12:08 |
laumann | LetoThe2nd: How can you tell it's a beaglebone? | 12:09 |
LetoThe2nd | laumann: i'm not saying it *is* really a beaglebone inside, but the HW specs look extremely similar to the BBB, so i suspect its either one inside (possible) or a design closely based on it (more probably, actually) | 12:11 |
laumann | LetoThe2nd: ok | 12:11 |
LetoThe2nd | laumann: but their github account does not offer the layers they used. so if this is more than a one-off tinkerin product, you seriously need to pester their support into handing out the proper sources (which they are obliged too anyways, with the metadata being sometimes subject to discussion) | 12:12 |
laumann | LetoThe2nd: ok, I'll get a hold of them | 12:14 |
LetoThe2nd | laumann: i mean, you probably don't want to manually beat the root fs into shape on every unit you ship. let alone update core parts, or add new software that has to be crosscompiled against libraries in specific versions, right ;-) | 12:15 |
LetoThe2nd | so you need the building metadata to create your own images. | 12:16 |
laumann | LetoThe2nd: hehe, no :-) | 12:18 |
LetoThe2nd | see. good luck! | 12:18 |
laumann | LetoThe2nd: Thanks for the help! Until I get the sources, I'll try installing the certificates manually... we'll see how it goes | 12:20 |
kanavin | kanav | 12:20 |
kanavin | typo :) | 12:21 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 12:22 | |
*** interruptguy_ <interruptguy_!~interrupt@hel-inetgw01.vaisala.com> has joined #yocto | 12:26 | |
*** interruptguy <interruptguy!~interrupt@hel-inetgw01.vaisala.com> has quit IRC | 12:26 | |
RP | We have too many "'random" selftest failures :( | 12:27 |
*** peacememories <peacememories!~textual@81.189.130.58> has joined #yocto | 12:28 | |
RP | rburton_: do you think the cpio segfault could be due to files changing under it? Wondering if we should put an inotify monitor over the do_image* tasks and see if something is writing there | 12:32 |
pepijndevos | I have a commercial package with a custom package format that installs target libraries in a folder in $PACKAGE_NAME. It's probably bad practice, but can I make a recipe that install files from the location specified by this environment variable? | 12:35 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 12:35 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has joined #yocto | 12:35 | |
LetoThe2nd | pepijndevos: manually unpack and do install magic, sure. look at the bin_package class (or whatsit called, something similar) | 12:36 |
*** learningc <learningc!~learningc@mti-37-145.tm.net.my> has quit IRC | 12:40 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 12:47 | |
pepijndevos | How can I reference an environment variable with an absolute path in SRC_URI? | 12:49 |
rburton_ | RP: interesting idea to catch changes | 12:52 |
rburton_ | RP: a general-purpose "during this with block, this directory shouldn't change" would be awesome | 12:52 |
*** peacememories <peacememories!~textual@81.189.130.58> has quit IRC | 12:52 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has quit IRC | 12:53 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto | 12:53 | |
RP | rburton_: can't think why cpio would fault otherwise :/ | 12:57 |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has joined #yocto | 12:58 | |
RP | rburton_: I've put a few debugging patches in -next and run lots of selftests, will see if that shows anything. Its hot sstate so may not be so good at showing them up | 12:59 |
RP | not the inotify one though, still need to figure out how to implement that | 13:00 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 13:04 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has quit IRC | 13:05 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto | 13:05 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has quit IRC | 13:07 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has joined #yocto | 13:10 | |
pepijndevos | So... this binary package includes target arch libraries, but also a few host arch binaries. Can I make sortof a host package that's used for compiling stuff that depends on it? | 13:12 |
LetoThe2nd | pepijndevos: should be doable through the PROVIDES mechanism, i guess. but you're in for a lot of pain, and always remember the licensing restrictions that this said lib might impose on your product | 13:17 |
*** jij <jij!jonashg@nat/axis/x-wjiqjzfpiubwyeex> has quit IRC | 13:17 | |
*** marka <marka!~masselst@128.224.252.2> has joined #yocto | 13:24 | |
pepijndevos | LetoThe2nd, with RTI Connext, I'm not expecting anything less than living hell :( | 13:24 |
LetoThe2nd | rti? | 13:25 |
pepijndevos | https://www.rti.com/products/connext-dds-professional | 13:25 |
LetoThe2nd | hrhrhr | 13:26 |
rburton_ | pepijndevos: i'd have two recipes that use the same SRC_URI but package up either the host stuff (foo-native) or target stuff (foo) | 13:27 |
*** Carton__1 <Carton__1!~jo@2a02:120b:7ff:51a0:b923:3373:4c9:a5> has joined #yocto | 13:27 | |
*** Carton__1 <Carton__1!~jo@2a02:120b:7ff:51a0:b923:3373:4c9:a5> has left #yocto | 13:27 | |
pepijndevos | Basically, they give you a host installer which includes code generators for message definitions. In order to be able to cross-compile my software, I somehow need to invoke that thing. | 13:28 |
LetoThe2nd | yeah, we've seen things like that many times | 13:29 |
pepijndevos | rburton_, sure, how do I make a foo-native package that can be used to compile stuff, but not end up on the image? | 13:29 |
LetoThe2nd | pepijndevos: -native packages do not go into the image | 13:29 |
*** tasslehoff_ <tasslehoff_!~Tasslehof@82.147.55.166> has quit IRC | 13:30 | |
pepijndevos | So I just call it -native and I'm good? I'm now looking at this cross class, is that relevant? | 13:30 |
*** gtristan <gtristan!~tristanva@114.207.54.40> has quit IRC | 13:30 | |
rburton_ | pepijndevos: call it foo-native, inherit native in it, and most importantly don't put it in the image in the first place :) | 13:31 |
rburton_ | cross class is only relevant if you're buiding a cross compiler | 13:31 |
pepijndevos | awesome, I'll try | 13:33 |
*** pouet_forever <pouet_forever!~nico@213.56.200.5> has joined #yocto | 13:34 | |
pepijndevos | Can recipes have underscores in their names? Seems not. | 13:36 |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto | 13:43 | |
*** learningc <learningc!~learningc@210.195.35.150> has joined #yocto | 13:50 | |
eduardas_m | hello, is it just me or is the "usrmerge" for DISTRO_FEATURES not documented in the latest Yocto project manual? At least it does not seem to be in the 2.6 Mega-manual | 13:51 |
yocti | New news from stackoverflow: How to handle two kernel recipes in parallel? <https://stackoverflow.com/questions/53501232/how-to-handle-two-kernel-recipes-in-parallel> | 13:52 |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 14:01 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 14:02 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 14:04 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has joined #yocto | 14:04 | |
RP | rburton_: test runs shows other failures, all different :( | 14:05 |
rburton_ | RP: argh | 14:07 |
Crofton | as opposed to all the same? | 14:07 |
Crofton | Nobody laughs at my jokes, must be too old | 14:12 |
*** peacememories <peacememories!~textual@81.189.130.58> has joined #yocto | 14:17 | |
*** apteryx <apteryx!~maxim@45.72.138.75> has quit IRC | 14:18 | |
*** peacememories <peacememories!~textual@81.189.130.58> has quit IRC | 14:18 | |
rburton_ | what joke? | 14:19 |
*** learningc <learningc!~learningc@210.195.35.150> has quit IRC | 14:20 | |
*** learningc <learningc!~learningc@210.195.35.150> has joined #yocto | 14:20 | |
yates | in this definition of the variable S it is stated it is "where unpacked recipe source code resides," but I don't understand how or why recipes are unpacked. are they not static from the <project>/sources paths? | 14:20 |
rburton_ | because most recipe sources are tarballs | 14:21 |
LetoThe2nd | yates: recipes are not unpacked. "recipe source codes", eg. that what the recipe refers to, is unpacked if needed. | 14:21 |
yates | oh! | 14:21 |
*** gtristan <gtristan!~tristanva@110.11.179.2> has joined #yocto | 14:21 | |
yates | ok, parse error... :) | 14:22 |
yates | all is right with the world once again.. | 14:22 |
rburton_ | everything in SRC_URI is fetched (do_fetch, put in DL_DIR) then unpacked (do_unpack, untarred to $S for tarball, just copied for plain files, git checkout for git) | 14:22 |
yates | right | 14:23 |
pepijndevos | Uhm, so I have a -native package now. How can I use it in another package? The native package puts files in build/tmp/work/x86_64-linux/dds-native/5.3.1-r0/image it appears | 14:24 |
*** JPEW <JPEW!cc4da337@gateway/web/freenode/ip.204.77.163.55> has joined #yocto | 14:24 | |
LetoThe2nd | pepijndevos: -> DEPENDS | 14:25 |
pepijndevos | Yea, but what's the path after that? | 14:25 |
LetoThe2nd | pepijndevos: you put package-native into depends, and then "use" it as it is installed in the host system | 14:26 |
LetoThe2nd | s/system/sysroot/ | 14:26 |
pepijndevos | Oh, so it's like [...]/image/blah is actually /blah | 14:27 |
pepijndevos | cool cool | 14:27 |
rburton_ | yeah image/ is just a staging directory | 14:28 |
rburton_ | *everything* in tmp/work/* is staging and can be deleted | 14:28 |
rburton_ | when your recipe depends on foo-native it puts the contents of foo-native into your sysroot | 14:29 |
rburton_ | which is on $PATH, so binaries just work | 14:29 |
yates | where is the W variable defined? | 14:31 |
yates | i looked in two manuals' glossaries and can't find it | 14:32 |
yates | isn't there a ${W} variable? i thought i saw it used, in do_compile? | 14:34 |
*** interruptguy_ <interruptguy_!~interrupt@hel-inetgw01.vaisala.com> has quit IRC | 14:34 | |
LetoThe2nd | yates: there is S, B and D | 14:35 |
yates | LetoThe2nd: thank you. | 14:36 |
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC | 14:36 | |
*** hamis <hamis!~irfan@110.93.212.98> has quit IRC | 14:37 | |
pepijndevos | rburton_, my -native package installed stuff in non-standard locations, and it does not seem to be in the sysroot or the path. | 14:41 |
*** stephano <stephano!~stephano@134.134.139.75> has joined #yocto | 14:43 | |
*** marka <marka!~masselst@128.224.252.2> has quit IRC | 14:44 | |
pepijndevos | I moved the files out of their prefix, so now I have /tmp/work/x86_64-linux/dds-native/5.3.1-r0/image/bin/rtipkginstall and in the other package I do DEPENDS += " dds-native" but then rtipkginstall gives me command not found. | 14:45 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 14:45 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has quit IRC | 14:47 | |
*** marka <marka!~masselst@128.224.252.2> has joined #yocto | 14:47 | |
*** armpit <armpit!~armpit@174-24-96-92.clsp.qwest.net> has quit IRC | 14:47 | |
*** armpit <armpit!~armpit@174-24-96-92.clsp.qwest.net> has joined #yocto | 14:51 | |
JPEW | RP, rburton: Thanks for getting the AB building and testing MinGW | 15:01 |
pepijndevos | there is nothing much in recipe-sysroot[-native], is that normal? | 15:06 |
pepijndevos | This is my recipe now https://paste.ubuntu.com/p/tPbPT3pDnM/ | 15:07 |
LetoThe2nd | pepijndevos: LICENSE is not CLOSE, LICENSE is Proprietary :) | 15:08 |
LetoThe2nd | (as a side note) | 15:08 |
rburton_ | pepijndevos: i suspect bin isn't in the path, try usr/bin | 15:09 |
*** jij <jij!jonashg@nat/axis/x-owrydrakitzxivkd> has joined #yocto | 15:10 | |
pepijndevos | (can I force the thing to rerun the whole recipe?) | 15:12 |
RP | JPEW: Thanks for sorting the patches! We're testing 64 bit only atm but even that is a huge win | 15:13 |
pepijndevos | rburton_, I have /home/rove/code/poky/rpi-build/tmp/work/x86_64-linux/dds-native/5.3.1-r5/image/usr/bin/rtipkginstall now, but ls /home/rove/code/poky/rpi-build/tmp/work/x86_64-linux/dds-native/5.3.1-r5/recipe-sysroot-native/usr/bin/ contains only guards quilt | 15:14 |
*** learningc <learningc!~learningc@210.195.35.150> has quit IRC | 15:15 | |
*** learningc <learningc!~learningc@210.195.35.150> has joined #yocto | 15:17 | |
pepijndevos | ah... I'm onto something | 15:20 |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 15:21 | |
*** xtron <xtron!~xtron@110.93.212.98> has quit IRC | 15:24 | |
pepijndevos | it works! I copied shit to ${bindir} and that points straight to the sysroot | 15:26 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 15:27 | |
pepijndevos | Well... that part worked... still getting "not found" when I try to build the dependant package | 15:27 |
*** richardg <richardg!~richard@45.56.150.173> has joined #yocto | 15:29 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 15:31 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC | 15:31 | |
pepijndevos | Where is the actual sysroot itself located? | 15:33 |
kergoth | recipe-sysroot-native is where the DEPENDS of the recipe have their binaries | 15:33 |
kergoth | not the recipe itself | 15:33 |
kergoth | and you can't run the binaries of the recipe you just built | 15:33 |
kergoth | so not sure what you're tryig to do there | 15:33 |
*** cvasilak <cvasilak!~cvasilak@ppp-94-66-25-27.home.otenet.gr> has quit IRC | 15:34 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto | 15:35 | |
*** vmesons <vmesons!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto | 15:35 | |
pepijndevos | kergoth, I'm trying to install binaries in a native package and use it from another one. | 15:38 |
pepijndevos | sorry, pc crashed... having a great day haha | 15:40 |
*** asteriusio <asteriusio!~derek@104-179-196-18.lightspeed.brhmal.sbcglobal.net> has joined #yocto | 15:41 | |
pepijndevos | kergoth, this is my recipe now https://paste.ubuntu.com/p/GD8KqqcPwj/ | 15:42 |
pepijndevos | That moves all the thins into build/tmp/work/x86_64-linux/dds-native/5.3.1-r5/recipe-sysroot-native somehow... | 15:42 |
*** vmesons is now known as vmeson | 15:44 | |
pepijndevos | I've tried to just move to ${D}/usr/bin, but that doesn't work either.. | 15:45 |
*** richardg <richardg!~richard@45.56.150.173> has quit IRC | 15:46 | |
*** xtron <xtron!~sajjad@110.93.212.98> has joined #yocto | 15:47 | |
kergoth | target should DEPENDS on the native recipe, native recipe should install to ${D}${bindir} in do_install, then the target recipe can run it from configure, compile, or install | 15:47 |
kergoth | nothing else to it, other than ensuring the native recipe inherits native, of course, one way or hte other | 15:48 |
*** ant_work <ant_work!~ant__@host27-31-dynamic.0-87-r.retail.telecomitalia.it> has quit IRC | 15:49 | |
*** varjag <varjag!~user@122.62-97-226.bkkb.no> has quit IRC | 15:50 | |
rburton_ | pepijndevos: those mv's are wrong | 15:52 |
rburton_ | you're missing a ${D} in the target | 15:52 |
rburton_ | also the mkdirs need ${D} too | 15:52 |
yocti | New news from stackoverflow: Handling failed task in Yocto recipe <https://stackoverflow.com/questions/53503158/handling-failed-task-in-yocto-recipe> | 15:52 |
rburton_ | also PR isn't needed unless you're maintaining a feed, in which case dont use manual PR changes but use the PR server | 15:53 |
pepijndevos | OH GOD YAY FINALLY | 15:54 |
rburton_ | inside do_install *everything needs to go into ${D}* | 15:54 |
rburton_ | D for Destination | 15:54 |
armpit | YPTM: Armin is on | 15:55 |
pepijndevos | I printed ${D}${bindir} and it printed something ridiculous that seemed like ${bindir} was an absolute path. So that's why I figured I should skip the D part. | 15:55 |
rburton_ | armin is very early | 15:55 |
pepijndevos | So... that worked for bin and include, but now the binary is complaining it can't find some resource files... these were obviously not copied into the sysroot. | 15:56 |
armpit | rburton_, is it still an hour away.. I am MT timezone today | 15:57 |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 15:58 | |
rburton_ | armpit: no, you're just five minutes early | 15:58 |
RP | armpit: no, there is one now | 15:58 |
rburton_ | pepijndevos: staging doesn't copy everything, you'll need to add that non-standard path to SYSROOT_DIRS | 15:59 |
rburton_ | (see staging.bbclass) | 15:59 |
RP | armpit: are you on hold? | 15:59 |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has joined #yocto | 16:00 | |
pepijndevos | awesome | 16:00 |
*** sjolley1 <sjolley1!86868b4a@gateway/web/freenode/ip.134.134.139.74> has joined #yocto | 16:00 | |
armpit | RP, no, I use the mute button on my phone | 16:01 |
RP | armpit: do you have the bridge number? | 16:01 |
rburton_ | YPTM; ross on | 16:01 |
sjolley1 | YPTM on Zoom:Bridge is with Zoom at: https://zoom.us/j/990892712 | 16:01 |
RP | thanks | 16:01 |
sjolley1 | YPTM: Stephen Joined | 16:01 |
RP | YPTM: Richard joined | 16:02 |
vmeson | YPTM: Randy joined | 16:02 |
dreyna | YPTM: David joined | 16:02 |
armpit | YPTM: Armpit is on | 16:02 |
rburton_ | Ross | 16:02 |
*** aaronchu <aaronchu!c0c693a4@gateway/web/freenode/ip.192.198.147.164> has joined #yocto | 16:03 | |
aaronchu | Aaron Chan has joined the Zoom Meeting | 16:03 |
*** rburton_ is now known as rburton | 16:04 | |
*** aaronyocto <aaronyocto!aaronchu@nat/intel/x-iklbcjdwzxrtnwei> has joined #yocto | 16:06 | |
*** kristoiv <kristoiv!~kristoiv@195.139.214.6> has quit IRC | 16:06 | |
sjolley1 | 2.7 Planning doc: https://docs.google.com/document/d/15jB6nUJU2wrtnu6w07L9RZpNlj6AoxSTPEX5aELts1g/edit | 16:08 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 16:08 | |
aaronyocto | Thanks | 16:10 |
*** dqx <dqx!~dqx@unaffiliated/dqx> has quit IRC | 16:10 | |
pepijndevos | hrm... I've deleted all the manual moving because it break the structure, and added SYSROOT_DIRS += " ${D}/rti_connext_dds-5.3.1" in the hope that it'd add the whole folder. That does not seem to happen... | 16:13 |
pepijndevos | Alright... I'll firgure this out tomorrow. Nothing works today... | 16:14 |
rburton | not ${D}, the paths there are relative to the base of the sysroot | 16:14 |
pepijndevos | oooooh | 16:14 |
rburton | so i'd guess adding "/rti_connext*" will work and be future proof | 16:14 |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 16:16 | |
*** berton <berton!~berton@181.220.65.91> has joined #yocto | 16:17 | |
pepijndevos | Okay, that looks slightly more promising... thanks so much. I'll figure out the final details tomorrow. | 16:17 |
aehs29 | oh wow I didnt know there was a meeting today | 16:22 |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 16:23 | |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 16:24 | |
aehs29 | YPTM: Alejandro joined | 16:25 |
*** Bunio_FH <Bunio_FH!~bunio@81-18-201-214.static.chello.pl> has quit IRC | 16:28 | |
yates | at do_install_append time, should any utility (specifically wx-config) generated by autotool which got installed in $(bindir) be in the XYZ/usr/bin of the PATH? | 16:29 |
*** aaronchu <aaronchu!c0c693a4@gateway/web/freenode/ip.192.198.147.164> has quit IRC | 16:30 | |
yates | by hacking some echos in the do_install_append, i'm seeing the usr/bin path at <builddir>/tmp/sysroots-uninative/x86_64-linux/usr/bin | 16:31 |
yates | but looking there after the do_install_append exits all i can find is a patchelf-uninative - no other files or subdirs.. | 16:32 |
kergoth | totally OT, but https://arstechnica.com/tech-policy/2018/11/how-i-changed-the-law-with-a-github-pull-request/ is awesome | 16:33 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 16:33 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 16:33 | |
rburton | yates: do_install writes to a staging area, which is unrelated to where you can run stuff from | 16:34 |
yates | rburton: ok, but i don't want to run anything. the endgame is to get the generate wx-config into my package. | 16:36 |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC | 16:36 | |
yates | i'm pretty sure the autotools is generating it because grepping shows this: https://paste.fedoraproject.org/paste/g8u7e8iTktr5rcuNWrGsDg | 16:37 |
yates | i'm just have a hard time getting at it (e.g., for FILES) at do_install_append time | 16:38 |
yates | remember a few days back ya'll also had me do this GLOB because the wx-config was a symlink: BINCONFIG_GLOB = "inplace-arm-fslc-linux-gnueabi-gtk2-unicode-3.0" | 16:39 |
rburton | right | 16:39 |
yates | FILES_${PN} = "${bindir}/wx-config ${bindir}/wxrc-3.0 ${bindir}/wxrc ${libdir}/wx ${includedir}/wx-3.0 ${libdir}/libwx*" | 16:40 |
yates | that apparently does not pick up the wx-config into the package | 16:41 |
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has quit IRC | 16:41 | |
rburton | have a look at binconfig.bbclass | 16:41 |
rburton | specifically the first line | 16:41 |
yates | because building a subsequent recipe that DEPENDS on this recipe (i call it simply wxwidgets_3.0.4.bb) can't find wx-config | 16:41 |
yates | you mean this: FILES_${PN}-dev += "${bindir}/*-config" | 16:42 |
rburton | yes | 16:42 |
rburton | thats why its not in PN, because it should be in PN-dev | 16:43 |
rburton | so i'd verify that is happening | 16:43 |
rburton | stop putting includedir in PN | 16:43 |
rburton | seriously just delete your FILES | 16:43 |
rburton | let the standard rules do the right thing | 16:43 |
*** OutBackDingo <OutBackDingo!~quassel@unaffiliated/outbackdingo> has joined #yocto | 16:44 | |
yates | i was geting qa error. | 16:44 |
yates | getting | 16:44 |
rburton | you'll definitely get a QA error if you put development libraries into PN | 16:44 |
*** aaronyocto <aaronyocto!aaronchu@nat/intel/x-iklbcjdwzxrtnwei> has left #yocto | 16:44 | |
*** sjolley1 <sjolley1!86868b4a@gateway/web/freenode/ip.134.134.139.74> has quit IRC | 16:45 | |
rburton | fwiw, still unsure why you didn't just update the existing recipe | 16:45 |
*** apteryx <apteryx!~maxim@45.72.138.75> has joined #yocto | 16:47 | |
*** frsc <frsc!~frsc@2003:a:e7a:6200:246c:2a8b:f45a:a33d> has quit IRC | 16:47 | |
*** lusus <lusus!~lusus@62.91.23.180> has quit IRC | 16:48 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 16:48 | |
*** TobSnyder <TobSnyder!~schneider@ip5f5aa32f.dynamic.kabel-deutschland.de> has quit IRC | 16:48 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 16:49 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 16:49 | |
derRichard | when building with multilib, what approach do you suggest to build all packages except the kernel as 32bit application? | 16:50 |
yates | rburton: re: development libraries: the include files are supposed to be part of the package, are they not? | 16:52 |
rburton | the PN-dev pacakge | 16:52 |
rburton | as per the standard FILES | 16:52 |
rburton | PN has the actual libraries, PN-dev has the development library links, and headers | 16:52 |
rburton | for wx I'd expect all of $bindir to be in PN-dev too | 16:53 |
RP | rburton: ok with next up to uboot-sign? | 16:53 |
rburton | yates: the important distinction is what is needed to run something using wx vs what is needed to build against wx | 16:53 |
* rburton looks | 16:53 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 16:54 | |
yates | rburton: yes, i understand that difference. but i wanted this recipe to provide both the run-time libraries (.so's) AND the files needed for development (the includes, the wx-config utility) | 16:54 |
rburton | yates: why not just install PN and PN-dev | 16:54 |
rburton | you'll end up arguing with the QA | 16:55 |
*** AndersD <AndersD!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 16:55 | |
yates | so you mean the standard rules will generate both wxwidgets and wxwidgets-dev RPMs automagically ??? | 16:56 |
rburton | yes | 16:56 |
vmeson | derRichard: bitbake lib32-core-image-foo should work, no? | 16:56 |
* yates facepalms | 16:57 | |
rburton | yates: bitbake.conf, look at PACKAGES and all the FILES | 16:57 |
* vmeson builds that now but in a WR Linux env. | 16:57 | |
rburton | RP: the hostname thing is horrible | 16:58 |
rburton | been meaning to review that, wish i did earlier | 16:58 |
RP | rburton: how should we do it though? | 16:59 |
*** mckoan is now known as mckoan|away | 17:00 | |
yates | i need to add the ${PN}-dev to the recipe's PROVIDES if i want to DEPENDS on it by another recipe? | 17:02 |
rburton | yates: DEPENDS works on recipes not pacakges | 17:03 |
rburton | so just DEPENDS=wxwidgets | 17:03 |
rburton | RP: move hosts to base-files so it can be written at the same time? | 17:09 |
yates | rburton: do i need to add PROVIDES += "${PN}-dev" in the wxwidgets recipe if i want the wxwidgets-dev.rpm package to be available at target system runtime? | 17:09 |
yates | (i'm generating a repository and using it with smart) | 17:10 |
rburton | yates: no, its a package, so its available | 17:10 |
rburton | also PROVIDES is built-time, you'd be talking about RPROVIDES. but no. | 17:10 |
yates | so if a ra DEPENDS on rb, then it automatically gets rb-dev files at build-time? | 17:12 |
yates | if so, something is hosed. i'm still getting "wx-config: not found" problem in ra at bitbake time. | 17:12 |
yates | i removed my FILES in wxwidgets | 17:14 |
yates | wxwidgets_3.0.4.bb: https://paste.fedoraproject.org/paste/phslD8vbuJ2FIDv0BnRaZQ | 17:14 |
*** rajm <rajm!~robertmar@office.codethink.co.uk> has quit IRC | 17:14 | |
yates | client-6300-devel_1.0-rc0.bb: https://paste.fedoraproject.org/paste/N1h7ZMwAqtDEZbaIuEhZLw | 17:14 |
derRichard | vmeson: aaaahh, i can use the lib32-prefix here too. very nice. thx! | 17:16 |
*** sagner <sagner!~ags@46.140.72.82> has quit IRC | 17:16 | |
*** dmoseley71 <dmoseley71!48b86a4a@gateway/web/cgi-irc/kiwiirc.com/ip.72.184.106.74> has joined #yocto | 17:17 | |
yates | doh. i am deleting files which include wx-config in the wxwidgets do_install_append(). i undeleted them, but then i'm getting QA errors. why aren't the "standard rules" putting those into the -dev package? | 17:19 |
rburton | what files? | 17:19 |
yates | https://paste.fedoraproject.org/paste/OJ0W~EdM7z2cPD8oIGyaDw | 17:20 |
rburton | because the standard rules have no idea where those files go | 17:21 |
rburton | they look like they belong to PN-dev | 17:21 |
yates | yes | 17:21 |
yates | how do i finagle that? | 17:21 |
rburton | so FILES_${PN}-dev += "${libdir}/wx" | 17:21 |
yates | oh! | 17:22 |
rburton | now you're not deleting the target of the wx-widgets symlink \o/ | 17:22 |
yates | it really was a late-breaking revolution that a recipe generates both ${PN} and ${PN}-dev packages.. | 17:24 |
yates | s/revolution/revelation? | 17:24 |
rburton | a recipe builds a package for everything in the cunningly-named variable PACKAGES | 17:24 |
rburton | if a package ends up empty, it doesn't get generated, unless ALLOW_EMPTY_[pkg] is set | 17:25 |
rburton | so even though PN-doc is in PACKAGES it is only generated if something is installed in $docdir, assuming default rules | 17:25 |
yates | what are the default packages in PACKAGES? where is that instantiated? | 17:26 |
rburton | bitbake.conf | 17:26 |
*** agust1 <agust1!~agust@p508DE362.dip0.t-ipconnect.de> has joined #yocto | 17:26 | |
yates | ok. | 17:26 |
rburton | if the question is "where is...?" the first place to look is bitbake.conf | 17:27 |
rburton | the better answer is bitbake -e and look at the PACKAGES assignment history | 17:27 |
*** agust <agust!~agust@p5088702D.dip0.t-ipconnect.de> has quit IRC | 17:28 | |
yates | right | 17:28 |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 17:28 | |
yates | still missing wx-config when attempting to build my dependent recipe. can i see the file system state (sysroot, etc) that was in-place in my dependent package's do_compile()? | 17:28 |
rburton | its in the work directory for that recipe | 17:29 |
yates | here's the recipe i just used: https://paste.fedoraproject.org/paste/HuiP9D5WB1rMnNO0B6hmcw | 17:29 |
rburton | no doubt a bust symlink | 17:29 |
rburton | wxwidgets sounds *great* | 17:29 |
yates | and... ? | 17:29 |
yates | not so much? | 17:30 |
*** agust1 <agust1!~agust@p508DE362.dip0.t-ipconnect.de> has quit IRC | 17:30 | |
*** agust <agust!~agust@p508DE362.dip0.t-ipconnect.de> has joined #yocto | 17:30 | |
rburton | hillariously after all this you'll probably discover that the config script is so broken its useless | 17:30 |
rburton | maybe it will work, you never know | 17:30 |
rburton | but there's a very good reason why we try to kill them where possible | 17:30 |
RP | yates, rburton: You may need to do something like the tcl recipe for a cross script, meta/recipes-devtools/tcltk/tcl_8.6.8.bb see the bindir_crossscripts bits | 17:31 |
*** no_such_user <no_such_user!~no_such_u@mail.analogue-micro.com> has quit IRC | 17:31 | |
RP | as rburton says, we removed most of them | 17:31 |
RP | things in bindir for the target are generally assumed not to be useful in a cross build | 17:32 |
* RP suspects rburton is blocking knowledge of the bad old days | 17:33 | |
rburton | totally | 17:33 |
*** fl0v0 <fl0v0!~fvo@mue-88-130-96-067.dsl.tropolys.de> has quit IRC | 17:34 | |
yates | so you mean that the problem is whether a script is used only for building the libary versus for building applicaitons which use the library? | 17:34 |
rburton | the paths are likely wrong. the binconfig class tries to fix them. doesn't always succeed. | 17:35 |
rburton | try it, might work | 17:35 |
*** Crofton|work <Crofton|work!~Crofton@2601:5c0:c100:b84:1d03:65ee:2014:3e2f> has quit IRC | 17:36 | |
yates | this is the contents of my dependent recipe's workdir: https://paste.fedoraproject.org/paste/fhHG8-4wydAnf6fDeWN4Xg | 17:37 |
yates | i don't see any sysroot type files there | 17:38 |
yates | this is after error-ing out from do_compile | 17:38 |
yates | isn't that the ${WORKDIR}? | 17:38 |
rburton | oh is this an old yocto? | 17:38 |
yates | morty | 17:39 |
rburton | right, shared sysroot | 17:39 |
rburton | there's a directory called sysroot above work | 17:39 |
yates | https://paste.fedoraproject.org/paste/5W2RKFKd3tFsoa22d4qhkA | 17:39 |
yates | you mean sysroots? | 17:39 |
RP | rburton: given its our own file that would be an option | 17:41 |
yates | ok, so the wx-config is present in sysroots/lib/wx/... | 17:41 |
RP | rburton: I wonder if that would break things for people | 17:41 |
rburton | RP: check where it is pointing too | 17:41 |
rburton | erm yates ^ | 17:41 |
yates | no, i mean the target of the symlink is there | 17:42 |
yates | there is no symlink to it in sysroots/usr/bin though! no wx-config symlink there | 17:42 |
yates | nada | 17:43 |
yates | nil | 17:43 |
rburton | yates: look in usr/bin/crossscripts | 17:43 |
yates | ah. | 17:44 |
rburton | target bindir is useless as you can't run anything | 17:44 |
rburton | some select pieces get put in crossscripts, like anything binconfig touches | 17:44 |
yates | the original symlink target is there. scratch what i said about the symlink target being in /usr/lib/wx | 17:44 |
yates | but like i said, no symlink to it in usr/bin | 17:45 |
rburton | and not in usr/bin/crosssripts | 17:45 |
yates | right | 17:45 |
yates | https://paste.fedoraproject.org/paste/eyhZT41fwD-jh2MEzkXXXw | 17:46 |
rburton | pass | 17:46 |
rburton | and on that note, dinner is on the table | 17:46 |
rburton | fish pie+++ | 17:46 |
yates | ding! | 17:46 |
yates | ha. enjoy dinner rburton. | 17:46 |
yates | are you in Britain? | 17:46 |
yates | or is it politically incorrect to ask location on irc? :) | 17:47 |
yates | could i not just create a symlink in my do_install_append() there? | 17:48 |
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC | 17:50 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 17:54 | |
*** interruptguy <interruptguy!~interrupt@82-181-115-116.bb.dnainternet.fi> has joined #yocto | 17:54 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 17:58 | |
*** dreyna_ <dreyna_!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has joined #yocto | 18:01 | |
*** dreyna <dreyna!~dreyna@c-24-5-28-247.hsd1.ca.comcast.net> has quit IRC | 18:05 | |
*** gnac_ <gnac_!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 18:10 | |
*** interruptguy <interruptguy!~interrupt@82-181-115-116.bb.dnainternet.fi> has quit IRC | 18:17 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC | 18:19 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto | 18:20 | |
derRichard | vmeson: while bitbake lib32-core-image-foo seems to work fine, bitbake -c populate_sdk_ext lib32-core-image-foo does not | 18:29 |
derRichard | can't i create such an sdk? | 18:29 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 18:31 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has quit IRC | 18:32 | |
*** jpnurmi_ is now known as jpnurmi | 18:34 | |
*** nighty- <nighty-!~nighty@s229123.ppp.asahi-net.or.jp> has joined #yocto | 18:50 | |
*** bachp <bachp!bachpmatri@gateway/shell/matrix.org/x-qvjmvcabhxykvfnd> has quit IRC | 18:53 | |
*** BubuIIC <BubuIIC!bubuiicmat@gateway/shell/matrix.org/x-klrgycqqnpnncyig> has quit IRC | 18:53 | |
*** TurBoss <TurBoss!turbossmat@gateway/shell/matrix.org/x-efnragfokdtapwge> has quit IRC | 18:53 | |
*** nrossi <nrossi!nrossimatr@gateway/shell/matrix.org/x-hrqvumvoapqbwcvd> has quit IRC | 18:54 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 18:58 | |
derRichard | is this issue still here? | 19:07 |
derRichard | http://lists.openembedded.org/pipermail/openembedded-core/2017-November/262640.html | 19:07 |
derRichard | reads like ext sdk and multilib is not possible | 19:07 |
*** BubuIIC <BubuIIC!bubuiicmat@gateway/shell/matrix.org/x-zkqinmpaudkmbsne> has joined #yocto | 19:11 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 19:15 | |
*** bachp <bachp!bachpmatri@gateway/shell/matrix.org/x-osmmadyjwplunafc> has joined #yocto | 19:17 | |
*** TurBoss <TurBoss!turbossmat@gateway/shell/matrix.org/x-tpfownxedfkpmliy> has joined #yocto | 19:17 | |
*** nrossi <nrossi!nrossimatr@gateway/shell/matrix.org/x-ycimsnhwnlkromne> has joined #yocto | 19:17 | |
*** berton <berton!~berton@181.220.65.91> has quit IRC | 19:26 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 19:35 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 19:40 | |
*** interruptguy <interruptguy!~interrupt@82-181-115-116.bb.dnainternet.fi> has joined #yocto | 19:44 | |
*** TurBoss <TurBoss!turbossmat@gateway/shell/matrix.org/x-tpfownxedfkpmliy> has quit IRC | 19:56 | |
*** bachp <bachp!bachpmatri@gateway/shell/matrix.org/x-osmmadyjwplunafc> has quit IRC | 19:56 | |
*** BubuIIC <BubuIIC!bubuiicmat@gateway/shell/matrix.org/x-zkqinmpaudkmbsne> has quit IRC | 19:56 | |
*** nrossi <nrossi!nrossimatr@gateway/shell/matrix.org/x-ycimsnhwnlkromne> has quit IRC | 19:56 | |
vmeson | derRichard: yeah, it would be nice to populate the sdk with just lib32 userspace. Care to re-open the defect: https://bugzilla.yoctoproject.org/show_bug.cgi?id=12210 | 19:57 |
yocti | Bug 12210: normal, Medium+, 2.5 M2, liezhi.yang, RESOLVED FIXED, populate_sdk_ext failed when multilib | 19:57 |
vmeson | There has been quite a bit of work on multlib support for 2.6 so maybe things have changed since early February. | 19:58 |
yates | when building a recipe that DEPENDS on rdep, does yocto actually pull the files from rdep.rpm out of the deploy/rpms dir? | 19:58 |
derRichard | vmeson: ok, i'll look into that :) | 19:59 |
derRichard | btw: in meta-openembedded/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb i see: | 19:59 |
derRichard | S = "${WORKDIR}/git/${PN}" | 19:59 |
derRichard | this seems to be broken for multilib, right? | 19:59 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 19:59 | |
derRichard | at least the build fails because make is unable to find the Makefile | 19:59 |
derRichard | so i fear the name of the source path is wrong | 20:00 |
vmeson | derRichard: if it doesn't build, it's a bug! s/PN/BPN/ ? | 20:00 |
* armpit hmm, layer index is not showing 'thud" | 20:00 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 20:02 | |
*** BubuIIC <BubuIIC!bubuiicmat@gateway/shell/matrix.org/x-qdlaffmpohwduimf> has joined #yocto | 20:02 | |
yates | rburton: i've discovered that the wxwidgets-dev.rpm package actually does list /usr/bin/wx-config. i don't know why it's not being installed | 20:02 |
yates | via rpm -qlp wxwidgets-dev-3.0.4-r0.armv7at2hf_neon.rpm | 20:04 |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 20:05 | |
derRichard | vmeson: so it is a bug to set S to PN? i always have to use BPN? | 20:08 |
derRichard | at least from what i understand from the docs :) | 20:08 |
*** TurBoss <TurBoss!turbossmat@gateway/shell/matrix.org/x-tvlikqhsrorfatjj> has joined #yocto | 20:08 | |
*** bachp <bachp!bachpmatri@gateway/shell/matrix.org/x-rpipgjfinoovvkeh> has joined #yocto | 20:08 | |
*** nrossi <nrossi!nrossimatr@gateway/shell/matrix.org/x-qewdzglhilntjnbq> has joined #yocto | 20:08 | |
derRichard | yates: hey, nice to see you here too :-D | 20:11 |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 20:14 | |
derRichard | vmeson: hmm, that bugzilla entry makes me sad. does that mean i can't have an sdk at all when multilib is being used? | 20:15 |
*** interruptguy <interruptguy!~interrupt@82-181-115-116.bb.dnainternet.fi> has quit IRC | 20:17 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 20:17 | |
*** marka <marka!~masselst@128.224.252.2> has quit IRC | 20:18 | |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has quit IRC | 20:27 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 20:27 | |
yates | hey derRichard from ##kernel! | 20:29 |
*** gnac <gnac!~gnac@or-71-0-52-80.sta.embarqhsd.net> has joined #yocto | 20:31 | |
yates | ok, i finally got wx-config to work | 20:33 |
yates | ...sort of | 20:33 |
yates | https://paste.fedoraproject.org/paste/TT1gcHl91zS9Lm7MGyhLsw | 20:34 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 20:36 | |
yates | can i get away with making a temporary edit to files in ${S} ? | 20:37 |
yates | oh shit | 20:43 |
yates | yates sees the light | 20:43 |
yates | wx-config won't work for cross-compiling... | 20:43 |
yates | what a pain in the rumpustoid | 20:44 |
yates | is that what ya'll have been trying to tell me for a few days now? :) | 20:44 |
derRichard | yates: it is amazing that in 2018 still many packages don't build cross ;-\ | 20:44 |
yates | yeah, how to fix? write my own? | 20:45 |
derRichard | usually i fix the package | 20:47 |
yates | "-I /usr/..." won't work... | 20:47 |
yates | --Wpoison-system-directories | 20:48 |
yates | yes, that makes more sense | 20:49 |
yates | don't reinvent the wheel, just fix it | 20:49 |
derRichard | hmm, bitbake lib32-testing-image failed with: | 20:54 |
derRichard | http://paste.debian.net/plain/1053469 | 20:54 |
derRichard | whyt is apt trying to say me? | 20:54 |
derRichard | *what | 20:54 |
derRichard | bitbake lib32-dropbear works just fine | 20:54 |
derRichard | why is lib32-dropbear not installable? | 20:54 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 20:56 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 21:01 | |
rburton | yates: are you talking about installed into the sysroot? as i said, that's nothing to do with packages. | 21:05 |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 21:06 | |
rburton | yates: yes, you've now discovered why -config scripts are generally a nuisance | 21:07 |
yates | if they all had a sysroot option, that would generally fix the problem, no? | 21:07 |
rburton | correct | 21:08 |
yates | looking at the script there are --prefix and --exec-prefix options - i am not familiar enough to know if those can be used to do the same thing | 21:09 |
yates | maybe i'm just not using it right??? | 21:09 |
yates | https://paste.fedoraproject.org/paste/Q6pSL2nIZnmQIYHsRoodJg | 21:09 |
yates | ^^^ that's from my x86 fedora system | 21:10 |
yates | is the binconfig_package_preprocess only used to modify files used in the cross-build, or do those modified files get packaged? | 21:14 |
rburton | both | 21:14 |
rburton | i was just typing :) | 21:14 |
rburton | the sysroot_preprocess one tries to turn the paths into paths to the sysroot | 21:14 |
rburton | the package_preprocess one tries to remove any sysroot references that should be target paths | 21:14 |
rburton | if your config has e.g. /usr/ in then the sysroot one didn't do enough then try extending OE_BINCONFIG_EXTRA_MANGLE to add more replacements? | 21:15 |
yates | well, i cheated with an extremely dirty trick... | 21:16 |
rburton | looks like upstream wx doesn't think pkgconfig is good enough and their stuff is fine | 21:16 |
rburton | (joining gnupg, we patch gpg-config out and write our own pkgconfig files) | 21:17 |
yates | i put this in my recipe: binconfig_package_preprocess() {} | 21:17 |
yates | so i just tossed all your neat mods... | 21:17 |
yates | not too smart, i guess. | 21:17 |
rburton | *package*, won't touch the sysroot one | 21:17 |
*** marka <marka!~masselst@184.175.21.100> has joined #yocto | 21:18 | |
yates | what is ${PKGD} in your binconfig.bbclass? | 21:19 |
yates | usr/bin ? | 21:19 |
*** maudat <maudat!~moda@64.18.88.250> has joined #yocto | 21:19 | |
derRichard | hm, as soon i add a single lib32-* package to my image, building the sdk fails | 21:19 |
rburton | package.bbclass:PKGD = "${WORKDIR}/package" | 21:20 |
derRichard | multilib support seems to be in bad shape, at least for my use case | 21:20 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 21:24 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 21:30 | |
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has joined #yocto | 21:40 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has joined #yocto | 21:42 | |
yates | rburton: so why, if i set ${BINCONFIG_BLOB} to my wx-config symlink target, which is in /usr/lib/wx/..., doesn't it find it? | 21:42 |
yates | and i have FILES_${PN}-dev += "${libdir}/wx" | 21:42 |
yates | oh wait. | 21:44 |
yates | i got the answer to that.. | 21:44 |
*** AndersD <AndersD!~AndersD@h83-209-191-235.cust.a3fiber.se> has quit IRC | 21:44 | |
yates | DOH!!! | 21:48 |
*** JaMa <JaMa!~martin@217.30.68.212> has quit IRC | 21:48 | |
yates | the configure script name under usr/lib/wx/config is also a directory name under usr/lib/wx/include, and find is finding the latter one first! | 21:48 |
yates | why is this so painful? | 21:49 |
rburton | the sooner you learn that life is full of pain and misery, the better? ;) | 21:50 |
yates | ha | 21:50 |
rburton | why couldn't wx just use a pkgconfig file? | 21:50 |
rburton | why can't there just be one build system for linux software? | 21:50 |
yates | indeed | 21:51 |
yates | why did she have to eat that apple? | 21:51 |
rburton | why oh why did that singularity undergo inflation | 21:52 |
rburton | all went downhill from there | 21:52 |
yates | why did Beelzebub rebel? | 21:53 |
yates | so here we are with broken build systems... | 21:54 |
yocti | New news from stackoverflow: yocto core-image-sato gstreamer1.0-plugins-bad QA Issue <https://stackoverflow.com/questions/53508525/yocto-core-image-sato-gstreamer1-0-plugins-bad-qa-issue> | 21:54 |
yates | rburton: do you mean why couldn't wx have used the pkg-config tool? | 21:55 |
rburton | yes | 21:55 |
rburton | if it shipped a .pc file alongside the wx-config then people would have a choice | 21:55 |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has joined #yocto | 21:56 | |
yates | hmm. why didn't putting a "-type f" in your find command when overriding your binconfig_package_process() work? | 22:00 |
yates | https://paste.fedoraproject.org/paste/rNvrVeNHkcnXM8Ep-vTiDw | 22:00 |
yates | sed is still operating on the directory | 22:00 |
yates | doh | 22:01 |
yates | it did work | 22:01 |
yates | this is binconfig_sysroot_preprocess | 22:01 |
rburton | ive a patch locally to add lots of type f | 22:04 |
rburton | need to send it | 22:04 |
rburton | its in poky-contrib:ross/mut if you want to test it :) | 22:04 |
yates | ok | 22:04 |
*** rburton <rburton!~rburton@35.106.2.81.in-addr.arpa> has quit IRC | 22:04 | |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 22:06 | |
yates | does something move the files in BINCONFIG_GLOB into /usr/bin/crossscripts? | 22:07 |
yates | no, nm | 22:14 |
yates | shoot | 22:15 |
*** andrey_utkin <andrey_utkin!~andrey_ut@gentoo/developer/andrey-utkin> has quit IRC | 22:15 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC | 22:19 | |
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has joined #yocto | 22:29 | |
*** gtristan <gtristan!~tristanva@110.11.179.2> has quit IRC | 22:32 | |
*** joeythesaint <joeythesaint!~joe@vegas.deserted.net> has quit IRC | 22:53 | |
*** joeythesaint <joeythesaint!~joe@vegas.deserted.net> has joined #yocto | 22:53 | |
*** marka <marka!~masselst@184.175.21.100> has quit IRC | 22:55 | |
aehs29 | the ML archives are gone? | 22:56 |
aehs29 | halstead:^^ | 22:57 |
RP | aehs29: I was using them earlier? | 23:08 |
RP | aehs29: http://lists.openembedded.org/pipermail/openembedded-core/2018-November/date.html - which list is broken? | 23:10 |
*** JaMa <JaMa!~martin@217.30.68.212> has joined #yocto | 23:15 | |
*** AndersD_ <AndersD_!~AndersD@194-237-220-218.customer.telia.com> has quit IRC | 23:18 | |
*** OpenSorceress <OpenSorceress!~opensorce@unaffiliated/screamingbanshee> has quit IRC | 23:20 | |
*** kristoiv <kristoiv!~kristoiv@245.90-149-61.nextgentel.com> has quit IRC | 23:32 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 23:34 | |
halstead | aehs29, Yeah can you send more details. | 23:36 |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-duaqvoaxppasfvhn> has joined #yocto | 23:40 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has joined #yocto | 23:41 | |
RP | armpit: with the gpg fixes from master thud gpg testing in selftest should be more consistent FWIW | 23:43 |
*** stephano <stephano!~stephano@134.134.139.75> has quit IRC | 23:52 | |
aehs29 | huh, wait a sec | 23:53 |
aehs29 | RP: halstead Im actyually ashamed to say what happened lol | 23:54 |
aehs29 | I clicked on the advanced archive on the webpage, my mistake | 23:54 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!