**** BEGIN LOGGING AT Sat Jun 02 03:00:09 2018 Jun 02 11:38:45 hello everyone Jun 02 11:42:53 I have am able to boot Yocto /poky basic image on raspberry pi,but I am only able to login as root and not as pi.I am not able to use commands like sudo ,nano and apt-get.So what command should I use to install git and set up wiring pi on raspberry pi while my username is root?? Jun 02 14:20:49 I have am able to boot Yocto /poky basic image on raspberry pi,but I am only able to login as root and not as pi.I am not able to use commands like sudo ,nano and apt-get.So what command should I use to set up wiring pi on raspberry pi while my username is root?? Jun 02 18:37:02 hello Jun 02 18:39:52 help please! I am writing recipe for the famous qmail but I got : "cc: not found" - which means $CC but this is qmail fault... in his compile script, but must be quite common issue Jun 02 18:40:27 does someone know simple solution for my recipe? or should I patch the qmail? Jun 02 18:41:33 we have evening here in europe... so good evening Jun 02 18:44:17 some humans online? Jun 02 18:45:06 j2s: some, yes. Jun 02 18:45:31 hello BCMM Jun 02 18:45:50 good evening from europe Jun 02 18:45:57 I asked for help with "cc: not found" Jun 02 18:46:20 you probably does not see my question, right? Jun 02 18:46:30 you probably do not see my question, right? Jun 02 18:46:38 no, i didn't Jun 02 18:47:02 sorry, I will copy it, myabe you could have some idea Jun 02 18:47:02 help please! I am writing recipe for the famous qmail but I got : "cc: not found" - which means $CC but this is qmail fault... in his compile script, but must be quite common issue Jun 02 18:47:15 to be honest, i responded to see if you had already asked your question or not Jun 02 18:47:48 (because sometimes people feel the need to see if anybody is online *before* asking) Jun 02 18:48:13 hmm, hardcoding stuff in makefiles that should not be hardcoded is a fairly common issue Jun 02 18:48:13 reverse order :) Jun 02 18:48:56 yes... skeleton form a cabinet, but this should be quite common Jun 02 18:48:56 i would look in the makefile for reference to "cc", and replace them if needed Jun 02 18:49:10 patch it Jun 02 18:49:13 if it is built with make Jun 02 18:49:35 if it calls `cc` directly, it should be using the CC variable instead Jun 02 18:49:47 also check if the CC variable has been manually set to "cc" Jun 02 18:49:54 the funny part is that devshell works for my recipe, but bitbake my_recipe - fails Jun 02 18:50:44 that's interesting, perhaps do_compile has a sanatised $PATH compared with devshell? Jun 02 18:50:53 so I miss something like DEPENDS ... Jun 02 18:51:34 of course plan B is patch the sources Jun 02 18:55:10 exactly Jun 02 18:55:28 do_compile() { /usr/bin/cc --help Jun 02 18:55:43 obviously works :) you are right, thank you Jun 02 18:55:49 j2s: ah, i think i get it. qmail is kinda ancient, and as such has acquired a bit of an odd build system all of its own Jun 02 18:56:04 yes Jun 02 18:56:31 j2s: now i'm not too great at make, but it looks like it takes it's config from an external file, conf-cc Jun 02 18:56:57 j2s: do you have a file called conf-cc in your source directory, with the contents "cc -O2"? Jun 02 18:57:26 qmail calls his script "compile" Jun 02 18:57:34 where is hadrcoded cc Jun 02 18:58:06 the do_compile is missing path to cc which is in /usr/bin Jun 02 18:58:07 well i guess i'm looking at a different version of the qmail sources. mind linking me to the ones you're using? Jun 02 18:58:17 this is the problem Jun 02 18:58:37 http://www.qmail.org/netqmail-1.06.tar.gz Jun 02 18:59:02 thank you very much :) for interrest Jun 02 18:59:10 ./compile: 3: exec: cc: not found Jun 02 18:59:21 is exactly my error message from bitbake Jun 02 18:59:28 yeah, there is a conf-cc file there! Jun 02 18:59:43 good Jun 02 19:02:03 [SOLVED] Simply edit conf-cc and conf-ld and replace "cc" with "gcc". Jun 02 19:02:09 say manual Jun 02 19:02:19 thank you very much BCMM Jun 02 19:02:31 that's what i was trying to suggest, but i'm kidn of lost because i'm not sure where this ./compile is Jun 02 19:02:39 btw. do you like this stuff? Jun 02 19:02:47 what stuff? build systems? Jun 02 19:02:52 exactly Jun 02 19:03:19 i don't know, sometimes i would rather software just sort of got built magically so we could focus on coding Jun 02 19:03:43 but then again, the systems that *do* achieve that sort of magic are often even nastier Jun 02 19:04:06 yes, tell me about it Jun 02 19:04:08 ;) Jun 02 19:06:57 Thank you very much. Your help was very kind. Jun 02 19:07:13 np Jun 02 20:23:05 hey guys, how can i add perf utility to linux image generated by yocto? i am completely new to yocto Jun 02 20:54:20 Nothing like having your work cut out for you Monday morning. :) Jun 02 20:55:35 If anyone's around this weekend - would appreciate a sanity check - bitbake core-image-minimal from a fresh sumo setup and LMK if qemu-native borks. **** ENDING LOGGING AT Sun Jun 03 03:00:01 2018