**** BEGIN LOGGING AT Mon Apr 20 02:59:58 2015 Apr 20 08:55:29 hi bluelightning Apr 20 08:55:37 hi ant_work Apr 20 08:55:48 still puzzled by the S to set for kexecboot-cfg Apr 20 08:57:35 I'll spend more time on it this night Apr 20 09:00:27 that warning just appeared once, on build from scratch Apr 20 09:00:47 cleaning it from sstate and rebuilding didn't give it out... Apr 20 09:01:27 I expect the warning to be triggered on each build Apr 20 09:36:49 if it's not showing up it indicates that S exists, so for some reason it didn't exist before and now does Apr 20 11:09:54 the recipe is so simple that bitbake -e doesn't seem giving any interesting output Apr 20 11:10:15 S is only referenced once Apr 20 11:10:17 do_configure_prepend () { Apr 20 11:10:17 install -m 0644 ${WORKDIR}/icon.xpm ${S} Apr 20 11:17:35 for recipes like that you would probably set S = "${WORKDIR}" Apr 20 11:18:10 I think it was my first try (after seeing similar fixes by lumag) Apr 20 11:18:22 but it leads to build failure iirc Apr 20 11:18:45 what kind of failure? Apr 20 11:19:41 can't remeber exactly, do_configure or do_build prolly Apr 20 11:20:31 I'll fire again some tests later on Apr 20 11:25:36 nope Apr 20 11:25:49 (wrong windows) Apr 20 11:31:22 heh, I was chatting with JaMa about his e-mails tagged SPAM by GMail Apr 20 21:22:38 bluelightning, Apr 20 21:23:10 so, about kexecboot-cfg Apr 20 21:25:44 if I set #S = "${WORKDIR}/${BP}" Apr 20 21:25:45 S = "${WORKDIR}" Apr 20 21:25:51 I get Apr 20 21:26:18 | DEBUG: Executing shell function do_configure Apr 20 21:26:19 | install: '/tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot-cfg/0.2-r0/icon.xpm' and '/tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot-cfg/0.2-r0/icon.xpm' are the same file Apr 20 21:26:19 | WARNING: exit code 1 from a shell command. Apr 20 21:26:19 | ERROR: Function failed: do_configure (log file is located at /tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot-cfg/0.2-r0/temp/log.do_configure.6832) Apr 20 21:27:07 what's more strange, I don't getthe WARNING anymore Apr 20 21:28:30 with S = "${WORKDIR}/${BP}" Apr 20 21:29:05 is it inded a race? Apr 20 21:49:20 ant_home: er, yeah... well there's an explicit do_configure that tries to copy from ${WORKDIR} to ${S}, of course it fails when those are the same thing... Apr 20 21:51:42 heh, I get it Apr 20 21:52:43 but then why did it complain on first build from scratch and not on further rebuilds using S = "${WORKDIR}/${BP}" ? Apr 20 21:54:11 that dir kexecboot-cfg-0.2 is empty Apr 20 21:54:12 I assume because ${WORKDIR}/${BP} didn't get cleared out between builds Apr 20 21:54:29 or rather didn't get deleted Apr 20 21:54:35 hmm Apr 20 21:54:42 possibly true for every recipe Apr 20 21:55:59 after bitbake -c cleansstate kexecboot-cfg Apr 20 21:56:21 that dir does indeed survive Apr 20 22:01:21 this is log do_cleansstate Apr 20 22:01:23 DEBUG: Executing python function do_cleansstate Apr 20 22:01:23 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg:collie-oe-linux-gnueabi:0.2:r0:collie:3:*_package_write_ipk.tgz* Apr 20 22:01:23 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg::0.2:r0::3:*_populate_lic.tgz* Apr 20 22:01:25 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg:collie-oe-linux-gnueabi:0.2:r0:collie:3:*_package.tgz* Apr 20 22:01:28 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg:collie-oe-linux-gnueabi:0.2:r0:collie:3:*_package_qa.tgz* Apr 20 22:01:33 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg:collie-oe-linux-gnueabi:0.2:r0:collie:3:*_populate_sysroot.tgz* Apr 20 22:01:36 NOTE: Removing /oe/oe-core/build/sstate-cache/*/sstate:kexecboot-cfg:collie-oe-linux-gnueabi:0.2:r0:collie:3:*_packagedata.tgz* Apr 20 22:01:39 DEBUG: Python function do_cleansstate finished Apr 20 22:01:41 it doesn't remove it Apr 20 22:02:14 to me it seems a bug Apr 20 22:11:53 i.e. for kexecboot.bb -c cleansstate removes ${WORKDIR}/${BP} Apr 20 22:14:40 yes, it is removed on run.base_do_unpack Apr 20 22:16:24 strange notes there... Apr 20 22:16:25 # Ensure that we cleanup /tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot/0.6-r0/kexecboot-0.6/patches Apr 20 22:16:25 # TODO: Investigate if we can remove Apr 20 22:16:25 # the entire /tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot/0.6-r0/kexecboot-0.6 in this case. Apr 20 22:16:28 s_dir = d.getVar('S', True) Apr 20 22:16:32 p_dir = os.path.join(s_dir, 'patches') Apr 20 22:16:34 bb.utils.remove(p_dir, True) Apr 20 22:19:11 ah ha Apr 20 22:19:17 double slash there Apr 20 22:19:18 # Ensure that we cleanup /tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot-cfg/0.2-r0/kexecboot-cfg-0.2//patches Apr 20 22:19:20 # TODO: Investigate if we can remove Apr 20 22:19:20 # the entire /tmp/build/tmp-glibc/work/collie-oe-linux-gnueabi/kexecboot-cfg/0.2-r0/kexecboot-cfg-0.2/ in this case. Apr 20 22:19:20 s_dir = d.getVar('S', True) Apr 20 22:19:21 p_dir = os.path.join(s_dir, 'patches') Apr 20 22:19:22 bb.utils.remove(p_dir, True) Apr 20 22:20:05 no help from ending slash Apr 20 22:38:40 okay, at least we know why the warning is only spit once Apr 20 22:43:53 enough for today Apr 20 22:43:55 gn **** ENDING LOGGING AT Tue Apr 21 02:59:58 2015