/srv/irclogs.ubuntu.com/2016/11/11/#snappy.txt

josharensonIf I've pushed an amd64 snap to the store's stable channel, and later, push an armhf snap to the stable channel, it won't clobber the amd one I assume?00:35
enweidavidcalle, ping03:59
=== enwei is now known as enwei-afk
=== chihchun_afk is now known as chihchun
om26erHello! How can I make available non-pypi packages to my name ? e.g. python3-gi is not available on pypi but its in Ubuntu, so how can I make that available to my snap ?07:20
DanChapmanom26er: you could possibly use the "nil" plugin to get python3-gi in the stage-packages07:36
DanChapmanthere might be a better way. That's just what comes to mind07:36
om26erDanChapman: I just added stage-packages to my python part and it seems to have progressed07:37
dholbachgood morning07:56
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
tsdgeos$ sudo snap remove unity8-session09:16
tsdgeoserror: cannot remove "unity8-session": snap "unity8-session" has changes in progress09:16
tsdgeoswhat do i do now?09:16
tsdgeosok snap changes + snap abort09:22
tsdgeosand then i had to mount something in the folder it thought there was something supposde to be there09:26
tsdgeosoh well09:26
davmor2pitti: hey dude console-conf how do I get a login setting all the ethernet connections to none?09:55
davmor2sorry network setting even09:56
pittidavmor2: sorry, wrong guy for console-conf; you want mwhudson09:58
davmor2pitti: ta10:00
morphis_sergiusens: ping11:02
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
Mirvyay, someone (tm) fixed the store for the content interface snaps, now ubuntu-app-platform is automatically up-to-date in the store11:42
Mirvthat means there's also now first arm64 version :)11:43
sergiusensmorphis pong12:03
renato__Mirv, good morning.12:10
renato__Mirv, any luck with the calculator?12:10
=== hikiko is now known as hikiko|ln
sergiusensjdstrand hey, with stgraber we chose to use `:` (originally `/`) as a filter per architecture, not a request to install that package.12:27
sergiusensjdstrand sidelined and fixable, this is another reason I don't want crt to fail on non matching architetures (although my case is arch all forced to arch specific)12:27
davmor2pitti, mwhudson: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/164111012:38
mupBug #1641110: Setting both ipv4 and ipv6 to none on a connection still gives you an ip setup <subiquity (Ubuntu):New> <https://launchpad.net/bugs/1641110>12:38
davmor2pitti: included you incase you need to be in the discussion on what to do12:38
ogra_davmor2, i bet the connection is gone after a reboot ;)12:42
ogra_(there is a bug about "netplan apply" on actually restarting the connection with the new setup)12:43
ogra_s/on/not/12:43
davmor2ogra_: nope you can ssh into the system on reboot12:43
ogra_oh, really ?12:43
ogra_then it is different12:43
davmor2ogra_: yes set step 812:44
davmor2see even12:44
ogra_step 8 is without reboot12:44
davmor2ogra_: d'oh let me double check it then I thought I had rebooted with it but let me double check12:47
davmor2ogra_: indeed \o/ was there another bug I can link this one too, it would explain the issue I was having with the default route too I guess right (but that is supposed to be gone in the new version)12:53
ogra_davmor2, i know there is one but i cant seem to find it :(12:55
davmor2ogra_: oh well I'll leave mine they can always link it12:56
ogra_yeah12:56
ogra_if i find my old one i'll merge them12:56
ogra_just not the findings above in yours too12:56
ogra_*note12:56
davmor2ogra_: just did on step 912:57
ogra_:)12:57
Son_Gokusergiusens, I threw a small update into LP#160225812:58
Son_Gokuhmm12:58
Son_Gokuno lp bot thingy12:58
* sergiusens looks12:58
sergiusensSon_Goku it is a matter of spacing LP: #160225812:58
mupBug #1602258: Support other distributions as sources (Fedora, Mageia, openSUSE, Debian) instead of Ubuntu <centos> <debian> <fedora> <mageia> <opensuse> <rfe> <rpm> <Snapcraft:Confirmed> <https://launchpad.net/bugs/1602258>12:58
Son_Gokuif there's anything I'm forgetting, let me know12:58
Son_Gokuah12:58
sergiusensor maybe bug  #160225812:58
sergiusensnope, just the former12:59
Son_Goku:/12:59
sergiusensSon_Goku some other forms work too, I am just too relaxed this week to think ;-)13:01
Son_GokuI just wanted to make sure I got the highlights right13:01
Son_Gokubut we're not ready to start quibbling about it yet :P13:01
sergiusensright, the general idea will change until it makes its form in code, even when playing with a potential PR it might feel wonky :-)13:03
Son_Gokuyep13:03
ogra_sergiusens, hmm ... does snapcraft not take apps in the potential PATH into account at build time ? http://paste.ubuntu.com/23460983/13:04
ogra_(the binary gets copied to bin/ in the target ... the check seems to only accept it if i give the full path for "command:", even though bin/ will be in $PATH)13:05
dholbachhey... does anyone have an idea how I'd resolve something like this?13:08
dholbachgo get -t -d ./github.com/containous/traefik/...13:08
dholbachgithub.com/containous/traefik/web.go:13:2: no buildable Go source files in /home/daniel/traefik/parts/traefik/go/src/github.com/containous/traefik/autogen13:08
dholbachok, looks like something running another command is required before running the build13:12
sergiusensogra_ can you add more details to your statement?13:22
ogra_sergiusens, dunno, what more details do you need ? the dump plugin copies the script to bin/ ... then something seems to check the "command:" content if the script exists and is executable13:23
ogra_(and fails because it does not seem to look in bin/ by default)13:24
sergiusensogra_ this should work, give me a snapcraft.yaml and I'll check13:24
ogra_sergiusens, https://code.launchpad.net/~ogra/+junk/kodi-pi13:24
ogra_(beware, the tree is huge)13:25
ogra_if you want a full build log (huge as well :) ) https://code.launchpad.net/~ogra/+snap/kodi-pi13:25
ogra_i'm probably totally wrong about that message though ... the above is what i interpret from the message it gave me13:26
ogra_(i just changed "command: runner_kodi" to "command: bin/runner_kodi" in the last commit in that bzr tree)13:27
=== hikiko|ln is now known as hikiko
ogra_(the build for that change is still running)13:28
sergiusensogra_ huge trees should go to git! ;-)13:28
ogra_yeah yeah ...13:29
sergiusensogra_ if you dump `.` you get everything13:30
sergiusensogra_ do something like this instead https://github.com/morphis/plexmediaserver-snap/pull/3/files13:31
mupPR morphis/plexmediaserver-snap#3: Update to use latest snapcraft features <Created by sergiusens> <https://github.com/morphis/plexmediaserver-snap/pull/3>13:31
ogra_sergiusens, but that means the script needs to live in bin/ in the source, right =13:31
ogra_?13:31
sergiusensogra_ yeah, is that a problem?13:32
ogra_nah, just wanted to make sure ... a test build takes 1.5h :)13:32
ogra_i still dont get why we couldnt keep the copy plugin around ...13:32
ogra_it was easy to understand ... for dump i need to ask someone nearly every time i use it ... way to complex13:33
sergiusensogra_ soon these wrapper scrips will be a thing of the past ;-)13:35
sergiusensoh that's a big one though :-P13:35
ogra_i think thats an upstream one13:35
ogra_that isnt originally my tree ... i'm just trying to make it build in LP currently13:36
ogra_(with plenty of awful hacks (as usual :P ))13:36
* ogra_ fires off another build13:37
dholbachI was just chatting to somebody who has build artifacts for four architectures which they would probably just dump into a snap - what would be the best way to snap and publish them?13:37
dholbachOr rather... dump into four different snaps.13:37
=== ben_r_ is now known as ben_r
ogra_dholbach, one way is to wrap it into a Makefile that checks the build arch ... but i guess sergiusens would call that cheating ;)13:40
ogra_(checks and acts arch specific then)13:40
sergiusensI was working on an idea of per architecture parts but we are scaling down on features as people are starting to get lost in a sea of options13:41
sergiusensdholbach you can just create for parts and dump it into the snap13:41
ogra_dholbach, https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-snap/+git/xenial/tree/Makefile?id=ed92e3a0272c85c2640ca42322e799fcf69a9034 is an example13:41
sergiusensset architectures in snapcraft.yaml to the corresponding ones13:41
ogra_yeah, that would be helpful13:42
sergiusensogra_ well not going to happen for the time being, Makefiles or build systems is the way13:42
abeatosergiusens, hey, noticed this: bug #164112313:42
mupBug #1641123: snapcraft does not properly detect the architecture when kernel is 64 bits but userspace is 32 <Snapcraft:New> <https://launchpad.net/bugs/1641123>13:43
ogra_but a good thing to have on the TODO13:43
sergiusensogra_ it is labeled NO in the inbox of tasks ;-)13:43
ogra_:(13:43
sergiusensNOs can be YES in the future, albeit distant13:43
sergiusensabeato force the architecture as I mentioned just above13:45
abeatosergiusens, hmm do not see that13:46
ogra_just "architecture: i386" in your snapcraft.yaml13:46
abeatooh, I see, thanks13:46
sergiusensogra_ abeato architectures: [armhf]13:53
Mirvrenato__: no, getting qml: [LOG]: Unable to calculate formula : "98+66", math.js: SyntaxError: Parse error13:53
renato__Mirv, ok I am trying to discovery which file is missing13:53
abeatosergiusens, ack13:54
ogra_oops, indeed13:56
Mirvrenato__: actually, I think it might be that you're testing it (when not using platform snap) without xenial overlay, would I be right?13:57
dholbachsergiusens, do we have an example of that?13:57
Mirvrenato__: in that case it wouldn't be platform snap issue, but the fact that calculator doesn't work properly with Qt 5.6. I've existing bug about it.13:57
Mirvrenato__: if you're using stock xenial, you have Qt 5.513:57
renato__Mirv, could be, let me try to pack it with overlay13:58
renato__I have a vm with that13:58
dholbachsergiusens, ogra_, just so I understand it correctly: one architectures: [armhf, ...] entry and then a specific  architecture: armhf  entry in the relevant part?14:01
renato__Mirv, yes you are right the problem is related with qt version14:01
ogra_dholbach, no, that was what sergiusens mentioned as possible future plans14:01
sergiusensdholbach yeah, you are just dumping binaries, right?14:01
dholbachsergiusens, that's how I understood them, yes14:02
renato__popey, ^^14:02
popeyah14:02
renato__popey, who can help us on that? Looks like the mathjs does not work with qt5.714:02
popeyis it an upstream bug with math.js? if so, I'd file a bug on their github page14:02
popeythey're pretty responsive14:02
renato__popey, https://bugs.launchpad.net/ubuntu-calculator-app/+bug/162033314:03
mupBug #1620333: calculator doesn't calculate: parse error in math.js <Canonical System Image:Confirmed for popey> <Ubuntu Calculator App:Incomplete> <https://launchpad.net/bugs/1620333>14:03
popeyI mean, is it a bug in the upstream math.js library we're using?14:03
renato__popey, I can try create a small test if that helps14:03
popeyor is it a bug in qt?14:03
popeyit probably would, yes14:04
renato__popey, I think this is a qt bug. But honestly I do not even know where to start :D14:04
popeywould file upstream at https://github.com/josdejong/mathjs/issues14:04
popeyheh, me neither!14:05
popeyneed a qt person14:05
renato__popey, we can try report a bug on mathjs project to see if they give us any hint14:05
Mirvrenato__: ok, so practically calculator "works", it's just it has problems with Qt version. great!14:07
renato__Mirv, looks like that14:07
popeyyeah14:07
ogra_YAY !14:24
ogra_Priming kodi14:24
ogra_Snapping 'kodi-mir' ...14:24
mupBug #1641132 opened: no way to include devmode snaps in snap prepare-image? <Snappy:New> <https://launchpad.net/bugs/1641132>14:36
mupPR snapcraft#898 opened: Revert "Allow for architecture-specific packages (#876)" <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/898>14:51
Suraj311Plz help me14:53
Suraj311my pi 3 keep asking about connection14:53
Suraj311How to configure wlan at first time boot with ubuntu core14:54
ogra_you can not (as noted in the release notes)14:54
Suraj311is there any windowX environment for configuring the network14:54
Suraj311?14:54
ogra_configure it with cable attached ... then log in and run "sudo console-conf" to re-configure it for wifi (adn turn off ethernet)14:55
Suraj311i don't have LAN14:55
Suraj311i only have mobile internet14:55
Suraj311i am using internet by hotspot14:55
ogra_well, there is currently no way to configure wlan on first boot on a pi3 ...14:55
ogra_(there is a bug with the driver)14:56
Suraj311is there any way by tethering?14:56
Suraj311usb tethring?14:56
ogra_nope14:56
Suraj311:(14:56
ogra_you need ethernet ... the next image releasse will hopefully fix this14:57
Suraj311then is ubuntu mate will be good for IOT development?14:57
ogra_why not :)14:57
Suraj311Ok thanx Ogra_14:58
Suraj311will go for mate14:58
ogra_(i dont think it matters what you use on your desktop for IoT development ...)14:58
mupPR snapd#2270 opened: store: check payment method before TOS for a better UX <Created by pete-woods> <https://github.com/snapcore/snapd/pull/2270>14:59
=== cachio is now known as cachio_lunch
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
mupBug #1641150 opened: snap hooks are not run with environment similar to apps: PATH, LD_LIBRARY_PATH <Snappy:New> <https://launchpad.net/bugs/1641150>16:06
Bits4BytesCan you package closed source programs into snaps?16:09
ogra_why woldnt you16:09
ogra_snaps are binary packages, they dont really care ...16:10
qenghoBits4Bytes: Yes! That's one of the goals!16:10
ogra_if you create an account in the store you need to sign that you have the distribution rights for the software you upload though ...16:10
qenghoBits4Bytes: It used to be that to be safe, someone had to review code put into Ubuntu and others. The isolation of snaps lets Ubuntu+ get out of the way and let people publish without hurting users.16:11
ogra_(so just grabbing random closed source binaries off the internet will likely not work if they are not distributable legally)16:11
Bits4BytesNot going to publish it. I have a java program that I'd like to run on a Snappy Ubuntu Core on a Rasberry Pi.16:12
=== cachio_lunch is now known as cachio
dholbachhave a great weekend everyone!16:59
popeyhttps://www.gl-inet.com/mt300a/ is a neat thing (which would probably be nice with snappy)17:12
popeyooh, they sell them on amazon17:13
popeyhttps://www.amazon.co.uk/GL-MT300A-Ext-MicroSD-pre-installed-Repeater-Tethering/dp/B01EWCO7CS17:13
=== cachio is now known as cachio_afk
mupPR snapcraft#898 closed: Revert "Allow for architecture-specific packages (#876)" <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/898>19:24
=== cachio_afk is now known as cachio
mupPR snapcraft#899 opened: Release changelog for 2.22.1 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/899>19:33
mupPR snapcraft#899 closed: Release changelog for 2.22.1 <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/899>20:42
mhall119zyga: can you tell me what I'm doing wrong with my configure hook? http://paste.ubuntu.com/23462794/21:00
qenghomhall119: I just fought this. I think your snapd is not new enough.21:36
qenghomhall119: and that you're on snappy on classic, amirite?21:36
mhall119right, on 16.0421:39
qenghomhall119: You just gotta wait. :(21:39
qengho...I think.21:39
mhall119that's not my forte :)21:40
qenghomhall119: You just gotta compile it on your own. :)21:40
mhall119that's also not my forte :)21:40
qenghomhall119: You just gotta complain to zyga until he cracks.21:41
qenghomhall119: I have two packages that use it. Fine on a snappy core box.21:42
qenghomhall119: "sshesame" and "tor-middle-relay" in candidate channels.21:42
qenghomhall119: http://bazaar.launchpad.net/~privacy-squad/+junk/sshesame-snap/view/head:/snapcraft.yaml#L1821:44
mhall119not complaining to zyga, that's something I'm good at21:47
mhall119s/not/now/21:47
CountryfiedLinuxhowdy22:20
CountryfiedLinuxWill there be a time when an Ubuntu install is all snappy packages by default?22:21
CountryfiedLinuxRight now it's up to the user to figure out which packages have snaps. It would be nice for there to at least be a snappy edition.22:21
qenghoCountryfiedLinux: Not in foreseeable future. Some things may transition to snapps altogether, like maybe libreoffice. But there will be deb for a long long time.22:22
qenghoSome deb could be transitional empty packages that install snaps, but others will be deb "forever".22:23
CountryfiedLinuxqengho, Perhaps someone will take the initiative of making a Snappy edition with a graphical Snappy Store. Maybe :)22:24

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