*** fray <fray!~fray@kernel.crashing.org> has joined #yocto | 00:18 | |
*** Crofton_ <Crofton_!~Crofton@wsip-24-234-76-211.lv.lv.cox.net> has quit IRC | 00:32 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 00:45 | |
*** anujm <anujm!anujm@nat/intel/x-asjmsgoprmzamgba> has joined #yocto | 01:18 | |
*** NU-Slacker <NU-Slacker!~NU-Slacke@24.13.72.71> has joined #yocto | 01:28 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has quit IRC | 02:00 | |
*** geissonator <geissonator!~geissonat@45-18-127-186.lightspeed.austtx.sbcglobal.net> has quit IRC | 02:00 | |
*** micka <micka!~micka@reverse-75.fdn.fr> has joined #yocto | 02:00 | |
*** Hooloovo0 <Hooloovo0!Hooloovoo@hooloovoo.blue> has quit IRC | 02:06 | |
*** Hoolootwo <Hoolootwo!Hooloovoo@hooloovoo.blue> has joined #yocto | 02:08 | |
*** anujm <anujm!anujm@nat/intel/x-asjmsgoprmzamgba> has quit IRC | 02:36 | |
*** anujm <anujm!anujm@nat/intel/x-wankmjbwhzptsdhs> has joined #yocto | 03:08 | |
*** anujm <anujm!anujm@nat/intel/x-ifqtollzybbnwyrs> has joined #yocto | 03:25 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 03:47 | |
*** moto-timo <moto-timo!ttorling@fsf/member/moto-timo> has quit IRC | 03:59 | |
*** gtristan <gtristan!~tristanva@110.11.179.72> has joined #yocto | 04:18 | |
*** anujm <anujm!anujm@nat/intel/x-ifqtollzybbnwyrs> has quit IRC | 04:26 | |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 04:29 | |
*** flying_sausages <flying_sausages!~flying_sa@88.198.40.49> has quit IRC | 04:33 | |
*** webreformer <webreformer!~webreform@106.51.26.143> has joined #yocto | 04:34 | |
*** flying_sausages <flying_sausages!~flying_sa@static.88-198-40-49.clients.your-server.de> has joined #yocto | 04:34 | |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 04:36 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-itpwnebxsopfkkhs> has quit IRC | 04:54 | |
*** demonimin <demonimin!~demonimin@unaffiliated/demonimin> has quit IRC | 05:03 | |
*** Crofton_ <Crofton_!~Crofton@199.36.244.14> has joined #yocto | 05:09 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto | 05:25 | |
*** Crofton_ <Crofton_!~Crofton@199.36.244.14> has quit IRC | 05:31 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has joined #yocto | 05:36 | |
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has joined #yocto | 05:52 | |
*** gtristan <gtristan!~tristanva@110.11.179.72> has quit IRC | 06:10 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 06:31 | |
*** fdanis_away is now known as fdanis | 06:46 | |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #yocto | 06:57 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 07:05 | |
*** NU-Slacker <NU-Slacker!~NU-Slacke@24.13.72.71> has quit IRC | 07:20 | |
*** ak77 <ak77!c12e4b03@gateway/web/freenode/ip.193.46.75.3> has joined #yocto | 07:31 | |
*** egavin <egavin!~egavin@24.red-217-126-80.staticip.rima-tde.net> has joined #yocto | 07:49 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 07:57 | |
boucman_work | Hey all | 08:00 |
---|---|---|
boucman_work | I am trying to build a minimalistic image for inside a light-container, and bash gets pulled in as a dependency... | 08:01 |
boucman_work | from what I can tell, my main program has a dependency on /bin/sh and bash is chosen as the provider. | 08:01 |
boucman_work | I have two questions about that... | 08:01 |
boucman_work | (runtime dependencies, I didn't find any DEPENDS about that) | 08:01 |
boucman_work | * Why does yocto think he needs /bin/sh ? my image only has lightttpd and its dependencies, but yocto decided it needed a shell... does something, somewhere scan the header of scripts looking for #!/bin/sh ? if yes, is there a way to influence that ? | 08:03 |
boucman_work | * why did yocto decide that bash was the right provider for /bin/sh, and can I change it ? I guess the fact that bash provides /bin/sh is somewhere in the dnf database, but I don't understand how yocto figured out that it had to compile that recipe in the first place... | 08:04 |
boucman_work | (afaik PREFERRED_PROVIDER only works for packages, not for files provided by packages) | 08:04 |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-rmrdruophezmrjiq> has joined #yocto | 08:07 | |
*** rob_w <rob_w!~bob@unaffiliated/rob-w/x-1112029> has quit IRC | 08:11 | |
*** kuzulis <kuzulis!~denis@37.112.57.60> has joined #yocto | 08:38 | |
mcfrisk | The build failure madness I've seen with some seems to have been caused by cmake modules including absolute paths to a sysroot of the recipe build environment. In our sources this seems to be a bit epidemic. Any hints or examples how to write a QA check for this? I should propably also check pkg-config .pc files too. | 08:42 |
mcfrisk | /some/sumo/ | 08:42 |
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC | 08:51 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 08:53 | |
mcfrisk | wouldn't buildpaths QA check already find these? why isn't it enabled in poky by default? | 08:55 |
boucman_work | Hmm, my question seems to boil down to how to influence providers of update-alternatives | 08:56 |
boucman_work | but I can't find that in the doc... | 08:56 |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has joined #yocto | 09:01 | |
*** Andrus997 <Andrus997!andrus@aiu4.rev.netart.pl> has joined #yocto | 09:09 | |
Andrus997 | Hello guys | 09:09 |
Andrus997 | I have problem to set up limits in my poky, ulimit and /etc/limits doesn't work | 09:10 |
Andrus997 | only prlimit works without problem.... | 09:10 |
Andrus997 | do you have an idea how change default limits? | 09:11 |
*** xtron <xtron!~mentor@202.163.81.191> has joined #yocto | 09:38 | |
kuzulis | Hi all. How I can remove some packages from the output image? | 09:53 |
kuzulis | e.g. I want to remove the 'sudo' package.. | 09:53 |
LetoThe2nd | kuzulis: do not install them in the first place :) | 09:53 |
kuzulis | I have added this: IMAGE_INSTALL_remove = 'sudo' && DISTRO_FEATURES_remove = 'sudo' ... | 09:54 |
kuzulis | but this does not help | 09:54 |
LetoThe2nd | kuzulis: better find out why it is even installed. | 09:54 |
kuzulis | LetoThe2nd: How I can find it? I did not see any mention of 'sudo' in my layer | 09:55 |
LetoThe2nd | kuzulis: are you using some premade image or distribution? | 09:56 |
kuzulis | LetoThe2nd: Ho, I have created an own yocto layer (based on boot2qt) | 09:58 |
kuzulis | LetoThe2nd: s/Ho/No | 09:58 |
LetoThe2nd | then you are probably pulling in something that has a dependency on it, i guess | 09:58 |
LetoThe2nd | i'd say, start with bitbake -g $YOURIMAGENAME && less task-depends.dot | 10:00 |
LetoThe2nd | there, look for sudo | 10:00 |
zagor | or just bitbake -g sudo ? | 10:02 |
LetoThe2nd | zagor: that should tell you on what sudo depends, but not what depends on sudo :) | 10:04 |
zagor | ahh, right | 10:04 |
LetoThe2nd | but, looking at package-depends is probably less spammy. | 10:05 |
kuzulis | I got: | 10:05 |
kuzulis | "sudo" -> "quilt-native" | 10:05 |
kuzulis | "sudo" -> "libtool-cross" | 10:05 |
kuzulis | "sudo" -> "libtool-native" | 10:05 |
kuzulis | "sudo" -> "linux-libc-headers" | 10:05 |
kuzulis | "sudo" -> "autoconf-native" | 10:05 |
kuzulis | "sudo" -> "binutils-cross-arm" | 10:05 |
kuzulis | "sudo" -> "gcc-cross-arm" | 10:05 |
kuzulis | "sudo" -> "pseudo-native" | 10:05 |
kuzulis | "sudo" -> "glibc" | 10:05 |
kuzulis | "sudo" -> "gcc-runtime" | 10:05 |
kuzulis | "sudo" -> "rpm-native" | 10:05 |
LetoThe2nd | please, no mass pasting in here | 10:05 |
kuzulis | "sudo" -> "automake-native" | 10:05 |
kuzulis | "sudo" -> "opkg-utils-native" | 10:05 |
kuzulis | "sudo" -> "gnu-config-native" | 10:05 |
kuzulis | "sudo" -> "libgcc" | 10:05 |
kuzulis | "sudo" -> "prelink-native" | 10:05 |
kuzulis | at -g sudo | 10:05 |
kuzulis | ok | 10:05 |
LetoThe2nd | like i said, it only told you what sudo depends on. | 10:06 |
kuzulis | So, do I need 'bitbake -g $YOURIMAGENAME && less task-depends.dot' instead? | 10:06 |
LetoThe2nd | bitbake -g $YOURIMAGENAME && less package-depends.dot | 10:07 |
kuzulis | But then 'package-depends.dot' is not exists | 10:08 |
kuzulis | I have only recipe-depends.dot task-depends.dot | 10:08 |
Andrus997 | #/j oe | 10:09 |
LetoThe2nd | kuzulis: then start by inspecting those? (i assume that you properly replaced the image name, right?) | 10:09 |
kuzulis | LetoThe2nd: I got this: https://pastebin.com/WJSdJt77 | 10:10 |
*** webreformer <webreformer!~webreform@106.51.26.143> has quit IRC | 10:10 | |
LetoThe2nd | kuzulis: so did you inspect the resulting files? | 10:11 |
kuzulis | LetoThe2nd: What of file I need to inspect? task-depends.dot or recipe-depends.dot? | 10:12 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 10:13 | |
LetoThe2nd | kuzulis: why not go ahead and find out? | 10:13 |
kuzulis | LetoThe2nd: When this command 'bitbake -g $YOURIMAGENAME && less package-depends.dot' finishes, then I see two files: task-ls | 10:16 |
kuzulis | Sorry, I see one file task-depends.dot | 10:17 |
LetoThe2nd | kuzulis: and what does it tell you about sudo? | 10:18 |
kuzulis | Oops... I see two files: recipe-depends.dot task-depends.dot. | 10:19 |
kuzulis | LetoThe2nd: The 'recipe-depends.dot' has this: https://pastebin.com/fgqSHPpQ | 10:20 |
LetoThe2nd | kuzulis: well then, there you are. | 10:20 |
*** alexlarsson <alexlarsson!~alexl@c-9b0be555.022-110-73746f36.bbcust.telenor.se> has joined #yocto | 10:20 | |
kuzulis | LetoThe2nd: And task-recipe.dot this: https://pastebin.com/qJ0kH6T6 | 10:21 |
alexlarsson | rburton: hey, i'm having some weird issues | 10:21 |
rburton | hey alexlarsson | 10:21 |
LetoThe2nd | kuzulis: the first 3 lines are totally self-explaining, don't you agree? | 10:21 |
alexlarsson | I'm sure they are partly my fault, but I don't know where to start | 10:21 |
alexlarsson | So, i'm building the freedesktop sdk base, which is yocto based | 10:21 |
alexlarsson | And, i'm building on a x86-64 machine | 10:22 |
kuzulis | LetoThe2nd: Do you mean, lines from task-depends.dot? | 10:22 |
LetoThe2nd | kuzulis: recipe-depends | 10:22 |
alexlarsson | And, i'm building in a x86-64 flatpak (i.e. /usr/bin/gcc is a x86-64 -> x86-64 and we're setarch x86-64) | 10:22 |
rburton | alexlarsson: didn't you move to buildstream already? | 10:22 |
alexlarsson | But, i'm building an i386 runtime | 10:23 |
alexlarsson | rburton: this is just changing the build env for the old runtime | 10:23 |
kuzulis | LetoThe2nd: And, how I can break dependency from: "packagegroup-core-x11-base" -> "sudo" and "mini-x-session" -> "sudo" ? | 10:23 |
alexlarsson | rburton: anyway, i get a bunch of failures, see e.g. https://flathub.org/builds/#/builders/21/builds/477/steps/5/logs/stdio | 10:23 |
alexlarsson | rburton: but, fundamentally, it seems confused about the host arch | 10:24 |
LetoThe2nd | kuzulis: i guess the dependency is there for a reason. so, construct an image without mini-x-session. or without packagegroup-x11 altogethere. or just live with sudo. | 10:24 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has joined #yocto | 10:24 | |
alexlarsson | rburton: i.e. gmp-native fails to build, because configure fails when it decides sizeof(long) != 4 | 10:24 |
alexlarsson | which is true, it is 8 | 10:24 |
alexlarsson | And the reason seems to be, from config.log: | 10:24 |
alexlarsson | $ ../gmp-6.1.1/configure --build=i386-linux --host=i386-linux --target=i386-linux --prefix= | 10:25 |
alexlarsson | rburton: surely some of those i386 should be x86-64? no? | 10:25 |
kuzulis | LetoThe2nd: Ok, many thanks.. Seems I understand a main idea.. :) | 10:25 |
LetoThe2nd | kuzulis: have fun | 10:25 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 10:25 | |
alexlarsson | rburton: But, i have no idea how/why bitbake chose those options? | 10:26 |
rburton | BUILD_ARCH := "${@os.uname()[4]}" | 10:27 |
alexlarsson | rburton: i'm guessing something about the gcc in the runtime gets this wrong? | 10:27 |
*** bluelightning_ <bluelightning_!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 10:28 | |
rburton | where is your layer again? | 10:29 |
alexlarsson | $ flatpak run --command=python org.flatpak.Builder -c "import os; print os.uname()" | 10:30 |
alexlarsson | ('Linux', 'localhost.localdomain', '4.17.14-202.fc28.x86_64', '#1 SMP Wed Aug 15 12:29:25 UTC 2018', 'x86_64') | 10:30 |
alexlarsson | https://github.com/flatpak/freedesktop-sdk-base (branch 1.6) | 10:30 |
rburton | your job is passing i386 to build.sh so ARCH=i386 to flatpak run | 10:31 |
alexlarsson | yeah | 10:33 |
alexlarsson | in fact, i'm manually running: flatpak run --command=make org.flatpak.Builder all ARCH="i386" | 10:33 |
alexlarsson | and i only have the x86-64 org.flatpak.Builder installed | 10:33 |
alexlarsson | I tried to run the i386 one | 10:34 |
*** Crofton_ <Crofton_!~Crofton@206.121.56.38> has joined #yocto | 10:34 | |
alexlarsson | but bitbake hanged on startup with some deadlock | 10:34 |
rburton | fun | 10:34 |
rburton | why does freedesktop-sdk-build-yocto set BUILD_ARCH = "${architecture}"? | 10:34 |
alexlarsson | Is that not how you set the target arch? | 10:34 |
*** tgoodwin <tgoodwin!~tgoodwin@static-108-40-78-74.bltmmd.fios.verizon.net> has joined #yocto | 10:35 | |
alexlarsson | the weird thing is that all this works on the x86-64 buildmachine (running some centos base) | 10:35 |
rburton | just MACHINE should be suffient | 10:35 |
rburton | setting BUILD_ARCH overrides the uname | 10:35 |
alexlarsson | hmm | 10:35 |
rburton | the value *from* uname | 10:35 |
kuzulis | LetoThe2nd: But, what about wayland? https://pastebin.com/r1UK3ESi | 10:36 |
alexlarsson | ok, so if i drop BUILD_ARCH it might work? | 10:36 |
* alexlarsson tries | 10:36 | |
rburton | alexlarsson: worth a go | 10:36 |
alexlarsson | HERE WE GO! | 10:37 |
alexlarsson | rburton: the level of indirection here is amazing tho | 10:37 |
alexlarsson | x86-64 fedora => x86-64 fd.o runtime -> yocto cross builds to i386 | 10:38 |
rburton | quick put it all inside a docker | 10:38 |
alexlarsson | rburton: i wonder if it worked before is because i previously built first built a 64bit, then a 32bit | 10:38 |
alexlarsson | so maybe it reused the -native rpms? | 10:39 |
rburton | yeah native stuff is target-agnostic | 10:39 |
alexlarsson | would it do that? | 10:39 |
rburton | apart from the bits which care like gcc, obviously | 10:39 |
alexlarsson | woa | 10:40 |
alexlarsson | it seems like it goes | 10:40 |
alexlarsson | rburton: we'll get to that when we make the buildbot workers run in docker containers on a kubernetes cluster! | 10:42 |
rburton | the future! | 10:43 |
LetoThe2nd | kuzulis: um, what is the actual question? | 10:44 |
kuzulis | LetoThe2nd: Sorry, please skip.. | 10:47 |
*** Crofton_ <Crofton_!~Crofton@206.121.56.38> has quit IRC | 10:50 | |
alexlarsson | rburton: new try: https://flathub.org/builds/#/builders/2/builds/4650 | 10:52 |
alexlarsson | lets hope this one works :) | 10:52 |
rburton | fingers crossed | 10:54 |
rburton | you have post-build checks to eg sanity check the binaries are the expected architecture? | 10:54 |
alexlarsson | NOTE: recipe gmp-native-6.1.1-r0: task do_configure: Succeeded | 10:54 |
alexlarsson | woho | 10:54 |
alexlarsson | nah | 10:55 |
alexlarsson | no sanity checks | 10:55 |
alexlarsson | :) | 10:55 |
rburton | qa is for wimps without confidence | 10:56 |
alexlarsson | yeah | 10:56 |
rburton | why is everyone dumping their new arch enabling patches on the list the *day* that we hope to roll our feature freeze build | 10:58 |
nrossi | rburton: for me, it was just co-incidence... :| | 10:59 |
LetoThe2nd | rburton: *BECAUSE*! | 11:00 |
rburton | nrossi: yours might be good for post-m3 because they're so isolated | 11:00 |
nrossi | rburton: sounds good to me, I was just posting them to get included "at some point" :) | 11:02 |
rburton | nrossi: what's being built with that target? | 11:04 |
nrossi | rburton: embedded programs, I was just playing with it. But mithro was after support for his litex/migen use | 11:06 |
mcfrisk | sigh, "ERROR: Unable to start bitbake server" isn't really helpful.. | 11:06 |
mithro | Hey nrossi! | 11:10 |
mithro | nrossi: Thanks for working on lm32 support! | 11:10 |
nrossi | mithro: hi, no problem the fact that it is all upstream in gnu made it a easy :) | 11:12 |
mithro | nrossi: Do you know if or1k is supported? Stafford Horne just got or1k into upstream gcc.... | 11:12 |
nrossi | mithro: I saw those hit gcc, not sure what state all the pieces are in though | 11:13 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 11:17 | |
*** xtron <xtron!~mentor@202.163.81.191> has quit IRC | 11:17 | |
nrossi | mithro: does not look like they have been applied to gcc just yet | 11:19 |
mithro | nrossi: Stafford is going to give a talk on the topic in a couple of hours | 11:19 |
nrossi | mithro: there is another one to add to the list of topics to watch from orconf :) | 11:20 |
mithro | nrossi: I'll be talking about SymbiFlow tomorrow! | 11:20 |
mithro | nrossi: Won't be talking about TimVideos / LiteX stuff... | 11:20 |
nrossi | mithro: the symbiflow one is already on my list :) | 11:21 |
*** bluelightning <bluelightning!~paul@pdpc/supporter/professional/bluelightning> has quit IRC | 11:22 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 11:31 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 11:48 | |
rburton | alexlarsson: well your build didn't explode into fire | 11:51 |
*** kinsifous <kinsifous!53da50f3@gateway/web/freenode/ip.83.218.80.243> has joined #yocto | 11:51 | |
rburton | alexlarsson: i wonder if the output is right :) | 11:51 |
alexlarsson | rburton: yeah... | 11:53 |
kinsifous | Hi, Im trying to understand how the DL_DIR and the SOURCE_MIRROR_URL work. I understand that the SOURCE_MIRRROR_URL copies all the specified folder to the build-dir and in DL_DIR it just specifies which folder to use. But while reading for the DL_DIR, i saw that it says it doesnt use the git repositories. Can someone elaborate that? | 11:54 |
kinsifous | Also, when you are builing on a ci-cd server and your cache is NFS-mounted. Would that complicate things in any way? Depending on if you use the DL_DIR or the SOURCE_MIRROR_ULR? | 11:55 |
alexlarsson | rburton: a local build seems to work | 11:55 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 11:58 | |
kinsifous | This is where im reading | 12:00 |
kinsifous | https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-DL_DIR | 12:00 |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has joined #yocto | 12:05 | |
mithro | nrossi: The more people help with my other projects, the more time I can dedicate to SymbiFlow :-P | 12:07 |
mithro | nrossi: So your helping SymbiFlow right now! | 12:07 |
*** xtron <xtron!~mentor@202.163.81.191> has joined #yocto | 12:11 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC | 12:18 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has joined #yocto | 12:20 | |
*** geissonator <geissonator!~geissonat@32.97.110.56> has joined #yocto | 12:20 | |
mcfrisk | rabbit holes are nice, turns out libcrypto.pc generated by openssl has libdir=${exec_prefix}//lib which somehow ends up fully expanded to build sysroot path in a project which generates a cmake module using it | 12:21 |
*** marka <marka!~masselst@184.175.21.48> has joined #yocto | 12:22 | |
mcfrisk | and linker commands using the cmake module end up having -L$${libdir} with an absolute path to recipe sysroot of the recipe which generated the cmake module | 12:22 |
mcfrisk | question is, should yocto/bitbake be replacing those pkg-config paths with something else and is the extra slash / causing this problem.. | 12:23 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 12:24 | |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC | 12:28 | |
mithro | nrossi: Would it help for me to ack or some otherway confirm the lm32 stuff would be useful for me? | 12:29 |
*** uglyoldbob <uglyoldbob!~uglyoldbo@12.182.35.187> has quit IRC | 12:32 | |
nrossi | mithro: unless rburton wants some info? although i think he was mostly just curious | 12:33 |
*** rburton_ <rburton_!~textual@35.106.2.81.in-addr.arpa> has joined #yocto | 12:40 | |
*** rburton_ is now known as rburton | 12:40 | |
rburton | mcfrisk: the pkgconfig file should have paths not including the sysroot, so -L/usr/lib etc | 12:41 |
rburton | and then pkgconfig appends the sysroot as required | 12:41 |
kanavin | rburton: I've been thinking about teaching make and ninja to watch RAM and load average (and avoid spawning new compilers when either is close to the limit). Good idea? | 12:43 |
kanavin | rburton: at least two major automotive vendors have to artificially slow down builds because of this issue, I think YP can do better here | 12:44 |
rburton | can the make thing be handled inside bitbake by using the makeserver thing? | 12:44 |
kanavin | rburton: possibly, but ninja cannot | 12:44 |
kanavin | rburton: also the idea is to upstream this as new command line parameters similar to -j, as makeserver thing uses unofficial, undocumented interface if I remember right | 12:47 |
rburton | oh its documented but its definitely make-centric | 12:47 |
*** JPEW <JPEW!cc4da337@gateway/web/freenode/ip.204.77.163.55> has joined #yocto | 12:50 | |
kanavin | rburton: the pseudo thing is a disappointment of the year! :( | 13:01 |
kanavin | that it didn't solve the legendary glibc-locale thing | 13:01 |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has quit IRC | 13:06 | |
mithro | kanavin: I'm pretty sure ninja already has load average watching | 13:13 |
kanavin | mithro: right, then just the low-RAM situation needs addressing | 13:16 |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 13:17 | |
rburton | kanavin: yeah i was all excited | 13:21 |
rburton | kanavin: at least it failed within an hour of me doing the update so i didn't get my hopes up | 13:21 |
mcfrisk | rburton: then cmake is buggy with its module generation as it expands to the full path and breaks everything | 13:27 |
rburton | mcfrisk: cmake broken? shock! | 13:28 |
rburton | say it can't be true | 13:28 |
rburton | mcfrisk: note that pkgconfig only does the sysroot magic on --cflags and --libs, if whatever is using --variable to get the value then sysroot magic won't happen | 13:29 |
mcfrisk | yea, cmake... my problems is somehow with the pkg-config --libs | 13:32 |
mcfrisk | but that ends with recipes using each others sysroots, seccomp or fs namespaces would be nice to block this from happening | 13:33 |
rburton | have you checked that the pc file in the sysroot is correctly just showing /usr/lib/ and /usr/include/...? | 13:35 |
mcfrisk | rburton: yes, after exporting PKG_CONFIG_PATH in devshell, I can see pkg-config --libs libcrypto reporting the absolute path: ../recipe-sysroot/usr//lib -lcrypto | 13:38 |
mcfrisk | this ends up the cmake module and bang.. | 13:38 |
rburton | mcfrisk: what does the file actually say though | 13:38 |
rburton | but that path should be good | 13:39 |
rburton | so yeah, blame cmake i guess | 13:39 |
mcfrisk | and if I edit ../recipe-sysroot/usr/lib/pkgconfig/libcrypto.pc and replace libdir=${exec_prefix}//lib with libdir=${exec_prefix}/lib then all is well and the absolute path is gone | 13:40 |
mcfrisk | AND, I saw the extra slash openssl Makefile in variable LIBDIR=/lib | 13:41 |
*** ag_nmiller <ag_nmiller!~annath@wsip-174-76-147-144.pn.at.cox.net> has joined #yocto | 13:41 | |
mcfrisk | but after rebuilding openssl from sources it is gone and says plain LIBDIR=lib... | 13:41 |
mcfrisk | so it's actually not cmake but openssl and it's libcrypto.pc | 13:42 |
ag_nmiller | Not sure if this is the right place to ask but how would I go about modifying the compile flags for the kernel in Yocto/Bitbake? I'm trying to debug some stuff and wanted to add -DDEBUG and -DVERBOSE_DEBUG but I'm coming up short with google on how to do that. | 13:44 |
mcfrisk | found it, openssl recipes and libdirleaf leave and extra slash / to .pc files causing all this... | 13:54 |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 13:58 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 14:11 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 14:12 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC | 14:12 | |
*** fdanis is now known as fdanis_away | 14:17 | |
alexlarsson | rburton: it built! | 14:22 |
alexlarsson | rburton: thanks a bunch! | 14:22 |
alexlarsson | rburton: also, one builder is slower than the others... https://flathub.org/builds/#/builders/2/builds/4650 | 14:22 |
*** xtron <xtron!~mentor@202.163.81.191> has quit IRC | 14:32 | |
*** tprrt <tprrt!~tprrt@217.114.201.133> has quit IRC | 14:36 | |
rburton | alexlarsson: is that building on a rpi or something? | 14:38 |
alexlarsson | rburton: its just the others being really fast... | 14:38 |
rburton | alexlarsson: glad that was easy to solve. even better when the fix is deleting stuff... | 14:38 |
alexlarsson | rburton: https://twitter.com/ramcq/status/964299811997536256 | 14:39 |
alexlarsson | The aarch64 build ended up on that | 14:41 |
alexlarsson | and the arm one on some codethink machine... | 14:41 |
*** zagor <zagor!~zagor@rockbox/developer/Zagor> has quit IRC | 14:50 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 14:55 | |
*** jkridner|pd <jkridner|pd!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 15:01 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 15:03 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC | 15:04 | |
*** kinsifous <kinsifous!53da50f3@gateway/web/freenode/ip.83.218.80.243> has quit IRC | 15:08 | |
*** ntl <ntl!~nathanl@nat-wv.mentorg.com> has joined #yocto | 15:09 | |
*** stephano <stephano!stephano@nat/intel/x-qqfwkekifslzfhks> has joined #yocto | 15:11 | |
*** georgem <georgem!~georgem@216.21.169.52> has quit IRC | 15:19 | |
*** tgoodwin <tgoodwin!~tgoodwin@static-108-40-78-74.bltmmd.fios.verizon.net> has quit IRC | 15:23 | |
*** georgem <georgem!~georgem@216.21.169.52> has joined #yocto | 15:23 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has joined #yocto | 15:32 | |
*** Crofton_ <Crofton_!~Crofton@2601:5c0:c100:b84:d585:2c35:2898:977f> has joined #yocto | 15:43 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 15:43 | |
*** Crofton <Crofton!~balister@c-73-152-143-112.hsd1.va.comcast.net> has joined #yocto | 15:43 | |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 15:51 | |
*** boucman_work <boucman_work!~jrosen@wesnoth/developer/boucman> has quit IRC | 15:52 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 15:55 | |
*** tgoodwin <tgoodwin!~tgoodwin@static-108-40-78-74.bltmmd.fios.verizon.net> has joined #yocto | 15:58 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC | 16:05 | |
*** davenporten <davenporten!8b55df0b@gateway/web/freenode/ip.139.85.223.11> has joined #yocto | 16:05 | |
davenporten | Hey Everyone, can anyone tell me how exactly to us DISTRO_FEATURES_append? | 16:06 |
davenporten | use* | 16:06 |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has joined #yocto | 16:06 | |
rburton | DISTRO_FEATURES_append = " pam" | 16:08 |
rburton | will add the pam feature to DISTRO_FEATURES | 16:08 |
davenporten | rburton: Ok, but couldn't that be done with IMAGE_INSTALL_append? | 16:12 |
*** egavin <egavin!~egavin@24.red-217-126-80.staticip.rima-tde.net> has quit IRC | 16:12 | |
rburton | no becase distro features are totally unrelated to image install | 16:12 |
davenporten | rburton: Or something similar | 16:12 |
rburton | a DISTRO_FEATURE is something like 'supports opengl' or 'has bluetooth' | 16:12 |
rburton | just having opengl supported doesn't mean mesa is in every image | 16:13 |
rburton | you wouldn't want mesa in your initramfs | 16:13 |
davenporten | rburton: Ah, ok, gotcha. I didn't really understand pam I guess. Thanks a lot | 16:13 |
*** geissonator <geissonator!~geissonat@32.97.110.56> has quit IRC | 16:13 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 16:14 | |
rburton | mcfrisk: well done :) | 16:16 |
*** dkc is now known as dkc` | 16:18 | |
*** u1106 <u1106!~quassel@163.172.172.46> has quit IRC | 16:19 | |
*** davenporten <davenporten!8b55df0b@gateway/web/freenode/ip.139.85.223.11> has quit IRC | 16:19 | |
*** u1106 <u1106!~quassel@163.172.172.46> has joined #yocto | 16:19 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto | 16:26 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 16:26 | |
*** seebs <seebs!~seebs@204.153.192.24> has quit IRC | 16:27 | |
*** jkridner|pd <jkridner|pd!~jkridner@pdpc/supporter/active/jkridner> has quit IRC | 16:40 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 16:41 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC | 16:48 | |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 16:50 | |
*** rcw <rcw!~rcw@128.224.252.2> has joined #yocto | 16:51 | |
*** seebs <seebs!~seebs@38.32.44.26> has joined #yocto | 16:53 | |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has quit IRC | 16:58 | |
*** nayfe <nayfe!uid259604@gateway/web/irccloud.com/x-jqryhtgncrqdntbu> has quit IRC | 17:05 | |
*** gabrbedd <gabrbedd!~beddingfi@li680-65.members.linode.com> has quit IRC | 17:12 | |
*** gabrbedd <gabrbedd!~beddingfi@li680-65.members.linode.com> has joined #yocto | 17:17 | |
*** ag_nmiller <ag_nmiller!~annath@wsip-174-76-147-144.pn.at.cox.net> has quit IRC | 17:33 | |
*** webreformer <webreformer!~webreform@106.51.26.143> has joined #yocto | 17:35 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #yocto | 17:39 | |
*** T_UNIX <T_UNIX!uid218288@gateway/web/irccloud.com/x-rmrdruophezmrjiq> has quit IRC | 17:57 | |
*** geissonator <geissonator!~geissonat@45-18-127-186.lightspeed.austtx.sbcglobal.net> has joined #yocto | 18:08 | |
mcfrisk | rburton: thanks, I have a new QA check on top of that to make sure this never happens again but it's already catching more offenders... just grep for TMPDIR path in .pc and .cmake files in sysroot... sigh | 18:13 |
*** stephano <stephano!stephano@nat/intel/x-qqfwkekifslzfhks> has quit IRC | 18:27 | |
*** xtron <xtron!~mentor@72.255.35.103> has joined #yocto | 18:37 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.254> has joined #yocto | 18:38 | |
*** xtron <xtron!~mentor@72.255.35.103> has quit IRC | 18:41 | |
*** tlwoerner <tlwoerner!~Trevor@unaffiliated/tlwoerner> has quit IRC | 18:44 | |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has joined #yocto | 18:44 | |
*** tgoodwin <tgoodwin!~tgoodwin@static-108-40-78-74.bltmmd.fios.verizon.net> has quit IRC | 18:50 | |
*** uglyoldbob <uglyoldbob!~uglyoldbo@12.182.35.187> has joined #yocto | 18:59 | |
uglyoldbob | is there a recipe that builds a gdb-cross-native or equivalent? gdb runs on host and targets the MACHINE being built for? | 19:00 |
*** ntl <ntl!~nathanl@nat-wv.mentorg.com> has quit IRC | 19:06 | |
*** xtron <xtron!~mentor@72.255.35.103> has joined #yocto | 19:17 | |
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has quit IRC | 19:24 | |
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC | 19:27 | |
*** stephano <stephano!~stephano@134.134.139.76> has joined #yocto | 19:34 | |
*** MiskaX <MiskaX!luxdvijd2t@rankki.sonarnerd.net> has quit IRC | 19:37 | |
*** MiskaX <MiskaX!cg8dlzq36l@rankki.sonarnerd.net> has joined #yocto | 19:42 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has joined #yocto | 19:44 | |
*** seebs <seebs!~seebs@38.32.44.26> has quit IRC | 19:47 | |
*** jkridner <jkridner!~jkridner@pdpc/supporter/active/jkridner> has quit IRC | 19:48 | |
*** seebs <seebs!~seebs@38.32.44.26> has joined #yocto | 19:52 | |
rburton | mcfrisk: i thought we had a check for tmpdir appearing in the sysroot already | 19:54 |
rburton | maybe its not on by default | 19:54 |
*** Bunio_FH <Bunio_FH!~bunio@84.red-213-0-2.staticip.rima-tde.net> has quit IRC | 20:03 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC | 20:06 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has joined #yocto | 20:07 | |
*** marka <marka!~masselst@184.175.21.48> has quit IRC | 20:24 | |
*** ntl <ntl!~nathanl@nat-wv.mentorg.com> has joined #yocto | 20:28 | |
*** ant_home <ant_home!~ant__@host215-117-dynamic.54-82-r.retail.telecomitalia.it> has joined #yocto | 20:37 | |
*** WillMiles <WillMiles!~Will@static-209-87-231-80.storm.ca> has quit IRC | 20:41 | |
*** rcw <rcw!~rcw@128.224.252.2> has quit IRC | 20:45 | |
*** flying_sausages <flying_sausages!~flying_sa@static.88-198-40-49.clients.your-server.de> has quit IRC | 20:52 | |
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has joined #yocto | 20:56 | |
JPEW | Hmm, I would like the option to split the -dbg package in two: one that contains the source, and one that contains the debug symbols extracted from the elf files.... Thoughs? | 20:59 |
*** webreformer <webreformer!~webreform@106.51.26.143> has quit IRC | 20:59 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-tulfhlmzwmntsryz> has joined #yocto | 21:04 | |
*** flying_sausages <flying_sausages!~flying_sa@static.88-198-40-49.clients.your-server.de> has joined #yocto | 21:05 | |
*** moto-timo <moto-timo!ttorling@fsf/member/moto-timo> has joined #yocto | 21:06 | |
*** pohly <pohly!~pohly@p54BD55A3.dip0.t-ipconnect.de> has quit IRC | 21:09 | |
*** geissonator <geissonator!~geissonat@45-18-127-186.lightspeed.austtx.sbcglobal.net> has quit IRC | 21:15 | |
*** chandana73 <chandana73!~ckalluri@149.199.62.254> has quit IRC | 21:19 | |
*** rburton <rburton!~textual@35.106.2.81.in-addr.arpa> has quit IRC | 21:22 | |
*** ntl <ntl!~nathanl@nat-wv.mentorg.com> has quit IRC | 21:28 | |
*** seebs <seebs!~seebs@38.32.44.26> has quit IRC | 21:46 | |
*** sgw <sgw!sgw@nat/intel/x-dtuwolytcmqovyvw> has joined #yocto | 21:57 | |
*** xtron <xtron!~mentor@72.255.35.103> has quit IRC | 21:58 | |
*** jwessel <jwessel!~jwessel@128.224.252.2> has quit IRC | 22:01 | |
*** jwessel <jwessel!~jwessel@128.224.252.2> has joined #yocto | 22:04 | |
*** vmeson <vmeson!~rmacleod@24-52-238-240.cable.teksavvy.com> has quit IRC | 22:04 | |
*** seebs <seebs!~seebs@204.153.192.24> has joined #yocto | 22:16 | |
*** mattsm <mattsm!~mattsm@76.205.175.243> has quit IRC | 22:25 | |
*** mattsm <mattsm!~mattsm@76.205.175.243> has joined #yocto | 22:26 | |
*** flying_sausages <flying_sausages!~flying_sa@static.88-198-40-49.clients.your-server.de> has quit IRC | 23:10 | |
*** flying_sausages <flying_sausages!~flying_sa@static.88-198-40-49.clients.your-server.de> has joined #yocto | 23:11 | |
*** ant_home <ant_home!~ant__@host215-117-dynamic.54-82-r.retail.telecomitalia.it> has quit IRC | 23:48 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 23:50 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!