**** BEGIN LOGGING AT Mon Mar 02 02:59:57 2020 Mar 02 08:09:39 New news from stackoverflow: Differences between openembedded-core and poky Mar 02 08:29:26 Hi all i'm trying to create a bbclass to extend our custom encrypted FIT image but i'm stuck on this curious message (https://pastebin.com/Xez9hqdX) :S any idea ? Thx Mar 02 08:49:12 Hi, I'm trying to compile an image where I need support for python3-cryptography. Now, I found the python/recipes-devtools where some bb for python3-cryptography can be found. But I failed to add this to my layer. Mar 02 08:49:31 How can I do that? Mar 02 08:49:59 IMAGE_INSTALL_append += " python3-cryptopgraphy" Mar 02 08:50:04 did not work Mar 02 08:50:43 speaking about meta-openembedded, but probably that is clear Mar 02 08:53:18 Anyone? Mar 02 08:53:48 emrius double check recipe name "meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.7.bb" Mar 02 08:54:26 you should try IMAGE_INSTALL += "python-cryptography" Mar 02 08:54:37 tried that already Mar 02 08:54:51 doesnt work Mar 02 08:54:51 and ? Mar 02 08:55:23 Loading cache: 100% |#####################################################| Time: 0:00:00Loaded 2892 entries from dependency cache.NOTE: Resolving any missing task queue dependenciesERROR: Nothing RPROVIDES 'python-cryptopgraphy' (but /home/marius/mender-qemu/build/../sources/meta-stargazer/recipes-example/images/quakesaver-image.bb RDEPENDS on or Mar 02 08:55:24 otherwise requires it)NOTE: Runtime target 'python-cryptopgraphy' is unbuildable, removing...Missing or unbuildable dependency chain was: ['python-cryptopgraphy']ERROR: Required build target 'quakesaver-image' has no buildable providers.Missing or unbuildable dependency chain was: ['quakesaver-image', 'python-cryptopgraphy']Summary: There were 2 Mar 02 08:55:24 ERROR messages shown, returning a non-zero exit code. Mar 02 08:55:26 whoops Mar 02 08:55:31 """ Mar 02 08:55:43 damn. How can I paste raw code? Mar 02 08:55:57 go to pastebin or something like that ;) Mar 02 08:56:08 seriously? Mar 02 08:56:55 Anyway, any other suggestions? Mar 02 08:57:10 the message is clear Mar 02 08:57:16 Nothing RPROVIDES 'python-cryptopgraphy' Mar 02 08:57:27 you have to double check bblayers config Mar 02 08:57:53 contains /home/marius/mender-qemu/sources/meta-openembedded/meta-python Mar 02 08:58:04 do I have to explicitly add the subdirectory? Mar 02 08:58:25 Hi, i recently found a "funny" bug (maybe bug?) in the MTD part of the Linux Kernel. I debugged Uboot but now it looks like Kernel is the issue. We have a NAND Flash with 2048 Pagesize and 128 OOB Size. The Kernel sets the oobsize to 128, which is correct. But if i readout the structure and the corresponding CPU Register it is set to 36. Mar 02 08:59:07 emrius --> https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html Mar 02 08:59:16 and take a look to bblayer.conf Mar 02 08:59:33 ok Mar 02 08:59:46 I did that already a couple of times but maybe a fourth time =will help?! Mar 02 09:00:15 btw: I can in fact install other python packages from meta-python without problems. Mar 02 09:00:48 maybe a little issue in path or something like that :S Mar 02 09:01:11 any hints on how to debug that? Mar 02 09:02:26 what is the meaning of "recipes-devtools" compared to the other packages in meta-python? Mar 02 09:02:28 emrius I have told you, check bblayers, run bitbake on the recipe only Mar 02 09:03:31 ok, hang on Mar 02 09:04:18 bitbake on python-cryptography seems to work fine Mar 02 09:04:52 emrius ok so give us quakesaver-image.bb :) Mar 02 09:06:36 hang on waiting for bitbake to finish first Mar 02 09:07:01 I found a strange behavior for my Yocto Builds. I have a iMX6 board from Phytec and I added two patches that enable the UART1 peripheral via Device Tree files. The build is successful and the UART1 is enabled but the `/dev/input` virtual fs does not exist. Mar 02 09:07:39 Might get disconnected soon as I'm working on a german train and LTE coverage in Germany is horrific crap! Thus, don't be offended if I just leave without saying bye Mar 02 09:08:13 I removed my layer to see if the core image (default) has the `/dev/input` fs or not and it does. Upon adding the patches something is removing the fs. Any ideas to debug this problem? Mar 02 09:09:18 emrius don't worry (y) Mar 02 09:13:06 Ok, image compilation still fails. Also for core-image-base Mar 02 09:13:10 same error Mar 02 09:15:23 I added all dependencies to conf/local.conf. Is that an issue? Mar 02 09:15:49 I know, that should be added to a dedicated layer but it's just for testing Mar 02 09:19:28 how can I list paths that bitbake traverses on invocation? Mar 02 09:21:49 Is there a reddit channel or something alike? Would be much nicer if I didn't have to stay online waiting for an answer. Also, others are likely experiencing similar issues. Especially beginners Mar 02 09:24:55 emrius as i already said. give us the recipe Mar 02 09:26:22 emrius try RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" if you use puthon3 instead Mar 02 09:26:54 ahaa that might help. Mar 02 09:26:59 @emri Mar 02 09:27:24 https://stackoverflow.com/questions/50436413/write-a-recipe-in-yocto-for-a-python-application/52643185#52643185 I already have documented how to write python recipes emrius Mar 02 09:27:43 nice!! Mar 02 09:27:47 thanks! Mar 02 09:28:40 I'll go through that. I was just confused that I could easily install meta-python packages adding e.g. Mar 02 09:28:44 329 IMAGE_INSTALL_append = " python3-numpy" Mar 02 09:28:50 but: Mar 02 09:28:52 334 IMAGE_INSTALL_append = " python3-cryptopgraphy" Mar 02 09:28:55 fails. Mar 02 09:29:06 (no matter if python or python3 is used) Mar 02 09:29:10 what branch are you using? Mar 02 09:29:14 Not really intuitive... Mar 02 09:29:26 thud Mar 02 09:31:51 `thud` has the cryptography recipes already in it. like mentioned previously use `RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" and depending on if you use `setuptools3` or `setuptools` it will add the dependencies accordingly Mar 02 09:32:09 https://layers.openembedded.org/layerindex/branch/thud/recipes/?q=python+cryptography Mar 02 09:32:14 great! Thanks a lot! Mar 02 09:33:44 while I was just checking that everything was actually on branch thud: Would be helpful if `bitbake --version` would show the branch or version as string like "thud". Would that make sense? Mar 02 09:34:25 emrius: no, because the bitbake versions is pretty much decoupled from the release Mar 02 09:34:25 Maybe not, I'm still confused about yocto, poky, bitbake, etc.... Mar 02 09:34:27 nope that has nothing to do with bitbake. Mar 02 09:34:37 ahaa Mar 02 09:34:46 thought that bitbake came with poky Mar 02 09:35:02 emrius: and usually a bitbake run gives you the rundown of machine, version, etc right at the beginning. Mar 02 09:36:49 emrius: it came with poky, because poky is (over-simplifying) a wrapper that combines oe-core + bitbake + some gizmos into a nice package Mar 02 09:37:16 aha so can't `bitbake --version` contain the poky version it came with?! Mar 02 09:37:22 would be helpful Mar 02 09:37:22 no. Mar 02 09:37:27 it just cannot do that. Mar 02 09:37:49 Hmm I don't see why Mar 02 09:38:03 emrius: can the linux kernel print the ubuntu version it came with? Mar 02 09:38:17 I don't know Mar 02 09:38:22 but probably no ;) Mar 02 09:38:27 see. there you go. Mar 02 09:39:07 bitbake is the engine that runs it all, and it is freestanding. there are projects that happily use bitbake without poky, some even without openembedded metadataas far as i know. Mar 02 09:39:17 so how could it print the version of those? Mar 02 09:39:25 hmm... I see. Thanks for the clarification Mar 02 09:40:00 New news from stackoverflow: Problem with bitbake function name expansion Mar 02 09:40:34 np Mar 02 09:40:43 So, let me ask again: Is there a way to preserve these findings for others? I mean some might encounter similar questions or problems trying to understand this massive machine... Mar 02 09:40:53 I mean it's great to have first hand support! Don't get me wrong! Mar 02 09:41:13 Why not start a reddit channel? Mar 02 09:41:39 it's actually called a subreddit if I'm not mistaken Mar 02 09:43:47 emrius: because we are old angry unix neckbeards and do not like those things cool kids do these days? Mar 02 09:44:25 Hmm... that's a shame. Would be very beneficial for the community Mar 02 09:44:45 no seriously. we have a wiki, and we have lots of documentation that we happily accept patches for. if you want to conserve your findings, pour them into a paragraph that fits the dev-manual and just send the patch Mar 02 09:45:45 emrius you should also know LetoThe2nd is a star-face for Yocto Project. He is a twitch Streamer/Youtuber now. Mar 02 09:45:54 no, its not a shame. believe me. i've seen come and go about 15 of those so-called "places wher you totally have to be because you are oh so helpful by now" and each and every one is a major pain in the a** if you're working on something that has to last longer than 6months. Mar 02 09:46:19 Thanks for the offer. Maybe I'll do that some day. But as I started just recently I don't feel confident enough to touch some official documentation. Me as a beginner would be muuuch less hesitant to write something on a platform that has more a Q/A or community character Mar 02 09:46:36 he does good videos on the yocto project channel. He is more fun when he has his share of beer for the live sessions Mar 02 09:46:54 Ah, then actually I think I know your face :) Mar 02 09:47:13 thanks for the great tutorials! Gave me quite some assistance in the beginning. Mar 02 09:47:42 emrius: we take pride in being very welcoming to new contributors, unlike some others. so if you just give it a try then there will no flaming if things are not super rigth in the first run. Mar 02 09:48:01 However, I'm still convinced that many (less persistent and annoying) starters will give up before coming to the interesting parts of yocto/bitbake etc. Mar 02 09:48:27 emrius: on the other hand, you can always just shoot a mail that describes your finding to the ml. those are happily indexed by google and we make sure that they stay around. Mar 02 09:49:02 I appreciate your openness but as I said: Many beginners will be more confident on state of the art platforms... Just saying Mar 02 09:49:16 emrius: complicated things are complicated. we know about it, but sometimes complexity is just what you need. i am actually preparing a writeup on that. Mar 02 09:50:27 emrius: the things i have heard (only in the last 4 months) are that we have to be on slack, telegram, reddit. so despite all good intentions, fragmentation is a major problem. we're already having a very hard time with stackoverflow. Mar 02 09:50:42 Regarding email list histories: Hard to systematically work through and harder to read. There is another psychological issue with email lists: You cannot change the history. When I post a question I want to be sure I can modify or correct details Mar 02 09:50:55 I agree with that Mar 02 09:51:38 complexity is complex. Mar 02 09:52:01 Fair enoug Mar 02 09:52:03 Fair enoug Mar 02 09:52:20 emrius: the non-modification is a major plus. i've had my massive share of things being edited, pulled out of context, outright removed on stackoverflow. Mar 02 09:52:21 Fair enough... hmmm h wasnt working Mar 02 09:52:23 NEVER AGAIN. Mar 02 09:53:07 Just telling from a user perspective that this will lower the psychological barrier to ask (unqualified, beginners, noob) questions Mar 02 09:53:45 you are very right, but what good is a lower barrier if nobody competent is there to answer? Mar 02 09:54:48 seriously, i've been flamed on SO more than one time because the correct answer just wasn't to the liking of the (newbie) asker. but i don't see no reason to take the blame for people being stupid. Mar 02 09:55:00 Maybe a dedicated stackexchange would be great on stackoverflow. Show people where to ask questions on a platform that people feel home. Mar 02 09:55:13 Yeah, but people use it anyhow... Mar 02 09:55:18 "i don't like your answer, you must be an idiot". and thats what happens on those low-barrier platforms. thanks, but no thanks. Mar 02 09:55:19 I have to agree with LetoThe2nd I am active on all these platforms (like /r/embeddedlinux) on reddit and there is subreddit for yocto too but no one is competent enough to answer queries. Similar is the case for SE. Mar 02 09:55:36 * LetoThe2nd resorts to hacking and beer. Mar 02 09:57:17 emrius there is already a bot called yocti that shows Stackexchange queries here if you use the `yocto` tag Mar 02 09:57:22 (just to clarify, i am actually quite a nice guy, but that topic is one of my personal pet peeves by now. feel free to meet me in RL) Mar 02 09:57:25 Ok, I'll try the following in the future: I'll pose my questions on stackoverflow and ping you guys here. I'll except your answers from first hand. I just would like to make sure that findings do not go down the drain once I deconnect Mar 02 09:57:47 Oh cool! i'll do that Mar 02 09:58:15 * LetoThe2nd is actually just today also riding a train to Essen, speaking at the buildingIoT conf :) Mar 02 09:58:25 haha Mar 02 09:58:34 and having beer! Mar 02 09:59:00 LetoThe2nd there you go!! Our lord and savior ! Mar 02 09:59:24 sounds great. I'm on a 11 hours train ride Berlin - Grenoble. Will checkout bord bistro at 4 pm. Beer is fairly cheap there Mar 02 10:00:21 Ok, thanks folks!!! Amazing job. I'll try with the `yocti` tag Mar 02 10:00:21 bahnhofsbier immer bei yormas kaufen!!! Mar 02 10:00:35 gibbet da kaltes bier? Mar 02 10:01:10 ja. Mar 02 10:01:12 nee 13 uhr in Frankfurt los, da ist das Bier bis 4 warm. Mar 02 10:01:20 13 trinken. Mar 02 10:01:25 +uhr Mar 02 10:01:40 Stimmt. Da sollte man vernuenftig bleiben. Kaltes bier pfui Mar 02 10:01:46 warmes bier pfui Mar 02 10:01:51 \m/ O \m/ Mar 02 10:01:54 was schreib ich denn hier? Vollkommen unterhopft. Mar 02 10:02:04 also bis denn Mar 02 10:05:06 Do you guys know if there are yocto training course in the north of germany? all I see on the website are for the south. Mar 02 10:07:14 shan1: not sure who's up there Mar 02 10:09:41 shan1 Sorry to bother again: How was the prepend for the layer.conf to use python3 again? Sorry, forgot to store that somewhere... Mar 02 10:10:24 `RDEPENDS += "${PYTHON_PN}-yourpackagename"` Mar 02 10:10:35 Great. I'll try that. Thanks mate! Mar 02 10:11:00 um wait Mar 02 10:11:14 in layer.conf?!? Mar 02 10:11:33 wait wait wait. I meant in the recipe. Mar 02 10:11:48 yeah, right. the .bb file Mar 02 10:12:17 emrius you add RDEPENDS_${PN} = "${PYTHON_PN}-yourpackagename" Mar 02 10:12:40 emrius: ah. ok. Mar 02 10:13:16 split the file up into a .inc and .bb and based on whether you add setuptools or setuptool3 the ${PYTHON_PN} will pick the python/python3 version respectively. Mar 02 10:13:39 cool Mar 02 10:14:33 I was actually thinking of writing something about this as a way to add to the Yocto Channel. i.e. how to use python applications with yocto? LetoThe2nd your thoughts? Mar 02 10:15:19 maybe a simple server that can give some response to the user from the target board? Mar 02 10:17:33 RDEPENDS is a runtime dependency that declares the package named PN need the other thing to be available at the time of execution. DEPENDS says that this other thing must already eb aound when your recipe is being built. Mar 02 10:19:20 shan1: i can't properly comment on python as i don't use it personally, sorry. Mar 02 10:20:03 I use it more than often. Have used it, deployed it on practical projects and have some idea about it. Mar 02 10:21:01 I am not a c/c++ guy and write my applications for target boards in python and it works (~99.8%) most of the times Mar 02 10:21:49 +1 python :) Mar 02 10:22:10 That might be of great help (for me too) Mar 02 10:23:16 shan1: as you know, any contribution is welcome if you are not offended by (constructive) criticism. Mar 02 11:38:55 hi, character _ is commonly used to override thing, but if I introduce in my recipe somethink like KODI_CODENAME ?= "Leia" or KODI_ADDON_NAME ?= "plugin.video.foo" is this ok? Mar 02 11:39:11 to override things* Mar 02 11:44:58 should I avoid _ and use variables like KODICODENAME and KODIADDONNAME ? Mar 02 11:50:46 dev1990: Underscores are used in lots of variable names already Mar 02 11:57:30 ok, I'll go with underscores then. Mar 02 11:58:44 I never seen override that is upper case tho, maybe this not even works and is QA validation. Mar 02 12:13:39 How could we list recipe tasks order ? not just -c listtasks ( i'm trying to add a task to the image but doesn't parsed :S Mar 02 12:18:53 PinkSnake: try to rephrase, please. Mar 02 12:20:08 LetoThe2nd Sorry, i'm trying to add some tasks to a custom image. I would like to know how to list image tasks but in the correct order :) Mar 02 12:22:55 PinkSnake: good question. i'm not aware of any bulletproof way other than getting task-depends.dot and parsing it. Mar 02 12:23:41 closest explanation is probably https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-overview Mar 02 12:24:34 LetoThe2nd Ok, so it's not really intuitive to add a custom tasks before and/or after an other one if we cannot the order :S Mar 02 12:25:05 LetoThe2nd Thx for the graph it's a good point to start! Mar 02 12:37:28 paulbarker: I made test with OVERRIDES_append = ":addon:URI:ADDON", and upper case variables are not resolved by operator underscore Mar 02 12:38:42 SRC_URI was not resolved as SRC Mar 02 12:39:40 KODI_TEST_ADDON was not resolved as KODI_TEST, only KODI_addon was resolved as KODI Mar 02 12:41:04 so there is perhaps some extra safety measure implemented in operatator underscore to not even try to expand on upper cased variables Mar 02 12:41:54 but no warning was generated that I added uppercase overrides Mar 02 13:11:56 dev1990: overrides have to be lowercase so you can use THIS_VARIABLE fine Mar 02 13:12:50 rburton: is this was always true, I got conversation about this and I'm feeling confused. Mar 02 14:02:42 Hi! I noticed that sip3 (meta-oe) needs to be updated to 4.19.19 not only on branch master but also on branch zeus because otherwise building python3-pyqt5 fails. Mar 02 14:02:45 Original patch: http://lists.openembedded.org/pipermail/openembedded-devel/2019-November/202951.html Mar 02 14:03:13 What is the best approach to request the application of the patch to zeus branch? Send another [patch] email on the mailing list? Mar 02 14:15:52 joergho: see meta-qt5/zeus-next Mar 02 14:20:54 Thanks, JaMa! Mar 02 14:23:44 JaMa: any idea when that will merge to zeus? Mar 02 14:24:46 Someone here could explain why in custom class we have to use ** dirpath = d.expand("${B}") ** but not in bash function ? o.0 Mar 02 14:25:26 Crofton|road: I can merge it now, if someone using pyqt on target can verify that it works fine would be better (I did only build test with these change) Mar 02 14:26:06 joergho: can you test this? Mar 02 14:28:58 PinkSnake: Variables are always expanded in bash, but they're not in Python scripts. Also, instead of d.expand("${B}"), use d.getVar("B") Mar 02 14:29:21 Yes, I'll do Mar 02 14:33:56 neverpanic Thx for the info :) Mar 02 15:32:51 I wish I could get to the bottom of this lockedsigs selftest failure :( Mar 02 15:59:59 @JaMO, @Crofton|road As far as I can tell, the gui application I tested (gnuradio-companion 4.0), everything looks fine Mar 02 16:00:52 the qt widgets ran? I think that is what exercises pyqt Mar 02 16:00:58 grc is a pygtk app Mar 02 16:01:09 Ok, which command shall I run? Mar 02 16:02:26 (correction: gnuradio 3.8 of cause) Mar 02 16:03:44 use some of the qt widgets and look at the generated python to verify it imports pyqt Mar 02 16:07:22 joergho: I guess your build has opengl in DISTRO_FEATURES, right? Mar 02 16:08:53 yes, opengl is included in DISTRO_FEATURES Mar 02 16:11:13 Ok, I now greated a little flow graph which uses a button and a checkbox and those elements are visible but no label text Mar 02 16:18:19 take a look at the image recipes for meta-sdr and see if it addess some things to fix that, likely should be RDEPENDS Mar 02 16:24:18 liberation-fonts is installed and I also added a symlink from /usr/lib/fonts to /usr/share/fonts Mar 02 16:26:33 Have to leave now... Crofton|road, you can reach me on Slack Mar 02 16:29:55 * RP feels slightly happier closing three highs Mar 02 16:41:37 hi, 63dcfa8f13 re-enables prelink in default local.conf, it was originally disabled due to an issue (see 8debfea81e) Mar 02 16:41:55 how was the issue resolved? the commit message doesn't say Mar 02 16:48:58 milloni: that is a very good question :/ Mar 02 16:50:06 milloni: https://www.yoctoproject.org/pipermail/yocto/2016-June/030772.html - prelink cross upgrade/fixes ? Mar 02 16:54:19 ack Mar 02 17:06:35 RP: I'm making good progress on the logging situation Mar 02 17:07:42 RP: Turns out we can plumb python's excellent structured logging into knotty without too much trouble, which will let you capture whatever logs you want on the AB to a file pretty easily Mar 02 17:24:22 JPEW: that is good to hear! Mar 02 17:25:23 JPEW: nice. Mar 02 17:36:18 smurray: thanks! Are you working on the recipe updates or waiting on those to merge? Mar 02 17:36:42 RP: sorry for the delay, I just posted the discussed psplash changes. The psplash-start systemd unit will need Type=notify added when the recipe SRCREV is bumped, so yeah, dependent on merging Mar 02 17:38:18 smurray: merged, thanks :) Mar 02 17:39:40 RP: heh, okay, I'll send an update to oe-core shortly Mar 02 17:41:10 smurray: much appreciated, thanks. I've just watched it fail on the ab again so very happy to get this fixed Mar 02 17:43:31 hello! Mar 02 17:44:15 how does one add systemd drop-in in .bbappend ? I have it, but after fresh firmware flash and systemctl restart x, it says x changed on disk Mar 02 17:45:36 RP: I guess you'll drop your psplash recipe update that's in master-next? Mar 02 17:45:54 smurray: that is in master now? Mar 02 17:46:37 RP: nm, I'm looking at the wrong tree Mar 02 17:51:17 heh, I really need to work out and write down somewhere "good" git-format-patch/git-send-email options, my chaining didn't work the way I thought it would Mar 02 17:56:23 smurray: you can stash some of it in git config. We should perhaps document that... Mar 02 17:58:37 RP: the basics are documented in the wiki, but I always seem to end up with extra CC's and this time it looks like the ml rewrote the message id on my cover letter, so I'm guessing I missed some tweak for that Mar 02 18:00:07 smurray: ah. It looked ok here if you mean the psplash ones Mar 02 18:00:13 * RP -> food Mar 02 18:40:45 guys would anyone here know if there is an mailing list / channel for iMX6 freescale yocto dev? Mar 02 18:41:21 is it listed in meta-freescale README ? Mar 02 18:42:05 I am using boards from PHYTEC, i think they are. Mar 02 19:04:21 hello, I am building qt yocto and I it is failing at qt3d and qtxmlpatterns, is there a way I can remove them now during build? Mar 02 19:04:29 RP: I won't have time during the day but I might take a look at the pseudo issue this evening Mar 02 19:04:41 I am building meta-qt5 * Mar 02 19:05:01 I have poked around pseudo some in the past, so I can at least go in knowing my bearings a little Mar 02 19:07:25 hello, I am building meta-qt5 yocto sdk and I it is failing at qt3d and qtxmlpatterns, is there a way I can remove them now during build? Note that I am not using those packages at all at my layer. I have just inherited inherit populate_sdk_qt5 Mar 02 20:53:19 marka: thanks, this pseudo issue isn't really pseudo but linkage issues with libsqlite and how we have sysroots Mar 02 20:54:09 marka: not trying to put you off, just making it clear what/where the issue is. sqlite used to be static linked, its not any more and that breaks assumptions (and hosts without sqlite) Mar 02 20:58:58 hello, im trying to build qt5 sdk but im failing; I have to inherit populate_sdk_qt5, but it is not working well since a lot of dependencies such as qtxmlpatterns have error building. What can I do? Mar 02 20:59:05 RP no problem, I will at least have a look and see if I can offer any help Mar 02 21:02:22 marka: I'm thinking a rather nasty "fix" may be to hack do_populate_sysroot for pseudo-native with an injection of a hacky RPATH Mar 02 21:02:39 marka: pseudo-native is a rather special case Mar 02 21:43:54 Hi there I was wondering if someone could help me with PATH issue I am having. I'm not exactly sure how the PATH is generated but its complaining about one part of it. Mar 02 21:44:01 The error I get is: PATH contains '.', './' or '' (empty element), which will break the build, please remove this. Mar 02 21:44:40 When it dumps the PATH I do see one empty entry, /bin', '', '/home/ Mar 02 21:44:52 The middle one there. Mar 02 21:45:21 My system path looks like: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin Mar 02 21:46:10 I am trying to build openembedded for ARM hardware. My target is bitbake linaro-image-minimal Mar 02 21:47:32 Renegade85: the system is trying to warn you about this since we know if the build continues like that it can cause weird problems Mar 02 21:47:56 How do i diagnose where that empty path is coming from? Mar 02 21:48:24 Renegade85: "echo $PATH" in your shell doesn't show it? Mar 02 21:48:33 no Mar 02 21:48:45 tmalnar@tmalnar-VirtualBox:~/openembedded/build$ echo $PATH Mar 02 21:49:02 PATH contains '.', './' or '' (empty element), which will break the build, please remove this. Mar 02 21:49:02 '/home/tmalnar/openembedded/build/tmp-glibc/work/aarch64-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot/usr/bin/crossscripts', '/home/tmalnar/openembedded/build/tmp-glibc/work/aarch64-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/sbin', Mar 02 21:49:03 '/home/tmalnar/openembedded/build/tmp-glibc/work/aarch64-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin', '/home/tmalnar/openembedded/build/tmp-glibc/work/aarch64-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/sbin', Mar 02 21:49:03 '/home/tmalnar/openembedded/build/tmp-glibc/work/aarch64-oe-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/bin', '', '/home/tmalnar/openembedded/build/tmp-glibc/hosttools'] Mar 02 21:49:18 I believe the second last entry there is the issue Mar 02 21:50:10 So I am trying to figure out where that comes from. Mar 02 21:52:09 Also I was going to try and disable the sanity.conf as an experiment to see if it would get through, but I am unsure how that is done as well. Mar 02 21:52:18 In it I see: Mar 02 21:52:20 Renegade85: layer.conf:PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}" Mar 02 21:52:20 BB_MIN_VERSION = "1.43.2" Mar 02 21:52:35 I'm wondering if its not seeing bitbake in PATH somehow? Mar 02 21:52:55 well I didn't put it in the path, maybe that is the issue Mar 02 21:53:01 since the entry before hosttools would normally be bitbake Mar 02 21:53:22 Renegade85: an easy thing to test :) Mar 02 21:53:24 I was running it like: tmalnar@tmalnar-VirtualBox:~/openembedded/build$ ../openembedded-core/bitbake/bin/bitbake linaro-image-minimal Mar 02 21:53:33 I'll add to path and see Mar 02 21:53:56 Renegade85: we ask people to source the env script for several reasons Mar 02 21:57:03 doh! I ran the env script just with ./