IRC logs for #baserock for Saturday, 2015-02-07

jjardonpaulsherwood: true, will make a new patch00:37
*** inara has joined #baserock03:34
*** inara has quit IRC03:39
*** zoli__ has quit IRC03:42
*** zoli__ has joined #baserock03:42
*** zoli__ has quit IRC03:46
*** inara has joined #baserock03:50
*** inara has quit IRC03:56
*** inara has joined #baserock04:30
*** zoli__ has joined #baserock07:20
*** zoli__ has quit IRC07:24
*** zoli__ has joined #baserock07:47
*** zoli___ has joined #baserock07:49
*** zoli__ has quit IRC07:52
*** zoli___ has quit IRC07:52
*** zoli__ has joined #baserock07:54
*** zoli__ has quit IRC08:16
*** zoli__ has joined #baserock08:16
*** zoli__ has quit IRC08:20
robtaylorpaulsherwood: systemd keeps getting bigger and bigger - getting slow to develop o!09:47
paulsherwoodrobtaylor: i wonder if it's just that, though previously (http://wiki.baserock.org/build-times/) i was seeing ~3 minutes.09:55
radiofreeWe're also building it -j1 which doesn't help10:04
paulsherwoodthat would explain it10:10
paulsherwoodactually, it wouldn't. how come i could log build times in oct 2014 of 3mins, but systemd has had max-jobs=1 since august?10:13
*** zoli__ has joined #baserock12:58
robtaylorradiofree: why is it j1? I refgularly build head at -j813:12
robtaylorpaulsherwood: systemd has got a lot bigger and slower to build recently. not *entirely* sure why, but hcakcing on it has been more painful these lsast two months13:16
robtaylor- assuming its been updated recently in br13:17
robtaylor(might be test additions? - seems a fair amount of time is spend linking tests)13:22
robtaylorpaulsherwood: 30 mins at j1 seems right13:26
robtaylortime make -j8 here just gave me13:27
robtaylorreal12m46.856s13:27
robtayloruser35m3.940s13:27
robtaylorsys1m52.657s13:27
radiofreerobtaylor: there's a bizarre issue where doing anything > 1 causes the build to fail13:28
radiofreespecifically with the g-ir-* stuff13:28
radiofreetrys to use a file that hasn't been generated yet...13:29
radiofreeonly ever see that in baserock though13:29
robtaylorradiofree: there's g-ir-* stuff in systemd?13:33
radiofreerobtaylor: gudev13:38
robtaylorshould really get to the bottom of tht one, i remember ssam had a good luck at it but couldn't see why13:39
robtaylormaybe something do with l-u-c13:39
*** petefoth has quit IRC13:54
paulsherwoodcan i get another +1 on the pyinotify + fail2ban?14:03
robtaylorpaulsherwood: not sure if my +1 has any value but you can have one from me14:04
paulsherwoodi'll take it :)14:04
paulsherwoodtvm14:04
robtaylorheh, np14:05
* robtaylor is experimenenting with dolt and systemd, may send a patch upstream14:05
robtaylorpaulsherwood: you may want to have a try at adding --enable-gold=default --enable-threads to pinutils configure14:08
robtaylorpaulsherwood: (and run a new bootstrap)14:09
robtaylors/pin/bin14:09
paulsherwoodrobtaylor: you mean to improve speed for systemd build, or something else?14:10
robtaylorpaulsherwood: yep, that should speed up all link steps, probably quite dramitically14:11
paulsherwoodin all 3 binutils?14:12
* paulsherwood gives it a shot14:16
*** CTtpollard has joined #baserock14:19
*** CTtpollard has quit IRC14:22
robtaylorpaulsherwood: probably =)14:29
paulsherwoodhttp://paste.baserock.org/xipezohani14:30
paulsherwoodi'll just try binutils, not the bootstraps14:30
robtaylorhmm, interesting14:32
paulsherwoodi'm starting to wonder wtf i'm building :)14:34
robtaylorwell, binutils has two linkers in, the old 'ld' and new 'gold'. gold is faster in a bunch of ways and also can use threads when linking14:37
robtaylor--enable-threads enables thread usage in gold14:37
robtaylor--enable-gold=default installs gold as /usr/bin/ld14:37
robtaylorits possible some things may fail - i'm not sure if the whole wold is gold-linkable yet14:38
robtaylorif that does happen, then we'd have to so --enable-gold=default --enable-ld14:39
robtaylorand for things that fail, you'd add LD=/usr/bin/ld.bfd before the ./configure14:39
* paulsherwood is first validating that he can build stage1-binutils and stage2-binutils unmodified14:41
robtaylorpaulsherwood: good call14:42
*** nowster has quit IRC14:45
*** paulsherwood has quit IRC14:45
*** kejiahu has quit IRC14:45
*** nowster has joined #baserock14:45
*** kejiahu has joined #baserock14:45
*** paulsherwood has joined #baserock14:45
robtaylorpaulsherwood: i think one reason compile times have increased is that now LTO may be enabled by the gcc update?15:01
robtaylor"The current implementation only produces ?fat? objects, effectively doubling compilation time and increasing file sizes up to 5x the original size. This hides the problem that some tools, such as ar and nm, need to understand symbol tables of LTO sections. These tools were extended to use the plugin infrastructure, and with these problems solved, GCC will also support ?slim? objects consisting of the intermediate code alone. "15:03
robtaylorfrom https://gcc.gnu.org/onlinedocs/gccint/LTO-Overview.html15:03
paulsherwoodurgh!?15:05
robtayloryeah, its enabled becasue it does produce faster binaries at the end, but it may not be the tradeoff you want in development15:07
robtaylor(and smaller binaries)15:07
robtaylor - the file sizes that are increased are the intermediates15:08
* robtaylor finds out that systemd forces use of gold already15:09
robtaylordolt seems to gain me 25% though15:09
paulsherwoodputting LD=/usr/bin/ld.bfd before configure doesn't seem to work15:13
paulsherwoodhttp://paste.baserock.org/mihejubipo15:13
robtaylorpaulsherwood: that's no failing becuase its havning problems with gold, it looks more like for some reason there is no /usr/bin/ld15:17
robtaylorpaulsherwood: can you pstebin th config.log?15:18
paulsherwoodwhere does morph put that?15:23
paulsherwoodin other news, can't seem to chroot into the failed area... 'chroot: can't execute '/bin/sh': No such file or directory'15:25
robtaylorpaulsherwood: in the build directory15:32
robtaylorpaulsherwood: (were ever your configure was run)15:33
robtaylorpaulsherwood: you cant chroot inro stage 1 (and poss stage 2)15:33
paulsherwoodright15:35
paulsherwoodrobtaylor: wasn't http://paste.baserock.org/mihejubipo the config log?15:36
robtaylorpaulsherwood: no15:40
robtaylorpaulsherwood: its a file called config.log in your build director15:40
robtaylordirectory15:40
*** inara has quit IRC15:41
*** inara has joined #baserock15:43
paulsherwoodno such file, robtaylor15:46
robtaylorhmm15:48
robtaylorthatr is odd15:48
*** inara has quit IRC15:50
paulsherwoodi'm tempted just to raise a story about slow systemd build and leave it at that15:54
*** inara has joined #baserock16:01
robtaylorpaulsherwood: yep16:12
* robtaylor is bemused that runninmg configure hasn't generated a config.log16:12
paulsherwoodi'll try it again later16:22
* paulsherwood is wondering how systemd services are added to baserock systems16:23
* paulsherwood has found http://wiki.baserock.org/guides/systemd/ - which doesn't mention how to do this for baserock systems at all16:25
*** zoli__ has quit IRC16:40
*** zoli__ has joined #baserock16:40
*** zoli__ has quit IRC16:45
Kinnisonpaulsherwood: essentially in the same way any other distro would -- you put unit files into the right place in the filesystem (off the top of my head I can't remember exactly where).19:12
paulsherwoodKinnison: thanks21:36
* paulsherwood has discovered there are examples in morph files http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/tree/strata/zookeeper/zookeeper-server.morph21:38
pedroalvarezMore examples: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/tree/distbuild/usr/lib/systemd/system21:41
paulsherwoodah, interesting. does that mean we have at least two different approaches for this? :)22:01
*** ChanServ has quit IRC22:02
*** ChanServ has joined #baserock22:04
*** wolfe.freenode.net sets mode: +o ChanServ22:04
pedroalvarezThere is a third approach. And is include them in the chunk repository.22:12
*** pacon has joined #baserock22:31
*** jjardon_ has joined #baserock22:50
*** jjardon has quit IRC22:50
*** JPohlman1 has quit IRC22:50
*** persia_ has quit IRC22:50
*** JPohlmann has joined #baserock22:50
*** JPohlmann has joined #baserock22:50
*** persia_ has joined #baserock22:50
*** persia_ has joined #baserock22:50
*** jjardon_ is now known as jjardon22:50
*** inara has quit IRC23:12
*** inara has joined #baserock23:13

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!