**** BEGIN LOGGING AT Sun Dec 27 02:59:57 2020 Dec 27 12:35:09 Hello, when I tried to build a simple image (bitbake core-image-minimal) I get the following error: Dec 27 12:35:11 ERROR: quilt-native-0.66-r0 do_compile: oe_runmake failedERROR: quilt-native-0.66-r0 do_compile: Execution of '/home/warlock/YOCTO/sources/poky/build-pc-test/tmp/work/x86_64-linux/quilt-native/0.66-r0/temp/run.do_compile.18702' failed with exit code 1:make: *** No rule to make target '2'. Stop.WARNING: exit code 1 from a shell command.ERROR: Dec 27 12:35:11 Logfile of failure stored in: /home/warlock/YOCTO/sources/poky/build-pc-test/tmp/work/x86_64-linux/quilt-native/0.66-r0/temp/log.do_compile.18702Log data follows:| DEBUG: Executing python function autotools_aclocals| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Python function Dec 27 12:35:12 autotools_aclocals finished| DEBUG: Executing shell function do_compile| NOTE: make 2| ERROR: oe_runmake failed| make: *** No rule to make target '2'. Stop.| WARNING: exit code 1 from a shell command.| ERROR: Execution of '/home/warlock/YOCTO/sources/poky/build-pc-test/tmp/work/x86_64-linux/quilt-native/0.66-r0/temp/run.do_compile.18702' failed Dec 27 12:35:12 with exit code 1:| make: *** No rule to make target '2'. Stop.| WARNING: exit code 1 from a shell command.| ERROR: Task (/home/warlock/YOCTO/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_compile) failed with exit code '1'NOTE: Tasks Summary: Attempted 40 tasks of which 35 didn't need to be rerun and 1 failed. Dec 27 12:35:24 :-( sorry Dec 27 12:36:26 However, the process try to make the target "2" but it does not exist.... may someone help me??? Dec 27 12:37:27 make: *** No rule to make target '2'. Stop. Dec 27 12:47:14 warlock: Could you post the bitbake command you executed and the full output via a pastebin? Dec 27 12:48:05 It'd also be helpful to confirm which branch/Yocto Project version you're using and which additional layers you've added to the build Dec 27 12:52:34 ok, thank you, give me one minute to do it Dec 27 12:55:13 I start to tell you the version is youcto 3.1 Dec 27 12:56:32 https://pastebin.com/x0DQPLvS Dec 27 12:58:00 paulbarker, are you still there? Dec 27 12:58:19 warlock: That is a strange one for sure Dec 27 12:58:52 First of all, thank you so much for your help Dec 27 12:59:15 I'd recommend updating to a newer snapshot in the 3.1 series. I think we released 3.1.4 recently Dec 27 12:59:30 ok I try Dec 27 12:59:51 Bitbake points at the generated script which it tried to run. You could look in that to see why it tried to run `make 2` Dec 27 13:00:00 The path is /home/warlock/YOCTO/sources/poky/build/tmp/work/x86_64-linux/quilt-native/0.66-r0/temp/run.do_compile.19447 from your log Dec 27 13:02:19 I switched to 3.1.4 and I am retring Dec 27 13:02:57 warlock: Ok. You may need to delete your tmp directory after updating Dec 27 13:03:14 the error still the same Dec 27 13:03:32 I removed all build dir Dec 27 13:04:43 It is very strange that it's trying to run `make 2`. I doubt that is a valid target Dec 27 13:06:20 I found the function and it looks like to be called without args Dec 27 13:07:20 Have you changed anything in local.conf? Dec 27 13:08:40 no Dec 27 13:08:56 everything is unchanged Dec 27 13:09:07 no Dec 27 13:09:22 I changed the TOPDIR var Dec 27 13:09:46 i try to do unset Dec 27 13:10:05 TOPDIR is pretty important. Don't change that :) Dec 27 13:11:22 ok I am trying to rebuild the image Dec 27 13:12:04 but TOPDIR should select just the folders path, is not it true? Dec 27 13:12:22 The same error :-( Dec 27 13:13:30 Paul, have you some idea? Dec 27 13:19:52 warlock: When you run `oe-init-build-env` it should set TOPDIR correctly. You shouldn't have to change it Dec 27 13:20:03 It should point at the directory you're building in Dec 27 13:21:01 yes, I have rebuilt the build folder Dec 27 13:22:29 Can you follow https://www.yoctoproject.org/docs/3.1.4/brief-yoctoprojectqs/brief-yoctoprojectqs.html and get a succesful build? Dec 27 13:22:33 in fact the folders belong to build directory, this time Dec 27 13:23:38 no, it is exactly the tutorial I am using Dec 27 13:26:34 So you're cloning poky, checking out the version you want to use running `source oe-init-build-env` then running `bitbake core-image-minimal`, nothing else? Dec 27 13:30:22 yes....... But I have found the problem, perhaps... Dec 27 13:31:31 I hafd set these env vars: Dec 27 13:31:33 #export PARALLEL_MAKE=2#export TOPDIR="$HOME/YOCTO" Dec 27 13:31:59 I has unset TOPDIR manually Dec 27 13:32:23 but not PARALLEL_MAKE Dec 27 13:32:41 I recommend starting a new shell and not setting either of those Dec 27 13:33:18 it is crazy, because PARALLEL_MAKE should not create problems Dec 27 13:33:24 Manually unsetting TOPDIR after sourcing `oe-init-build-env` may not be good, I can't remember if that script defines those variables Dec 27 13:33:55 http://cgit.openembedded.org/openembedded-core/tree/meta/conf/local.conf.sample.extended#n19 Dec 27 13:34:06 `PARALLEL_MAKE` should have a `-j` infront of the number Dec 27 13:34:09 no, oe-init-build-env uses that var Dec 27 13:34:13 It's not just a raw number Dec 27 13:34:30 AHHHHHH!!!!! it ncould be the problem Dec 27 13:34:36 AHHHHHH!!!!! it could be the problem Dec 27 13:34:49 Great Paul!! Dec 27 13:34:50 That would explain it running `make 2` Dec 27 13:35:05 I recommend not messing with TOPDIR though Dec 27 13:35:08 yes, you are true Dec 27 13:35:20 And if you want to set PARALLEL_MAKE, do so in conf/local.conf Dec 27 13:35:51 Thank you so much Paul for your time and you kindness Dec 27 13:36:29 if you will visit Milan (Italy) I will offer you a beer :-) Dec 27 13:37:21 warlock: Just teach everyone else to also ask nicely and say thank you Dec 27 13:38:32 Though that may be far too much to ask haha Dec 27 13:38:55 Hehehe Dec 27 13:39:21 Paul, where are you from? Dec 27 13:40:43 The hive of scum and villainy currently known as the UK Dec 27 13:44:40 Oh UK is not so terrible, but I can understand what you mean. I lived in Glasgow, and I discover that I cannot live in a place like that Dec 27 13:45:00 too many drunk people... too many Dec 27 13:45:35 but every place has its own problems Dec 27 13:46:29 In Italy we say: it depends by which kind of death you fill more comfortable for you Dec 27 13:46:51 in Italian it sounds better ;-) Dec 27 13:46:55 I like that one Dec 27 13:47:28 do you use Yocto for work? Dec 27 13:48:12 Yes, I work as a consultant specialising in Yocto & Embedded Linux Dec 27 13:49:11 great! I am C developer and I started to work as Embedded developer just less then two years Dec 27 13:49:43 But I have seen Yocto is very similar to Gentoo Dec 27 13:49:59 and I have good experience with Gentoo Dec 27 13:50:29 as C developer it is one of mu favorite linux distro Dec 27 13:51:16 Some of the ideas draw from Gentoo. There's a lot of magic to make things cross compile plus lots of tools to help with common embedded Linux tasks Dec 27 13:51:50 I see it, it is a very comfortable solution Dec 27 13:52:21 what do you think about brexit? Dec 27 13:53:14 I save the politics for twitter Dec 27 13:53:52 it is a very diplomatic answer ;-) Dec 27 13:55:00 however, don't worry, also the Italian establishment is a shame Dec 27 13:55:25 Yes, I'll happily rant about politics elsewhere but I like to keep that channel on topic else it would descend into chaos Dec 27 13:58:38 yes, you are true, sorry Dec 27 13:59:33 warlock: No apology needed :) Dec 27 14:00:24 I do hope to visit Italy again soon though. I've been to Rome, Naples & places in Sicily. Really enjoyed my time there Dec 27 15:06:17 Hey guys, I'm making a build for RPi - and would like to disable the login prompt and start logging the journal to the screen, just like how the boot of the kernel logs the contents to the screen. Just to make it feel more like a real application, as there's no need for the ability to login. Thanks! Dec 27 15:06:42 Is there any way to accomplish that? I don't think it's really Yocto related, more Linux in general - tho. Dec 27 15:37:57 https://twoerner.blogspot.com/2020/12/psplash-improvements-for.html Dec 27 16:39:21 Hello, I'm new here and I'm having trouble with building poky. Mainly the gdbm package on the yoctoproject repos is throwing me an error (using gcc-10): https://bugs.gentoo.org/705898 Dec 27 16:40:01 Is this the right channel to report this kind of bugs? Dec 27 17:07:22 Let me try again: Is this the right channel to suggest updates/patches to packages inside the yoctoproject mirrors? I need this patch https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1265f8991883546f19b9d3a58e6cedf1c0ce4465 Dec 27 17:19:35 sponge5: are you sure your local clone is up to date ? There's already a gcc-10 patch for gdbm in the tree. Dec 27 17:20:46 zeddii: wdym? is my arch package relevant to what poky pulls from the mirrors? Dec 27 17:21:00 I mean that all of oe-core already builds with gcc-10 Dec 27 17:21:01 I use arch btw. Dec 27 17:21:09 and there's a patch for that recipe for gcc10 already Dec 27 17:22:02 https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-support/gdbm/files/gdbm-fix-link-failure-against-gcc-10.patch Dec 27 17:23:22 I only today cloned poky and started building, so it should be using an up-to-date version Dec 27 17:23:55 then I can't say, but that issue you are seeing has already been fixed for most users. So if there's something different in your setup, you'll have to debug locally. Dec 27 17:24:59 the only other thing I could suggest is to confirm you are on master, and not an older release branch. Dec 27 17:25:15 I'm trying to build zeus-22.0.4 Dec 27 17:25:32 should have specified earlier, sorry Dec 27 17:25:41 I'll try master Dec 27 17:25:52 right, that's too old for those sorts of fixes. Dec 27 17:27:03 zeddii: thank you very much :) Dec 27 17:27:39 gatesgarth and dunfell should also work with gcc-10, IIRC. just in case master gives you some issues. Dec 27 18:52:55 I'm struggeling getting a function called on rootfs postproces, I have this bb file in recipes-support/issue/issue.bb: https://gist.github.com/Wouter0100/75b331c5d4eedf0e0c2167eb1c980daa Dec 27 18:53:24 But I can't the `update_issue` function called. Only the do_install seems to work.. Any idea what I'm doing wrong? Dec 27 19:11:54 Wouter0100: you can only add rootfs postprocess commands in image recipes Dec 27 20:01:23 erbo: thanks. Is there any docs making that clear or how could I've found that out? Curious to learn and know where certain options go :). Thanks! Dec 27 20:06:42 Not sure really if it's stated explicitly in the docs somewhere Dec 27 23:07:05 hello! Am I able to get kas to create/checkout a local branch (dunfell-next, tracking origin/..) I tried refspec:dunfell-net but it didn't work Dec 27 23:10:24 oh never mind. I think I literally had the same typo dunfell-net in my kas.yml. Seems ok now. my "watch gita" output is pretty now! **** ENDING LOGGING AT Mon Dec 28 03:00:17 2020