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