=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [07:36] o/ [08:04] ogra_: Hi I installed yesterday my new build of snappy [08:04] but when I'm trying to use snappy as command then i got : command not found [08:08] noizer: snappy is now "snap" [08:08] noizer: (the command) [08:08] ow dam [08:08] zyga excuse me [08:09] zyga when I'm starting up my ssh tunnel then it comes : It's a brave new world here in snappy Ubuntu Core! This machine [08:09] does not use apt-get or deb packages. Please see 'snappy --help' [08:09] for app installation and transactional updates. [08:09] maybe change that? [08:09] noizer: yes, stale motd most likely [08:10] zyga :p shell classic does that changed too? [08:11] noizer: ? [08:11] currently there's no classic shell [08:11] ok [08:11] so the builds needs to be developed from somewhere else? [08:13] noizer: you can get a chroot and use that [08:13] noizer: I have a simple script, not tested really [08:13] http://paste.ubuntu.com/16675069/ [08:13] noizer: if you take that and test it you could help me out [08:13] this is poor man's classic [08:14] ok I'l try it out for you [08:15] noizer: that dpkg --print-architecture was suppoed to be 'uname -m' [08:15] noizer: anyway, you get the idea [08:16] zyga So when its not working I need to change somethings? [08:16] noizer: yeah, there's no dpkg on the image [08:16] mvo: good morning, did i talk to you about go shared libraries and snappy recently? [08:16] noizer: change it to use uname -m instead of dpkg --print-architecture [08:16] mwhudson: o/ [08:16] ok [08:17] zyga: hi [08:19] zyga little mistake wget isn't available on newest xenial build [08:20] I'l will download it myself xd [08:21] zyga hyperlink doesn't work ether [08:22] noizer: hmm :) [08:23] noizer: the link was okay when I checked it, perhaps the arch is wrong, [08:23] noizer: in any case, please use that as a starting point [08:25] ok thx [08:29] noizer: note, perhaps, ironically, the easiest way for this is to create a snap [08:29] noizer: that has minimal tooling (wget) to setup classic [08:31] this is just a stop gap before classic returns as a built-in thing though [08:41] zyga lol xD [08:41] Ok i try to make the snap and send you the snap for other developers [08:48] noizer: well, whatever helps you move your snaps around :) [08:49] zyga heheh it's a pleasure to help ubuntu snappy :D [08:49] with such good support [08:50] noizer: did you get luck with that armel snap you were working earlier? [08:51] zyga didn't get it snapped but my TTS of nuance works now [08:51] on a ubuntu LTS [08:51] and on the classic shell of an older snappy [08:51] so when i got it snapped I'll let you know about this [08:52] zyga thx for all the help of that it is a very good cost changer for us [08:55] Hello everybody. I was wondering how to properly package LLVM/Clang with Snapcraft. LLVM & Clang are separated in two different git repositories, and Clang needs to be git cloned into a subdirectory of LLVM. I couldn't find any doc about parts with multiple git sources. Is it necessary to write a snapcraft plugin? [08:56] nimoov: you can create a snapcraft plugin that understands this [08:56] nimoov: you can use makefiles to create symlinks [08:56] nimoov: you can build everything with a script on the side and just copy bits with snapcraft [08:56] nimoov: anything that rocks your boat :) [08:59] Well that is great. Loads of options. I like that. Thank you for the help ;) [09:01] nimoov: good luck, I was exploring with a rust-in-a-snap package [09:01] nimoov: and I just started with prebuilt rust as a starting point === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [09:21] zyga snap install noizersnap.snap --allow-unauthenticated what is wrong about this? [09:22] noizer: is that 16 or 15.04? [09:22] 16 [09:22] noizer: on 16 that's snap install --devmode ... [09:23] noizer: --allow-una.adsasdads (terrible word) is gone :) [09:23] zyga niceee [09:23] noizer: :-) [09:24] zyga I tried to make the snap on my Virtual Machine Ubuntu 16.04 LTS and install it on my rpi 2 but thin its incompatible is there some way to cross snap it? [09:25] noizer: no, not in general yet [09:25] noizer: I would recommend to get two PIs [09:25] noizer: one with something like ubuntu mate [09:25] noizer: and one with an all-snap image [09:25] noizer: or just an all-snap image and that classic script [09:25] noizer: (I did that last weekend) [09:26] hehe got 4 rpi so no problem [09:26] maybe i build it on a prev version of snappy it will work too [09:26] noizer: cool, ping me if you get stuck, I was through that experience :) [09:26] noizer: you cannot quite run snaps on mate yet, we're working on fixing some things that prevent that today [09:27] zyga ok nicee. maybe an other question about the release date of snappy. It is for my bosses. when will there be a LTS of snappy? [09:27] is that Ocotober? [09:28] *October === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [09:51] noizer: I don't know, we keep trying to release periodically (weekly) [09:51] noizer: we just need to get better at it [09:52] ok [09:52] snap install wget should working just now finding the correct hyperlink [10:34] zyga it works I will snap it and sent it too you [10:35] noizer: woot, great [10:35] just did some changes on you shell script [10:36] maybe not the best ones but is worked on my ubuntu :D [10:51] mwhudson: no, you did not talk about shared libraries with me recently [10:52] JamesTait: do you happen to know if the new /api/v1/metadata branch made it to staging yet? mbordese was working on this and I would love to run curl against it to validate [10:52] JamesTait: validate my mock data I put in my tests if they actually match what the store is sending [10:54] mvo, it's there, yes. [10:54] mvo, it's even in Production. [10:59] JamesTait: there is a new-new version of it that takes a dict instead of the previous version that just took ids, is that also available? [10:59] JamesTait: it complains in production that I did not send ids, do you know what staging server I should use? [10:59] mvo, not yet, no, but I believe the work is scheduled. [10:59] JamesTait: search.stagging.apps.ubuntu.com ? [11:00] search.apps.staging.ubuntu.com [11:00] JamesTait: aha, ok. I will just wait for it to happen then. thank you! [11:01] mvo, in somewhat-related news: I've noted your bug report about searching for "_" behaving oddly. [11:02] mvo, I can explain that: we recently switched to a different type of query on the back-end, and also took a more aggressive approach to cleansing queries. [11:03] mvo, this was to reduce the several thousand OOPS reports we were getting daily, mostly from what looks like people accidentally pasting code snippets into the search bar, or leaning on their keyboards. [11:03] mvo, because, frankly, since we enabled snaps on the desktop, the daily OOPS report has been useless. [11:04] mvo, now we've got that under control and can see if there's an *actual* problem, I'm working on re-enabling "special" characters, or at least as many of them as I can. [11:04] JamesTait: ok, thats fine, I think we will add some client side filtering to that as well then [11:05] JamesTait: just wanted to double check that this is intended bevhaior [11:05] * mvo can't type and gets lunch :) [11:40] zyga: how does i need to send you the snap and even the script? [11:41] noizer: email to zygmunt.krynicki@... at canonical.com [11:45] zyga: sended [11:45] noizer: btw, I have something new [11:45] noizer: if you want to give it a quick spin before I publish it [11:46] sure [11:49] zyga what is the new thing xD [11:49] noizer: https://github.com/zyga/devtools/blob/classic/refresh-bits [11:49] noizer: refresh-bits 2.0 [11:49] noizer: I would appreciate any testing you can do [11:51] zyga I want to do that but honestly I didn't used refresh-bits 1.0 but I'l give it a shot [11:52] zyga is that the thing that you explained a while ago? [11:52] noizer: ah, if you don't hack on snapd itself then this is of no use [11:52] noizer: thanks [11:53] is that for the REST api? snapd? [11:53] zyga [11:53] zyga: I will do that later but then it should be intresting to test it right now [11:55] noizer: that's okay, I will also test this :) [11:55] noizer: and after all, there's always 2.0.1 ;) [11:56] zyga yes sure xD thats development [11:56] zyga does ubuntu searches people for snappy xD [11:56] snappy is so intresting for me xD [12:00] noizer: I think snappy is interesting to many people :) [12:00] zyga sure xD [12:01] zyga Does ubuntu recruit many people for snappy? [12:03] noizer: what do you mean by that? [12:03] * zyga has improved classic.sh to just be a script, no deps required [12:03] If ubuntu searches people to work on snappy [12:04] noizer: canonical or ubuntu? [12:05] noizer: anyone can work on snappy [12:05] canonical xD [12:05] noizer: build snaps, send pull requests [12:05] noizer: for working for canonical, check out http://www.canonical.com/careers [12:06] zyga ok thx I will have alook tonight xD [12:06] zyga after my dayjob xD [12:11] zyga what does i need to test of the refresh bits? === JanC is now known as Guest85398 === JanC_ is now known as JanC [12:23] zyga because i saw i used 1.0.* before [12:40] noizer: well, it's just useful if you are patching snapd locally [12:40] noizer: you have to first have the full source tree [12:40] noizer: don't worry about that if you're not interested in hacking on go [12:41] zyga ooh ok [12:42] if you have other stuff where you need some help you can contact me and we see then if i can do that [12:43] noizer: thanks [13:02] on ubuntu core images (i.e. u-d-f core ...) /snap/bin is in root's PATH but not on ubuntu classic images (snapd 2.0.3) Is that expected? Will that change? [13:06] josepht: probably a bug [13:06] josepht: can you please report it [13:07] https://github.com/zyga/devtools/blob/master/classic.sh [13:07] ogra_: ^^ [13:07] ogra_: fire away and tell me if that is sane [13:07] this gives you classic on any snappy device [13:07] zyga: there's already bug 1576716 if that's not sufficient let me know and I'll file a separate bug. [13:07] bug 1576716 in snap (Ubuntu) "Snap application requires root privileges " [Undecided,Confirmed] https://launchpad.net/bugs/1576716 [13:07] hmmm [13:08] josepht: that's not it I think [13:08] although [13:08] yes it might be the same [13:08] zyga, hehm your use of TRAP is interesting [13:08] ogra_: oh, did I make a mistake? [13:09] doesn6t that EXIT after the first unmount ? [13:09] no [13:09] it really work [13:09] it will EXIT when the shell quits [13:09] I don't exec [13:09] you should call some kind of cleanup function that loops over the mounts and only have one trap [13:10] are you sure it unmounts them all ? [13:10] ogra_: ohhh, maybe not ! [13:10] ogra_: I see what you mean now [13:10] * zyga checks [13:10] i would guiess it stops after proc [13:10] leaving 7dev and sys behind [13:10] ogra_: thanks, it is broken indeed [13:11] jzst create a cleanup() function you call from the trap ... [13:11] yep, thanks [13:11] sergiusens: Hi is that normal when I'm downloading snapcraft from github and install it that there many dependencies missing? [13:11] the rest looks sane [13:12] ogra_: better? [13:13] noizer, you probably shouldn't install from github, just run out of its bin/ [13:14] kyrofa: Ok [13:14] zyga, probably unmount -l ... then it doesnt fall apart iof it cant unmount cleanly [13:15] noizer, to make sure you have the right dependencies, you can use apt-get build-dep snapcraft [13:15] ogra_: thanks [13:15] done [13:16] cool [13:16] zyga, oh, you might want a sudo check [13:17] ahm there is one, sorry === chihchun is now known as chihchun_afk [13:17] scrolled off screen [13:19] zyga, http://paste.ubuntu.com/16680321/ [13:20] zyga, you want a mkdir xenial/dev/pts between line 50 and 51 [13:20] or better mkdir -p [13:21] ogra_: maybe you want to send me a patch? you seem to know this better than I do [13:21] (the subdir isnt there by default) [13:21] * zyga isn't sure what /dev/pts does really [13:21] ah [13:21] just add: mkdir -p xenial/dev/pts [13:22] between these two lines ... thats all [13:23] oh [13:24] and you probably want to umount xenial/dev/pts before unmounting xenial/dev :P [13:26] ogra_: oh, man I'm glad I showed you the code :) [13:26] looking at fixing this [13:27] zyga, http://paste.ubuntu.com/16680569/ take that one :) [13:28] the umount order matters a bit :) [13:28] (proc should be last since it has /proc/mounts) [13:29] ogra_: trying [13:31] ogra_: yeah [13:31] awesome [13:31] ogra_: I also improved earlier bits to make more sense [13:31] ogra_: tested on aarch64 and armhf [13:32] I wonder if this could be snap install classic :) [13:32] i'm runing it in a 6 weeks old pi3 install :) [13:32] well, mvo wants to ship the delta of the os inside the snap [13:32] ogra_: aarch64 chroot on pi3? [13:32] nah armhf [13:32] ogra_: ah, I remember that [13:33] ogra_: yeah, small download [13:33] to save the downloading [13:33] no download at all [13:33] zyga: we had this (we still have it in the store, its just unpublished) [13:33] zyga: a snap that includes this script (well, not this script, a similar one :) [13:33] we just ship a tar,xz somewhere inside the rootfs ... [13:33] zyga: but the current agreement on this is to have the delta and generate classic from that [13:34] i'm fiddling with the build scripts currently to make that work by friday ... [13:39] mvo: I see, thanks for clarifying that [13:39] ogra_: well the snap would still contain the delta, right? [13:39] zyga: the dellta is part of the OS snap itself [13:39] actually it might be useful to say ./classic --precise :) [13:39] aaah [13:39] so all pre-shipped [13:39] Thanks [13:39] zyga: yeah [13:40] anyway, devtools are not end-user tools, they are for hackers to hack :) [13:40] zyga: having a different approach is actually nice, we could still have this as a normal snap [13:40] so I look forward to proper classic [13:40] zyga: like zygas-classic or something [13:40] right, we'll just ship the delta as compressed tarall in ... say /usr/lib/snapd/classic [13:40] zyga: i.e. feel free to just snap it and put it into the store [13:40] ogra_: \o/ [13:40] and if you enable classic it unpacks it [13:41] ogra_: plus something like removed_files (if we need that) - not sure if we have files we create in the livecd-rootfs and that we need to remove when building classic [13:41] mvo, though hwo do you plan to run that ? [13:41] that will be a ton of additional bindmounts, no ? [13:41] to create a proper chroot dir [13:44] kgunn: hey, I wanted to ask about mir [13:44] roadmr: fyi if you're more comfortable with pushing r667 as a revision, feel free to pull that (it is not at all time-sensitive so feel free to skip if you've already pushed r666) [13:45] kgunn: I made some improvements to tooling, you should be able to run ./run-devel-vm --visual now to test your mir snap [13:45] kgunn: (and mir interface) [13:45] jdstrand: I have but it's not deployed yet, I can somewhat easily update to 667. [13:46] jdstrand: (we've been having some molasses issues in the pipeline - working on it!) [13:47] zyga: awesome! i will give it a try [13:47] roadmr: ack, thanks :) [13:51] ogra_: how do you mean? how do I plan to "run that"? create classic from the delta? remove the extra files? not sure I follow [13:51] ogra_: my plan is to actually unpack the squashfs not take the running image [13:51] mvo, well, we will have a tarball that has the missing files ... [13:51] ogra_: because the running image is full of bind mounts that are confusing [13:51] ah, so you unsquash and then untar on top oif that ? [13:52] ogra_: yeah and maybe (if we need to) apply something like removed_files [13:52] ogra_: i.e. remove stuff we create in the squashfs but don't actually want on classic classic [13:52] ogra_: does this sound sensible? or am I overlooking something? [13:53] no, sounds fine [13:53] i was just ont understanding the approach to get a chroot dir [13:53] didnt think about unpacking :) [13:54] ogra_: great, thanks for double checking! === chihchun_afk is now known as chihchun [14:36] sergiusens: Hi I tried now with bin/snapcraft (download from github) and go the error no module named yaml. but I installed pyyaml already what now? [14:41] noizer, you need the python3-yaml package [14:41] noizer: did you get the rest of the snapcraft files? I think one of them is called "yaml.py", e.g. [14:41] noizer, did you install build-deps as I suggested? [14:41] noizer, or you can just look in the debian/control file and you'll see a list of dependencies [14:42] noizer, by the way, I didn't ask: why are you wanting to run from source? [14:43] kyrofa: I made a new image of xenial xerus for my rpi 2 and made a chroot with zyga his script and when i'm trying to install snapcraft with apt-get it won't work [14:44] kyrofa: so I tought maybe from source [14:44] noizer, can you define "won't work" ? [14:45] kyrofa: when I did apt-get install snapcraft. he won't find the snapcraft package [14:46] noizer, did you run `apt-get update` first? [14:46] kyrofa: yes i will do it again [14:46] noizer, make sure you have universe enabled [14:48] kyrofa: OK and how will i do that [14:48] kyrofa: sudo add-apt-repository universe [14:48] noizer, pastebin your /etc/apt/sources.list [14:48] tried this but he won't find the add-apt-repository command [14:50] kyrofa: http://paste.ubuntu.com/16683077/ [14:50] noizer, uncomment lines 17-20 [14:51] noizer, run `apt update` again and then try `apt install snapcraft` again [15:01] kyrofa: hi! in relation to node-engine pr, would you know what's causing this? https://pastebin.canonical.com/157244/ [15:01] elopio: fgimenez: have anything to discuss today? or are you too busy? === charles_ is now known as charles [15:02] beowulf, well that's not a helpful error. Try running snapcraft -d snap [15:02] Does it give you any more information? [15:02] plars, nothing from my side, elopio? [15:03] kyrofa: oh, that's more helpful, thanks [15:04] beowulf, yeah I don't see anything obviously wrong with the yaml [15:38] kyrofa: oops, found it https://github.com/earnubs/snapcraft/commit/c21679fe34fee068fedf8c80d8488ad518b4905e [15:39] beowulf, ahh, ah ha. Note you could just use `extend` there if you like having them both [15:44] kyrofa: that worked for now but got an other error when I'm trying to use snapcraft http://paste.ubuntu.com/16683077/ [15:44] ow wrong pastebin [15:45] kyrofa: http://paste.ubuntu.com/16684897/ [15:46] noizer, snapcraft 2.9 hasn't made it to release yet, which means you're still running out of source (at least partially) [15:47] noizer, not sure exactly what happened there, so I'm not sure how to fix it I'm afraid [15:47] kyrofa: ok dammed [15:47] noizer, might be easiest to toast the chroot and try again [16:05] sergiusens: hey, so I saw you take a bug from zyga recently and thought I'd offer up bug #1577514. zyga has a poc for an ld preload lib that I think could just fit in snapcraft (at least, I think that is what zyga was envisioning-- he could give more details) [16:05] bug 1577514 in Snappy "Allow out of the box use of chromium based apps" [Undecided,Confirmed] https://launchpad.net/bugs/1577514 [16:05] sergiusens: see comment #2 and #3 in particular [16:13] sergiusens: note, I'm only offering that info as 'fyi' [17:06] ogra_: hey [17:06] ogra_: I need to hug you [17:07] ogra_: before I do what I need to do :) === chihchun is now known as chihchun_afk [18:56] Hello zyga. [19:06] zyga, that bad ? [19:11] zyga, lol ... just saw my bugmail ... its all fine [19:51] When is next snapd landing? Ideas? [19:52] ogra_: yes [19:52] ogra_: :) [19:52] ogra_: great, any help you can render is appreciated [19:53] ogra_: I'm not super faimilar with how this works [21:07] kyrofa: http://paste.ubuntu.com/16694248/ [21:08] elopio, that's typically what I see when I forget to specify --target-arch [21:08] (or it's an arch that isn't supported) [21:09] elopio, that's what you should see when you specify armhf, but arm64 should work [21:09] kyrofa: oh wait, that might be the output I got after running amd64 [21:09] elopio, ah, yeah that would be expected [21:09] I tried many commands :) Let me rerun it. [21:10] Hahaha [21:21] kyrofa: http://paste.ubuntu.com/16694497/ [21:22] elopio, hmm, we may be missing a build-package there [21:22] libopenssl-dev maybe [21:23] elopio, libssl-dev rather [21:23] elopio, new bug though [21:25] let me try that [21:30] elopio, dinner time here, ping me on telegram if you hit more issues there [22:00] kyrofa: it's building, but it will take a long time in this vm. I think we are done here, enjoy the night.