/srv/irclogs.ubuntu.com/2017/02/03/#snappy.txt

mupPR snapcraft#1093 closed: python plugin: do the right thing with classic <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/1093>00:12
mupPR snapcraft#1104 opened: repo: refactor into package <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/1104>00:18
=== ahoneybun_ is now known as ahoneybun
=== markusfluer1 is now known as markusfluer
cokebottleGod day04:27
cokebottlegood day04:28
cokebottlePlease after readinng a lot of info about snappy ... i still don't understand what it is about04:29
cokebottlecan anyone help me out , as i am confused i about what snappyy is about    Thankyou04:29
zygagood morning07:28
mupPR snapd#2773 opened: interfaces/mount: generate per-snap mount profile <Created by zyga> <https://github.com/snapcore/snapd/pull/2773>07:51
mupPR snapd#2774 opened: interfaces/mount: add dedicated mount entry type <Created by zyga> <https://github.com/snapcore/snapd/pull/2774>07:54
mupPR snapd#2775 opened: cmd: add functions to load/save fstab-like files <Created by zyga> <https://github.com/snapcore/snapd/pull/2775>08:34
mupBug #1661533 opened: show the snap app size info <Snappy:New> <https://launchpad.net/bugs/1661533>08:50
mupPR snapd#2776 opened: cmd: use per-snap mount profile to populate the mount namespace <Created by zyga> <https://github.com/snapcore/snapd/pull/2776>09:02
abc_any?09:03
=== abc_ is now known as Guest43848
mupPR snapd#2759 closed: asserts: support for correctly suggesting format 2 for snap-declaration <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2759>09:12
mupPR snapd#2777 opened: cmd: fix autogen.sh on fedora <Created by zyga> <https://github.com/snapcore/snapd/pull/2777>09:14
mupPR snapd#2745 closed: cmd: add sc_string_append <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2745>09:16
mupPR snapd#2778 opened: cmd: use safer functions in sc_mount_opt2str <Created by zyga> <https://github.com/snapcore/snapd/pull/2778>09:32
=== bulld is now known as bulldog
bulldogguys my qt5 application have font and mouse cursor issues how to solve them ?? some fonts looks odd , and mouse cursor do not follow system cursor theme , am having [deskto-qt5] already in my craft file09:38
liuxgbulldog, you need to package the needed fonts into your snap to get it working..09:40
mupPR snapd#2779 opened: tests: gruntwork backend and suite; task for sync snapd with vendor <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2779>09:40
bulldogliuxg, which package have ubuntu default fonts ??09:41
bulldogand what about mouse cursor09:41
liuxgbulldog, I have designed a Chinese Qt app, and I packaged the needed Chinese fonts. for example https://github.com/liu-xiao-guo/rssreader_slim/blob/master/snapcraft.yaml09:43
bulldogliuxg, my app uses qwebview so i need almost all fonts cause there are almost all languages user can browser webpage into09:43
liuxgbulldog, in that case, you probably need to package all of the needed fonts into your snap. In my example,  I packaged   - fonts-wqy-zenhei09:44
liuxg      - fcitx-frontend-qt5, and make the Chinese input method working.09:44
bulldogi dont know why snap dont want use system fonts :D09:45
bulldogsnap package seems to be turning into operating system them self09:45
bulldognow they should ship kernels and other system components so that they can run on anyting09:46
liuxgbulldog, in that case, your probably can try the "classic" snap, which basically it can use the system founts.09:46
bulldogwhat is a classic snap ??09:47
bulldog:O09:47
liuxgbulldog, you can refer to my example at https://github.com/liu-xiao-guo/helloworld-classic/blob/master/snapcraft.yaml09:47
bulldogliuxg, my application cant play youtube videos in qwebview , and some people here were syaing thats my coding fault LOL09:48
liuxgbulldog, if I remember correctly, in the Qt SDK, there is an example for that.09:49
liuxgbulldog, you can refer more about classic on our document at https://snapcraft.io/docs/reference/confinement09:49
bulldogliuxg, also the content in qwebview is little bit weired , after packaging in snap format there are white lines around the <table> tag in the html page qwebview is loading into its webframe09:50
liuxgbulldog, ideally, we want everything packaged into the snap, but if you cannot, you may do a classic snap, which does not have strong confiment in the seense.09:50
bulldogliuxg, i have coded the application correctly to play videos , now idk why the hell eaach applications need to ship their own flash players and media codecs09:51
bulldogliuxg, i want my snap in store , will classic confinement will work ??09:51
liuxgbulldog, the idea behind Snap is that it packaged everything it needs into a single package so it does not reply on the core and other apps. a snap is a self-contained app!09:52
bulldogand i shipped with flash player , and it wont work in snap i dont know wth is wrong with that09:52
bulldogliuxg, i understand that , but they should atleast allow to use some system stuffs like flash player damn09:53
liuxgbulldog, if you package everything into a single snap, it can be installed on multiple distos and run them without the dependence on the distros. however, if you release an app in "classic", it may not work on some of the distros if the dependence is not there.09:54
bulldognow if this is possible , where can i find example of application which is playung video using flash player ??09:54
bulldogdevelopers are saying its fault in my code , oh god , what ??? few are saying qwebkit cant use falsh player omg09:55
bulldoglmao09:55
=== pbek_ is now known as pbek
bulldogliuxg, take windows and macos as example , they ships dependencies in packages , but they use systems codecs and flashlayer09:56
bulldogliuxg, with confinement: classic ubuntu snap store will accept my package ???09:58
liuxgbulldog, it needs to have manual review.  yeah, it can be published :)09:58
bulldogi first time come to know about confinement: classic09:59
bulldogliuxg, btw here is my application http://bit.do/ktweb10:00
bulldogi packaged with appimage , and debian format , everything works fine10:00
liuxgbulldog, thanks. it looks very cool10:01
bulldogclassic confinement look like what appimage project is trying to do10:01
liuxgbulldog, if you already have the debian package, you may use "dump"plugin to install it in the snapcraft.yaml.  this is one of the example at https://github.com/liu-xiao-guo/wechat10:02
bulldogliuxg, i will try ,10:03
bulldogliuxg, with classic confinement i cant install snap  it says error: cannot perform the following tasks: - Mount snap "ktube-media-downloader" (unset) (snap "ktube-media-downloader" requires consent to use classic confinement)10:03
liuxgbulldog, sorry, this is a better example http://blog.csdn.net/ubuntutouch/article/details/5307871310:03
mupPR snapd#2780 opened: tests: increase snap-service kill-timeout <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2780>10:03
bulldogliuxg, am able to make snap but the problem is it wont play videos and mouse cursor and qwebview odd rendering of pages10:04
liuxgbulldog, did you try to install it with "devmode"? which removes all of the confinement.10:05
bulldogok am trying10:05
bulldogSnapcraft returned error: cannot perform the following tasks: - Mount snap "ktube-media-downloader" (unset) (snap "ktube-media-downloader" requires consent to use classic confinement)10:05
bulldogwith --devmode  flag10:06
liuxgbulldog, for that error, I do not know how to help you.. for classic app, you do not need to have the devmode option to install it.10:08
bulldogliuxg, seems like a bug https://bugs.launchpad.net/snappy/+bug/165682010:08
mupBug #1656820: snap try with classic confinement doesn't work <Snappy:Fix Committed> <https://launchpad.net/bugs/1656820>10:08
liuxgbulldog, are you able to upgrade to snapd, I am now having 2.22. you may need to use the proposed channel10:10
bulldogam having snapd   2.2110:11
bulldogliuxg, how users will able to install this snap if they will not having snapd 2.22 ??10:12
liuxgbulldog, http://paste.ubuntu.com/23917232/10:13
liuxgbulldog, it seems that you need to use the --classic option to install it.10:13
bulldogokay let me  try10:13
liuxgbulldog, classic is supported from 2.20 onwards :)10:14
bulldogokay10:14
liuxgbulldog, sounds good. is it working now?10:15
bulldoglet me chk10:15
bulldoginstalled10:16
bulldogtrying to run10:16
bulldogliuxg, wow10:17
bulldogvideos are playing now :)10:17
liuxgbulldog, what happened?10:17
bulldogand theme issues are gone10:17
liuxgbulldog, it seems great :)10:17
bulldogliuxg, can i upload it to store ??10:17
liuxgbulldog, as said before, you can upload it, however, it is up to manual review since it does not have the confiment in practice. ideally, it should have the confinementt working. that is the ultimate goal :)10:18
bulldogi mean will someone manually review it ?10:19
mupPR snapd#2765 closed: cmd: add /usr/local/* to PATH <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2765>10:19
bulldogis the softwares app of ubuntu able to find the way to install packages with classic confinement :D ??10:20
bulldogokay i dont have to worry about it thanks alot man10:20
liuxgbulldog, it cannot be found in the stable channel, I think. you definitely have a way to get it installed.10:20
liuxgbulldog, you are most welcomee..10:20
bulldogliuxg, i have to update my GUI Snapcraft GUI tools with these updates :), so you know https://github.com/snapcraft-gui/snapcraft-gui10:23
bulldog*do10:23
mupPR snapd#2781 opened: overlord/devicemgr: fix test: setup account-key before using the key for signing <Created by pedronis> <https://github.com/snapcore/snapd/pull/2781>10:25
mupPR snapd#2782 opened: timeutil: a bunch of helpers for the scheduled refreshes <Created by mvo5> <https://github.com/snapcore/snapd/pull/2782>11:06
mupPR snapd#2781 closed: overlord/devicemgr: fix test: setup account-key before using the key for signing <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/2781>11:08
xiaoji_请问。。snappy的包安装后,如何改变只读?允许可写 可新建目录?11:27
xiaoji_hello, excuse me?11:31
mupPR snapd#2783 opened: Add an interface for use by thumbnailer <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/2783>11:34
xiaoji_hello, excuse me?11:34
BadCodSmellI am confused by snappy12:04
BadCodSmellIs there a pure snappy ubuntu distro/os release?12:04
BadCodSmellRight now it just looks like another bolt on package manager12:05
sergiusensBadCodSmell: yes, Ubuntu Core is a pure snappy based system12:06
sergiusensBadCodSmell: https://www.ubuntu.com/core12:07
BadCodSmellugh it requires an online account with ubuntu though12:07
BadCodSmellenterprise fud12:07
BadCodSmellCan I install it without that?12:08
BadCodSmellOtherwise I might as well just go windows 10 for a managed OS.12:08
BadCodSmellAh confirmed it's some enterprise fluff12:10
BadCodSmellI don't understand though12:10
BadCodSmellit is not necessary and apparantly only bootstrapping12:10
BadCodSmellIt looks like security gone mad12:10
sergiusensBadCodSmell: if windows works for you, by all means use it. I don't know how you got to "requires login" so fast though...12:16
BadCodSmellit wants some SSO rubbish just to bootstrap.12:17
BadCodSmellBut I don't want that.12:17
ogra_well, it is rather IoT focused than "enterprisey" ... thats one of the ways to prevent botnets12:18
BadCodSmellIt's not the linux way to deprive users12:18
sergiusensI will refrain from helping if that is the attitude for things you don't like12:18
BadCodSmellThat's not ubuntus concern12:18
ogra_but as sergiusens said, if windows suits you better, go for it ... and enjoy getting hacked12:18
BadCodSmellIf governments want to shutdown companies that fail to have security practices as basic as setting defaults passwords...12:18
BadCodSmellUnfortunately that's not how hacking works.12:19
BadCodSmellSince I used to be one.12:19
* sergiusens feels like someone just came here to vent12:19
ogra_yeah12:19
sergiusensalready knowing the answers to the questions asked even12:19
BadCodSmellMaybe I can just edit the image or something, annoying.12:19
ogra_you can just use a classic image and install snapd on it if you feel better with that12:20
BadCodSmellI would really like to see it out of the box and if it's using it for kernel, etc12:20
BadCodSmellWith classic image there's the question of jumping from apt to snapd for everything.12:21
ogra_then create some random SSO account and live with it12:21
BadCodSmellThere's no minimal image but meh12:22
ogra_??12:22
ogra_i dont think there is a more minimal image than the snappy one (even way smaller than the smalles classic one)12:22
ogra_https://developer.ubuntu.com/core/get-started ... http://releases.ubuntu.com/ubuntu-core/16/ ...12:23
BadCodSmellI think my own stripped down debian is around 1GB but I guess the USB is live and stuff.12:25
ogra_ogra@localhost:~$ df -h /12:26
ogra_Filesystem      Size  Used Avail Use% Mounted on12:26
ogra_/dev/loop0       65M   65M     0 100% /12:26
BadCodSmellfor core?12:27
ogra_plus12:27
ogra_ogra@localhost:~$ df -h /writable12:27
ogra_Filesystem      Size  Used Avail Use% Mounted on12:27
ogra_/dev/mmcblk0p2   29G  468M   27G   2% /writable12:27
ogra_but i have a bunch of extra packages installed12:27
BadCodSmellthat's not bad12:27
ogra_right after install the writable bit is rather around 300MB12:28
ogra_you can roll back the rootfs in case something doesnt work on upgrades ... it does auto-rollback after a kernel upgrade if something goes wrong etc etc ...12:29
BadCodSmellThe annoying thing with the image being almost 4GB12:29
mupPR snapd#2784 opened: image: check kernel/gadget publisher vs model brand, warn on store disconnected snaps  <Created by pedronis> <https://github.com/snapcore/snapd/pull/2784>12:29
BadCodSmellI have a 4GB USB stick and everywhere jumps from KiB to KB etc without telling you12:29
ogra_the image is 300MB and gets resized to full disk size on first boot ...12:29
BadCodSmellcant tell off the bat if itll fit12:29
ogra_except for the KVM images12:29
ogra_(whihc cant easily resize because the img is actually the "physical disk"12:30
ogra_)12:30
BadCodSmellAre snaps differentially updated?12:32
ogra_you mean in deltas ?12:33
BadCodSmellbasically12:33
ogra_thats currently landing ...12:33
BadCodSmellbest kind is not of the package download12:33
BadCodSmellbut of the files, ie you send your version and it sends fs deltas12:34
BadCodSmellor wholesale if it doesn't have12:34
ogra_well, i find the 100% reliable rollback a better feature personally :)12:34
BadCodSmellI've created some systems like that myself12:34
BadCodSmellbut it's a nightmare to maintain12:34
ogra_but yeah, package delta downloads are ready to land (you can already enable them with aan env var while they arent default yet)12:34
BadCodSmellI wonder if rdiff or xdelta12:35
ogra_xdelta12:35
simosxhttps://bugs.launchpad.net/snappy/+bug/166159012:36
mupBug #1661590: When launching a snap from Ubuntu Software, it runs the first command alphabetically <Snappy:New> <https://launchpad.net/bugs/1661590>12:36
ogra_snaps are signed, compressed squashfs'es ... i dont think rdiff works well in that context12:36
BadCodSmellshould do12:36
simosxhttps://bugs.launchpad.net/snappy/+bug/165068912:37
mupBug #1650689: Channel switching (track new channel) does not work if the two channels happen to have identical snap packages <Snappy:New> <https://launchpad.net/bugs/1650689>12:37
mupBug #1661590 opened: When launching a snap from Ubuntu Software, it runs the first command alphabetically <Snappy:New> <https://launchpad.net/bugs/1661590>12:37
BadCodSmellI run it against compressed archives (custom tar like internally)12:37
BadCodSmellstill12:37
BadCodSmellit's not good to run it against archive (ie tar)12:37
ogra_simosx, hmm, works for me on core images ... snap refresh --<channel>  <snapname> ...12:37
BadCodSmellmost efficient to make list of files removed, files new, and diffs for files changed, if it can't diff it effectively, then just treat the changed file as a new file12:38
simosxogra_, tried it on ubuntu-core in LXD, did not work. The snaps in both channels have to be identical.12:38
ogra_in lxd ... hmm12:38
BadCodSmellsmall compressed things it will suck but for large things I think eventually with the blocking it will start again so one difference up front wont go down the whole stream12:38
simosxogra_, and on Ubuntu 16.04 (desktop).12:39
ogra_simosx, i do it with the core snap all the time on my installs to test something in the edge channel and then go back to the stable install later12:39
ogra_and these are definitely never identical :)12:39
mupPR snapd#2785 opened: Provide a more interesting pitch for upstream developers using snaps <Created by evandandrea> <https://github.com/snapcore/snapd/pull/2785>12:40
simosxogra_, try it with 'snap info network-manager'. Switch between 'stable' and 'beta'.12:40
BadCodSmellif it rdiffs the whole squash fs, you have to keep both in memory or on disk at one time at some point unless you have a good dedupe fs under it12:40
BadCodSmellor unionfs :D12:40
BadCodSmelletc12:40
ogra_BadCodSmell, well, i didnt work on the implementation but not messing up the gpg signature and needing to work with compressed squashfs binary diffs was a requirement that rdiff seemed to not fulfill12:41
BadCodSmellweird12:43
BadCodSmellmaybe one day I will look at it12:43
ogra_or at least didnt fulfill at tthe performance level that was desired12:43
BadCodSmellI have had to make a bunch of strange things12:43
BadCodSmelllike a kind of rsync that creates jumbo patches and works in bulk rather than comparing differences between two machines (using versioning)12:44
Son_Gokusergiusens: does snapcraft only support merged source projects?12:44
Son_Goku(aka, debian style packaging)12:45
ogra_snapcraft supports anything you want :P12:46
ogra_limitless :)12:46
ogra_just a matter of how you use it ;)12:47
ogra_(read: i guess you have to give more context)12:47
sergiusensSon_Goku: sorry, I don't understand12:47
Son_Gokusorry, let me explain better12:47
Son_Gokuone complaint I received recently about snapcraft is that it seemed to expect that the source tree is where the snapcraft packaging data is12:48
sergiusensSon_Goku: oh, you want out of tree snapcraft?12:48
Son_Gokuyes12:48
sergiusensif so that works12:48
Son_Gokuhow?12:48
Son_GokuI couldn't figure it out via the docs12:48
sergiusensthe `source` entries just need to point to the upstream you want to consume12:48
ogra_just use source:12:48
ogra_right12:48
Son_Gokualso, when using source, is there a way to apply patches?12:48
ogra_or use the make plugin and have a git pull in your Makefile ... or ... or ...12:49
ogra_there are many ways12:49
sergiusensSon_Goku: you can now with `prepare`12:50
Son_Gokusweet12:51
Son_Gokuso we do have an equivalent of the %prep stage12:51
sergiusensSon_Goku: it is just script in yaml to run whatever you want or need (not patch specific to not force anything on anyone)12:51
* ogra_ also always just uses Makefules and calls patch from there ... works too12:51
sergiusensso if your patch is a `sed` so be it12:51
Son_Gokuright12:51
ogra_*Makefiles12:51
Son_GokuI didn't know we had a prepare stage :)12:51
ogra_thats pretty new12:51
sergiusensMakufiles go well with Goku though :-P12:52
ogra_haha12:52
Son_Gokusnapcraft.yml seems to become more like rpm-spec each day :)12:52
sergiusensSon_Goku: prepare, build and install12:52
Son_Gokuthat's... exactly how it works in rpm-spec12:52
Son_Goku%prep, %build, %install12:52
sergiusensSon_Goku: https://snapcraft.io/docs/build-snaps/scriptlets12:52
Son_Gokuthey're even called the same thing :)12:52
Son_Gokudid you read some rpm docs before you implemented that :P12:53
ogra_just to make you feel at home ... we thought of you specifically ;)12:53
BadCodSmellversus debs12:53
BadCodSmellrpms are far far easier12:53
sergiusensbuild just might do something different than what you might expect ;-)12:53
BadCodSmellthe deb format is tremendously bloated in comparison12:53
Son_GokuBadCodSmell: I totally agree12:53
BadCodSmellfirst time I downloaded the skeleton after rolling rpms for years I almost died12:53
Son_Gokuwhich is why I now build my debs using rpmspec12:53
Son_GokuI despise debian source control packaging12:54
BadCodSmellthere's the patch issue too, they have two systems of patching12:54
sergiusensSon_Goku: just alien-ate it :-P12:54
ogra_heh12:54
Son_Gokusergiusens: actually, I do something far worse (in debian folks' eyes)12:54
sergiusensanyways, need to go and drop off my son at daycare, bbiab12:54
ogra_is alien still a thing ?12:54
Son_Gokuit is, but deadish12:54
sergiusensit is on slackware :-)12:54
ogra_yeah, upstream developmennt stalled years ago12:54
Son_GokuI generate native debian packages with rpmspec using debbuild: https://github.com/ascherer/debbuild12:54
Son_GokuI've even written macros that replace useful aspects of debhelper12:55
ogra_thats probably fine as long as you dont actually upload to an archive12:55
ogra_s/archive/official archive/12:55
Son_Gokunah, Debian people hate me anyway12:56
Son_Gokuat least, that's what it was like the last time I tried to get involved there12:56
ogra_the big advantage of debs over rpms is not ease of packaging but strickt packaging policy ...12:56
Son_Gokuthe strict policy *does* exist in some distributions12:56
Son_GokuMageia has always had Debian-like strictness in its policies12:56
ogra_its a hrd req. to upload something to an official archive12:56
Son_Gokuwell, likewise for Mageia12:57
ogra_and its a pain to learn the debian policy ... which is a req. to become a debian/ubuntu developer12:57
Son_Gokucore, tainted, nonfree sections for Mageia mirror those of Debian (main, contrib, nonfree)12:57
Son_Gokuogra_, sadly, I know Debian Policy well, but it took years to figure it out12:58
ogra_but after all having upload rights gives you root access on all users boxes ... in both cases, rpm and deb12:58
Son_Gokuright12:58
ogra_unlike snaps ;)12:58
ogra_thats the beauty about them :)12:58
Son_Gokuthat's why Mageia has a mentorship program to ensure people do things right: https://wiki.mageia.org/en/Becoming_a_Mageia_Packager and Debian has the whole Uploaders->Maintainers->Developers thing12:59
Son_Gokuogra_, well, there's a trade-off there12:59
ogra_yeah, same thing as debian or ubuntu have12:59
Son_Gokuyou pay a price for having confined applications12:59
ogra_indeed12:59
ogra_but its just a matter of getting used to13:00
Son_Gokuyes13:00
Son_Gokuthough interestingly, it has come up before to have something like this in rpm itself, too13:00
Son_Gokuit's just tricky because people *expect* systemwide access13:00
Son_Gokubreaking that expectation is hard13:01
ogra_thats why we have interfaces now ...13:01
ogra_it wasnt always like that :)13:01
ogra_but you know that13:01
Son_Gokuyep13:01
Son_GokuI was there for some of the planning sessions :)13:01
ogra_:)13:01
Son_GokuI suspect that the first distribution I'll manage to get snappy *fully* working on will be Mageia13:02
BLu2Can the libreoffice snap access my documents folder?13:02
Son_Gokubecause the community is already leaning towards AppArmor as a MAC (as it's better oriented for desktop user focus)13:02
Son_Gokubut everything is on ice until multi-dist base/core snaps are possible13:03
Son_Gokuand once sergiusens does the thing with the making the repo engine pluggable, I can add a DNF backend for RPM based distros (including Mageia)13:03
Son_Gokufor snapcraft13:03
ogra_BLu2, afaik it should ... you might need to connect the home interface if it isnt connected though13:04
BLu2ogra_, I'm using symlink to another HDD for most Home folders13:05
BLu2would that still be an issue?13:05
ogra_ah, that might be a problem ... ask SweetShark in #ubuntu-desktop ...13:05
ogra_he maintains the snap13:05
ogra_(and is LibreOffice upstream)13:05
BLu2but it seems to be more of a snap "issue" in my case13:06
ogra_yes, he manages the snap ... he will know if there is a bug open for that etc13:06
simosxJust tried the stable Libreoffice snap and it appears that "Gtk-Message: Failed to load module "unity-gtk-module". The snap in the "edge" channel the other day was OK. Can someone do "snap install libreoffice", then run from the terminal "libreoffice.writer"? It should not complain about modules failing to load.13:47
ogra_simosx, there is Sweet5hark13:55
=== vigo is now known as vigo|lunch
=== vigo|lunch is now known as vigo
willcookeSweet5hark, error is " "Gtk-Message: Failed to load module "unity-gtk-module"."  (via simosx)13:58
willcookewasnt like that from edge the other day13:59
Sweet5harkFailed to load module "unity-gtk-module" -- is usually harmless, does libreoffice start then?14:00
simosxSweet5hark, libreoffice does start, but it gets lots of issues with the menus. Some menu items are missing, etc.14:01
simosxI am running snap/snapd 2.12 (Ubuntu 16.04).14:02
Sweet5harksimosx: the message is unrelated. missing menus is unrelated to that, and not reproducable here. What host system are you on?14:02
ogra_2.12 ?!??14:03
simosxSorry, 2.21 version.14:03
ogra_ah :)14:03
simosxOn Ubuntu 16.04 (all updates).14:03
Sweet5harksimosx: hmm, same host here. which menu are you missing exactly.14:04
simosxI did several installs and uninstalls of the snap earlier today while updating https://blog.simos.info/how-to-install-libreoffice-5-3-on-ubuntu-16-04-from-snap/ . I wonder whether I need to reboot.14:05
simosxHere are the startup errors, https://paste.ubuntu.com/23918221/14:06
simosxI'll reboot just to be on the safe side. brb.14:07
Sweet5harksimosx: All those messages are seen here too, but not critical, as I see no problem here. so likely unrelated.14:09
ogra_you should wait til he returns ;)14:10
simosxSweet5hark, The issue still persists. I still get https://paste.ubuntu.com/23918221/14:12
Sweet5hark(15:09:58) Sweet5hark: simosx: All those messages are seen here too, but not critical, as I see no problem here. so likely unrelated.14:12
Sweet5harksimosx:  whichs menu are you missing exactly?14:13
simosxokay, will make screenshot of menus. when I move the mouse through the menu items, those menu items appear.14:13
mupPR snapcraft#1102 closed: cleanbuild: include snap directory in tarball <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1102>14:19
simosxSweet5hark, hmm, something is wrong with my desktop. In the Ubuntu Settings, some textboxes are not showing.14:19
simosxWill need to make sure that no PPA leftovers are installed, then come back to you.14:20
simosxSweet5hark, can you check the update at https://blog.simos.info/how-to-install-libreoffice-5-3-on-ubuntu-16-04-from-snap/ There are two usability issues, and those happen with snap/snapd 2.21 (Ubuntu 16.04 default snap version).14:21
ogra_simosx, what graphics card ?14:22
simosxogra_, Intel(R) HD Graphics Haswell GT2 Desktop14:23
ogra_perhaps a driver issue ?14:23
Sweet5harksimosx: updates look good to me (not too much an expert on how the snap commands are supposed to be used, for that stuff Im just a user like everyone else ;) )14:25
simosxogra_, I had the Intel drivers from 01.org and uninstalled recently per https://blog.simos.info/how-to-completely-remove-a-third-party-repository-from-ubuntu/ I noticed leftovers.14:29
simosxSweet5hark, if you type "snap info libreoffice", do you get every time a different order for the commands? This probably affected Ubuntu Software, because if you click "Launch" in Ubuntu Software for LibreOffice, you get everytime a different LibreOffice programm starting up.14:30
simosxogra_, the intel driver package from 01.org would install their own libcairo packages.14:32
simosx$ apt policy libcairo-gobject214:33
simosxlibcairo-gobject2:14:33
simosx  Installed: 1.15.2-0intel114:33
ogra_lovely14:33
mupBug #1661626 opened: GSettings/dconf reports incorrect values on setting change under confinement <Snappy:New> <https://launchpad.net/bugs/1661626>14:34
mupPR snapd#2785 closed: Provide a more interesting pitch for upstream developers using snaps <Created by evandandrea> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2785>14:44
mupPR snapd#2736 closed: Initial unity8 interface <Created by mikix> <Closed by mikix> <https://github.com/snapcore/snapd/pull/2736>14:51
mupPR snapd#2786 opened: Initial unity8 interface <Created by mikix> <https://github.com/snapcore/snapd/pull/2786>14:51
mupPR snapd#2787 opened: Add unity8 plug permissions <Created by mikix> <https://github.com/snapcore/snapd/pull/2787>14:58
simosxI managed to narrow down the issue with menus I had earlier. It was not specific to snaps.15:05
simosxThe offending package appears to be light-themes. I have this leftover version:15:05
simosx$ apt policy light-themes15:05
simosxlight-themes:15:05
simosx  Installed: 16.10+16.04.20161205-0ubuntu115:05
simosxIt does not downgrade, because  unable to open '/usr/share/themes/Ambiance/gtk-3.0/assets/backdrop-button-toolbar.png.dpkg-new': No such file or directory15:06
flexiondotorgsergiusens Is there an ETA for snapcraft on 14.40?15:06
flexiondotorgI've got an ISV with their CI on 14.04 and snapcraft would help seal the deal :-)15:07
simosxFrom the three provided themes in Ubuntu 16.04, this weird version of light-themes affects Ambience and Radiance. A workaround was to enable "High contrast" for now.15:08
mupPR snapd#2788 opened: store,osutil: use new osutil.ExecutableExists(exe) check to only use deltas if xdelta3 is present <Created by chipaca> <https://github.com/snapcore/snapd/pull/2788>16:27
cjwatsonsergiusens: snap/snapcraft.yaml support deployed on Launchpad production now16:32
mupPR snapd#2789 opened: overlord/devicestate: backoff between retries if the server seems to have refused the serial-request <Created by pedronis> <https://github.com/snapcore/snapd/pull/2789>18:49
stokachucjwatson, \o/19:16
stokachuballoons, ^19:16
balloonsstokachu, what's this?19:17
stokachu<cjwatson> sergiusens: snap/snapcraft.yaml support deployed on Launchpad production now19:17
mupPR snapcraft#1079 closed: Add snapcraft plugin for Qt Build Suite (qbs) <Created by dpniel> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1079>19:34
balloonsdo we know who might be able to change the owner of a snap in the store?19:38
balloonsbasically I want to move my snap to a different ubuntu one account19:38
mupPR snapcraft#1104 closed: repo: refactor into package <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/1104>19:46
Zap12344Hello. What is the best place to ask help packaging an application? Here or the mailing list?19:47
kyrofaZap12344, either works!19:47
popeyif using shell snippets to do configure / make / make install, what would you set --prefix to, so that it doesn't try to write to / during make install?19:53
popeyballoons: ness ita  can19:53
balloonspopey, thank you. Not sure if nessita is around; if not I'll poke later19:54
Zap12344Ok so, since the new snapcraft allowed mixed architecture I tried to build a snap for pcsx2 (just for "fun").  The compilation is successful and all runtime dependencies seems satisfied, but it segfault.  log: https://drive.google.com/open?id=0B-kthB5RpM8kOFBsak5mU0NHRzg | snap: https://drive.google.com/open?id=0B-kthB5RpM8kNHZ3LU1JVTNxUFk  | snapcraft.yaml : https://drive.google.com/file/d/0B-kthB5RpM8kZk5wbzEyOEVRMFk/view?usp=shari19:54
popeyZap12344: might be easier to build in an i386 vm or in a real i386 builder in launchpad tbh19:56
Zap12344I tried in a i386 lxc container but then I'm not able to install it because it's not an x86_64 snap, anyway the compilation works just fine, but it's probably dangerous to compile it since it will mess up with a lot of libraries19:58
kyrofaZap12344, you might be able to get away with specifying `architectures: [amd64, i386]` in the snapcraft.yaml19:59
Zap12344thanks kyrofa, I will try that. Anyway Pcsx2 supports a multiarch build, I managed to compile it as a snap, and now that is possible to specify the architecture of the stage-packages everything build nicely. But it seems there are problem finding the locale and libpangoxft segfault.20:04
kyrofaYeah I got nothing on the segfault... would require some strace and gdb sessions, likely20:05
popeykyrofa: any idea about my question? :)20:06
kyrofapopey, I missed your question, so sorry!20:07
popeynp20:07
kyrofapopey, you're referring to scriptlets?20:07
popeyyes20:07
kyrofapopey, that depends. You can install with DESTDIR set to $SNAPCRAFT_PART_INSTALL20:08
popeyahh, of course20:08
kyrofaIn that case, prefix is usually appended to it20:08
kyrofaSo / is okay20:08
kyrofaSome build systems don't work quite that way though, and ignore DESTDIR (or similar variables)20:09
popeyif i dont specify prefix in configure then it tries to install to the normal place /usr/share etc20:09
kyrofapopey, so in that case you can straight-up use $SNAPCRAFT_PART_INSTALL as the prefix and just `make install` with no DESTDIR20:09
popeyI'll try setting DESTDIR20:09
popeyah okay20:09
popeythanks20:09
kyrofapopey, either of those options are good ones, perhaps try DESTDIR first, if that doesn't work, try the prefix20:10
Zap12344kyrofa, I thought so, I guess I'll try compiling it in a i386 vm first to see if something change.20:10
kyrofapopey, for example, PHP ignores DESTDIR, so it must be installed by prefix20:11
kyrofapopey, that's actually the whole story behind the autotools plugin supporting `install-via`20:11
davmor2popey: you having fun with snaps again?20:22
popeyalways20:23
popeykyrofa: that worked, thanks20:23
kyrofapopey, any time :)20:25
mupPR snapcraft#1100 closed: repo: remove symlinks to libc <Created by kyrofa> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1100>20:34
cory_fuIf I'm looking for where to file bugs or contribute to a particular snap in the store, how can I find that info?21:38
kyrofacory_fu, great question21:38
kyrofacory_fu, see https://bugs.launchpad.net/snappy/+bug/162482921:39
mupBug #1624829: There is no way to contact snap package developer <store> <Snapcraft:Confirmed> <Snappy:In Progress> <Software Center Agent:New> <https://launchpad.net/bugs/1624829>21:39
kyrofacory_fu, the only way I know of is to use uappexplorer, where it actually shows the store details21:41
kyrofacory_fu, for example, you can see the support URL for nextcloud: https://uappexplorer.com/app/nextcloud.nextcloud21:41
cory_fukyrofa: I'd also like to note that I can never find that site, because it doesn't show up when I search for "snap store" or similar21:43
kyrofacory_fu, it's a third-party site, not official21:43
cory_fuOh21:43
cory_fuIs there any official way to browse snaps on the web?21:43
kyrofaNot that I know of21:44
cory_fuAny particular reason for that?21:44
kyrofaNo, no idea. Would sure be nice21:44
cory_fuYeah it would21:45
kyrofaBut in this case, I'd settle for `snap info` showing me some more info21:45
cory_fukyrofa: So, I'm specifically trying to find the repo for the juju-act snap, but that doesn't come up for me on uapp explorer21:46
kyrofacory_fu, is it in the stable channel?21:47
cory_fukyrofa: Yeah.  But it is a classic snap21:47
kyrofaOh, uappexplorer may not support that yet... no idea21:47
cory_fukyrofa: How does that third-party site get access to the info that it displays?  Is there some way I can recreate the proper query?21:50
kyrofacory_fu, using this I believe: http://search.apps.ubuntu.com/docs/21:51
kyrofacory_fu, and yeah, you might have some luck with curl21:51
cory_fukyrofa: Thanks21:51
johanhenselmansI tried the beaglebone black core image from http://people.canonical.com/~ogra/snappy/all-snaps/daily-stable/, got it running, added my (admittedly rather old 2001) DSA key to login.ubuntu and tried to login via SSH. The machine comes up with the message I should use that key, but it still refuses it. Anyone else that experience?22:02
kyrofajohanhenselmans, I seem to remember rsa only being supported23:00
cory_fukyrofa: I'm having some trouble pushing my first snap to the store.  From the CLI, I get http://pastebin.ubuntu.com/23921229/ but I also set up a LP project for it and most of the builds failed: https://code.launchpad.net/~johnsca/+snap/juju-crashdump23:04
kyrofacory_fu, if you login to the store, you can see the logs from the review tools23:05
kyrofacory_fu, mind sharing the snapcraft.yaml? I might be able to spot issues23:06
cory_fukyrofa: https://github.com/juju/juju-crashdump/blob/master/snapcraft.yaml23:06
kyrofacory_fu, first of all, classic snaps currently don't build on LP. We're working on it23:07
cory_fuAh, ok23:07
cory_fukyrofa: It looks like the other error is just from it pending manual review.23:08
kyrofaOther than that, I don't see anything obviously wrong here, so you'll need to check the store for the output of the review tools23:08
kyrofaOh. Does classic require manual review, then?23:08
cory_fuApparently so.  And the first time I did a push, it told me that.  But the second push (with --release candidate) gave me an unhelpful error23:09
cory_fuAnyway, happy to wait on manual review.  It's quittin' time anyway.  :)23:09

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