**** BEGIN LOGGING AT Wed May 10 03:00:01 2017 May 10 06:32:23 Hi, I have a yocto 64 bit image, branch jethro. It's installed on a computer with 4 serials ports. I need to make it comunicate with a machine with the serial port but until now I dont have any communication. This is the result of the dmesg | grep tty command : https://pastebin.com/MNNcJpQY. The machine is on the port com1 (tty0) May 10 06:32:34 https://pastebin.com/MNNcJpQY May 10 06:55:51 hamdy: in case you haven't noticed, there is a kernel console on ttyS0 too. May 10 07:02:38 LetoThe2nd : So what that mean ? May 10 07:04:33 hamdy: that there maybe is some stuff on that serial port that you didn't notice and therefore it does not work as expected. plus, what is the error you see? unable to open a port? unable to send something? unable to receive something? or is it just "it does not work"? May 10 07:05:04 ah, there is even two consoles. ttyS0 and ttyS2 May 10 07:05:25 if you do not need serial line consoles, better get rid of those. May 10 07:05:50 and your machine certainly is on ttySx, not on ttyx May 10 07:22:16 LetoThe2nd : The machine I use is serial only. I don't see any error message. I just look at the log and see that the machine don't comunicate. I am connected on the good port. The logs are in debug mode (very verbose). But I don't see any log or communication. Usually I use this machine on a Debian linux and it works out of the box on the serials. May 10 07:25:15 "i am connected on the good port" May 10 07:25:37 to be honest, i have no idea what you are doing or trying. May 10 07:26:15 i'm just saying that if a serial port is set up as a kernel console, there might be additional stuff on the lines and therefore it might not work as expected. May 10 07:26:33 so if you want a simple try first, use /dev/ttyS1 May 10 07:26:47 (that one does not seem to be occupied by the kernel) May 10 07:28:24 LetoThe2nd : Ok I try to connect it May 10 07:38:59 LetoThe2nd : So I connect the machine to the port2 (ttS1). I still don't have any log. and this is the dmesg | grep tty now https://pastebin.com/1EiXKSsz May 10 07:45:22 LetoThe2nd : do you think I need one of those : https://layers.openembedded.org/layerindex/branch/jethro/recipes/?q=serial May 10 07:46:12 LetoThe2nd: python-serial is installed May 10 07:46:34 hamdy: how should i know? its your application, not mine. technically, so you can use a serial port, you need a running kernel, and in most cases a device file. it seems you have both of those, so the rest is up to your application and its dependencies. May 10 08:01:13 LetoThe2nd : I try to bitbake my yocto image with setserial. Maybe It will help me. May 10 08:06:45 hamdy: and how would setserial magically help you if you don't use it? May 10 08:08:09 LetoThe2nd : It can maybe help me to configure my serial port. May 10 08:09:33 hamdy: that only makes sense if your application needs you to do it manually before being able to use it. May 10 08:10:14 i personally would plug a loopback cable into two serial ports, and then do some pingpong tests. cat end echo are totally enough for that. May 10 08:30:30 hamdy: What is setserial, an option to bitbake? May 10 08:33:23 no setserial is a cli tool to modify the settings of a serial port. May 10 08:33:46 hence, i have no idea why it might be useful in this case. May 10 08:33:58 https://linux.die.net/man/8/setserial May 10 08:44:58 LetoThe2nd : I don't know how, but now it works after I installed the setserial May 10 08:45:37 hamdy: then maybe your program internally calls setserial and does not complain about it being missing. in that case, its a missing dependency. May 10 09:48:39 I have some trobble executing a QtQuick.controls application on my targing the target is complaining that "QtQuick.Controls" is not installed. But my image_install contains qtquickcontrols May 10 09:49:48 MarcWe: maybe some kind of lookup path differs? May 10 09:51:11 LetoThe2nd: so i need to ad a QQmlEngine::addImportPath() in my Cpp file ?? May 10 09:51:57 MarcWe: no idea, it was a generic guess. if you say it is there (and have hopefully verified that), and your code says it can't find it, then your code is maybe looking in the wrong place. May 10 09:54:56 just posted https://bugzilla.yoctoproject.org/show_bug.cgi?id=11491. Any idea for a short-term workaround/solution or further investigation? May 10 09:54:57 Bug 11491: normal, Undecided, ---, paul.eggleton, NEW , devtool modify from eSDK fails May 10 09:59:50 meanwhile bisecting poky repo, since it used to work until a month ago or so... suspecting some recent commits about base-passwd/useradd and pseudo itself May 10 11:56:46 | /usr/bin/perl asm/sha1-x86_64.pl elf > sha1-x86_64.s | Can't locate bigint.pm in @INC (you may need to install the bigint module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at asm/../../perlasm/x86_64-xlate.pl line 202. | BEGIN failed--compilation aborted at asm/../../perlasm/x86_64-xlate.pl line 202. | Makefile:68: rec May 10 11:57:03 Where can I change the X11 screensaver delay ? May 10 11:57:45 Followed instructions on http://www.yoctoproject.org/docs/1.8/yocto-project-qs/yocto-project-qs.html May 10 11:58:18 Am I the only one who thinks Yocto is totally over-complicated ? May 10 11:58:45 Smitty_: no, a lot of people think that OE is complicated. May 10 11:59:04 Smitty_: any reason why you linked to a particularly old manual? (1.8) May 10 11:59:20 Smitty_: plus, that certainly is not the complete error. May 10 11:59:29 It's the first result on my good search May 10 12:01:20 Smitty_: chances are that you either modified/skipped/otherwisely did not completely adhere the documentation. May 10 12:05:12 So, the new 2.2 instructions reference a package "pip3" that doesn't seem to exist for Fedora 25 May 10 12:06:34 Smitty_: i don't know what you're looking at, but the current qs document explicitly states this for fedora: $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \ findutils which SDL-devel xterm May 10 12:06:58 Smitty_: and there also is your perl-bignum, by the way. May 10 12:07:02 BTW, in internet you can find whatever you would like to find. May 10 12:08:44 Where can I change the X11 screensaver delay ? May 10 12:09:24 Fedora $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \ diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \ findutils which file cpio python pip3 pexpect SDL-devel xterm May 10 12:09:59 it's python3-pip on Fedora May 10 12:10:48 So I have discovered. I realize that keeping documentation up to date is a little bit of a problem, especially when Yocto and Fedora are totally unrelated with differing release schedules, and all. May 10 12:11:27 joshuagl: is pip actually needed? May 10 12:11:55 I don't think so, it's recommended for getting Toaster & its deps installed May 10 12:12:01 but not required afaik May 10 12:12:18 So, even though it may sound like a rant, let me make an "observation" May 10 12:12:18 yeah, thought the same. so i see no reason to complain about anything at the moment. May 10 12:12:32 joshuagl: ^^ May 10 12:12:51 Why should I have to do a "git checkout morty", why not just HEAD May 10 12:13:09 Smitty_: because you usually want to use a known state. May 10 12:13:21 HEAD should always be a known good state May 10 12:14:18 note, i did say "knwon state". i did not say "known good state" and really its the same as for any other software. why would i use a defined release, and not always latest git? May 10 12:15:36 Well, OK, I guess I can see that. Why not give it a more meaningful name, like "Stable" which then doesn't need to be changed (the name that is) May 10 12:16:16 Smitty_: because if there was a defined "stable" branch name, that would change meanings. which is not what we want. May 10 12:16:42 so its the same argument as above. its about a "known state" May 10 12:17:45 Problem is, the version 1.* vs 2.2 instructions reference different tags, unnecessarily - if the tag was something that would always be a valid tag. It could then point to marty or rucky or whatever. May 10 12:18:37 Smitty_: sorry, but that does not really make sense. May 10 12:18:55 if you're using stable and we make a release, you git pull. Do you expect to get a new release, or any updates to the release you'd already cloned? I'd argue the latter May 10 12:19:33 Smitty_: the documentation changes, depending on the branch it references. sometimes little, or subtly, but it changes. so a coherent state of documentation cannot point to an arbirary tag. it has to be a defined one. May 10 12:20:11 joshuagl: exactly. imagine git clone stable a day before release, and a day after. *shudder* May 10 12:22:40 LetoThe2nd : With blubber, that can't happen ! May 10 12:25:15 I guess it makes sense. Still somehow painful (juvenile?) to have to use weird code-words like morty or fido (what's wrong with version1.8, version2.2 ?) May 10 12:25:28 pwd May 10 12:26:37 Smitty_ : What's wrong with morty, fido.. ? May 10 12:27:12 Smitty_: poky.git has tags exactly as you asked, like 2.2 May 10 12:28:40 i still fail to see the point -> http://git.yoctoproject.org/cgit/cgit.cgi/poky/refs/tags May 10 12:29:54 on a sidenode: bitbake world on HEAD, for qemuarm/ipk: real 136m24.694s, rsulting in 91G tmp :) May 10 12:30:12 just wanted to see how it turns out :) May 10 12:33:05 I'm starting to loose the will to live. May 10 12:33:44 Followed the instructions for 2.2.1 and now get an error immediately after issuing bitbake command. May 10 12:33:56 What's the recommended pastebin May 10 12:34:00 Smitty_: What's wrong with using code words for release versions? Ubuntu does it, Debian does it, plenty of other people do that as well? May 10 12:34:09 It's lame May 10 12:34:15 Smitty_: no preferred one, just use one that works. May 10 12:34:16 For me code-words it's better to remember May 10 12:34:17 Just give it a number May 10 12:34:32 When you see krogoth all the time it's easy to speak May 10 12:34:34 Smitty_: you call it by number, we stick to words. we're quite liberal :) May 10 12:34:53 What is the recommended pastebin for this channel ? May 10 12:35:08 Smitty_: no one cares, pick your favorite one. May 10 12:35:18 Do you imagine yourself naming all the apple with a number ? Apple 1 , Apple 2 , Apple 3 ? Or you rather say golden apple, pink lady and so one ? :) May 10 12:36:20 https://pastebin.com/kiD0P169 May 10 12:36:33 ChrysD: Bad example, since there actually was an Apple II on the market at some time ;-) May 10 12:36:35 No indication of where the config problem is ? May 10 12:36:52 neverpanic : Yeah ? May 10 12:37:11 neverpanic : I'm speaking about the fruit =) May 10 12:38:10 ChrysD: I'm not ;-) May 10 12:38:44 Doesn't seem like a config problem to me, should probably be bb.fatal(str(e)) instead of bb.fatal(e)? May 10 12:38:53 Unless it's a Python version mismatch? May 10 12:39:12 indeed, that's a bug May 10 12:40:00 which appears to still be present on the morty branch! May 10 12:40:30 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/sanity.bbclass?id=62b521722ae72bc87d599719b400dab771154fa7 May 10 12:40:36 neverpanic : Just wanted to say that when you give a name to something you memorize is quite easly. Because for exemple there isn't lot of krogoth in the world or morty... When you say " I had difficult in the version of 1.8".... "version 1.8 of what ?" But when I speak to people not familiar in yocto and I'm trying to express my evolution in the work, they memorize quite easly with version name... May 10 12:40:53 `git cherry-pick 62b521722` might work May 10 12:41:13 So much for "known good state" May 10 12:41:33 Smitty_: i repeat: you added the "good" May 10 12:41:42 you're the first person to report the error, clearly a gap in our testing May 10 12:41:44 OK, I admit May 10 12:42:04 I'm only following the instructions on http://www.yoctoproject.org/docs/2.2.1/mega-manual/mega-manual.html May 10 12:42:23 I'll start fresh May 10 12:42:36 It's like woman, when you stay with the same woman, you can predict more easly what it can come in the futur. But if you change women to often, you get to much surprise and unpredictible states ahahah May 10 12:43:02 Sorry for the sexist joke. May 10 12:43:07 I infer from the backtrace that you've got some configuration which isn't supported, unfortunately the error is in the handler code that prints what the mismatch is May 10 12:44:01 ChrysD: ... May 10 12:44:27 neverpanic : Yeah i know :( May 10 12:47:56 FWIW I've submitted a backported patch for that exception May 10 12:49:14 I admit to commenting MACHINE ??= "qemux86" and uncommenting #MACHINE ?= "genericx86-64" May 10 12:50:19 I can't see why that would cause a problem, regardless the exception stack isn't helpful and we should fix that May 10 12:53:45 ust have introduced a type into my lI must have had a typo in my local.conf. Seems to be running now. May 10 12:54:53 OK, another newbie dumb question. Why is "build" created within the source directory - why isn't this done as an out of source build, completely May 10 12:55:09 you can do that, but it's not the default May 10 12:55:18 * joshuagl runs all his builds on a separate, throwaway, disk May 10 12:55:33 Smitty_: build is created where you do the bash source. May 10 12:55:37 It *should* be the default. it's just bad practice to pollute the source May 10 12:55:52 ?? May 10 12:56:21 its a self-contained directory and can be anywhere you want, so feel free to move it May 10 12:56:29 Smitty_: if you do source in the checkout, is created there. if you do cd .. before hand, it is created next to the checkout. i agree it could be documented better, but the behaviour is fine. May 10 12:56:44 Aha ! May 10 12:57:44 you can also source with a path i.e. . oe-init-build-env /path/to/separate/place May 10 12:57:46 Sorry for so many triviality type questions. I'm coming from years (and years and years) of CMake environment. Really find my self struggling with what seems to be a very unstructured and confusing Yocto environment May 10 12:57:49 oe-init-buildenv takes a directory to be the build directory, so you can do . oe-init-build-env /some/path May 10 12:57:59 i personally keep poky + all additional layers + build side by side in a kind of project directory, but thats just my taste. May 10 12:58:41 Smitty_: it is neither unstructured nor confused, it is mainly that you expect it to match your mindset - which it does not. May 10 12:58:45 Smitty_: of course cmake doesn't attempt the problems that OE does so that's not really a fair comparison May 10 12:59:27 You guys hab=ve been great, I hope my tone doesn't offend May 10 12:59:35 oO( sorry for being confused about trains, i've been exlusively flying cessnas in the last year. so why does this train not behave like a cessna?) May 10 12:59:51 lol May 10 13:01:20 besides the fact that it gets the hierarchy wrong. it more like: "i've been working on diesel engines for the last couple of years exclusively. now i want to assemble a truck. why is this all so complicated and confusing? i just want my truck to behave like a diesel engine!" ;-P May 10 13:08:02 LetoThe2nd: I'd like the train that behaves like a Cessna, though. Where can I get one? May 10 13:08:26 neverpanic: moment please, let me look up elon musks mobile number.... May 10 13:20:09 neverpanic: my train behaves like a cessna, keeps flying off the tracks :( May 10 13:20:59 Confused: In conf/local.conf I can specify a "MACHINE". But then, I also specify it on the bitbake command line. Which gets built ? May 10 13:26:07 How are you sepecifying it on the command line? May 10 13:27:08 the command line takes precedence, the build configuration header tells you what the value of MACHINE is May 10 13:28:39 Still confusing basic concepts I guess. I can specify a MACHINE in local.conf, but then I run bitbake core-image-sato which I guess is a build target rather than a machine architecture ? May 10 13:30:43 that's right May 10 13:51:39 I'm still curious how you can specify the machine on the bitbake command line? 'bitbake -h' doesn't seem to suggest any way to make that happen. May 10 13:52:14 bitbake doesn't filter certain environment variables, so $ MACHINE=foobar bitbake quuxbaz May 10 13:52:22 JPEWhacker: its just an environment variable May 10 13:52:32 Ah, thanks. May 10 13:53:01 JPEWhacker: one of the reasons why MACHINE is usually set through ?= or ??= in conf files, so it can be easily overwritten May 10 13:53:31 Hello everyone May 10 13:56:54 When I'm using "devshell", the spwaned shell is using its own locale configuration (which is C) instead of the one I set (en_US.utf-8) May 10 13:57:19 Is it normal? May 10 13:57:26 enghong: yes. bitbake changes to C to avoid locale-dependent "fun" breaking some recipes May 10 13:58:06 rburton: ah ok, I see May 10 13:58:26 rburton: so my fancy powerline font cannot work, right? :( May 10 13:58:30 rburton: I didn't think we used C because C.UTF-8 isn't everywhere yet? May 10 13:58:47 Is someone generating qemu with grub-efi or grub? May 10 14:03:23 hm May 10 14:03:31 yeah maybe we force en_US.UTF-8 May 10 14:03:45 either way, you can change it in the devshell obviously May 10 14:03:56 patches welcome to set a devshell locale May 10 14:05:25 my personal favourite is "grep -w" changing behaviour depending on locale.... May 10 14:05:27 * neverpanic has seen enterprise Java tools that refuse to parse UTF-8 in files because of bitbake's C locale May 10 14:05:47 neverpanic: one glorious day C.UTF-8 will be a thing May 10 14:05:57 well, a reliable thing May 10 14:19:21 I have all my machines set to english May 10 14:19:32 can't stand when 'ls' starts giving dates in weird languages May 10 14:19:36 like russian or finnish :D May 10 14:20:07 (also it helps when someone needs to look at something on my machine, if the UI is all english) May 10 14:20:43 kanavin: you know you're a geek when you consider your mother tongue weird and you want en_US May 10 14:22:31 rburton: fwiw, I think Finland should make english its second state language, and so should every other country May 10 14:23:01 I considered making a petition for it, but Finns would never agree :) May 10 14:23:19 (UK obviously can stick to english :) May 10 14:24:40 haha May 10 14:25:07 would you have signed in finnish/english/swedish, or just drop swedish entirely? May 10 14:25:47 rburton: I would drop swedish entirely, it's a historical relic introduced 100 years ago to make peace with wealthy, influential swedish minority May 10 14:25:57 (I'm so gonna get beaten up for this last remark) May 10 14:26:05 haha May 10 14:26:33 there's only 6% of them nowadays, and they're all bilingual anywayu May 10 14:28:49 rburton: one of the hot potato political issues here in Finland is whether swedish should be taught in schools in a mandatory way. Everyone hates to do it and sees it as a waste of time, but swedes fight it tooth and nails, as they (rightly) see it as a first step towards dismantling swedish as a state language. May 10 14:36:53 I went to finland and loved to go to sauna and then directly in lake during winter May 10 14:38:11 ChrysD: it snowed today here May 10 14:38:54 kanavin: its may! May 10 14:39:03 you're drunk finland, go home May 10 14:40:47 rburton: https://s-media-cache-ak0.pinimg.com/originals/3e/f0/60/3ef0605b6488acb43a35fc6f4953b342.jpg May 10 14:40:54 ChrysD: ^^^ May 10 14:41:49 In france, we have a cold may compared to others years May 10 14:42:39 ChrysD: we too, except 'cold compared to other years' means +1 and snow May 10 14:42:45 Finland is very beautiful, but for me it's boring to visit in the way that when you visit two, three cities... you feel like that you have visited the all country ahah May 10 14:42:53 I'm rather livid about it, I want to ride my bike already! May 10 14:43:36 ChrysD: Finland is very samey, but if lakes and forests and lack of people is your thing, it's perfect May 10 14:43:47 Boring it's a rude term. it's pejorative but it's not what i think. May 10 14:45:10 kanavin: willing the hours to pass so i can ride out to the hills tonight for some dusk riding, it's lovely today May 10 14:45:18 I went to helsinki, obviously, turku, rauma, pori and tempere. May 10 14:46:54 ChrysD: you should visit Stockholm, it's Helsinki deluxe May 10 14:47:07 just about everything is same but better :) May 10 14:47:17 and prettier May 10 14:47:20 Ahah May 10 14:47:31 I just wanted to visit finland not sweden. May 10 14:47:36 I rather prefer going to norway. May 10 14:48:10 rburton: I really don't want to ride in these conditions: http://testbed.fmi.fi/ May 10 14:48:26 (temperature, rain) May 10 14:48:28 But i'm young and still plenty years to visit... May 10 14:52:11 kanavin: http://www.bbc.co.uk/weather/2635412 here, been dry for a few days at last May 10 14:52:32 The country i enjoyed the most is ireland May 10 14:54:01 rburton: working remotely is my career goal :) May 10 14:54:17 kanavin : Because in finland you have another option ? ahahah May 10 15:00:04 kanavin : But hte most interesting things is, work remotely but from where ? ahah May 10 15:02:28 ChrysD: for me that's obvious: from a mountaineous region in italy May 10 15:02:38 the best place on earth to ride a road bike May 10 15:02:51 and still in a good time zone to collaborate remotely May 10 15:04:40 i'm going out ++ =) May 10 15:31:13 hi, i can build a imx6qsabrelite image, but its not a sdcard image, so i put "sdcard" into IMAGE_FSTYPES in local.conf. Now it builds a sdcard image, but without u-boot onto the sdcard image, how can i add u-boot into the image? May 10 15:40:53 crazy, the url git://git.freescale.com/imx/imx-firmware.git is again down May 10 15:42:12 servers :) May 10 15:44:42 Hello ! I have a recipe that compile several shared lib, during the do_package, i got the error Function failed: package_do_shlibs without other informations on the error. Do you have any idea of what could cause this error ? Thanks ! May 10 16:09:20 oliv__: did you check temp/work/*/$recipename/*/temp for logs involving do_shlibs? May 10 16:10:00 oliv__: shlibs stuff deals with packaged libraries, though; it might be related to a library dependency, or to determining the SONAME of the library you install May 10 16:15:46 In my log.do_package i have log about do_shlibs, but it end that way: Python function package_do_shlibs finished, Python function do_package finished and then the error mentionned earlier May 10 16:16:25 how do you define the SONAME of the libs in a recipe ? May 10 16:18:09 oliv__: you don't, it's set when linking the library in the buildsystem of the software you're bulding May 10 16:26:44 okay thanks i'll look into that and i'll come back if i'm still stuck May 10 16:30:16 is there anywhere a documentation about the UBOOT_* variables, there are so many May 10 17:20:51 Trying to add spitools to an existing build. Can someone help me understand this error message? https://pastebin.com/GAMd5b6A May 10 17:36:51 Apparently it was a problem with my file setup. I had moved my whole working directory for Yocto and edited some paths. I thought that would have it working, but I moved everything back and the build is now working without issue. May 10 17:44:49 how can i check which e.g. IMAGE_FSTYPE are there for a machine? May 10 18:42:29 whats the difference of UBOOT_CONFIG[sdcard] and UBOOT_CONFIG[sd] ? May 10 19:14:02 whats the meaning of ??= and ?= May 10 19:15:16 got it , bitbake doc May 10 19:16:49 ?= first wins, ??= last wins, basically.. May 10 19:18:01 I have an odd error that my do_image task fails because it cannot find ${BP}/somefile. Yet I have FILESEXTRAPATHS_prepend = "${THISDIR}/${PN}" and SRC_URI = "file://somefile;subdir=${BP}". What can the uexpected catch be here? May 10 19:18:44 I see in tmp/work that ${BP} does not contain any files, so apparently it hasn't copied anything form SRC_URI May 10 19:20:58 bug in the file fetcher? May 10 19:51:32 I have two May 10 19:51:34 ww **** ENDING LOGGING AT Thu May 11 03:00:01 2017