**** BEGIN LOGGING AT Tue Apr 19 03:00:00 2016 Apr 19 07:09:03 good morning Apr 19 08:14:20 mornin Apr 19 08:14:25 halstead: ping Apr 19 08:14:48 my bitbake is again hanging for hours with an open connection to yoctoproject Apr 19 08:15:12 tcp 0 0 CentOS-70-64-minimal:39783 yocto-www.yoctoproject.org:https ESTABLISHED Apr 19 08:15:28 DEBUG: Testing URL http://bugzilla.yoctoproject.org/report.cgi Apr 19 08:15:34 this is the last entry in the build log Apr 19 08:16:50 so first question to the ones who know bitbake - what are those tests and why don't they have a timeout? Apr 19 08:17:03 I'll submit a bug Apr 19 08:40:24 halstead: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9483 Apr 19 12:23:19 is there a channel for talking about usb gadget drivers for usb ethernet on beaglebone? Apr 19 12:24:46 #beagle? Apr 19 12:24:55 or whatever channel that is Apr 19 12:25:38 yeah i asked. no hits. Apr 19 14:45:24 WARNING: boost-1.60.0-r0 do_package_qa: QA Issue: /usr/lib/libboost_iostreams.so.1.60.0 contained in package boost-iostreams requires libbz2.so.0, but no providers found in RDEPENDS_boost-iostreams? [file-rdeps] Apr 19 15:04:23 Crofton|work: can't replicate here, is that master or what? Apr 19 15:05:24 yeah, flashed by during a build Apr 19 15:05:52 well boost has a DEPENDS=bzip2 Apr 19 15:06:19 oh Apr 19 15:06:23 maybe it failed to actually rebuild Apr 19 15:06:25 REDEPENDS Apr 19 15:06:33 as libbz2 is now libbz2.so.1 Apr 19 15:06:43 did a change to RDEPNDS go thrugh Apr 19 15:07:48 tenner says it was a rebuild of boost Apr 19 15:07:58 and it didn't do a clean first Apr 19 15:08:16 can you get the boost configure log? Apr 19 15:10:08 I just saw it flash past :) Apr 19 15:10:22 where does boost hide the real configure log? Apr 19 15:10:27 I git pulled oe-core Apr 19 15:10:30 and rebuilt Apr 19 15:10:48 temp/log_doconfigure isn't useful Apr 19 15:13:44 is there a known good / recommended way to install nodejs/npm-based applications into a rootfs? or is it more like, prepare release directory structure externally, and then only have recipe that copies that in so far? Apr 19 15:16:21 rburton, when I get a little time, I'll poke locally Apr 19 15:17:35 oh, boost doesn't even look like makefiles Apr 19 15:17:51 so basically boost needs to do out of tree builds - if jam can even do that - or do a clean before configuring Apr 19 15:18:04 or use rm_work, which helps solve a lot of annoying problems Apr 19 15:18:58 my hypothesis being you did a build of boost with old bzip2, time passed, updated to current master, rebuild. bzip2 rebuild as it should, then boost but boost didn't notice that the soname changed so didn't rebuild itself. Apr 19 15:19:26 this is why autotools defaults to out-of-tree so we can just delete the build tree on rebuild, so nothing can leak between builds Apr 19 15:20:22 sounds reasonable Apr 19 15:21:21 should start an effort to make more non-autotools packages use separate builddirs. VPATH, etc Apr 19 15:21:22 ah looks like it does the build in a directory names after the machine, so just deleting that might work Apr 19 15:21:29 doesn't sound like a fun task, though Apr 19 15:21:32 heh Apr 19 15:22:15 aha Apr 19 15:22:29 BJAM_OPTS has —build-dir=${S}/${TARGET_SYS}e Apr 19 15:23:03 is perf capturing all of MAKEFLAGS to determine the rebuild? seems odd to have to pass it in EXTRA_OEMAKE Apr 19 15:23:48 kergoth: no idea, that was purely a hunch. doesn't hurt, but basically the perf build system makes my head hurt Apr 19 15:23:59 Crofton|work: i think i have a fix for boost Apr 19 15:24:02 heh, that's true of a lot of upstream buildsystems, really.. Apr 19 15:24:20 oh totally Apr 19 15:27:49 bloody stupid bjam Apr 19 15:28:07 +1000000000000000 Apr 19 15:28:16 Is the comment still i the boost recipe about hat Apr 19 15:28:29 builddir has to be a subdirectory of sourcedir as otherwise it can't find the sources Apr 19 15:28:36 hah Apr 19 15:28:40 weird assumption Apr 19 15:28:43 yes, the comment is still there Apr 19 15:28:52 "| Attempted search from /data/poky-master/tmp-glibc/work/corei7-64-poky-linux/boost/1.60.0-r0/build up to the root" Apr 19 15:30:10 I've been doing world builds to try to check for issues when minimizing global exports, finding some funkiness in some of those meta-oe recipes. I found one where something was explicitly passed in EXTRA_OEMAKE, but the one in the env was overriding that anyway due to make -e (zsh -- it explicitly sets bindir to base_bindir, but the export of bindir overrides that back to /usr/bin ..) Apr 19 15:30:12 * kergoth rolls eyes Apr 19 15:30:31 damn world builds are really bloating up my sstate cache, i keep running out of space :| Apr 19 16:02:50 Crofton|work: if i start drinking shortly its all your fault Apr 19 16:03:11 heh Apr 19 16:03:14 I know how that goes Apr 19 16:03:21 bjam rat hole descent? Apr 19 16:05:39 yeah Apr 19 16:05:42 wold you rather I not paste things like that into irc when they go past? Apr 19 16:05:50 well they need to be fixed Apr 19 16:06:17 i'll add a # if you're reading this and are not afraid, run # comment to the top of boost.bb Apr 19 16:07:18 I feel like we should do something about the fact that qa warnings only show up when building from scratch Apr 19 16:07:34 i.e. shove the warnings into an sstate package and pull them back out, or something Apr 19 16:07:54 if i didn't write it down the first time through, it's easy to forget it even existed until the next rebuild from scratch Apr 19 16:08:34 I'm at war with updating some docs Apr 19 16:08:48 and had a build blow differently, wiped tmp and retrying Apr 19 16:08:54 and I think I'll ride Apr 19 16:09:27 * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-x11-utils-dev: Apr 19 16:09:27 * x11-common (= 0.1-r47) * Apr 19 18:41:11 kergoth: is it possible to somehow export dynmic shell variables in a python hook instead of directly from the metadata? I'm referring to what we talked about yesterday Apr 19 18:41:44 the 'export' statement just sets the export flag Apr 19 18:41:52 so you can set it programmatically in anonymous python Apr 19 18:41:58 d.setVarFlag('FOO', 'export', '1') Apr 19 18:42:19 ah, thats what it does, cool, thank you! Apr 19 18:44:01 lets say i am setting FOO_machine, that gets evaluated before it is passed to the python func, right? Apr 19 18:44:18 so that the python function would still just set 'FOO'? Apr 19 18:44:22 right? Apr 19 18:45:40 the flag is set on the variable. the variable is FOO Apr 19 18:45:49 the fact that overrides are used to change its value has nothing to do with the flags Apr 19 18:45:59 the flag has to be set on FOO if you want FOO exported. how FOO gets its value really doesn't matter Apr 19 18:46:30 roger that Apr 19 18:46:34 thank you Apr 19 18:46:40 np Apr 19 18:55:04 wc Apr 19 19:04:34 x11-common-dev is empty now Apr 19 19:34:00 * Crofton|work curses, building image with dev-pkgs set and x11-common explode Apr 19 19:35:08 hmmm Apr 19 19:41:01 doh... build hangs again on the url test... really noone is seeing this? https://bugzilla.yoctoproject.org/show_bug.cgi?id=9483 Apr 19 19:45:56 Jin^eLD: that's bitbake on startup doing a connectivity check to access that url. does your machine need special proxies? Apr 19 19:46:17 just set CONNECTIVITY_CHECK_URIS="", or don't use poky, to fix Apr 19 19:46:30 rburton: no,it does not, and since I use that machine remotely when building and am logged in - I can't see any network problems either Apr 19 19:46:44 (or upgrade to master which uses example.com instead) Apr 19 19:46:50 oh, thanks, that was easy Apr 19 19:46:58 it just started to happen randomly since mid last week Apr 19 19:47:34 maybe your centos box has a broken whatevver that isn't handling the redirect, or something Apr 19 19:48:12 well it has been working reliably and now it just sometimes doesnt anymore Apr 19 19:48:15 which is strange... Apr 19 19:48:31 it uses the fetcher so that will hit wget Apr 19 19:48:35 try wgeting that url? Apr 19 19:49:04 if you want to debug then adding some debugging in the code around CONNECTIVITY_CHECK_URIS in sanity.bbclass will help Apr 19 19:49:13 ie is the fetcher hanging, add more tracing inside the fetcher Apr 19 19:49:30 ok Apr 19 19:49:42 the annoying part was that it hung forever Apr 19 19:49:56 was there a wget process still hanging around Apr 19 19:49:57 ? Apr 19 19:50:07 not that i can remember Apr 19 19:50:19 I did a pstree Apr 19 19:50:23 dont remember a wget tehre Apr 19 19:50:28 i will check when it happens again Apr 19 19:50:35 but netstat was showing an established connection Apr 19 19:51:38 I'd just think that even wget would time out after some time... Apr 19 20:20:29 bluelightning, I pulled oe-core to check some of the fixes and ran into this Apr 19 20:20:30 http://pastebin.com/avtmuzVH Apr 19 20:20:45 I'm not seeing any recent commits that make me suspicious Apr 19 20:20:53 image has dev-pkgs on Apr 19 20:21:52 Crofton|work: ok... I'm not sure what would cause that, but I would start by looking at whether that package really does exist, then checking the Packages.gz index, etc. Apr 19 20:22:10 I find it in buildhistory and ipk is there Apr 19 20:22:12 really confusing Apr 19 20:22:53 probably a broken index then :/ Apr 19 20:23:01 how that would come about I don't know Apr 19 20:23:20 hmm Apr 19 20:23:32 I wacked tmp at some point Apr 19 20:23:37 tryiing to get around it Apr 19 20:24:11 where is this index? Apr 19 20:27:39 in tmp/deploy/ipk/ Apr 19 20:27:51 named Packages* Apr 19 20:28:03 so gets rebuilt if I nuke tmp Apr 19 20:28:08 yes Apr 19 20:28:16 before outright deleting it could you take a look at it? Apr 19 20:29:03 Package: x11-common-dev Apr 19 20:29:03 Version: 0.1-r47 Apr 19 20:29:03 Depends: x11-common (= 0.1-r47) Apr 19 20:29:31 and x11-common exists Apr 20 00:49:49 bluelightning, niked sstate and tmp and same problem Apr 20 01:03:24 hmm, strange Apr 20 01:03:40 I had occasion to debug opkg behaviour just the other day as it happens Apr 20 01:03:43 one moment Apr 20 01:06:26 this is a lots of layers maser build Apr 20 01:06:35 but ran core-image-sato and it blew Apr 20 01:08:43 Crofton|work: meta/lib/oe/package_manager.py line 1585 (cmd = "%s %s install %s" % ... ) Apr 20 01:08:59 add -V4 after "install" Apr 20 01:09:07 then run the image build again Apr 20 01:09:18 log.do_rootfs should have a load more info in it Apr 20 01:15:58 urg Apr 20 01:35:01 Crofton|work: problem? **** ENDING LOGGING AT Wed Apr 20 02:59:58 2016