/srv/irclogs.ubuntu.com/2015/07/21/#ubuntu-devel.txt

robert_ancellinfinity, heh00:37
=== tvoss|afk is now known as tvoss
=== _ is now known as Guest13594
rbasakdoko: reading your email I'm not sure I follow what you want me to do wrt. regular uploads. Are you saying to hold back on them, or upload them to the landing PPA instead?07:51
dokorbasak, your choice. however not everything can go straight into the archive (e.g. symbol file changes), so this has to go to the silo, and then you have to keep track of the archive and the ppa for follow-up uploads08:00
dholbachgood morning08:04
seb128hum, no barry around08:21
seb128doko, slangasek, do you know if https://launchpad.net/ubuntu/+source/python3-defaults/3.4.3-4ubuntu1 is buggy?08:21
seb128it's in wily-proposed and seems to pull python3.5 in and create build issues08:22
seb128e.g https://launchpadlibrarian.net/212160353/buildlog_ubuntu-wily-amd64.ubuntu-make_0.9_BUILDING.txt.gz08:22
seb128does it mean that python3.5 transition is actually started in wily?08:22
dokoseb128, welcome to the barry show. he choose to add it to supported and then go to vacation for two weeks08:23
didrocksdoko: debian/rules is pretty standard, there is nothing forcing to use all python3 versions08:23
seb128should we revert that change?08:23
didrockshttps://github.com/ubuntu/ubuntu-make/blob/master/debian/rules08:23
dokoseb128, well, could you try to build python3-gi?08:25
seb128no change rebuild?08:26
dokoyes08:26
dokoand probably it's dependencies08:26
seb128but then what's next? it means actually starting that transition in the distro?08:26
dokoand maybe set up a transition tracker for it08:26
seb128where barry email stated he wanted to do that in the ppa08:26
seb128well he started in a ppa08:27
seb128we might duplicate work there then08:27
dokothis guy is not a distro guy :-/08:27
dokolooking at this email08:28
dokoseb128, didrocks: could you do the no change upload? I'll try to get some feedback until tonight. and maybe we should set up a transition tracker. is there still an old one available?08:35
dokoLaney, ^^^08:35
seb128doko, well, we could, but as said isn't that effectively starting the transition which is already being prepared in the ppa?08:35
seb128in which case I feel like we might waste work redoing things that have been prepared by barry there08:36
didrocksdoko: I'm unsure I want to start the transition before we know if that was intended, I can just change ubuntu-make to dep on python3 instead of python3-all for now instead08:36
didrocksespecially if we start the transition without being prepared, then, everything will start to be blocked08:37
dokowell, it apparently is intended. and creating the tracker doesn't hurt08:37
dokodidrocks, no, adding a supported python version doesn't block anything08:38
didrocksdoko: well, it did block my package for instance here08:38
dokoI have enough to do with GCC 5 currently08:39
didrocksyeah, so I propose that we don't deal with it, I'm changing my build-dep for now08:41
didrocksand we don't start a transition nobody's present being able to handle08:41
Laneydoko: like this http://bazaar.launchpad.net/~ubuntu-transition-trackers/ubuntu-transition-tracker/configs/view/head:/monitor/old/python3.3-4.ben ?08:49
Laneydidrocks: if you change X-Python3-Versions it builds BTW08:49
Laney: 3.408:49
didrocksLaney: yeah, but I don't want to force on one particular version08:50
didrocksLaney: that's just a hassle with each update08:50
didrocksbetter to only dep on python3 instead of python3-all (see my upload)08:51
Laneywhat does changing the build-dep do?08:51
didrocksonly using the default python308:51
Laneythen you have to do something when it changes default?08:51
dokoLaney, yes, this one. no, has to be -all08:51
didrocksthere is no (for now) C python module built08:51
didrocksLaney: just a rebuild to change the dep08:51
didrocks(a non change rebuild)08:51
Laneydoko: What do you mean by "has to be -all"?08:55
Laneydoko: do you mean in is_affected?08:55
Laneythere's also http://bazaar.launchpad.net/~ubuntu-transition-trackers/ubuntu-transition-tracker/configs/view/head:/monitor/old/python3.4_all_dev.ben08:58
dokoLaney, yes this is the one I want09:02
dokothe first step09:02
Laneydo you want to create a branch that I can merge?09:02
dholbachIf you can: please help with reviewing/sponsoring: http://reqorts.qa.ubuntu.com/reports/sponsoring/10:06
hjdFrom reading https://lists.ubuntu.com/archives/ubuntu-devel/2012-November/036106.html it looks like the armel architecture was removed in raring. So I guess that means that bug 635390 could be resolved as won't fix as suggested in the comment. (The package was removed completely for a couple of releases, and when it was reintroduced in trusty it seems to have built successfully on all architectures)10:20
ubottubug 635390 in crystalspace (Ubuntu) "armel build failure (sync primitives)" [Undecided,Confirmed] https://launchpad.net/bugs/63539010:20
cjwatsonhjd: done10:30
hjdcjwatson: Thanks :)10:32
dokomvo, python-apt is broken with your new apt upload to the landing 16 ppa, please could you have a look?10:52
mdeslaur@pilot in11:22
=== mdeslaur changed the topic of #ubuntu-devel to: Archive: wily open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise -> vivid | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: mdeslaur
roaksoax/win/win 311:33
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
=== alai1-afk is now known as alai1
hallynmbiebl: hi, is 'dh_installinit --no-restart-on-upgrade' supposed to work right with systemd?13:28
hallyn(the lxc systemd script is being called on package reinstall)13:29
hallynstgraber: tyhicks: I think the lxc container shutdown on upgrade is just a systemd bug...13:49
hallyn(or dh_installinit, or whatever is responsible for doing that right)13:49
hallyn(or maybe our systemd script has a line in it overriding the --no-restart-on-upgrade, i have no idea)13:49
hallyn(and pitti's not around :)13:49
=== MacSlow|lunch is now known as MacSlow
=== athairus is now known as afkthairus
=== dpm is now known as dpm-afk
mdeslaur@pilot out15:17
mdeslaurmeh15:17
=== mdeslaur changed the topic of #ubuntu-devel to: Archive: wily open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of precise -> vivid | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
=== cgregan1 is now known as cgregan
=== alai` is now known as alai1
=== ttx` is now known as ttx
zbenjaminxnox: ping15:53
zbenjaminxnox: i heard you worked on upstart ? didrocks thinks you might be able to give some pointers :D15:53
zbenjaminxnox: i try to prototype a preloader to boost application startup time. The problem is the preloaded process does not have the correct PID and Mir rejects my connection15:54
zbenjaminxnox: where would be the right place to hack that?15:54
=== soee_ is now known as soee
xnoxzbenjamin: well. what does preloader do? and how do you invoke it?15:58
xnoxand do you start it via upstart?15:58
xnoxzbenjamin: what's the output of `ps' for all processes -> pastebin.15:59
xnoxzbenjamin: and the output of $ initctl status, for the job/process in question.15:59
xnoxzbenjamin: in practice i bet the problem is that a fork/exec is done, and upstart didn't expect it.16:00
zbenjaminxnox: it works like that:   The applauncherd is a daemon that preforks one process that preinits commonly used libraries and QML components. At the time when i want to start a click app i put :   "/usr/bin/invoker --type=qt5 applicationBinary --arg1 --arg2"  into the desktop file16:01
zbenjaminxnox: the ual then executes the invoker with requests applauncherd to load the application binary into the preloaded process (using dlopen) which then becomed the application16:02
zbenjaminbecomes16:02
zbenjaminxnox: to the PID of the app that connects to Mir is not expected at all16:02
zbenjamins/to/so16:02
zbenjaminso i get ApplicationManager REJECTED connection from app with pid 20469 as it was not launched by upstart, and no desktop_file_hint is specified16:03
zbenjaminxnox: https://github.com/nemomobile/mapplauncherd16:03
xnoxzbenjamin: so pid 20469 is e.g. a pid that applauncherd forked (where e.g. applauncherd is 20468 itself)16:08
zbenjaminxnox: yeah16:09
xnoxzbenjamin: horum. I think you need to (a) somehow communicate to appluancherd who you are (as in which app you are launching, e.g. one way to do that is to pass all environment variables, e.g. UPSTAR_JOB et al)16:10
zbenjaminxnox: invoker forwards all env to the preforked process16:10
xnoxzbenjamin: (b) you will have to do hack up Mir/Application Manager to query applauncherd children in case matches are not found for "normal executed apps"16:11
zbenjaminxnox: hm that sounds doable16:12
xnoxhowever, you'd need jdstrand input on this. Cause it sounds like a massive security hole. Cause e.g. we can trust the upstart view of the world, but not so much dlopened/preloaded untrusted apps that can totally change their own environment and pretend to be somebody else =/16:12
xnoxzbenjamin: what is this desktop_file_hint stuff? surely your post-loaded app should be able to tell mir who it is.16:13
xnoxand/or applauncherd do it in a trusted way.16:14
zbenjaminxnox: this is just for profiling atm. I talked to jdstrand already and in case this would boost application startup significantly we can look at secutiry16:14
zbenjaminxnox: does not work with desktop_file_hint :(  tried that already16:14
xnoxe.g. "yo, mir, i'm applaucherd, this pid will be this thing, until crashes.", "yo, mir, this pid is now nothing", "yo, mir, this pid is now calculator."16:14
zbenjaminxnox: well every app will have a new pid of course16:15
xnoxor possibly invoker will have to do that.16:15
zbenjaminthat can be done yeah16:15
xnoxzbenjamin: right, but there is no mapping. Previously in normal world, we start upstart job instance per app.16:15
xnoxand each job instance has pid and variables describing who it is.16:15
zbenjaminxnox: hmmm, well invoker lives as long as the app16:15
xnoxzbenjamin: then invoker should be proxing calls to mir, no? can it open a socket to mir & pass it to the app?16:16
zbenjaminhm not sure about that16:17
xnoxe.g. poor-mans nc -U ;-)16:17
* ogra_ has seen rich men use nc !16:18
zbenjaminxnox: the question is more, how to get that into Qt16:18
zbenjaminand will it hurt performance16:19
xnoxzbenjamin: code in invoker to open mir socket or whatever it is, and then bind another one for the app. Tell the loaded app to use that socket to talk to mir (i think it is environmental variable controllable) and then join the two - that is "into invoker socker, goes to mir socket" and vice versa.16:19
zbenjaminoh my :D16:19
ogra_always the trivial stuff :)16:20
zbenjaminogra_: yeah thats way too easy ;)16:21
xnoxzbenjamin: well, look into application manager code and how it queries things from upstart or what not. And/or why it rejects things. And e.g. tweak it to always accept things that look like from your prefork daemon.16:21
xnoxor make it query the prefork daemon to validate things.16:21
xnoxzbenjamin: got to go, hope this helps.16:22
xnoxzbenjamin: i always thought we should support upstart to deserialise arbitrary json into it's state machine. then one would be able to forge stuff as one would like, but alas, we only do that for re-exec =(16:22
zbenjaminxnox: :/16:23
zbenjaminxnox: thanks for the hints16:23
zbenjaminxnox: need to run as well, i'll probably ping you again tomorrow ;)16:23
bdmurrayIs there a way for me to rerun the wily-adt-apport test without uploading the package again?17:07
Laneybdmurray: log in on the 'private' link17:09
Laneybdmurray: then click http://d-jenkins.ubuntu-ci:8080/job/wily-adt-apport/ here17:10
Laneyerm, 'build now' there17:10
bdmurrayLaney: got it, thanks17:11
=== dpm-afk is now known as dpm
=== NComman`` is now known as NCommander
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
=== mnepton is now known as mneptok
=== salem_ is now known as _salem

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