[05:12] <Jessiah> Hey all - Linux noob here.  I have a fresh install of Lubuntu.  I am trying to use Discover to update and install apps but I get the following message, "You have no authorization to execute this operation".  I have searched the web/reddit/forums looking for answers but haven't been able to come up with anything.  Has anyone else experienced this,
[05:12] <Jessiah> or have any idea of how I could go about fixing it?  Thanks!
 hello jessiah, which language you use at ur system?
[05:19] <Jessiah> English
 it s not what i guessed:) there s pro guys here that helps a lot, im %90 sure they ll help u easly if u wait, while waiting u can use muon to install some apps if u want^^
[05:24] <Jessiah> Thanks - it's getting late (for me anyway :)) on the east coast so I will check back tomorrow.


[01:15] <psusi> how do you switch to the alpha channel?  or maybe install a gui?
[01:15] <psusi> also why is man not included and why is the root fs image ext4 instead of squashfs?
[07:00] <dholbach> good morning
[07:21] <davidcalle> Good morning all
[07:22] <mvo> hey dholbach and davidcalle, good morning
[07:22] <davidcalle> mvo, hello, I don't seem to be able to catch rcj on IRC, any idea at what time he is around?
[07:25] <dholbach> hi mvo
[07:30] <mvo> davidcalle: a good question, he is US timezone AFAIK
[07:33] <davidcalle> mvo, thanks, I've noticed, but still no luck in my european evenings. Nothing urgent though, I'll drop him an email.
[07:36]  * mvo nods
[08:21] <willcooke> Morning folks, I've been asked a question on G+ which I'd like to check with you
[08:22] <mvo> willcooke: what is the question?
[08:22] <willcooke> Will it be possible to install Snaps on the U7/.deb based at some point in the future?
[08:22] <willcooke> Either for developers to test their packages
[08:23] <willcooke> or as an alternative to .deb based application installation
[08:28] <mvo> willcooke: I think so, yes. not sure when, but conceptually I see no reason why that would not work. you can have snap/deb in parallel just fine
[08:28] <willcooke> cool, thx mvo
[08:35] <JamesTait> Good morning all; happy Senior Health & Fitness Day! 😃
[11:41] <rickspencer3> asac, https://code.launchpad.net/~rick-rickspencer3/+junk/go-template
[11:41] <rickspencer3> Chipaca, ^ since you were there last week ;)
[11:50] <rickspencer3> mvo, where do I file a bug against snappy build?
[11:52] <ogra_> rickspencer3, see topic ;)
[11:52] <rickspencer3> oops, it was beneath the fold in xchat-gnome and I didn't see it :)
[11:56] <rickspencer3> thanks ogra_
[11:56] <ogra_> np :)
[11:59] <ogra_> pitti, do you happen to know what handles /etc/mtab in the boot process (pre and post systemd) ?
[12:00] <ogra_> for pre-systemd i see /etc/init.d/checkroot.sh but i'm not sure that is used at all
[12:15] <pitti> ogra_: how do you mean "handle"?
[12:15] <pitti> <jedi wave> /etc/mtab is not the thing you are looking for :)
[12:16] <pitti> ogra_: post-systemd> entirely ignored; the Debian package turns it into a symlink to /proc/mounts for legacy stuff that parses it, but systemd, util-linux, our boot scripts etc. all don't care
[12:16] <pitti> ogra_: I'm not entirely sure about mountall, though
[12:17] <pitti> ogra_: we never ran /etc/init.d/checkroot.sh, both upstart and systemd override it
[12:19] <ogra_> hmm, k
[12:20] <ogra_> pitti, we have some code on the system-image server that unpacks/repacks the rootfs tarball to enforce it being a symlink ... i'm not really sure why it is there
[12:20] <pitti> ogra_: it's only there because some stone old software might look at it
[12:21] <pitti> ogra_: which is hopefully not the case on touch, and most certainly not on snappy, so if we just want to remove it there, please let's
[12:21] <ogra_> yes, and we dont use any such software on the phone and snappy images
[12:21] <ogra_> yet stgraber once added code for it
[12:21] <pitti> this is sorta like the x86 A20 gate -- everyone hates it, it's broken, but it's sticky as glue :)
[12:22] <pitti> ogra_: I think we shoudl start dropping it from snappy; we can test the core, snapps should not ever care
[12:22] <pitti> and drop it from touch as well if we ever aren't in a "deep freeze/product release round the corner" situation
[12:22] <ogra_> well, we use systemd, so i guess on snappy it is already gone
[12:22] <ogra_> touch not so much ... and i cant reqally find out why
[12:23] <pitti> ogra_: as I said, our systemd package creates an /etc/mtab -> /proc/mounts symlink for legacy stuff compat
[12:23] <ogra_> initrds /init makes it a symlink on start
[12:23] <ogra_> but i dont find any code that turns it back into a file after run-init
[12:23] <ogra_> yet, on my desktop installs it is a file
[12:24] <pitti> ogra_: oh - we had a bug about that the other day
[12:24] <pitti> ogra_: I don't remember which package any more, it was something like lxcfs or so
[12:24] <ogra_> somethinng removes the link and makes it a "proper" mtab again
[12:24] <pitti> which accidentally turned an mtab symlink into a file
[12:25] <pitti> but I added a postinst to fix that, so maybe that got broken again
[12:25] <ogra_> ogra@styx:~/Devel/tmp/meizu$ ls -l /etc/mtab
[12:25] <ogra_> -rw-r--r-- 1 root root 1096 Mai 22 12:59 /etc/mtab
[12:25] <ogra_> thats my utopic laptop
[12:25] <Chipaca> rickspencer3: what problems did you bump into? (bug#?)
[12:25] <pitti> ogra_: ah, utopic
[12:25] <pitti> ogra_: yeah, we didn't have any transition code under upstart
[12:25] <mvo> Chipaca: https://bugs.launchpad.net/snappy/+bug/1459212
[12:25] <ogra_> pitti, well, i doubt it is any different in upstarted vivid installs
[12:25] <ogra_> which touch is
[12:25]  * genii sips and ponders "odd things"
[12:26] <Chipaca> mvo: maybe we should state “snappy build is a SISO pipe”
[12:26] <pitti> ogra_: right
[12:26] <pitti> ogra_: sorry, you said "desktop", and I implied "vivid/wily"
[12:26] <ogra_> but grepping recursively for mtab in /etc/init* doesnt really reveal anything ...
[12:26] <rickspencer3> Chipaca, Chipaca https://bugs.launchpad.net/snappy/+bug/1459212
[12:26] <Chipaca> rickspencer3: yep, mvo pointed me at it
[12:26] <ogra_> probably mountall :/
[12:26]  * ogra_ goes to get the code
[12:26] <pitti> ogra_: right, transition happens by /lib/systemd/system/debian-fixup.service calling /lib/systemd/debian-fixup
[12:27] <Chipaca> rickspencer3: at least, an easy fix :)
[12:27] <pitti> ogra_: so what are you looking for now?
[12:27] <ogra_> pitti, a way to make mtab not being created in the vivid touch images
[12:27] <ogra_> and just keep the symlink around that we get from the initrd
[12:27] <pitti> ogra_: ah, right; TBH I have no idea what creates it in the first place
[12:28] <ogra_> i want to drop the link creation from the system-iage server so we dont need to re-pack the rootfs anymore
[12:28] <pitti> this thing is like "slap, go away", and it comes back
[12:28] <ogra_> yeah
[12:28] <ogra_> i remember discussion turning it into a symlink around dapper time :)
[12:29] <ogra_> *discussing
[12:29]  * pitti grep -w mtab * in /var/lib/dpkg/info
[12:29]  * pitti sees bug 906293 and closes it
[12:30] <pitti> ogra_: hm, neither package maintscripts nor debootstrap
[12:31] <pitti> live-build? livecd-rootfs?
[12:31] <ogra_> pitti, yeah, it must be something in the boot process ... else the symlink the initrd created would just stay around
[12:31] <pitti> Übereinstimmungen in Binärdatei /sbin/mountall.
[12:31]  * pitti RTFC
[12:31] <ogra_> sigh, i knew it
[12:31] <ogra_> yeah
[12:32] <ogra_> so i will do then ...
[12:32] <pitti> ./src/mountall.c:written_mtab = TRUE;
[12:32] <pitti> ./src/mountall.c:if (written_mtab)
[12:32] <pitti> fairly sure we have a "winner"
[12:32] <ogra_> yep
[13:12] <kgunn> mterry: hey, so made my snaps, but then when i ran clocks, it gave me
[13:12] <kgunn> https://pastebin.canonical.com/132060/
[13:12] <kgunn> did you ever hit that?
[13:12] <kgunn> weird RAOF hit it last night as well when he tried...
[13:12] <mterry> kgunn, oh right!
[13:13] <mterry> kgunn, export LC_ALL=C.UTF-8
[13:13] <mterry> kgunn, sorry, should have been part of my instructions
[13:13] <kgunn> np!
[13:13] <ogra_> kgunn, any specific reason to use a secret pastebin in the public channels ?
[13:13] <ogra_> :)
[13:13] <kgunn> nope sorry
[13:19] <kgunn> mterry: success!....now matters of curiosity, why does it herald "bad system call" on running clocks
[13:19] <ogra_> probably seccomp blocking it ?
[13:20] <mterry> kgunn, interesting, not sure.  I'd have to look at a strace -- didn't remember seeing that
[13:20] <mvo> kgunn: dmesg should tell you what syscall was blocked
[13:20] <mvo> kgunn: then you can use "scmp_sys_resolver $nr" to figure out what the number means
[13:27] <kgunn> thanks mvo
[13:28] <kgunn> dirty dog....seems it no longer appears when i launch clocks, like a one time failure ?
[13:28] <davidcalle> rcj, ping
[13:29] <rcj> davidcalle, hi, what's up?
[13:30] <davidcalle> rcj, hey, do you mind having a look at this Amazon ec2 doc bug? https://bugs.launchpad.net/developer-ubuntu-com/+bug/1456390?
[13:31] <rcj> davidcalle, I can in a few minutes.  My mouse pointer has disappeared so I need to restart before I can do precision tasks like clicking on links.  I'll be back on in 5m.
[13:31] <davidcalle> rcj, :)
[13:39] <rcj> davidcalle, I've added our team to the bug and I'll get us started on this
[13:41] <davidcalle> rcj, many thanks! I'll take care of updating the doc, just ping me or add changes in a comment on the report.
[13:53] <rcj> davidcalle, I provided answers and assigned it back to you.
[13:54] <davidcalle> rcj, great, thanks :)
[14:03] <elopio> good morning.
[14:55] <ogra_> bug 529993
[15:37] <elopio> sergiusens: what's the plan with the cmd directory?
[15:39] <sergiusens> elopio: we need to rewrite what is inside the code; the external interface (cli) should behave the same
[15:40] <sergiusens> elopio: but basically moving to client/server; so the client could be easily mocked when this happens too ;-)
[15:42] <elopio> sergiusens: good. I was thinking that the cli conformance tests should be unit tests, leaving just a few functional tests. But I started digging how to fake the replies and that was not easy.
[15:48] <beowulf> @reviewlist
[15:48] <nothal> https://code.launchpad.net/~stephen-stewart/webdm/remote-and-local-collections-with-sorting-and-filtering/+merge/260305 | No reviews (less than a day old)
[15:48] <nothal> https://code.launchpad.net/~sergiusens/webdm/godepsForBuilding/+merge/260156 | No reviews (less than a day old)
[15:48] <nothal> https://code.launchpad.net/~stephen-stewart/webdm/repent-harlequin-said-the-ticktockman/+merge/260120 | No reviews (less than a day old)
[15:48] <nothal> https://code.launchpad.net/~stephen-stewart/webdm/the-sun-is-the-same-in-a-relative-way/+merge/259933 | No reviews (4 days old)
[15:48] <nothal> https://code.launchpad.net/~stephen-stewart/webdm/icons-icons-icons/+merge/259800 | No reviews (5 days old)
[15:48] <sergiusens> elopio: no, not at all; well you can set functions to var in as in var snappyInstall = snappy.Install and then in the tests set snappyInstall to your mock
[15:49] <sergiusens> elopio: if you aspire to 100% coverage, this is the only way I think, unless Chipaca has a more clever idea
[15:50] <sergiusens> elopio: the go stdlib is full of exported functions calling the internal function and testing just the internal functions
[15:50] <sergiusens> beowulf: feeling better?
[15:50] <beowulf> sergiusens: much
[15:50] <beowulf> sergiusens: migraine
[15:51] <beowulf> mvo: if you want some reviews ^^ i can start you by saying i haven't enough tests
[15:52] <elopio> sergiusens: hum, Let me try that. I'm not looking for 100% coverage (yet), I just want to improve tests like 01_test_info, which just check that the reply conforms to the spec.
[15:52] <beowulf> sergiusens: i added a card to trello to expose what would be the results of a GET of installed snaps to the GO templates, i want to bootstrap the app so it doesn't have to make an api call first time
[15:52] <mvo> beowulf: heh :) dinner time here, probably needs to wait until tomorrow (unless someone lese beats me to it)
[15:52] <sergiusens> elopio: the what I propose will get you going
[15:52] <beowulf> mvo: no problem , dinner here too
[15:53] <elopio> sergiusens: I'll play with that. But better wait and do it with the refactor of cmd, I think.
[15:53] <sergiusens> beowulf: oh nice, if we do this, can we just do updates with websockets for all else?
[15:53] <sergiusens> elopio: that will happen next month the soonest I guess
[15:55] <sergiusens> beowulf: I'll do your reviews, and let me set something up for tomorrow to discuss websockets, that template you speak of and all else
[15:55] <elopio> sergiusens: in the mean time we can work on tests for the functional part. Install a snap -> check the list, and things like that. Which are better without fakes and will survive the refactor.
[15:55] <beowulf> sergiusens: yeah, but in the first instance i'm going to rely on a local (to the browser) list initially populated from the Go template, then sync the list in the background when the user won't notice
[15:56] <sergiusens> elopio: agreed
[15:56] <beowulf> sergiusens: also, sad face that we don't have https, is that correct?
[15:56] <sergiusens> beowulf: works for me; initially we were going to go with a go template for most things so I'm not against it
[15:56] <sergiusens> beowulf: no https as no cert, but there is a plan
[15:57] <beowulf> no https would rule out a couple of browser apis that webdm could use
[15:57] <Chipaca> sergiusens: elopio: I have zero clever ideas.
[16:02] <beowulf> Chipaca: oh you
[16:03] <sergiusens> beowulf: well, it's coming
[16:48] <mterry> bzoltan, tedg: want to join a quick hangout to talk about IDEs & snapcraft?
[16:48] <bzoltan> mterry: tedg: I can do a quick chat
[16:48] <ogra_> isnt that just a plugin thing ?
[16:49] <mterry> ogra_, well that's what I'm trying to determine, but it may influence how buildenvs are stored etc.  fact finding
[16:50] <ogra_> ah, well, i thought we would have pluggable build envs too :)
[16:50] <bzoltan> mterry: ogra_: I  am fine with wjatever plugin :) as long the rootfs and the tollchain of the target is directly accessible from the IDE :)
[16:50] <ogra_> so it would just be a matter of picking the ones the IDE wants
[16:51] <ogra_> bzoltan, right, but other parts might have different reqs ... so i would envision we have pluggable backends as well as pluggable frontends ... and the frontend just defines what it wants as backend env
[16:51] <bzoltan> ogra_: mterry: so any sort of wrapping and confining of the toolchain+rootfs is a showstopper for the IDE
[16:51] <ogra_> there might be parts that require a clean bootstrap ... others might want to  use a VM ... you want to use a chroot etc
[16:52] <bzoltan> ogra_: I am fine with it... as long after plugging I can access the toolchain and the rootfs :)
[16:52] <ogra_> sure, your backend plugin would have to do that then :)
[16:52] <mterry> ogra_, why would there be so many options?  you just want a .snap sitting there, why require a VM?
[16:52] <bzoltan> ogra_:  Noooooouuuuu :) I do not want chroot... I want sysroot + native toolchain_S_
[16:52] <ogra_> mterry, no idea, i was just making up examples :)
[16:53]  * bzoltan things that G+ hangouts are overrated :D
[16:53] <ogra_> mterry, i think snapcraft should be flexible here
[16:53] <bzoltan> s/things/thinks/
[16:53] <ogra_> bzoltan, +1 .... excludes the community from the discussion :)
[16:53] <mterry> ogra_, the more flexible we are, the less magic we can be.  We wanted to be very magic, ideally user never has to think about buildenvs
[16:53] <bzoltan> mterry: I second that
[16:53] <ogra_> mterry, not a user ... a provider for a certain setup
[16:54] <mterry> bzoltan, talk me through the different options.  So VM doesn't make sense, sure.  chroot is bad because your plugin would need to be root to get in?  let me look at what sysroot is, /me is dumb about it
[16:54] <ogra_> pypi will have different reqs than node-snapper ...
[16:54] <ogra_> C++ will have another set of different reqs
[16:54] <ogra_> or java ...
[16:55] <mterry> ogra_, provider for a certain setup?  oh, the pypi plugin just gets pointed at the buildenv and uses it.  Why does it care what sort of chroot thing it is?
[16:55] <bzoltan> mterry: Ok... I explain...
[16:55] <mterry> bzoltan, ok, so sysroot is a gcc option?
[16:55] <tedg> I thought a VM was fine as long as the build directory is in the local FS.
[16:56] <tedg> i.e. we just need to be able to pull the directory through some magic into the VM.
[16:56] <tedg> That way the IDE can get full source introspection.
[16:56] <ogra_> tedg, you also want direct interaction from your Ui etc ...
[16:56] <bzoltan> mterry:  In our present app dev SDK we use the chroot model.. it means that whatever Ubuntu you are on... even on LTS ... and you develop for 15.04 phone ...teh chroot will be an x86 15.04 chroot with the armhf libs and headers. And we use the x86 toolchain (make-compiler-linker) to build the armhf binaries
[16:57] <tedg> Ah, so it needs some routing of STDIN/STDOUT
[16:57] <ogra_> yeah, i guess so
[16:57] <bzoltan> mterry:  that is a major hackaround ... but a huge saving because we do not need target specific toolchain... we simple use the target system's native one
[16:57] <ogra_> but bzoltan experimented with VMs and can surely give you more details about the probs
[16:58] <mterry> bzoltan, hold up
[16:58] <mterry> bzoltan, you say "target specific toolchain" and "target system's native one"
[16:58] <bzoltan> mterry:  yes
[16:58] <mterry> bzoltan, can you please dumb that down a tad?  "target specific" is x86 toolchain that knows how to build armhf?
[16:59] <mterry> And "target system's native one" is actual armhf binary toolchain?
[16:59] <bzoltan> mterry:  so when you compile a phone app you do not use the LTS edition of the toolchain, but the one from the chroot
[16:59] <tedg> I think he's also saying that it's the version of the target as well.
[16:59] <bzoltan> tedg:  precisely!
[16:59] <tedg> So the wily would default to gcc 5.2 but trusty would be a gcc 4.x
[17:00] <mterry> Ok...  So "target specific" is same-arch-diff-version, and "target native" is same-arch-same-version?
[17:00] <tedg> bzoltan, So then do you run the test suite using a QEMU hack?  The catch here is that you have a specially built toolchain that can use that rootfs as the source to get the headers and libraries. So instead of /usr/include, it usues /path/to/sysroot/usr/include. Same for libs
[17:00] <mterry> And then the toolchain can also cross compile?
[17:01] <ogra_> well, irt kind of does a native build
[17:01] <zbenjamin> mterry: the toolchain itself is a cross toolchain running directly on the host. Its the standard way for most cross build SDKS, including android and Qt
[17:01] <ogra_> but using the host toolchain inside the chroot for speed
[17:01] <zbenjamin> mterry: thats why all lots of tools support it by default
[17:01] <ogra_> in a cross way
[17:02] <zbenjamin> tedg: for running cross build tests you need a emulator of course
[17:02] <ogra_> it is the same ugly thing that scratchbox and the SuSE OBS use ...
[17:02] <mterry> zbenjamin, yup.  Just trying to think of non-c++ stories too
[17:02] <tedg> So then do we need kits to be more generic than QtCreator? We need "snapcraft Kits" ?
[17:02] <zbenjamin> mterry: does a nodejs for example need to be installed systemwide? can't you use a nodejs installation from everywere to build your app?
[17:03] <ogra_> mterry, as long as it is gcc you can use that model for all langs gcc compiles
[17:03] <bzoltan> mterry: ogra_: We as the SDK team are lobbying for target specific toolchain + sysroot modell for years... the chroot solution is an acceptable ugly solution we can live with.. but hat is not troublefree either. VM is pointless.
[17:03] <mterry> zbenjamin, I'm sure.  And Python can set PYTHONHOME and all that
[17:03] <mterry> zbenjamin, but I'm not sure about other compiled language cross compile stories.  I'm sure they have something, but I've never done it in Go for example.  I know it can, just don't know what it needs
[17:03] <zbenjamin> mterry: go as well can be used from everywhere afaik
[17:03] <ogra_> zbenjamin, take a look at node-snapper ...
[17:04] <mterry> bzoltan, zbenjamin: (A) you're IRC nicks are driving me crazy
[17:04] <ogra_> i envision we'll use something similar for node in the end ... the prob with node  is that you need to compile the modules on the fly ...
[17:04] <zbenjamin> mterry: lols :D
[17:05] <mterry> bzoltan, zbenjamin: (B) it sounds like you guys just want a directory sitting on disk.  Nothing special to it.  It will just contain its own headers and build env setup.  Right?
[17:05] <zbenjamin> ogra_: mterry: also i was wondering how to handle snaps that combine languages? For example C++ and go and nodejs ....
[17:05] <tedg> mterry, I think they want the default paths changed. So, really, it's kinda snap-ifying the toolchain.
[17:05] <ogra_> zbenjamin, good question ... on a snap level you just throw the binaries into the right places
[17:05] <mterry> zbenjamin, I suspect each language plugin would know how to set up its own parts
[17:05] <ogra_> zbenjamin, for building that gets interesting :)
[17:05] <zbenjamin> mterry: almost yes, the qt tools need to be built for cross building but when we have the base sysroot + toolchain thats easy
[17:06] <ogra_> there we will need the magic that mterry mentioned earlier ;)
[17:06] <mterry> tedg, default paths?  I think they just want to set sysroot at build time to point at the buildenv, not by default
[17:06] <zbenjamin> mterry: ogra_: so if we think about sysroots and chroots. We totally could use a chroot as sysroot, all we need is the toolchain and the cross build tools (in our case Qt) in a extra location
[17:07] <ogra_> or copied in place ... or linked/bind-mounted/overlayfs-mounted
[17:07] <zbenjamin> ogra_: don't say the bad word "overlayfs mounted" :D
[17:07] <ogra_> might be our future :)
[17:07] <mterry> zbenjamin, but you want to ideally be handed a directory that has usr/include usr/lib etc inside it, as well as usr/bin/gcc and friends.
[17:08] <ogra_> mterry, quite a bit more ...
[17:08] <ogra_> we're talking about gigs of build deps
[17:08] <bzoltan> mterry: zbenjamin: yes, the sysroot is really not much else then the  directory structure of the target system + dev files ... PLUS we need the toolchain what knows the whereabout of that diretcory
[17:08] <mterry> ogra_, yeah, the whole shebang.  everything needed to build
[17:08] <ogra_> (the whole phone framework)
[17:09] <zbenjamin> ogra_: as i said we could use the libraries from the chroots. We just need a external toolchain
[17:09] <mterry> bzoltan, the toolchain which sits outside that directory?  why wouldn't it be the toolchain inside that dir?  for speed reasons in case we are cross compiling?
[17:09] <bzoltan> ogra_:  are you sure it is gigs?
[17:09] <ogra_> mterry, yeah
[17:09] <zbenjamin> mterry: thats a gcc requirement
[17:09] <zbenjamin> mterry: afaik a relocatable toolchain can not be inside the sysroot
[17:09] <bzoltan> mterry:  the location of the toolchain is not relevan, as long it is not emulated but native
[17:09] <ogra_> mterry, using the native armhf compiler in a qemu-user-static chroot works but is slower and less reliable ...
[17:10] <mterry> OK, well that's fine
[17:10] <ogra_> so you use the host one in cross setup
[17:10] <mterry> Host toolchain is fine
[17:10] <ogra_> and copy/link/mount it into the chroot
[17:10] <mterry> But libs and everything inside the sysroot directory
[17:10] <mterry> ogra_, wait, I thought it didn't need to be inside?
[17:10] <zbenjamin> ogra_: mterry: catch is we can not move the toolchain around. Gcc does not like this. Except we compile it as relocatable.
[17:10] <ogra_> yeah, they need to match the target
[17:10] <mterry> zbenjamin, why is that a catch?
[17:11] <mterry> zbenjamin, gcc outside, all libs inside, right?
[17:11] <ogra_> yeah
[17:11] <zbenjamin> mterry: i mean we can not use the default toolchain from the archive
[17:11]  * tedg needs to run, but will catch up on the backlog when back (much better than hangouts) :-)
[17:11] <zbenjamin> mterry: at least not how its compiled atm afaik
[17:11]  * mterry *likes* hangouts
[17:11] <mterry> zbenjamin, oh wait weird.  I didn't know we were using non-archive gcc
[17:11] <ogra_> mterry, especially the transcripts that you can read from logs next week ?
[17:11] <ogra_> :P
[17:12] <mterry> zbenjamin, so there's some SDK-specific gcc we need to use?
[17:12] <mterry> ogra_, I get it!  I just like your pretty faces is all
[17:12] <ogra_> haha, we like yours too :)
[17:12] <zbenjamin> mterry: either that, or we need to make sure the archive toolchain supports what we need
[17:12] <zbenjamin> mterry: we probably need to ask a toolchain dev what is required here
[17:12] <mterry> zbenjamin, (why hasn't that happened?  was it rejected?)
[17:12] <mterry> zbenjamin, what exactly is it that we need that archive doens't do?
[17:13] <zbenjamin> mterry: it needs to support the --sysroot switch.
[17:13] <zbenjamin> mterry: and i think you need to compile that in
[17:13] <mterry> zbenjamin, oh weird, that's not standard?  curious
[17:13] <bzoltan> mterry:  yes, it was rejected with the explanation that they have no time and hands to maintain more than one toolchain
[17:13] <zbenjamin> mterry: basically we need a toolchain that can select the sysroot its compiling against
[17:13] <mterry> So this is not a solution we could build today
[17:13] <mterry> Or on 14.04
[17:13] <zbenjamin> bzoltan: mterry: yeah but back then we didn't come up with the idea that the default toolchain could do that maybe
[17:14] <bzoltan> zbenjamin: mterry: we did not know
[17:14] <mterry> yeah I get that.  I'm just trying to figure out how to move forward
[17:14] <mterry> Sounds like this won't be sufficient for now
[17:14] <bzoltan> mterry:  correct.. on LTS we are busted either way ... because we can not replace the toolchain there
[17:14] <zbenjamin> mterry: yes so that would be only possible when we SRU that toolchain back
[17:14] <mterry> that's not happening  :)
[17:14] <ogra_> mterry, get doko really really drunk :)
[17:14] <zbenjamin> :D
[17:15] <zbenjamin> ogra_: add a "really" there :D
[17:15] <ogra_> (step 1)
[17:15] <bzoltan> ogra_:  you can not get doko _THAT_ drunk
[17:15] <mterry> zbenjamin, bzoltan: OK...  so this sysroot solution is a future idea.  For next LTS
[17:15] <ogra_> yeah, it is also very hard to get him drunk :)
[17:15] <mterry> zbenjamin, bzoltan: what do you need on 14.04?  You need a chroot?
[17:15] <bzoltan> mterry: sysroot + fixed toolchain on new releases and chroot on old releases
[17:15] <mterry> If I give you a sysroot directory on 14.04, you can't compile using it?
[17:16] <zbenjamin> bzoltan: mterry: since we switching to distribute the SDK from an installer rather the archive we could ship a new toolchain with it (maybe)
[17:16] <bzoltan> mterry:  on LTS we already have the chroot based solution... kind of okey
[17:16] <mterry> bzoltan, ok...  so on 14.04 give you a sysroot directory with toolchain *inside*
[17:16] <bzoltan> zbenjamin:  +1
[17:16] <mterry> hmm, ok...
[17:16] <bzoltan> mterry:  yes, and we chroot to that sysroot
[17:17] <zbenjamin> mterry: our problem is we are hitting a wall with backporting the SDK because of the new Qt that is incompatible
[17:17] <ogra_> you dont really want to diverge from the archive toolchain
[17:17] <mterry> bzoltan, zbenjamin: OK, so only difference is if toolchain is inside or outside sysroot
[17:17] <zbenjamin> ogra_: true :/
[17:17] <ogra_> we need to find a way to utilize it from the archive
[17:17] <mterry> ogra_, yeah... but I'm ok having a copy of it inside a directory
[17:17] <bzoltan> mterry:  yes.. and that with the present solution we chroot
[17:17] <zbenjamin> ogra_: how about using exactly the same sources but enabling the sysroot caps?
[17:17] <zbenjamin> ogra_: would that break ABI?
[17:18] <ogra_> mterry, sure, but that looks more like "we need to recompile it first"
[17:18] <mterry> zbenjamin, bzoltan: is there a bug for this yet?
[17:18] <mterry> (to enable --sysroot)
[17:18] <ogra_> zbenjamin, it could even get you different binary behavior ...
[17:18] <zbenjamin> mterry: no i kind of just came up with it :D
[17:18] <bzoltan> ogra_: crap
[17:18] <mterry> zbenjamin, file one then from the SDK point of view, I'll subscribe and watch  :)
[17:18] <zbenjamin> ogra_: yeah thats the problem , we probably need to ask someone who knows the toolchains by heart
[17:18] <ogra_> right
[17:19] <ogra_> either doko or infinity
[17:20] <mterry> zbenjamin, bzoltan: so even if I gave you a chroot, that would still work in the --sysroot future, right?  You just wouldn't use the toolchain sitting inside of it
[17:20] <bzoltan> mterry:  yes, it would work
[17:20] <zbenjamin> mterry: you can even setup the very same chroot to do, lets say nodejs builds in it
[17:20] <ogra_> mterry, how do you handle the "cross" part in that ?
[17:20] <zbenjamin> ogra_: same as we do with the click chroots?
[17:21] <ogra_> how do we handle it there ? qemu-user-static ?
[17:21] <mterry> which is just build once per chroot, right?
[17:21] <zbenjamin> ogra_: cross toolchains
[17:21] <zbenjamin> ogra_: native cross toolchains
[17:21] <mterry> oh do you still have one chroot that builds more than one arch output?
[17:21] <ogra_> thats enough for QT ?
[17:21] <bzoltan> mterry: ogra_: the present chroot solution in single run builds are pretty functional... the problem with it is that 1) takes time to set up 2) unstable for long run 3) needs root to set up
[17:22] <zbenjamin> mterry: ogra_: 4) slows down the IDE horribly  5) leaks mounts
[17:22] <mterry> bzoltan, zbenjamin: I'm not saying I love chroots.  By all means, get rid of them
[17:22] <zbenjamin> 6) restores the leaked mounts after boot
[17:22] <mterry> bzoltan, zbenjamin: but for now, they're the only game in town  :)
[17:22] <ogra_> mterry, that might work for just Qt ... as soon as anything in the build tries to exec something inside the chroot you will need something like qemu-user-static again though
[17:22] <bzoltan> mterry:  getting rid of chroot is good... but not by migrating to th even more messy VM
[17:23] <mterry> bzoltan, I'm not advocating that.  I like the sysroot thing just fine, I think.  But it's just not available today is what I'm saying
[17:23] <mterry> bzoltan, go get it added to our toolchain and then we can talk
[17:23] <ogra_> and it is limited to the toolchain ...
[17:23] <mterry> ogra_, yeah we may need one-chroot-per-arch
[17:24] <bzoltan> mterry:  the funny things is that pretty much all otherplatform's sdk is using that sysroot + toolchain modell ... nobody is using chroot or builder VM
[17:24] <ogra_> mterry, and something clever that notices if some build script tries to exec something inside the foreign chroot
[17:24] <ogra_> this needs to be wrapped in qemu-user-static calls
[17:25] <mterry> ogra_, or just run the build under qemu in the first place
[17:25] <mterry> and be slow
[17:25] <ogra_> no
[17:25] <zbenjamin> +1 ogra_
[17:25] <mterry> bzoltan, that's fine!  I can't control other platforms' sdks  :)
[17:25] <ogra_> then your RPi will be faster :)
[17:25] <bzoltan> mterry: that is called scratchbox :) NOOOOOO
[17:25] <mterry> bzoltan, but nor can I flip a switch and fix our toolchain.  File a bug!
[17:26] <mterry> ogra_, bzoltan, zbenjamin: OK, OK  :)  No qemu-by-default...
[17:26] <bzoltan> mterry: +1 will be done
[17:26] <ogra_> mterry, so your first focus shoilld be to develop such a switch then :)
[17:26] <ogra_> *should
[17:26] <mterry> ogra_, oh that's just for the toolchain-in-or-out-of-sysroot problem.  That doesn't solve the qemu problem, does it?
[17:26] <zbenjamin> ogra_: atm all projects that are compiled for the phone need to be cross build capable. And so all tools since we have no qemu there. But thats just the phone story of course
[17:27] <mterry> ogra_, yeah maybe if a snapcraft language plugin needs qemu, it will know that and do what's necessary.  but most won't need qemu, one hopes...
[17:28] <ogra_> mterry, qemu-user-static (just syscall translation) is reasonably fast ... but also slightly unstable (not all syscalls can be translated) ... what i would do is to run such a syscall translated chroot and then replace the armhf toolchain with a cross x86 one that skips any syscall translation
[17:28] <zbenjamin> mterry: ogra_: bzoltan: sorry guys i need to run, GF is already looking angry at me :D
[17:28] <mterry> zbenjamin, thanks!
[17:29] <zbenjamin> i will read teh backlog... man always the interesting conversations when i need to go D
[17:29] <bzoltan> zbenjamin:  do you have GF? Duuude, where is your comitment? :D
[17:29] <zbenjamin> bzoltan: lol , what was it with wife and kids you just mentioned?
[17:29] <ogra_> mterry, that way your compiler runs at host speed ... and in cases where tools inside the chroot needs to exec some native binaries they can use the syscall translation and run natively
[17:29] <bzoltan> zbenjamin:  that is after life
[17:30] <mterry> ogra_, you're saying the x86 one inside the chroot would be able to skip the qemu translation being done on it?  qemu is fancy enough to not translate native code?
[17:30] <ogra_> mterry, right
[17:30] <mterry> neat
[17:31] <ogra_> qemu-user-static uses the binfmt kernel module ... that checks the binary header of a file you try to exec
[17:31] <ogra_> if it is foreign it wraps it
[17:31] <ogra_> if not, it doesnt :)
[17:31] <mterry> OK.  So sounds like the way forward is provide chroot directories to the SDK.  They'll have toolchains inside.  Which we may swap in and out for native toolchain as speed demands dictate.  We'll have one chroot per arch
[17:32] <ogra_> sounds good
[17:32] <mterry> That's not very controversial
[17:32] <bzoltan> mterry: ogra_: sounds smart enough to me
[17:32] <mterry> And in future, maybe we can skip stuffing the toolchain inside, if we get future --sysroot smarts
[17:32] <ogra_> and at some point in the future we'll have --sysroot support
[17:32] <ogra_> *snap*
[17:32] <mterry> :)
[17:33] <ogra_> (...py)
[17:33]  * bzoltan lays back and opens the can
[17:33] <ogra_> you havent yet ? tsk :)
[17:33] <mterry> bzoltan, and that's basically the same as current SDK uses, right?
[17:33] <mterry> This solution needs root though, which is a bummer.  I'd like that --sysroot option too
[17:33] <bzoltan> https://www.youtube.com/watch?v=3YmMNpbFjp0
[17:33] <ogra_> mterry, fakechroot :)
[17:34]  * ogra_ hides in a hole
[17:34] <bzoltan> :D :D
[17:34] <bzoltan> mterry:  we already get used to the chroot what requires root access... it is not great but keeping it is not a regression :)
[17:35] <mterry> ogra_, what is wrong with fakechroot?  I know I rarely use it for anything.  Does it just have holes in it's wall?
[17:35] <ogra_> it is pretty similar to deb2snap :)
[17:35] <mterry> Yeah, it uses preload too
[17:35] <mterry> ogra_, but deb2snap is so great!  Surely fakechroot is too
[17:35] <ogra_> mangling all sorts of vars and preloading
[17:36] <ogra_> haha
[17:36] <ogra_> well, it is surely not worse
[17:36] <mterry> Hrm...
[17:36] <ogra_> we should try it our
[17:36] <ogra_> *out
[17:36] <mterry> Someone hasn't learned to love deb2snap yet
[17:36] <ogra_> i must admit i havent used it yet :)
[17:37] <mterry> ogra_, eh, it's what you'd expect
[17:37]  * ogra_ is still stuck with nodejs mostly :)
[17:37] <bzoltan> mterry:  so what is the catch with that fakecroot?
[17:37] <ogra_> and my shiny projects are usually shell ... foor that i just copy a busybox static binary in place ;)
[17:37] <ogra_> (and snap that up)
[17:38] <ogra_> bzoltan, you can run it as non-root
[17:38] <mterry> ogra_, tsk tsk  :)
[17:38] <zbenjamin> bzoltan: our chroots  do only need root for creation not for ru
[17:38] <zbenjamin> ning tools
[17:38] <bzoltan> zbenjamin:  I know that :)
[17:38] <zbenjamin> Crappy.phone keyboard :)
[17:39] <ogra_> yeah, somone needs to port ubuntu to the neo900
[17:39] <mterry> zbenjamin, why not during a run?   I would think you'd still need to enter the chroot there?
[17:39] <bzoltan> zbenjamin: I am sure your GF is delighted that you irc on the phone
[17:39] <ogra_> haha
[17:39] <zbenjamin> mterry: thr
[17:39] <mterry> zbenjamin, yeah get out of here and kiss your SO
[17:40] <zbenjamin> Schroot does not need root for running
[17:40] <bzoltan> mterry:  it is true... we do not need  root to enter the schroot
[17:40] <zbenjamin> bla
[17:40] <zbenjamin> bzoltan: she loves it
[17:41] <mterry> bzoltan, zbenjamin: Huh.  setuid then?
[17:41] <zbenjamin> I guess so
[17:43] <zbenjamin> But schroot is not optimal .. We should do better even with a chroot solution
[17:50] <bzoltan> mterry:  I do not know how schroot does it
[17:51] <mterry> zbenjamin, bzoltan: oh interesting -- what's wrong with schroot?  Seems like rest of Ubuntu uses it happily
[17:53] <bzoltan> mterry:  there are lots of problems 1) bootstraping it takes ages and it is a fragile process 2) it leaks mount points... after some time you mind find 10k mount points, because schroot re-mounts sessions  what are dead 3) it does require root to set up 4) it is still an extra step between the rootfs and the IDE, so it is slow
[17:53] <zbenjamin> mterry: worst thing, it leaks mounts. And then restores them all on boot. We once had a dev with 16k mountpoints
[17:53] <bzoltan> mterry:  keep in mind that we hand this weapon over to entry level app developers... schroot is safe as long hard core gurus are using it
[17:54] <bzoltan> zbenjamin:  dude if you jusr write redundant stuff then you are really better off kissimg your GF :)
[17:55] <zbenjamin> mterry: every call to schroot.adds 3 seconds when executin something in it. Now imagine Qtc querys the qmake tool 5 times per kit when starting. also cmake. that adds.up.to a loong startup time
[17:56] <zbenjamin> bzoltan: pff just because you.type faster on your fancy keyboard
[17:57] <mterry> zbenjamin, bzoltan: so alright.  this is all solved by future --sysroot, I guess.  Is there some other chroot tool I should be using today until --sysroot happens?
[17:57] <bzoltan> zbenjamin: I can switch over to the nexus10 just out of solidarity :D But my wife is out of the house... so no reason
[17:58] <zbenjamin> bzoltan: lol
[17:58] <bzoltan> mterry:  I think if you can be happy for the time being with schroot then we are on the safe track ... the VM idea we should forget as soon as possible :) that was a scary one
[17:59] <sergiusens> bzoltan: as long as it works on Windows and Mac, the solutions are fine
[18:00] <zbenjamin> sergiusens: well sysroots.do work
[18:00] <bzoltan> sergiusens: yeps... sysroot with toolchains do work
[18:00] <bzoltan> sergiusens:  it is the chroot what pulled off he cable from the portable SDK
[18:00] <zbenjamin> bzoltan: redundancy dude.. Redundancy
[18:01] <sergiusens> jdstrand: btw https://code.launchpad.net/~sergiusens/snappy/frameworkPath/+merge/260202
[18:01] <bzoltan> zbenjamin:  LOL
[18:01] <jdstrand> sergiusens: yeah, I saw that-- haven't had a chance to look at it yet
[18:03] <sergiusens> jdstrand: ack, just in case
[18:05] <bzoltan> sergiusens:  The VM idea for the above listed reasons is a big no for the app developer... even on OSX and Windows. Application development without IDE is not an application developer. And IDE without code completions, syntax highligh, context sensitive help, source code debuging and quick builds is not an IDE.
[18:06] <bzoltan> sergiusens:  the VM might be good for some sort of system emulation and for packaging non compiled non UI projects.. for everything else VM does not deliver
[18:15]  * tedg back
[18:16] <tedg> I don't understand how a chroot works on Win/Mac?
[18:16] <tedg> Seems like you need at least Linux kernel headers… I guess… but you'd really want more than that.
[18:28] <bzoltan> tedg:  on Win it does not, at all.. on Mac it might, but still doubt that it is trivil
[18:29] <tedg> So it seems on those we'd need VMs, eh?
[18:30] <bzoltan> tedg: VM is a dead end ..  if no chroot  then the only viable solution is the sysroot + toolchain
[18:31] <tedg> Ah, I see. So you're basically rolling the chroot into the toolchain.
[18:31] <bzoltan> tedg:  few years back I have asked if we want a portable SDK. I have asked if we want to port the app development story to OSX and Windows. I was told on many occasions that I better focus on providing an Ubuntu based SDK and if sombeody from teh community picks up the porting stuff then fine
[18:32] <tedg> Seems there's no way to get tests to work in that case though. Even one same arch. Without a VM.
[18:32] <bzoltan> tedg:  I am not sure if I understand what you mean
[18:33] <tedg> I mean if you build the test, and it links against let's say a kernel syscall, you couldn't run that test on Win32.
[18:33] <tedg> Even if they were both x86
[18:34] <bzoltan> tedg:  when we talk about running a test we talk about runtime use case... tests are runtime actions. For that case we need the emulator or a VM.
[18:34] <beowulf> sergiusens: regarding your comment about reviewing code, mvo expressed an interest there :)
[18:34] <bzoltan> tedg:  but that is runtime and not editing-compiling-linking-packaging
[18:34] <tedg> Don't you really want it to be edit-compile-link-test-package ?
[18:35] <sergiusens> beowulf: but mvo also mentioned he wasn't an expert in js, that is what I think we should have
[18:35] <tedg> For things like unit tests, not integration.
[18:35] <bzoltan> tedg:  no.. testing for me means running. Different game
[18:35] <bzoltan> tedg:  true... unit tests brings an extra hook
[18:36] <tedg> bzoltan, So if I'm correct, your issue with VMs is that you can't get a directory of source code out for highlighting, etc?
[18:36] <bzoltan> tedg:  in the present app sdk we do not have much story for unit tests... functional tests we support, but that is runtime
[18:37] <tedg> bzoltan, Why couldn't we mount a dir from the host system into the VM, and use the edits in the host system?
[18:37] <bzoltan> tedg:  that is just one ... code completion, source code debugging, context sensitive help... al features what makes the IDE
[18:38] <bzoltan> tedg:  it still would not give us access to the qmake in the VM
[18:38] <tedg> bzoltan, Sure, but if we told the IDE that your sysroot is /foo/bar and to compile you run "in-vm-gcc" as long as that gcc could mount the VM, mount /foo/bar and run on it. Everyone is happy.
[18:38] <tedg> bzoltan, I'm pretty sure I can do that :-)
[18:39] <tedg> i.e. you run vm-qmake and perhaps that ssh's into the VM and runs qmake
[18:39] <bzoltan> tedg:  and you give me 10 developers for 2 years and tell the Qt upstream that we have just forked their IDE :)
[18:39] <tedg> It seems all you need is access to the files and the STDIN/STDOUT of the tools.
[18:40] <tedg> How they do their job isn't important to the IDE.
[18:40] <bzoltan> tedg: horrible slow ... already the chroot puts 3-5 seconds on each call.. with ssh and VM it would be horror
[18:40] <tedg> So if I can make it fast, you'd be happy with a solution like that though?
[18:41] <bzoltan> tedg: VMs just simple do not blend with IDEs
[18:41] <tedg> I think we could do tricks with things like LXC to make it not be performance bound.
[18:41] <bzoltan> tedg: but why?
[18:41] <tedg> Well, we can use the toolchain we have for one :-)
[18:42] <bzoltan> tedg:  I doubt you can even fix any VM to get even close to direct access...
[18:42] <tedg> But once we abstract at that level the archiecture thing starts to fade away.
[18:42] <tedg> Basically all the path/directory issues get handled by the container.
[18:42] <bzoltan> tedg:  the real solutiuon is what we talked with mterry, ogra_ and zbenjamin
[18:44] <tedg> That solution seems pretty limited, and requires some base changes in how our toolchain works. Which seems expensive.
[18:45]  * mterry is happy with whatever you folks come up with
[18:45]  * mterry is tired of thinking about toolkits
[18:45] <tedg> Perhaps I'm not seeing it, but a relocatable toolchain really only solves the problem of building it. But not really the rest.
[18:47] <bzoltan> tedg:  I give you a scenario... I am an app developer.. I have set up my project so it targets three devices ... one phone, one desktop and one legacy tablet. Very generic scenario ... One app different targets. I am editing my code .. each target have different API set... I push tab-tab to complete a property of a component... the IDE looks up for the name .. I change teh target and hit tab-tab ... I canhe again tab-tab ... do you want to pre-deploy 3 VMs and
[18:47] <bzoltan>  access 3 times ssh/mounting for that simple property? Or do you start the VM when I hit tab-tab? It just does not work that way with IDEs... you want direct access to the rootfs and to the toolchain
[18:47] <tedg> I only want to start the VM when you hit compile.
[18:47] <tedg> So instead of gcc it calls lxc-gcc
[18:48] <tedg> So all the code is available directly to the IDE in the host system.
[18:48] <bzoltan> tedg:  compliation is just one thing.. code completion, syntax highligt, context sensitive help, etc
[18:48] <tedg> Sure, and you get all of those with local access to the files.
[18:48] <bzoltan> tedg:  developers want code completion before compilation
[18:49] <bzoltan> tedg: how do you mount the rootfs + the qmake from a non deployed VM?
[18:50] <tedg> I don't do it that way. The VM deployment mounts from the host fs.
[18:50] <tedg> The VM's image is tiny, only enough to mount to host's exported filesystem.
[18:50] <tedg> So all the files remain in the host.
[18:50] <bzoltan> tedg:  so you expect the SDK to deploy _all_ VMs what the developer configures as target?
[18:51] <mterry> Only for building one target, one VM right?
[18:51] <bzoltan> tedg:  and even if you mount the file system... how do you expose the qmake?
[18:51] <tedg> Correct
[18:51] <tedg> Expose qmake via SSH
[18:51] <bzoltan> mterry:  tedg: no .. building is the last step
[18:51] <tedg> So you call lxc-qmake
[18:51] <bzoltan> tedg:  not possible to expose the qmake via ssh
[18:51] <tedg> It will start the container if need be, and give you STDIN/STDOUT of Qmake in the container.
[18:52] <bzoltan> tedg: start the container on-demand? Wait for how long for a code completion?
[18:52] <tedg> We're expecting to run containers for all of your legacy apps as well. They'll have to be fast :-)
[18:53] <tedg> No, code completion is done on the host file system.
[18:53] <tedg> You don't need the container to access the files.
[18:53] <bzoltan> tedg:  but I need to run the container at least once to export the files
[18:53] <tedg> I'm not sure what you mean by "export the files"
[18:54] <bzoltan> tedg:  Simple... the IDE needs instant, random access to the files of the target and native access to the toolchain. that is it...
[18:54] <tedg> I think that getting the files from the host FS to the container FS will just be a bind mount.
[18:55] <bzoltan> tedg: we can not and will not fork the IDE :) to work around our VM hacks... Qt upstream already rolling eyeballs seeing our chroot hacks
[18:55] <bzoltan> tedg:  opposite direction... the IDE on the host needs to access the target file system
[18:56] <tedg> I guess I'm not asking you to. I'm saying that we have a compiler kit that is "lxc-gcc" and "lxc-g++" and those would be used in that case.
[18:56] <tedg> The IDE doesn't need to know more about containers.
[18:56] <bzoltan> tedg: I need to cross-check it... qmake is one level higher than gcc/g++
[18:57] <tedg> I imagine we won't need to fork to make qmake configurable :-)
[18:57] <bzoltan> tedg:  and as I said, the IDE needs editing time access to the files and qmake not only build time
[18:58] <bzoltan> tedg:  well... that is exactly what we made with Meego :) back in stone age
[18:58] <tvoss> bzoltan, how does eclipse solve that problem?
[18:59] <bzoltan> tvoss: does it?
[18:59] <tvoss> bzoltan, I used to use it in a somewhat vanilla configuration quite some time ago for embedded development and it works surprisingly well
[18:59] <bzoltan> tvoss:  does eclipse support Qt development with VMs?
[19:00] <bzoltan> tvoss:  with local sysroot and toolchains yes .. that is not a challange for QtCreator either
[19:00] <tvoss> bzoltan, that's not the question, the question is: cross-compiling/building for a target that is not the host
[19:00] <bzoltan> tvoss: the questio is where the IDE pulls the toolchain and the target fs
[19:00] <tvoss> bzoltan, sure, just saying that eclipse has way more exposure to embedded dev environments than qt creator has ... likely to have some good ideas over there
[19:00] <bzoltan> tvoss:  if it is local then it is a nobrainer
[19:01] <tvoss> bzoltan, sure, the interesting questiion is non-local (vm/container/device)
[19:01] <tvoss> whatever
[19:01] <rsalveti> bzoltan: tedg: how is android solving this?
[19:01] <bzoltan> tvoss:  no, it is not eclipse vs. qtc issue ... it is local sysroot versus container issue
[19:01] <bzoltan> rsalveti:  with sysroot
[19:01] <rsalveti> I think a native cross compiler + sysroot would generally fix the issue
[19:01] <rsalveti> right
[19:01] <rsalveti> as long we ship both, we're good
[19:01] <bzoltan> rsalveti:  precisely
[19:01] <rsalveti> we don't need anything else
[19:01] <rsalveti> I don't want to rely on our toolchain at all
[19:01] <tedg> So then Android apps don't have unit tests?
[19:02] <rsalveti> we could consume it from the archive, but I prefer having a pre-built (static only) toolchain that we ship as part of the sdk or something
[19:02] <bzoltan> tvoss:  rsalveti: both eclipse and qtc were primarily made for dealing with toolchains and sysroots
[19:02] <rsalveti> same thing as android does
[19:02] <tvoss> rsalveti, I don't think it would harm to investigate into other ides
[19:02] <tvoss> in the sense of gaining inspiration
[19:02] <rsalveti> anything besides sysroot (vms/chroot and so on) is just super complicated when you need to support multiple os
[19:03] <bzoltan> tvoss:  just do not make the impression that :) this issue is about a shortcoming of the QtC :) code completion and syntaxt highlight, API help are the same in all IDEs
[19:03] <rsalveti> bzoltan: right, and why are we not doing that *today* already with touch?
[19:03] <rsalveti> I don't get this idea of relying on backporting a toolchain and such
[19:03] <bzoltan> rsalveti:  I am asking that question since day zero :)
[19:03] <rsalveti> well, and what is the answer that you got? :-)
[19:04] <rsalveti> there must be at least one
[19:04] <tvoss> bzoltan, I don't say that it's a shortcoming, just saying we should look around :)
[19:04] <bzoltan> rsalveti:  we went thru this with ogra_ and zbenjamin with mterry. We need to check the possibility of enabling --sysroot in out toolchain and make it relocatable.
[19:04] <rsalveti> bzoltan: right, my question is why can't we do that?
[19:05] <rsalveti> you said above that nobody wanted to maintain 2 toolchains in the archive
[19:05] <bzoltan> tvoss: Of course... what android sdk does better is that they use sysroot
[19:05] <rsalveti> what I'm saying is that we don't necessarily even need to maintain this *in* the archive
[19:05] <rsalveti> tvoss: the overall solution across IDEs is providing a native cross toolchain + sysroot
[19:05] <bzoltan> rsalveti:  my hope is that this 2nd toolchain would be the same as the 1st... with some extra build options
[19:06] <rsalveti> bzoltan: right, and that is something that your team could maintain, right?
[19:06] <rsalveti> simple, create a snap for your toolchain ;-)
[19:06] <bzoltan> rsalveti:  sysroot support and relocation of the toolchain are what we need
[19:06] <bzoltan> rsalveti:  Yeps, i will  investigate this option
[19:06] <rsalveti> bzoltan: right, then just fix it :-)
[19:07] <bzoltan> rsalveti: duuuude
[19:07] <rsalveti> on our side all we need to do is offer a way for a sysroot to be used/consumed
[19:07] <rsalveti> the plugin can do whatever
[19:08] <bzoltan> rsalveti:  my agenda here is to raise the red flag that the VM path is just a big hack and would cost us more then doing the right thing (tm)
[19:08] <tedg> We're gonna need some sort of container solution if we expect to be able to install debs as dependencies anyway. (i.e. for nodejs core)
[19:08] <tedg> Even if that ends up in a sysroot
[19:08] <rsalveti> right
[19:09] <bzoltan> tedg: +1 for that .. chrootable sysroots are fine
[19:09] <rsalveti> bzoltan: it's fine, from the snapcraft perspective we could support sysroot, chroot and also vms
[19:09] <bzoltan> rsalveti: \o/
[19:09] <rsalveti> guess that's the basic requirement you were looking for
[19:10] <zbenjamin> rsalveti: do we need apt there? I thought we will have devpacks for that
[19:10] <tedg> I think that, at least for the short term, we'll need apt to get started.
[19:11] <bzoltan> rsalveti: tedg: what we agreed with the boys before was that as an intermediate solution we keep the schroot alive and do not cause feature regression. As next step we investigate the toolchain issues and possible fix it and offer a sysroot + toolchain solution. For testing and runtime and all other non compiled non UI projects VM is just fine.
[19:11] <rsalveti> yeah, I see we moving from apt -> devpacks
[19:11] <zbenjamin> rsalveti: +1 for the android way but keepn in mind we need.a binary compatible tc to.our.libs
[19:11] <rsalveti> since then we could have people providing devpacks as well
[19:11] <rsalveti> like upstream and so on
[19:12] <rsalveti> zbenjamin: sure
[19:15]  * bzoltan EOD ... 10pm here
[19:15] <zbenjamin> i wonder if its possible to let apt run against a sysroot/rootfs... something like apt-get --rootfs /somepath install somepackage
[19:16] <zbenjamin> bzoltan: you are going to sleep? Now i need to wonder about your commitment :D
[19:16] <rsalveti> that's kind of tricky indeed
[19:16] <rsalveti> what we did on linaro was always creating the sysroot from scratch
[19:16] <rsalveti> either building it (when using OE), or debootstraping it
[19:16] <rsalveti> since you generally don't want to update the sysroot so often
[19:16] <bzoltan> tedg: rsalveti: mterry: zbenjamin: ogra_: Thanks for this discussion.. let's itterate it :) I really enjoy that we move this ship forward
[19:16] <tedg> I think for apt you probably want to just use LXC there. Then it thinks that the sysroot is /
[19:17] <zbenjamin> bzoltan: +1
[19:17] <tedg> It is also "root" and can change all the files it wants
[19:17]  * tedg watches out for icebergs
[19:17] <tedg> ;-)
[19:17] <rsalveti> tedg: right, that's a way, more to the chroot direction
[19:17] <zbenjamin> tedg: yeah sure, i just know that other package managers _can_ do that :D
[19:17] <rsalveti> for sysroots I think devpacks will be very handy
[19:18] <zbenjamin> rsalveti: +1 , devpacks sounds perfect for sysroots
[19:18] <tedg> rsalveti, Do you imaging a devpack is a just an app snap with known paths that we mount into the sysroot?
[19:19] <zbenjamin> rsalveti: and since we are doing the tool from scratch it should be able to use a sysroot... snapcraft --sysroot ~/device1/sysroot install-devpack touch-sdk
[19:19] <tedg> i.e. /usr/include/foo for the foo devpack
[19:19] <rsalveti> tedg: yeah, something like that
[19:20] <rsalveti> we could have a small sysroot + a huge qt devpack for example (painful but to show how it could work)
[19:20] <rsalveti> for personal it's easier since Qt is part of the core image
[19:20] <rsalveti> so we could have a big sysroot including our supported libs by default
[19:20] <rsalveti> *supported sdk libs
[19:21] <tedg> So then my package definition would be something like: devpacks: [a, b, c], npm: [d, e, f], go: [x, y, x]
[19:21] <tedg> And that builds up the dependencies for the environment.
[19:21] <rsalveti> right
[19:22] <rsalveti> the main advantage, I see, for devpacks is that we don't necessarily need to consume the dependencies from the archive
[19:22] <rsalveti> of course we could have devpacks produced out of the archive, initially
[19:22] <tedg> Perhaps someone could sell devpacks in the store ;-)
[19:23] <rsalveti> maybe :-)
[19:24] <zbenjamin> rsalveti: tedg: regarding snaps. Will it be possible for us as the SDK ship devtools for the device (gdbserver , custom app launcher) as a snap so we can pull it from the store for a device?
[19:24] <zbenjamin> rsalveti: tedg: so we do not need to include them in the core image but can painless install them when required
[19:24] <rsalveti> right, don't see why not
[19:24] <tedg> zbenjamin, I think we need something like that, not sure exactly how that'll work quite yet.
[19:25] <tedg> That way you could have stable/devel builds for the device as well.
[19:25] <tedg> Using the example of needed gcc 5.2 for wily vs. gcc 4.9 for vivid
[19:25] <zbenjamin> on the "other" Qt device they pull packages from the archives when developer mode is enabled
[19:27] <tedg> Hmm, that's crazy :-)
[19:27] <zbenjamin> :D
[19:27] <tedg> Clearly they need more sunlight.
[19:28] <zbenjamin> better than the current situation on our phone, where a developer manually needs to make the rootfs writeable to install gdbserver ;)
[19:28] <tedg> I think we really want you to be able to build for a specific device without having that device available. For things like buildservers for instance.
[19:28] <zbenjamin> yes definately
[19:29] <rsalveti> right, either something we make available via the store
[19:29] <rsalveti> or something that the sdk could sideload
[19:29] <zbenjamin> rsalveti: sideloading from the SDK is problematic as soon as we have binaries
[19:29] <rsalveti> zbenjamin: why?
[19:29] <zbenjamin> rsalveti: gdbserver needs to have the right architecture for the device.
[19:30] <tedg> zbenjamin, https://code.launchpad.net/~ted/ubuntu-seeds/gdbserver/+merge/257872
[19:30] <rsalveti> right, but we could simply sideload the right snap
[19:30] <zbenjamin> where do we get the correct package from is the better question
[19:30] <zbenjamin> tedg: wow finally :D
[19:31] <rsalveti> zbenjamin: right, depends on who is the owner of it :-) we could always consume what is available in the archive
[19:31] <zbenjamin> rsalveti: we can hardly ship all possible snaps for the sdk, if we can provide a central place to download them thats fine too
[19:31] <rsalveti> and produce something snappy compatible
[19:31] <rsalveti> right, we can have something :-)
[19:33] <zbenjamin> rsalveti: so you worked for linaro? Then you know exactly how to build a binary compatible static toolchain for our devices right? :D
[19:34] <zbenjamin> its horrible to find informations about that topic
[19:34] <rsalveti> zbenjamin: I was managing the team doing that
[19:34] <rsalveti> but in a smaller scope
[19:35] <rsalveti> we used sysroots for 2 things
[19:35] <rsalveti> one was using open embedded to create the sysroot and the cross compiler in order to allow people building stuff for arm64 (when we didn't have any major os supporting it)
[19:36] <rsalveti> and the other was to help bootstraping new architectures for debian/ubuntu, mostly using multi-arch
[19:36] <rsalveti> getting the toolchain right is the painful thing
[19:37] <rsalveti> which is why linaro was producing native toolchains based on their own gcc versions
[19:37] <zbenjamin> i figured, we considered shippig a custom static tc for the click SDK but i was not sure i could make a compatible toolchain and could not find enough informations about how to test that
[19:37] <rsalveti> to help people that were relying on codesourcery
[19:38] <rsalveti> yeah, it's a bit painful, but I think we had that documented somwhere
[19:47] <zbenjamin> rsalveti: i hope you still have that somewhere :D
[20:10] <rsalveti> zbenjamin: I think I do, need to dig a bit :-)
[20:10] <beowulf> sergiusens: hey, need help, trying out queryPackageNames branch and http://webdm.local:4200/api/v2/packages/?q=xkcd isn't returning what i'd expect, is the url i'm using correct?
[20:10] <zbenjamin> rsalveti: \o/ thats good
[20:34] <sergiusens> beowulf: it would exactly the same thing a "snappy search" from the cli would return
[20:43] <sergiusens> beowulf: which would be similar to curl -H "X-Ubuntu-Release: rolling-core" https://search.apps.ubuntu.com/api/v1/search?q=xkcd |python -m json.tool
[20:44] <beowulf> sergiusens: then i'm doing something wrong as http://webdm.local:4200/api/v2/packages/?q=xkcd returns 22 results, as does a search for 'foo'
[20:44] <sergiusens> beowulf: are you running the version compiled from the MP?
[20:44] <beowulf> sergiusens: yes
[20:45] <beowulf> sergiusens: 0.6
[20:45] <beowulf> current is 0.6.1
[20:45] <beowulf> (as in, trunk is 0.6.1, i don't mean /apps/webdm/current is 0.6.1)
[20:45] <sergiusens> beowulf: remember, just in case, that it case to be in $GOPATH/src/launchpad.net/webdm and not some random branch
[20:46] <sergiusens> sorry for typos, ssh on a slow connection
[20:46] <beowulf> sergiusens: *facepalm*
[20:48] <sergiusens> beowulf: I thought it would be somethin like that
[20:54] <tedg> mterry, I added a section "Snap from scratch" at the bottom of the doc. Thoughts?
[20:55] <tedg> mterry, I think it distills a bit of what we've discussed today, with the idea of targets providing their own toolchain.
[20:55]  * mterry looks
[20:59] <tedg> I imagine we could build the first dev packs with chroot and deb2snap or something like that.
[20:59] <tedg> And then in time we can make them smarter.
[21:06] <beowulf> sergiusens: +1, \o/
[21:17] <mterry> tedg, you and your snappy-native thinking  :)
[21:17] <mterry> tedg, I'm still in desktop land
[21:17] <tedg> Ha, I've been upset at dpkg for a long time :-)
[21:18] <tedg> The reason I like that idea is that it basically inverts the cross-build problem.
[21:18] <tedg> And, I think, then makes it simpler.
[21:18] <mterry> tedg, so this is vearing toward an idea I was thinking about.  There is a lot of similarity between devpacks and our language plugins
[21:19] <tedg> Hmm, that is true
[21:19] <mterry> tedg, I don't think I'm ready to say one eclipses the other.  But maybe they could
[21:20] <mterry> tedg, and more importantly, that would solve the problem of what to call the languages: key  ;)
[21:20] <tedg> Perhaps they build on each other. It seems like you'll want a base target and then others.
[21:20] <tedg> For instance, the base would have to provide the C compiler for Python modules.
[21:20] <mterry> tedg, you're thinking about the gcc toolchain?
[21:21] <mterry> tedg, I guess.  But then you'd just say "devpacks: python3, c++" (except in yaml)
[21:21] <mterry> It's already a list field
[21:21] <mterry> Or maybe the python3 devpack would dep on the c++ one?  (on the expectation that compiled modules are common)
[21:22] <tedg> Yeah, that could provide more power to dev packs that are perhaps, non-standard in that they'd run other things.
[21:22] <mterry> tedg, but for example, the codespell app doesn't need c++
[21:22] <mterry> It would just need a python3 plugin (or devpack or whatever we call it)
[21:23] <tedg> Hmm, it would still need to know the target platform though.
[21:23] <tedg> i.e. whether python3 was installed there
[21:24] <mterry> tedg, maybe.  I think it's reasonable for python3 to just always install python3 into the snap
[21:24] <mterry> tedg, but you're talking about the version of Core that is targeted, right?
[21:24] <tedg> Yeah, I can see that. Let deduplication solve the problem.
[21:24] <tedg> Yes
[21:24] <mterry> tedg, (also, some apps may want a specific version of python3)
[21:25] <mterry> tedg, version of Core is a whole separate problem though I think.  early versions of snappy.yaml spec had (have?) a target: key
[21:25] <mterry> where you specify core or whatever
[21:25] <mterry> That seems reasonable to define in yaml vs build command
[21:25] <mterry> slash devpack
[21:26] <tedg> Hmm, I was thinking that you'd have multiple though, eh?
[21:26] <mterry> tedg, multiple what?
[21:26] <tedg> Are there fat snap packages?
[21:26] <tedg> core-armhf, core-arm64, core-i386
[21:26] <mterry> tedg, target multiple versions of coree?
[21:26] <mterry> tedg, ah.  well that's not quite version.  that's arch
[21:26] <tedg> core-mips ;-)
[21:26] <mterry> we're talking two different things I realize
[21:26] <mterry> I was talking 15.10 vs 16.04
[21:27] <mterry> tedg, ok, regarding arch...  let me reread  :)
[21:27] <tedg> Sure, I think they're related though. The version is a number and an architecture, no?
[21:28] <mterry> tedg, well I was approaching from version may mean whether python3 is available in Core or not.  Whereas that's not an issue across arches
[21:28] <mterry> so sure... python3 devpack is available for multiple arches.  no problem, right?
[21:29] <mterry> tedg, ^
[21:29] <tedg> I think so yes. But I think it has to then depend on a "core devpack" that is arch specific.
[21:29] <tedg> For example, to build modules.
[21:30] <mterry> tedg, well in each buildenv, the devpack would the right version of python in
[21:30] <mterry> *put
[21:30] <tedg> The right version of python, but what about the modules it downloads and installs?
[21:31] <tedg> Seems also the Python devpack would then need to have a version of python to put into the environment for every target arch.
[21:31] <rsalveti> you could have a base devpack for the interpreter
[21:31] <mterry> tedg, it's the intermediary for that... so it can make sure
[21:31] <rsalveti> and just use pypi for the other stuff
[21:31] <mterry> tedg, sure
[21:31] <mterry> rsalveti, right -- I assume pip is getting every dep we care about
[21:32] <mterry> I mean, there are also compiled deps
[21:32] <tedg> Yeah, so if I'm on x86 building an arm package. The python devpack would have a compiled armhf version of the interpreter that'd show up in the install directory.
[21:32] <rsalveti> right
[21:33] <rsalveti> you could as well have fat devpacks (multi-arch)
[21:33] <rsalveti> and just install for the target snap arch you're creating
[21:33] <tedg> Not sure if the python devpack needs to be target arch based. i.e. python-armhf-devpack, because we probably don't want to have everything in one.
[21:33] <tedg> Does fat here mean multiple host arch or multiple target arch?
[21:34] <rsalveti> depending on the case it could mean btoh
[21:34] <rsalveti> since it could provide the cross compiler + target libs
[21:35] <tedg> I think we're gonna have to support some minority architectures, so it might not be useful to be really fat.
[21:35] <rsalveti> right
[21:35] <tedg> We might need to kinda have a mixed situation there.
[21:35] <rsalveti> yeah, it's just a convenience
[21:36] <tedg> When snappy queries the store it'll look for the host architecture.
[21:36] <tedg> So besides building, we can assume that's correct.
[21:36] <rsalveti> right
[21:36] <tedg> So it seems that a devpack needs the target architecture in the name?
[21:36] <tedg> Or is there some way we can be more clever there?
[21:37] <rsalveti> http://bazaar.launchpad.net/~lool/snappy/snappy.devpacks-definition/view/head:/devpacks.md
[21:37] <rsalveti> what is a bit complicated is that this interferes directly with the snap naming
[21:37] <rsalveti> same for apps, frameworks and such
[21:37] <rsalveti> that same problem of starting an 'app' that is armhf only
[21:37] <tedg> Ah, I didn't realize there was docs already for this.
[21:37] <rsalveti> and then wanting to do the x86 version for it as well
[21:38] <rsalveti> would you rename that? would you go with fat by default?
[21:38] <rsalveti> fat might be too fat though
[21:38] <rsalveti> when querying the store is a bit easier
[21:39] <rsalveti> since you give the arch
[21:39] <tedg> Oh, that doc describes a lot of how snapcraft should work...
[21:39] <rsalveti> tedg: yeah, check the links part of that doc
[21:40] <rsalveti> more how it could work at this stage
[21:43] <tedg> So it might be that we can just support querying the devpack yaml directly to align all the architectures.
[21:43] <mterry> tedg, we've been able to avoid dealing with a lot of what devpacks might entail by avoiding compiled languages in our first pass
[21:44] <rsalveti> yeah
[21:44] <rsalveti> solving the case for pure python/nodejs apps is already a big win
[21:45] <tedg> Not sure that the dependencies don't kill us there before we get to the win. Seems like a lot of modules have a compiled part underneath
[21:46] <mterry> tedg, medium win then  :)
[21:46] <rsalveti> that could as well be true, but could still be a second step thing
[21:46] <tedg> Heh
[21:46] <tedg> Can we please bikeshed the amount of win it would be?
[21:46] <tedg> :-)
[21:46] <mterry> tedg, there's a lot of bootstrapping to get to even one win  :)
[21:46] <mterry> I'll take a baby win from the ground up
[21:46] <mterry> tedg, let me open a google doc for that
[21:48] <tedg> mterry, So could a "language plugin" really be a devpack that provided a "snapcraft" command?
[21:48] <mterry> tedg, I'm not sure they are perfectly overlappig
[21:48] <mterry> tedg, it was just a quick thought
[21:49] <mterry> tedg, it might be safer to continue with language plugins for now
[21:49] <tedg> I think they overlap from the lifcycle perspective, which is really nice.
[22:06] <psusi> how do you switch from 15.04 stable to rolling/alpha?


[11:06] <walltender> This is my last hope here, some one tells me this is an upstart error: the second screen shot: http://unix.stackexchange.com/questions/77945/what-prevents-my-system-from-shutting-down


[01:13] <jrwren> why not?
[01:13]  * jrwren thinks about upgrading
[01:58] <rick_h> jrwren: this is why I said no at first: http://benjaminkerensa.com/2012/03/29/ubuntu-12-04-beta-2-not-released
[01:58] <rick_h> I wasn't sure what was up so said not to upgrade
[03:02] <snap-l> But now that it's up, don't upgrade.
[03:02] <snap-l> stay stagnant. :)
[11:23] <rick_h> morning and tgif
[11:37] <snap-l> Feels like Saturday.
[12:15] <_stink_> morning
[12:16] <brousch> FRIDAY
[12:18] <rick_h> yay
[12:28] <brousch> hm http://liliputing.com/2012/03/vivaldi-tablet-with-kde-plasma-active-dissected.html
[12:28] <brousch> kind of exciting, but not much better specs than my nook color
[13:49] <brousch> son of a bitch
[13:50] <brousch> has anyone seen these new buncled PDFs?
[13:50] <brousch> bundled
[13:50] <rick_h> nope
[13:50] <brousch> it's a pdf that contain multiple pdfs
[13:50] <rick_h> interesting
[13:51] <brousch> no, it is annoying
[13:51] <brousch> i don't think any of the linux pdf readers can handle it, except adobe's
[13:51] <rick_h> try chrome? probably not but curious
[13:52] <brousch> nope
[13:54] <brousch> http://dl.dropbox.com/u/101667/pdfuuuuuuuuuuuuuu.png
[13:54] <brousch> that's the same thing i get with other readers
[13:54] <Milyardo> Bundled PDFs? A they just wrapped in a zip container or something?
[13:54] <rick_h> lol
[13:55] <brousch> http://help.adobe.com/en_US/Reader/8.0/help.html?content=WSE034CA46-D08F-4fff-AA3C-FF04510DAEF0.html
[13:57] <brousch> just when i get all these messed up pdfs handled correctly, they throw a new thing like this at me
[13:57] <brousch> I NEED PDF SERENTIY NOW
[13:58] <Milyardo> TIL PDFs are now a archival utility
[14:00] <brousch> Milyardo: eh?
[14:05] <brousch> ok, it looks like pdftk can handle these with `pdftk file.pdf unpack_file`
[14:07] <brousch> i had recently removed pdftk because it didn't handle other types of pdf correctly.
[14:12] <brousch> now i get to figure out how to detect if a pdf is a collection and then add yet another step to the cleanup process
[14:25] <snap-l> brousch: Can't you detect these, and then send a nice note to whomever sent then saying, very politely "KNOCK THAT SHIT OFF"?
[14:26] <brousch> i can do that in exactly the same way you can do away with excel
[14:26] <snap-l> Yeah, but those aren't PDFs.
[14:27] <snap-l> They bundles
[14:28] <brousch> they have a .pdf extension
[14:29] <snap-l> brousch: Extensions aren't magic. :)
[14:29] <brousch> they are created via the same process as regular pdfs
[14:29] <snap-l> Can you load them on a nook?
[14:29] <brousch> i need to be able to handle them in PdfSerenityNow
[14:30] <brousch> snap-l: probably through the adobe reader
[14:30] <snap-l> Try it
[14:32] <brousch> works fine
[14:32] <brousch> through the adobe reader on nook
[14:32] <snap-l> Really?  I've found 4G to be plenty and this is AFTER 2.5yrs of using an 8GB notebook with a slow spinning drive.
[17:34] <jrwren> YMMV
[17:34] <rick_h> yea, I spend most of my day inside of 2gb, but do like the 8gb when I need it
[17:34] <rick_h> rare though it is
[17:34] <jrwren> it helps that all browsers have gotten MUCH better at memory usage. No more 1GB+ FF processes
[17:34] <snap-l> Yeah
[17:35] <jrwren> i'm sure they day will come when I say "need more ram" but its not here yet.
[17:35] <rick_h> heh, actually that's the killer for me
[17:35] <snap-l> although I have 4GB on this machine
[17:35] <jrwren> the fast SSD eliminates the bufcache argument IME
[17:35] <rick_h> if I runboth FF and Chrome 80% of my ram usage is those two beasts
[17:35] <jrwren> rick_h: both use MUCH less ram if you disable flash plugin
[17:35] <jrwren> flash is insanely memory hog
[17:35] <snap-l> That's what swap is for: to let you know in a tangible way that you need more memory. :)
[17:35] <brousch> i should try that
[17:36] <snap-l> especially when it starts thrashing
[17:36] <rick_h> jrwren: yea, but I hit flash stuff so no disabling
[17:37] <jrwren> I'd keep multiple versions around if possible.
[17:37] <snap-l> I can't wait for Flash to die a horrible death
[17:37] <jrwren> e.g. chrome beta along side chrome dev
[17:37] <jrwren> one with flash, another without
[17:37] <jrwren> I do that with chrome stable.
[17:37] <jrwren> I only launch it when I need flash
[17:37] <jrwren> and I immediately close the browser
[17:38] <jrwren> and kill process.
[17:38] <jrwren> flash is THAT BAD
[17:38] <jrwren> its a battery killer too
[17:38] <jrwren> and nearly every page on the internet uses it because it gets script injected by those cursed like buttons
[17:39] <rick_h> well I do run flashblock so that it's not auto started
[17:39] <rick_h> but I do tend to hit something with flash I run nearly daily
[17:39] <rick_h> but yea, end of hte day I use more ram but have it to spare
[17:42] <brousch> i don't
[17:42] <brousch> which is why i say, 8GB or go home
[17:46] <greg-g> you ram elitist
[17:47] <brousch> i accept your moniker
[17:49] <smoser> snap-l, i blame you for loss of $335 from my bank account
[17:49] <smoser> (just bought)
[17:51] <greg-g> hah
[17:55] <jrwren> brousch: what is using your ram?
[17:55] <brousch> chrome
[17:55] <jrwren> chrome uses 8G of ram?
[17:56] <brousch> i only have 4
[17:56] <brousch> it has gotten up to 2.5GB
[17:56] <jrwren> wow. wtf are you doing to it?
[17:57] <brousch> i go through my feeds and open pages in tabs, then go back and read the pages
[17:57] <brousch> so sometimes i have 20 tabs open
[17:58] <brousch> i have started bookmarking videos into a to-watch queue. that seems to help
[17:59] <brousch> i always have: gmail, gcal, greader, g+, hootsuite open
[17:59] <brousch> that runs about 1GB
[18:00] <snap-l> smoser: I hope it's everything those $335 would hope it to be.
[18:04] <jrwren> so glad I don't use those ;)
[18:04] <jrwren> i use greader occasionally
[18:04] <jrwren> what is hootsuite ?
[18:05] <snap-l> twitter
[18:06] <jrwren> lol
[18:12] <brousch> multiple twitter accounts
[18:12] <brousch> i command accounts for me, grpug, grwebdev, barcampgr, grmobiledev, congawm
[18:23] <greg-g> this picture is awesome http://arstechnica.com/tech-policy/news/2012/03/denmarks-50-percent-wind-commitment-is-only-the-beginning.ars
[18:23] <rick_h> yea, +1 on that
[18:34] <krondor> anyone have any recommendations for status.net clients for win/linux/mac?
[18:34] <greg-g> krondor: Firefox
[18:34] <krondor> work is suddenly re-interested in our status.net box and it seems like the clients all suck now.
[18:34] <greg-g> Firefox app-tab, to be exact
[18:35] <snap-l> I use Gwibber, but a much older version
[18:35] <krondor> greg-g:  well obviously :)  then I have to convince coworkers they should use firefox
[18:35] <greg-g> ok, Chromium :)
[18:35] <krondor> wait I thought firefox was killing app-tab?  Or am I thinking of sidetabs?
[18:35] <_Marcus> I would of convinced them already into using it
[18:35] <greg-g> no idea what sidebars are
[18:36] <krondor> ah that was chrome killing side tab, not firefox
[18:39] <krondor> snap-l:  thanks yeah I'm using gwibber and I can't add a custom statusnet url in the version I'm using.  I haven't dug too much on it though...
[18:40] <greg-g> krondor: you may have to install gwibber-extension-statusnet or something
[18:40] <greg-g> gwibber-services-statusnet maybe
[18:43] <krondor> aye, gwibber-service-statusnet installing.  For other platforms looks like seesmic, tweetdeck, etc.. removed statusnet support.
[18:43] <krondor> the official client is very bad
[18:44] <snap-l> seesmic didn't remove statusnet
[18:44] <snap-l> at least not on the version I'm using on the nook
[18:44] <snap-l> it's a separate account
[18:44] <krondor> I just installed it on windows and it's not there.  Maybe droid version still has it.
[18:44] <krondor> I was using mustard on droid, but there's something wrong with my server's oauth pieces so some work to do there still...
[18:45] <greg-g> huh, mustard works for identi.ca, but I haven't tried it on our private ccteam.status.net instance yet
[18:46] <_Marcus> .ca domain, and there is a bunch of Arabic written on the front page :/
[18:46] <krondor> yeah I think I have the wrong oauth library (too old or too new), generates the keys but mustard doesn't like them neither does gwibber.
[18:47] <krondor> also the latest 1.0.1 release has a broken User_usernames.php that breaks all auth plugins.
[18:50] <snap-l> _Marcus: Yes, there are international users of identi.ca
[18:50] <snap-l> if it makes you feel any better, you can take those arabic strings and run them through Google Translate.
[18:50] <_Marcus> Nah
[18:50] <greg-g> _Marcus: yes, Identi.ca is used by many is the Middle East
[18:50] <snap-l> And if Google Translate is to be believed, they're pretty benign. :)
[18:51] <greg-g> s/many is/many in/
[18:51] <greg-g> hrm
[18:51] <greg-g> not sure how to take that comment
[18:52] <snap-l> and that's why I don't tell the Pharmacy joke
[18:52] <greg-g> lol
[18:52] <_Marcus> :( I missed why you don't tell it
[18:52]  * _Marcus kicks XChat
[18:53] <snap-l> _Marcus: It's a complete non-sequiter. You didn't miss anything.
[18:53] <_Marcus> Oh
[18:54] <greg-g> grr, my unread-items-I-want-to-read in greader are just growing, not going down :/
[18:54] <snap-l> greg-g: I have a solution for it
[18:54] <greg-g> for which?
[18:54] <snap-l> greader high unread counts
[18:54] <snap-l> it's called "Mark all read"
[18:55] <greg-g> NOOOOOOO
[18:55] <greg-g> they are important blog posts by people I do not know!
[18:55] <snap-l> It enlists the power of Mark to go and read them for you.
[18:55] <brousch> instead of books, read your rss feed to him
[18:55] <brousch> him being your kid
[18:55] <snap-l> brousch: I thought that was in lieu of my book queue
[18:56] <snap-l> which, funny enough my RSS queue is pretty low by comparison.
[18:56] <greg-g> wait, yeah, good point, who is this Mark guy and why is he reading my RSS reader?
[18:57] <snap-l> greg-g: Because Mark is a speed reader
[18:57] <snap-l> Like the guy from the Great Space Coaster
[18:57]  * snap-l just dated himself.
[18:58] <greg-g> yes, yes you did
[18:58] <greg-g> and that was a gross mental image
[18:58] <greg-g> snap-l going on a date with snap-l
[18:58] <snap-l> greg-g: at least I got dinner first.
[18:59] <greg-g> now that crosses the line
[19:20] <snap-l> Just had someone ask me to add their Flight Training course to my web page
[19:20] <snap-l> apparently they can't tell the difference between a Palm Pilot and an actual pilot.
[19:28] <snap-l> OK, this is a holy crap moment
[19:29] <snap-l> just found out that Squeezebox server can listen to xPL, which are TCP/IP X10-like requests
[19:29] <snap-l> so, you could have something where if you turn on the lights, the radio begins playing
[19:30] <snap-l> also, can simulate any button press via the command line
[19:30] <snap-l> 00:04:20:12:04:68 button play <- for instance
[19:30] <greg-g> whoa, integrated fancy house :)
[19:30] <snap-l> and it's all under 'Help'
[19:31] <snap-l> Help / Technical information
[19:31] <snap-l> Yeah, they really baked in a lot of smart-home functionality in here
[19:32] <snap-l> http://xplproject.org.uk/wiki/index.php?title=Schema_-_AUDIO.BASIC
[19:32] <greg-g> nice
[19:33] <snap-l> http://xplproject.org.uk/wiki/index.php?title=Schema_-_AUDIO.SLIMSERV
[19:33] <snap-l> I never thought I'd say this in 2012, but I think some expect scripts might be in order. ;)
[22:24] <greg-g> every now and then my .muttrc gets in a condition where I have no idea why something isn't working anymore and going through commit log doesn't help :/
[22:30] <rick_h> heh, you change it that much?
[22:31] <greg-g>  no, which is the weird part :)
[23:50] <greg-g> rick_h: mostly, the confusing part is how my setup on my x220 acts different on my x200s (one is Ubuntu one is Debian, but, wha?)
[23:51]  * greg-g needs to do some in-depth debugging sometime, too bad he left his x220 at work for the weekend


[11:46] <xubuntu63i> hi
[11:46] <xubuntu63i> how to troubleshoot a xubuntu installation failing at boot?
[11:55] <diogenes_Vx15> xubuntu63i, when you reach grub menu, press 'e' look for quiet splash, remove it and press Ctrl+x
[11:56] <diogenes_Vx15> then you notice at what line it fails.
[18:01] <xu-help47w> hi
[18:01] <xu-help47w> i need some help. Some one?
[18:03] <xu-help47w> wen i install xubuntu in my old laptop inspiron 1525 when i boot hav one black window with a (initramfs) signal and in others linux a use fsck but in xubuntu what are the command?
[18:04] <xu-help47w> thanks
[18:04] <xu-help47w> i speak spanish
[18:41] <xu-help47w> hi
[18:46] <xu-help47w> this chat works?
[19:20] <diogenes_> xu-help47w: hi, better come back tomorrow.
[21:16] <xu-help47w> why?


[19:27] <Kireji> hi all.  I'd like to volunteer.  who do I talk to?
[19:29] <pmatulis> Kireji: welcome
[19:29] <pmatulis> Kireji: interested in desktop or server documentation?
[19:40] <pmatulis> Kireji: start here: https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation


[07:24] <wligtenberg> Hi, just curious if there is still something I can help out with regarding: https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/1552764
[07:24] <ubot5`> Launchpad bug 1552764 in swt-gtk (Ubuntu) "Eclipse and SWT are very slow/hang on a fresh 16.04 install (gtk3/swt issue)" [Undecided,Confirmed]
[08:10] <rbasak> wligtenberg: is there a fix available?
[08:11] <wligtenberg> Not that I am aware of, only a work around, which is mentioned in the issue
[08:11] <wligtenberg> I am a bit unsure as to how to dig into the problem
[08:13] <rbasak> Perhaps whatever is reading that variable needs to be patched to default back to 0.
[08:14] <wligtenberg> rbasak, well that would be eclipse (but also other applications based on the Eclipse framework)
[08:36] <rbasak> wligtenberg: if that's what's needed to fix eclipse then an SRU would probably be appropriate. A proper fix would be even better though.
[08:38] <wligtenberg> Yeah, I am more interested in a proper fix. I use the environment variable at the moment, but it still causes some graphical glitches. I am just not sure on how to investigate the issue...
[08:39] <wligtenberg> I am not an Eclipse/SWT dev or something :)
[08:44] <rbasak> Talk to upstream? Ubuntu devs may know but they are generalists. Upstream wrote the code so are probably experts :)
[08:48] <wligtenberg> good point, joined the eclipse room. :)
[10:30] <hikiko|ln> hello, I'd like some help with the sru process..
[10:31] <hikiko> https://wiki.ubuntu.com/StableReleaseUpdates I'm following these steps
[10:32] <hikiko> I downloaded the package orig.tar.gz used quilt
[10:32] <hikiko> and I wonder what's the next thing I have to do :) re-compress using the same name and upload it?
[10:33] <hikiko> Upload the fixed package to release-proposed with the patch in the bug report, a detailed and user-readable changelog, and no other unrelated changes.
[10:34] <hikiko> how do I change the changelog? just edit it myself?
[10:35] <hikiko> (sorry it's the first time I try to SRU something :p)
[10:35] <rbasak> hikiko: what package is it?
[10:35] <hikiko> rbasak, compiz
[10:35] <hikiko> I want to SRU something on trusty
[10:36] <hikiko> so far, I've downloaded the trusty orig.tar.gz and applied the change using quilt
[10:36] <rbasak> hikiko: we should move to #ubuntu-devel or something then. This channel is for bug triaging.
[10:36] <hikiko> I didn't edit/change anything else
[10:36] <hikiko> sorry rbasak :)


[00:19] <guiverc_d> finished read thru, one "in/with" change you may want to look at (just to avoid 3 of 4 words starting with in)
[00:20] <guiverc_d> as for meeting reports - i cannot remember. i recall doing it with a browser, but can't recall where i went... looking...
[00:42] <Bashing-om> guiver_d: Yeah - "  task in the collaboration between the LXDE and Razor-qt efforts that is re-using parts of the GTK+ (LXDE) code in" is a hard read .
[00:48] <guiver_d> it's okay by me...  ::  i rebooted into 18.04, back when it was 16.04, it's where I mostly did uwn; hoping for more clues on meetings.. (I used ubuntu's web-browser; but I think it's gone in 18.04 upgrade..) - there were four semi regulars from memory... still looking
[00:59] <guiver_d> nah - most of what i was remembering is now just put in canonical, and then rarely..  i suggest when it's on wiki, we just #comment out the meeting.reports section.
[01:03] <Bashing-om> guiver_d: K. will pull the "Meeting Reports" .
[01:20] <Bashing-om> guiver_d: See what you think now of what I hope is the finished product .
[01:26] <guiver_d> looks great to me.  (I didn't re-read the articles; i was happy on gdoc; do you want/need me to?)
[01:28] <Bashing-om> guiver_d: I did rewrite the "in" sentence in the LXDE to LXQt summary. See if now you agree that it still meets Michael's intent .
[01:42] <guiver_d> my OCD would prefer "GTK+" (gimp+gnome toolkit) & "LXQt"...
[01:44] <Bashing-om> guiver_d: Sorry .. I do not follow what you want changed .
[01:48] <guiver_d> i didn't change anything; GTK to me [still] means gimp-toolkit (it's original/historic meaning); GTK+ was when gnome started using it (gimp+gnome) which is left off with versions (GTK3) as unnecessary .. I also suggested LXQt instead of LXQT -- at issue is how many readers are like me (lean towards OCD)
[01:51] <guiver_d> do you want me (or tell me when) to publish to fridge, g+, fb, twitr
[01:53] <Bashing-om> guiver_d: Publishing to the media .. yes please you .. as I do not have accounts for any of them . I still struggling to understand your suggestion of "GTK+" (gimp+gnome toolkit) & "LXQt".... I just do not see how to make it up .
[01:56] <guiver_d> sorry i was suggesting "The merging of KDE, LXQ[t], and GTK[+] provides" - changes in []
[02:01] <Bashing-om> guiver_d: I can be dumber than a box of rocks . I still do not understand . Can you edit the wiki direct? and I see what it is that I do not understand ?
[02:05] <guiver_d> done..
[02:07] <Bashing-om> guiver_d: I look and learn :)
[02:12] <Bashing-om> guiver_d: Well, that was sinple enough :P .. OK .. all done now ? and ready to publish ?
[02:14] <guiver_d> i'm happy.
[02:16] <Bashing-om> guiver_d: So be it, then :P
[02:46] <guiver_d> Bashing-om: this will be awhile (lost ~10 mins trying to remember adding "-" to wpadmin; blah!), but some links (eg. server dev) open to front page (not the section, looking at why.. -ie. stuck on link check)
[02:48] <guiver_d> (it seems to not like the - in title)
[02:59] <guiver_d> http://fridge.ubuntu.com/2018/08/06/ubuntu-weekly-newsletter-issue-539/  (didn't solve ubu-server-dev-summary opening to top of page.. just ignored it..)
[03:13] <Bashing-om> guiver_d: fridge opens and links properly for me .. and I had not intended to publish untill tomorrow eve .
[03:14] <guiver_d> okay sorry - my bad...  the ready to publish had me jump way ahead... g+ & tweeted already.. sorry (was trying to looking into spybook)
[03:16] <guiver_d> as for fridge - if i click the "Ubuntu Server development summary - 31 July 2018" it opens @ top of page, not at correct section like the rest...
[03:20] <Bashing-om> guiver_d: yes, same here .. opens to the top ;( .. I need to go to bed and get some rest . I have to be on the road by 4AM for a hard day of driving .
[03:22] <guiver_d> good night Billy - sleep well, and have a enjoyable safe drive tomorrow.. thanks for help
[03:25] <Bashing-om> guiver_d: I will look at the WIKI set up tomorrow for that link befor I publish .
[10:18] -SwissBot:#ubuntu-news- ::Planet:: Valorie Zimmerman: In my heart @ http://linuxgrandma.blogspot.com/2018/08/in-my-heart.html (by<EMAIL_ADDRESS>(Valorie Zimmerman))
[14:12] -SwissBot:#ubuntu-news- ::Fridge:: Ubuntu Weekly Newsletter Issue 539 @ http://fridge.ubuntu.com/2018/08/06/ubuntu-weekly-newsletter-issue-539/ (by guiverc)
[14:47] -SwissBot:#ubuntu-news- ::Softpedia:: Ubuntu 18.10 (Cosmic Cuttlefish) Is Now Powered by the Linux 4.17 Kernel @ https://news.softpedia.com/news/ubuntu-18-10-cosmic-cuttlefish-is-now-powered-by-the-linux-4-17-kernel-522250.shtml (by Marius Nestor)
[15:31] -SwissBot:#ubuntu-news- ::Softpedia:: Here's GNOME Games 3.30 Beta Running on the GPD Win Windows-Based Game Console @ https://news.softpedia.com/news/here-s-gnome-games-3-30-beta-running-on-the-gpd-win-windows-based-game-console-522251.shtml (by Marius Nestor)
[16:00] -SwissBot:#ubuntu-news- ::Softpedia:: Netrunner Linux Gets Summer Release with Latest KDE Plasma 5.13 Desktop, More @ https://news.softpedia.com/news/netrunner-linux-gets-summer-release-with-latest-kde-plasma-5-13-desktop-more-522252.shtml (by Marius Nestor)
[16:40] -SwissBot:#ubuntu-news- ::Softpedia:: KDE Plasma 5.14 Desktop Environment Lets You Upgrade Your Computer's Firmware @ https://news.softpedia.com/news/kde-plasma-5-14-desktop-environment-lets-you-upgrade-your-computer-s-firmware-522253.shtml (by Marius Nestor)
[18:56] <Wild_Man> Hi Bashing-om, do you need me to help publish?
[18:59] <Bashing-om> Wild_Man: Yhe media is done .. here in about an hour I will send out the Emails and do the forum post :)
[19:00] <Wild_Man> Bashing-om, so you got it handled then?
[19:01] <Bashing-om> Wild_Man: Yeah .. no sweat .. we can do this :)
[19:02] <Wild_Man> Bashing-om, okay I will continue resting, I am still far from recovered
[19:05] <Bashing-om> Wild_Man: Nothing more important than recovering one's health and well being . So far so good with UWN .. just same ole complaint .. too much of a load and  help is always a good thing .
[19:06] <Wild_Man> Bashing-om, I know that is true, I recruited several people but none of them showed any follow through
[19:06] -SwissBot:#ubuntu-news- ::Softpedia:: Lenovo Will Finally Offer Automatic Firmware Updates to Linux-Powered Computers @ https://news.softpedia.com/news/lenovo-joins-linux-vendor-firmware-service-to-provide-automatic-firmware-updates-522256.shtml (by Marius Nestor)
[19:07] <Bashing-om> Wild_Man: Think'n on a editorial in the newsletter to the effect of how much time is expended in this effort and that help is required to continue the effort .
[19:09] <Wild_Man> Bashing-om, I see, is krytarik going to be back this week?
[19:11] <Bashing-om> Wild_Man: I expect that krytaric will be back this week, Yes. But would not blame him if he goes and hides :)
[19:12] <Wild_Man> Bashing-om, me neither
[19:14] <Bashing-om> :D
[20:32] <Bashing-om> UWN540 Here we come :P
[22:27] -SwissBot:#ubuntu-news- ::Planet:: Lubuntu Blog: This Week in Lubuntu Development #8 @ https://lubuntu.me/this-week-in-lubuntu-development-8/
[22:37] <tsimonq2> >_>
[22:43] <Bashing-om> tsimonq2: ^^ noted for next issue :)
[22:44] <tsimonq2> Thanks!
[23:42] -SwissBot:#ubuntu-news- ::Softpedia:: Mozilla Thunderbird 60 Released with New Dark & Light Themes, Many Improvements @ https://news.softpedia.com/news/mozilla-thunderbird-60-released-with-new-dark-light-themes-many-improvements-522259.shtml (by Marius Nestor)