19:00:54 #startmeeting 19:00:56 Meeting started Thu Feb 14 19:00:54 2019 UTC. The chair is x1sc0. Plugin info at http://wiki.debian.org/MeetBot. 19:00:56 good evening 19:00:57 Useful Commands: #action #agreed #help #info #idea #link #topic. 19:01:19 hi everyone, welcome to the fifth LibreOffice's C++ lecture 19:01:37 who is around for the lecture ? 19:01:40 good evening 19:01:41 welcome to the Valentine C++ meeting 19:01:47 x) 19:01:51 haha! 19:02:07 find your new love with C++ ;P 19:02:28 feeling it today 19:02:29 KingInTheNorth, izabela[m] welcome 19:02:56 anyone else around? KingInTheNorth izabela[m] are you with more people ? 19:03:12 Saludos a todos 19:03:20 hola! 19:04:47 #topic intro & updates 19:05:27 so, just as an update, at FOSDEM, we tried to build LibreOffice on izabella's hdd 19:05:35 for win and linux 19:06:26 but it was impossible to make it to work 19:06:42 so finally we decided the best is to use the remote vms 19:06:52 any other update since fosdem? 19:07:03 yes, 19:07:19 KingInTheNorth, do you have access to this vm and have a setup there ? 19:07:24 i build finally libreoffice on debian 19:07:52 had to switch to debian testing which crashes sometimes 19:07:59 nope 19:08:41 izabela[m]: yay \o/ 19:08:57 izabela[m], I thought you also had limited free disk space to build LibreOffice 19:09:08 anyway, those are good news 19:09:22 well, deleted lots of packages on the way 19:09:28 took me all the weekend 19:09:55 izabela[m]: you didn't build on the external ssd? 19:10:27 izabela[m], and the build succeeded ? 19:10:40 had some depencency problems with debian testing and had to be very careful what i kept and what i deleted 19:11:20 no, the external ssd was for Eva 19:11:51 izabela[m]: did Eva succeed in a build? 19:12:24 i dont know 19:12:36 my build was successful 19:12:41 great 19:12:57 i mean there were no error message in the end 19:12:59 I wonder if it would make sense to provide a vm containing some os and all needed build tools and the code. 19:14:11 some os = any distribution 19:14:23 a docker would make sens 19:15:24 htietze: we have one for Linux, things get a little complicated after the build if one isn't familiar with gdb 19:15:25 KingInTheNorth, and did you try to build it locally? if you have any kind of limitation then the remote vm should be the solution then 19:17:02 tbh I didn't because thought of switching to dual boot first 19:17:24 I built it on debian testing, but I had to use build-nocheck, otherwise I got an error with a failed unit test 19:17:32 after all it's seems to be fairly easier on linux 19:18:03 KingInTheNorth, so you would like to have dual boot to have Linux and build it in there? 19:18:19 yes 19:18:20 well, win + lode is quite straight forward as well 19:18:50 emmy-w, hi there 19:19:02 haven't got lode atm + I will get linux anyways cause I like it 19:19:41 and I'll need it fairly soon 19:19:45 emmy-w, then you should ask in libreoffice@lists.freedesktop.org 19:20:21 ok, thanks 19:20:50 KingInTheNorth, ok, other than that, you don't have disk space limitation ? 19:21:12 no 19:21:50 emmy-w, add the console's output ( the relevant part ) when you send the email 19:22:03 KingInTheNorth, great, then let's hope you get it soon 19:22:31 ok 19:22:49 I will no worries 19:23:05 KingInTheNorth, check this page ( https://wiki.documentfoundation.org/Development/BuildingOnLinux ) for distros that are currently supported 19:23:12 + info on how to build 19:23:27 ok thanks 19:23:37 well, let's move on into the lecture's topic 19:23:54 #topic questions & answers on the video 19:23:58 i have one more question# 19:24:09 sure 19:24:18 heh, clearly there are gentoo instructions missing 19:24:19 my build is 10.8 gb on debian 19:24:23 is that ok 19:25:59 izabela[m]: looks like without debug or symbols, is it? 19:26:36 izabela[m], mine is 15G without debug 19:27:56 ccache would also take some space 19:28:23 erAck: i dont know 19:28:36 asturm, yep, you are right, if you are on gentoo and want to give it a try, your could add the info later on 19:28:39 it took only a few hours to build 19:28:46 i was suprised 19:28:54 Talking about the recursion topic, is there a limit on how often a function can be called? Surely there is but how to test/ensure it's not reached. 19:28:59 izabela[m]: if you didn't specify anything for ./autogen.sh then yes 19:29:37 htietze, recursively you mean? your memory 19:29:43 izabela[m]: do you have abundant disk space now? 19:29:51 x1sc0: well all I have to do is `emerge libreoffice` ;) 19:29:58 Remember stack/head restrictions back in dos times. 19:30:07 heap 19:30:39 asturm, that's pretty straight-forward :D I'm not familiar with gentoo at all 19:31:10 asturm, there's a sentence in that page saying 'An Athlon 435 X3 with ccache without java without epm takes about 1.5 hours for the initial make on gentoo.' 19:31:53 izabela[m], could you please share the autogen.input ? 19:32:31 erAck: yes, i have 30 GB free 19:32:58 x1sc0: just built 6.2.1.1 few hours ago and took me around 1h15 19:33:32 x1sc0: where can i find it? 19:33:35 izabela[m]: if you didn't rename it to autogen.input then it's the autogen.lastrun file 19:33:58 asturm, it takes much longer in my computer, ~4 hours 19:34:49 x1sc0: I don't build all features 19:35:09 asturm, btw, are you from Tirana as well? interested in the C++ lectures ? 19:35:39 but I also have 8 threads available, though that is not that much these days anymore 19:35:55 x1sc0: nope, vienna 19:37:22 so, more questions on the video ? 19:37:37 or on topics from previous lectures ? 19:37:59 Gotta go now. Thanks for your valen-time. See you tomorrow. 19:38:48 izabela[m]: if you have 30GB free after the build you could try to configure a new build with the --enable-debug (or even --enable-dbgutil) option (you'd have to make clean for that to rebuild everything) 19:38:52 i cant find the file 19:39:15 izabela[m]: in your libreoffice core directory 19:39:59 no result 19:40:35 izabela[m]: ah, might well be if you didn't pass any options to ./autogen.sh 19:40:46 so then there's nothing to remember ;) 19:41:28 the first command is make clean? 19:41:52 and then ./autogen.sh --enable-dbgutil 19:41:55 izabela[m]: make clean && ./autogen.sh --enable-dbgutil && make 19:42:09 izabela[m]: beware, it takes it's time and consumes disk space 19:42:33 i can leave it overnight 19:42:37 yup 19:43:44 izabela[m]: while at it, do ./autogen.sh --enable-dbgutil --enable-werror 19:44:25 oh no 19:44:27 which will fail compiler warnings as errors, useful for new code or code yu modify 19:44:42 i started the new build 19:44:43 izabela[m]: oh no? 19:44:53 izabela[m]: just Ctrl+C 19:45:46 make clean && ./autogen.sh --enable-dbgutil --enable-werror && make 19:45:49 i use --without-help --without-myspell-dicts --without-doxygen. I guess it saves some time... 19:46:00 indeed 19:46:04 yep 19:46:08 and --disable-odk 19:46:43 added 19:47:19 izabela[m]: do you keep track? ;) 19:47:24 izabela[m], next time you want to add/remove a parameter, just edit autogen.input 19:47:35 yes of course 19:47:44 make clean && ./autogen.sh --enable-dbgutil --enable-werror --disable-odk --without-help --without-myspell-dicts --without-doxygen && make 19:48:13 nice 19:48:48 izabela[m]: looks good; I combined those on one command line with && for convenience, of course you can enter them as separate commands 19:49:53 izabela[m], later on, if you modify something inside sw, you don't need to rebuild everything, just use 'make sw' 19:50:12 izabela[m]: after the ./autogen.sh command, mv autogen.lastrun autogen.input then it will be taken as input for the next ./autogen.sh run without having to specify the same options again 19:51:45 x1sc0: yes but i also should update my build from gerrit 19:52:40 izabela[m]: it's a good time now 19:52:50 izabela[m], you mean pull from gerrit ? 19:52:57 no, i mean in general 19:53:03 yes 19:53:24 izabela[m]: note that we use git pull -r 19:53:29 to rebase instead of merge 19:53:39 izabela[m], well, it's up to you, I don't pull every day, maybe once every month 19:53:49 probably erAck pulls more often 19:54:02 ~once or twice aq week 19:54:27 actually I have different trees for development, reviews and push 19:56:00 izabela[m]: before pulling it's also good to glance at https://tinderbox.libreoffice.org/MASTER/status.html 19:56:01 izabela[m], so, normally I only pull -r before doing a 'make' 19:56:02 if that's all red then it's a bad time to pull 19:56:58 right now it's exceptionally green ;) 19:57:02 is make different from git pull? 19:57:26 erAck, does it get red often? I thought that was something from the past after we started to use CI 19:57:42 izabela[m]: git pull obtains fresh sources from the repository, make builds them, so yes 19:58:17 x1sc0: it's not often and most times it gets fixed quite fast 19:59:22 so after git pull i should build again? 20:00:01 izabela[m]: yes 20:00:17 x1sc0: CI doesn't help against breakers if the parent is too old or a change spent too much time in review after CI without rebase 20:01:08 erAck: and i should do this once per week? 20:01:16 izabela[m], if you build it tonight and tomorrow you pull -r, then you will have to build the new changes again 20:02:42 izabela[m]: roughly once a week, also depends on your own changes cycle 20:02:52 it's 20:00 UTC, i'm closing the meeting. it doesn't mean we can keep talking about pull/make/etc... No question about the video today 20:03:00 #endmeeting