/srv/irclogs.ubuntu.com/2014/09/03/#ubuntu-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
pittiGood morning03:27
dholbachgood morning06:52
didrocksgood morning dholbach06:57
dholbachsalut didrocks07:08
dholbachdidrocks, how was the response so far? :)07:09
didrocksdholbach: excellent! and more than positive overall, so great to see that!07:09
dholbach:-D07:09
seb128didrocks, nice to read that!07:11
pittistgraber: I'd appreciate if you could take a look at bug 1362224 -- that seems to break cloning and juju-local pretty thoroughly?07:13
ubottubug 1362224 in lxc (Ubuntu) "lxc-clone does not randomize MAC address - juju-local machines have same IPs" [High,Confirmed] https://launchpad.net/bugs/136222407:13
=== wendar_ is now known as wendar
zbenjamincjwatson: ping, is there some API i can use to find out the writeable location of a specific app or scope ? I could use a way to find this out from the SDK launcher07:42
mardyLaney: hi! About bug 1029289, I'd like to have the fix backported to trusty as well. Should I prepare a branch of eds 3.10.4 containing the backported fix?08:05
ubottubug 1029289 in Online Accounts: Account plugins "Need to authorize my google account each time I boot the computer" [Critical,In progress] https://launchpad.net/bugs/102928908:05
seb128mardy, laney is on holidays08:06
seb128mardy, but yeah, having an update on top of 3.10.4-0ubuntu1.2 would be the way to go there08:07
mardyseb128: OK, I'll try to prepare it08:16
seb128mardy, thanks08:16
=== gusnan_ is now known as gusnan
zbenjaminjdstrand: ping, do you know if there is any API to query app writeable locations i can use from the SDK launcher? I need a shared directory so i can communicate with the app08:41
zbenjaminjdstrand: same is required for scopes08:41
=== tkamppeter_ is now known as tkamppeter
pittiwgrant: to confirm, is the RTM langpack export cron'ed now?09:23
wgrantpitti: Yup.09:39
pittiwgrant: thanks! adjusting work items in https://blueprints.launchpad.net/ubuntu/+spec/qa-u-spanish-translations accordingly09:40
pitti[wgrant] Confirm that message sharing between Ubuntu and this distro will work: TODO09:41
pittiwgrant: there's still that one, FTR09:41
wgrantOh, forgot about the blueprint.09:41
wgrantpitti: That all works fine, but let me know if anything seems off.09:43
wgrantWe're on lightly tested ground here.09:43
pittiwgrant: ack, thanks; if it works in principle (i. e. stuff has translations with by and large the same numbers than ubuntu), it's fine09:44
rbasakinfinity: are you available to talk about bug 1359349 please?09:57
ubottubug 1359349 in mysql-5.6 (Ubuntu) "FFe: make mysql 5.6 default mysql-server" [Undecided,Triaged] https://launchpad.net/bugs/135934909:57
rbasakAIUI, you had some concern about the upgrade/transition path?09:58
Saviqxnox, hey, can I bug you about a x-building conundrum?10:02
dokoScottK, please check packages before blindly removing them:  lp: #6107581 this is a normal ftbfs, and afaics has nothing to do with clang.10:07
ubottuError: Launchpad bug 6107581 could not be found10:07
dokobug #134625210:08
ubottubug 1346252 in dune-grid (Ubuntu) "RM bin dune-grid/ppc64el only, build-depends on missing clang/llvm" [Medium,Fix released] https://launchpad.net/bugs/134625210:08
dokoxnox, no idea why you filed this one ...10:08
ScottKdoko: ansgar asked me to remove it.  The documentation may have been off, but it wasn't blind.10:19
Saviqdoko, maybe you'll be able to help, libqtdbusmock is a library execing python, it depends on python-dbusmock, too, the problem for x-building is that it tries to pull in build arch python-dbusmock instead of host arch, how should this be solved?10:20
=== jamesh_ is now known as jamesh
pete-woodsxnox: hi. do you have any time to help me with this cross-build issue I have received? https://bugs.launchpad.net/ubuntu/+source/libqtdbusmock/+bug/136484210:40
ubottuLaunchpad bug 1364842 in libqtdbusmock (Ubuntu) "Unable to install in an armhf chroot" [Undecided,New]10:40
pete-woodsbasically libqtdbusmock is a wrapper around the python-dbusmock library10:40
pete-woodsit doesn't link it it, just execs as a module10:40
pete-woodsbut it seems that the ubuntu-system-settings app won't cross compile due to a dependency on libqtdbusmock now10:41
pete-woodsha10:43
pete-woodshadn't realised Saviq was just asking the same thing!10:43
pittidarkxst: FYI, I just synced https://launchpad.net/ubuntu/+source/systemd-shim/7-2 -- so you now merely need to rebuild that in your PPA against/for systemd 21410:44
=== MacSlow is now known as MacSlow|lunch
darkxstpitti, great!10:55
=== ubott2 is now known as ubottu
rbasakdidrocks: http://blog.didrocks.fr/post/Ubuntu-loves-Developers returns Content-Type: application/octet-stream and Firefox wants me to save a download file :-/11:18
rbasakServer: cloudflare-nginx11:19
didrocksrbasak: interesting, I don't have that with my Firefox, let me try something11:22
didrocksrbasak: mind trying again?11:22
didrocksI wonder if it's static htlm page + cloudflare doing this11:23
didrockshtml*11:23
didrocks(sorry, can't really test in the same condition as my ISP doesn't allow self-dns redirection as my IP == server IP)11:24
rbasakdidrocks: working now11:26
didrocksrbasak: ok, mind trying with http://79.94.243.69/post/Ubuntu-loves-Developers ?11:26
didrocks(bypassing cloudflare + static html page)11:26
rbasakdidrocks: that also works in Firefox. Using wget, I no longer see a Content-Type header at all.11:27
didrocksrbasak: yeah, so it's cloudflare + static html page, thanks! that gives me a hint from where to start my investigation :)11:28
rbasakdidrocks: ah, so cloudflare turns the no-content-type into a content-type=octet-stream?11:28
didrocksrbasak: that's my guess11:28
rbasakThat seems a bit wrong to me.11:29
didrocksit clearly is :)11:29
=== MacSlow|lunch is now known as MacSlow
mdeslaurxnox: happy birthday :)11:46
jdstrandzbenjamin: there is not yet an api to query for a writable area, though, there will be. however, the writable areas are very predictable: http://developer.ubuntu.com/apps/platform/guides/app-confinement/11:48
jdstrandzbenjamin: (see Runtime Environment)11:48
jdstrandzbenjamin: scopes are similar: https://wiki.ubuntu.com/SecurityTeam/Specifications/ScopesConfinement11:49
zbenjaminjdstrand: i saw that document, my only concern is that they might change11:51
jdstrandzbenjamin: pick the ones in .local/share/...11:51
zbenjaminjdstrand: can i somehow query if a app/scope is running in confinement or not?11:51
zbenjaminjdstrand: or going to be run in confinement, i think for the app there is some env var defined that specifies that11:53
jdstrandzbenjamin: the paths won't change any time soon (we follow XDG basedirs to be predictable)11:55
jdstrandzbenjamin: you have everything you need in the sdk to know if it will be confined11:56
jdstrandzbenjamin: if it is not click, then it won't be confined. if it is click, check the apparmor template. if it is not 'unconfined', it is confined11:56
zbenjaminjdstrand: awesome thx11:56
zbenjaminjdstrand: same for scopes i gues11:57
zbenjamins11:57
didrocksrbasak: ok, that should be fixed now (played with my htaccess to force the content type if the file is set)11:57
didrocksrbasak: I used a static html file yesterday after popey tried to DDOS me when tweeting :)11:58
popeylolz11:58
jdstrandzbenjamin: yes. so, for apps, use the ~/.local/share/<'name from click manifest'>11:58
zbenjaminjdstrand: i'm going to put files and named pipes the helper script has to read and write into those locations , so we do not need to have access to /tmp anymore, but only the supported directories11:59
zbenjaminjdstrand: ok11:59
jdstrandzbenjamin: for scopes, if it uses the 'ubuntu-scope-network' apparmor template, use ~/.local/share/unity-scopes/leaf-net/<name in click manifest>12:00
ogra_xnox, happy birthday !!12:00
jdstrandzbenjamin: for scopes, if it uses the 'unconfined' template, use ~/.local/share/unity-scopes/unconfined/<name in click manifest>12:01
jdstrandzbenjamin: that sounds great12:01
rbasakdidrocks: :)12:02
didrocksthanks again for the notice :)12:02
rbasakdidrocks: I use a static generator for my blog now, just so I don't have to care.12:02
rbasakNo problem.12:02
zbenjaminjdstrand: so we have real confinement in case when gdbserver is not attached (no debug policy needed), and when gdbserver is attached we can cut some more privileges from the debug policy12:05
jdstrandcool12:06
jdstrand(we could remove the user-tmp abstraction)12:06
zbenjaminjdstrand:  :)12:08
=== d1b_ is now known as d1b
vaki use  "apt-get source --compile" to compile a huge package. Is it possible to pass "-j N" option to the underlying make utility calls?12:27
rbasakvak: the standard that Debian source packages follow is to heed the environment setting DEB_BUILD_OPTIONS="parallel=N"12:37
rbasakvak: I'm not sure if apt-get source --compile passes that through or not, but you could try it.12:37
rbasakvak: paying attention to that environment setting is up to the source package though. Helpers like debhelper support it by default, unless the packager is doing something custom.12:38
vakrbasak: thank you! will the compilation continue from its interrupted place if i CTRL-C it ?12:38
rbasakvak: no idea about apt-get source --compile; I don't use that. Usually you can resume a build if you're managing it manually only.12:39
rbasakSo I'd say probably not, at a guess.12:39
vakwell... not sure what you mean, because the package isn't my, and the compilation i started as 'apt-get source --compile this_damn_huge_package'12:40
vaki see ))12:40
vakgotta wait then ((12:40
dokojamespage, why is bug #1353729 a blocker? there is a workaround. the real blocker for mysql-5.6 are the failing autopkg tests, now known for months and still unfixed ...12:55
ubottubug 1353729 in gcc-4.9 (Ubuntu) "[4.9 Regression] ICE in final_scan_insn, at final.c:2952 (aarch64-linux-gnu)" [Medium,Confirmed] https://launchpad.net/bugs/135372912:55
jamespagedoko, that's not what's blocking transition - rbasak is working on the autopkgtests12:59
jamespagedoko, what's the workaround - must have missed it12:59
dokojamespage, "works with -O1", so just build this file with lowered optimization13:04
vakrbasak: 1)the DEB_BUILD_OPTIONS is respected! 2) the compilations starts from scratch13:07
mardyseb128: hi! About bug 1029289, I created a branch (lined to the bug), tested it in a ppa (ppa:mardy/daily) and updated the bug description to make it ready for the SRU13:44
ubottubug 1029289 in Online Accounts: Account plugins "Need to authorize my google account each time I boot the computer" [Critical,In progress] https://launchpad.net/bugs/102928913:44
seb128mardy, thanks, did you subscribe ubuntu-sponsors to the bug?13:48
mardyseb128: no, I was trying to get someone from #ubuntu-bugs; I'll follow your advice, though13:49
seb128k13:49
LazzaHello everyone13:56
mptmvo, hi, update-manager just opened while I was in the middle of an apt-get upgrade. That isn’t supposed to happen. Any extra logs that might be useful for the bug report?14:18
mvompt: it used to check with the ubuntu-system-service, but http://bazaar.launchpad.net/~ubuntu-core-dev/update-notifier/ubuntu/revision/788 changed this - but the change happend a long time ago. is this utopic or trusty?14:25
kenvandinebigon, i have a request related tot he folks package14:25
kenvandinebigon, i'm looking at splitting the dummy and key-file backends out of the lib package into a separate binary, so they don't get loaded everything it's used14:25
mvompt: if the upgrade is still running, could you run pkgexec /usr/lib/update-notifier/package-system-locked and see what that outputs?14:26
kenvandines/everything/everytime14:26
kenvandinebigon, i think they are only used by tests14:26
mptmvo, it’s 14.0414:26
mptmvo, assuming you meant pkexec: “/var/lib/dpkg/lock:  22676”14:29
mvompt: ups, pkexec indeed . and echo $? - do you see "2" there?14:29
mptmvo, yes14:30
mvohm, those are the correct values, it should not have started it :/14:31
mptOk, just using ubuntu-bug then14:35
bigonkenvandine: hey, the key-file is used if eds is not running I think14:35
bigonthe dummy one I'm not too sure14:35
kenvandinewe noticed it with the address-book-service, which only needs eds14:36
kenvandinebigon, bug 136454814:36
ubottubug 1364548 in folks (Ubuntu) "Avoid install devloper backends with main folks package" [Medium,Triaged] https://launchpad.net/bugs/136454814:36
kenvandinebigon, i have a branch that moves them both to a libfolks-misc25 package14:36
kenvandinebigon, what do you think of that?14:37
dokojamespage, 5.5.39-0ubuntu3 re-introduces the autopkg test failures14:37
dokomlankhorst, what is the mesa/llvm status? time to update mesa?14:41
jamespagedoko, I look again14:42
* jamespage siggs14:42
bigonkenvandine: maybe this should be discussed with the other telepathy folks14:42
bigonare you on #telepathy?14:43
kenvandinewow... i'm not anymore :)14:43
mlankhorstdoko: still waiting for someone to ack the MRE's14:43
dokomlankhorst, ok, commented14:46
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
shadeslayerpitti: poke15:06
pittihello shadeslayer15:08
shadeslayerpitti: hey, so I'm sort of seeing this https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1359439 on the kubuntu-plasma5 ISO15:08
ubottuLaunchpad bug 1359439 in systemd-shim (Ubuntu) "[ 7.287663] systemd-logind[1057]: Failed to start unit user@126.service: Unknown unit: user@126.service" [Undecided,Triaged]15:09
pittiyep, known issue; I think that hallyn is working on that15:09
shadeslayerpitti: trying to get to the live session from ubiquity-dm just relaunches ubiquity-dm15:09
shadeslayerhttp://paste.ubuntu.com/8224229/15:09
shadeslayerpitti: ok, but can someone check if it's the same issue?15:09
shadeslayerI /think/ it's the same issue, but would be nice to get confirmation15:09
shadeslayerthat paste is the ubiquity-dm debug log15:10
shadeslayerhttp://paste.ubuntu.com/8224245 is the dmesg log15:12
zbenjaminjdstrand: i could use some more help with this. On the launcher side i can just install the click package and inspect the apparmor file to know if the app will run in confinement. But in confinement. how does a process know if its confined or not?15:14
zbenjaminjdstrand: my small helper script that sets up the env inside needs to know that15:14
pittimost certainly not; that shim error is mostly cosmetical (or sohuld be)15:16
pittishadeslayer: that QXcbConnection: XCB error, is that the cause or consequence of the crash?15:17
shadeslayerpitti: I /think/ that's comes from ubiquity-dm and has nothing to do with the login process15:18
shadeslayerpitti: mmmm15:23
shadeslayerpitti: [   93.207654] kactivitymanage[4339]: segfault at 7f06c56bf9c8 ip 00007f06ced5f4bd sp 00007fff471f7958 error 4 in libQt5Core.so.5.3.0[7f06cea60000+516000]15:23
shadeslayerthat looks bad15:23
pittishadeslayer: sorry, gotta run now; but seems you found something there?15:24
shadeslayeryep15:24
shadeslayerI'll have a look15:24
shadeslayerpitti: thx for your help15:24
jdstrandzbenjamin: so, there are two ways: look in /proc/self/attr/current and see the label the process. the UBUNTU_APPLICATION_ISOLATION env var is also set, but I think possibly only for apps15:32
jdstrandzbenjamin: however, there is an issue-- apps that use the 'unconfined' template apparmor template in the security manifest end up with an apparmor label that is not 'unconfined'15:32
zbenjaminjdstrand: ok, the UBUNTU_APPLICATION_ISOLATION is not set for scopes , that was my first hope ;)15:33
jdstrandso the test is imperfect in that instance15:34
jdstrandscopes actually try to readdir ~/.local/share/unity-scopes/unconfined/ to see if they are unconfined15:34
jdstrandan app could try to readdir ~/.local/share15:35
jdstrandthat isn't ideal, I realize15:35
jdstrandan app could check UBUNTU_APPLICATION_ISOLATION=1, and if it is, look in its security manifest to see if it is using the unconfined template15:36
jdstrandit will be better once we have the query api in place15:38
zbenjaminhm but the app or scope will not know the name of the apparmor file :/15:38
zbenjaminjdstrand: we are just supporting click packaged apps for now15:39
jdstrandtbh, this isn't a use case that was part of the design-- we figured the app developer would know whether s/he chose to use an unconfined template15:39
jdstrandwhy does the app need to kinow if it is confined for your use case?15:40
jdstrandactually, the query api doesn't solve this-- you still have to ask it if a particular path is readable or writable (though it would be much cleaner than doing a readdir and checking the return code)15:41
zbenjaminjdstrand: not the app, we use a generic helper script to setup the debugging environment (inject gdbserver, redirect stderr and stdout to pipes) , the config file for that has to be in a location it can read, and it of course needs to know where to look at15:42
tseliotxnox: hi, I'm wondering what was the use case of adding support for scaling the plymouth theme for LP: #129245815:42
ubottuLaunchpad bug 1292458 in plymouth (Ubuntu) "[FFe] a bunch of updates to plymouth" [Undecided,Fix released] https://launchpad.net/bugs/129245815:42
tseliot*for15:42
zbenjaminjdstrand: the helper script runs, sets up what we need, and then replaces itself with the app or scope using execv15:43
jdstrandzbenjamin: I suggest this: write a small library function, eg is_confined(). have it do a readdir on $HOME. if it fails, return 0, if it succeeds, return 1. when the query api is available, you can change is_confined() to use the query api15:43
zbenjaminjdstrand: awesome :) sounds good enough for me15:44
jdstrandzbenjamin: this is to be used with the debug policy group?15:44
zbenjaminjdstrand: the goal is to make this work without the debug policy group and only use it when debugging c++ or qml (release mode vs debug mode)15:46
zbenjaminjdstrand: but with the debug policy group i can read /home right, so my library call will fail15:46
jdstrandzbenjamin: that is what I was getting at, yes15:46
jdstrandthe bash abstraction which is #included in the debug policy group has: @{HOMEDIRS}                      r,15:47
jdstrandso, let's use ${HOME}/.local/share15:47
zbenjaminjdstrand: that is harder than i thought ;)15:47
jdstrandthat should work fine. click user hooks do stuff in ~/.local/share/click so ~/.local/share is guaranteed to exist if you install a click15:49
jdstrandif we need to change the path at some point, we can15:49
Saviqmardy, hey, found an interesting bug in OA as trusted prompts... if I go "Cancel" in the U1 setup, I get the same UI as a standalone app...15:53
Saviqmardy, one reason seems to be that it has the --desktop_file_hint still, which it shouldn't any more15:54
Saviqmardy, the other seems to be that it respawns it15:54
=== PaulW2U_ is now known as PaulW2U
=== Adri2000_ is now known as Guest60909
=== nik90__ is now known as nik90_
=== Trevinho_ is now known as Trevinho
=== ming is now known as Guest50512
=== psivaa_ is now known as psivaa
=== broder_ is now known as broder
=== LFaraone_ is now known as LFaraone
=== davmor2_ is now known as davmor2
alexbligh1possibly a stupid question, but what is the cleanest way for a package to get its own version number either at build time (I can copy it to an installed file) or in the postinst script?16:16
infinityrbasak: I'm around now.16:16
rbasakinfinity: on a call. I will ping when done.16:16
infinityrbasak: Alrighty.16:17
=== popey_ is now known as popey
cjwatsonalexbligh1: grub2/debian/rules:deb_version          := $(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p")16:22
cjwatsonor anything roughly similar16:22
cjwatsonalexbligh1: in fact, since dpkg 1.17.0, you can use $(shell dpkg-parsechangelog -SVersion)16:22
cjwatsonI should convert my packages to that16:22
alexbligh1cjwatson, ah that's neater. I was using dpkg-gencontrol -O, which is yucky.16:23
alexbligh1thx16:23
=== kees_ is now known as kees
rbasakinfinity: ping16:41
=== sil2100_ is now known as sil2100
infinityrbasak: Hai.16:43
rbasakSo this thing.16:45
rbasakI found that if I dist-upgrade to my prepared packaging (in my PPA), then apt-get seems to resolve the upgrade to removing mysql-server.16:45
rbasakAnd not installing mysql-server-5.6.16:45
rbasakI can force it by asking for a newer mysql-server.16:45
rbasakI didn't really see a way round this. A similiar thing must have happened during 5.1->5.5 but I don't see exactly what.16:46
rbasakHowever, AFAICT, if apt-get has no visibility of mysql-5.5 generated binary packages, then it is happy to upgrade mysql-server and install mysql-server-5.6 to resolve the situation, which is what we want.16:46
infinityrbasak: So, this will happen if the resolver thinks the 5.5->5.6 upgrade will remove more packages than just removing mysql-server would do.16:46
rbasakSo, for a one off, it seemed easier to do it that way. But if you can tell me what I should be doing instead, that's fine too.16:46
rbasakI thought it was something like that.16:47
rbasakThe catch is that we have multiple binary 5.5 packages that should be removed and replaced with different name 5.6 ones.16:47
infinityThis may be a subtle badness in how conflicts are forcing things off, or similar?16:47
rbasakmysql-server-5.5, mysql-server-core-5.5 off the top of my head.16:47
rbasakThose would be removed, and 5.6 equivalents would be installed.16:47
infinityIf it's a 1:1 swap, that shouldn't be an issue.  If the dpkg relationships are right.16:47
rbasakRemoving mysql-server is removing just one package, right?16:48
rbasakAnd the upgrade involves removing at least two 5.5 server packages.16:48
rbasakAnd I do want those two removed.16:49
rbasakSo surely whatever I do, apt-get will favour removing one package over removing two packages?16:49
rbasakAnd then once mysql-server is removed, there's nothing to pull in 5.6 even after 5.5 disappears.16:50
infinityrbasak: You mean upgrading removes 2 net packages?16:53
infinityrbasak: (ie: install 4, remove 6?)16:53
rbasakI'm not sure. Let me check.16:54
infinityrbasak: If so, you can hint apt to DTRT with decent abuse of C/R pairs.  But I'd have to see the specifics to know what's up.16:54
=== seb128_ is now known as seb128
* rbasak digs16:57
rbasakinfinity: it involves installing 5 and removing 4.17:02
rbasakdist-upgrade wants to remove mysql-server, in total removing 2, installing 1 and upgrading 2.17:03
rbasakTo be complete, for the upgrade it wants to remove 4, install 5 and upgrade 1.17:04
infinityrbasak: Okay, so it sounds like this is something that package relationships might be able to get slightly more right.17:04
infinityrbasak: Fundamentally, though, unless you stage your entire transition in a devirt PPA and sync it all at once, we can't do what you're asking for (process NBS before you do the transition), as that breaks the archive.17:05
rbasakI was asking to process NBS after the new binaries arrive, but before a publisher run.17:06
rbasak(I know that's unusual, but I couldn't see any other way out)17:06
rbasakCan you help me with the package relationships please? It's not clear to me what I'm looking for.17:06
=== roadmr is now known as roadmr_afk
=== bigon_ is now known as bigon
rbasakThinking about it deeper I can understand how what I was asking for may well be impossible.17:08
infinityrbasak: Asking me to process NBS after you upload is "before the transition".17:09
infinityrbasak: As things will still depend on the old binaries, and become uninstallable.17:09
rbasakOK17:09
infinityrbasak: Unless there's no new libmysqlclient this time?  That simplifies things a lot.17:10
rbasaklibmysqlclient18 stays and with the same soname. I've just switched it from being built from src:mysql-5.5 to it being built from src:mysql-5.6. So apt-get sees a packaging version bump but nothing else.17:10
* rbasak hopes he checked the other reverse deps, but it was a while ago.17:11
zbenjaminjdstrand: so i can write anywhere in ~/.local/share ? or in ~/.local/share/packagename17:11
infinityrbasak: So, for package relationships, the key to apt's view of the world WRT "violent removal" versus "polite removal" is that the polite option needs a Conflict/Replace pair hint, not just a conflict.  If you have a bunch of conflicts, then it assumes all conflicting packages are "equal", and picks the path of least damage.17:11
infinityrbasak: If one package C/R another, however, it will get a precedence in the preference weights for the purpose of an upgrade calculation.17:12
rbasakI think I've got mostly B/R rather than C/R, but I do seem to have an R in most things, unless I missed something.17:12
infinityrbasak: B/R means something entirely different.17:13
infinityrbasak: B/R means "I overwrite some files from this other thing", C/R means "when I'm installed, this other packages needs to go away".17:13
infinityrbasak: mysql-5.5 and mysql-5.6 shouldn't break each other (unless, in some version combo, they're coinstallable), they should conflict.17:14
infinityrbasak: Another way to think about it is that if it's no versioned (and can't be), breaks was probably wrong, and the logical inverse, if you can version it, conflicts is probably wrong.17:15
rbasakinfinity: OK, thanks. I thought Breaks was enough (and I think I inherited this from the original 5.6 packaging). I didn't realise it affected apt's resolution.17:17
infinityrbasak: Right, so.  A policy re-read might be in order.  Or some nuanced education. ;)17:17
rbasakI have it up and have been re-reading :)17:18
rbasakWith your explanation I can see how I can interpret policy in the way that you say.17:18
rbasakI'm not sure it's obvious from just reading it though.17:18
infinityrbasak: Conflicts means "these two packages can't be installed together".  Breaks means "deconfigure A to install B".  Replaces means "overwrites some files".  B/R means "deconfigure and replace some files" (the best way to replace files, as it won't let you undo the process and lose files mysteriously), C/R means "can't install together and, furthermore, prefer this package always".17:19
Saviqseb128, hey, I think you've been through this before... is there a script for moving all bugs from project to ubuntu/project?17:19
infinityrbasak: In the case of two packages that should never coexist, Conflicts is always right.  When one should take precedence over another (ie: a version takeover, or a change or upstreams, etc), the "good" one should C/R instead of just C.17:20
rbasakOK, got it.17:20
rbasakSo if I change the relevant (I think probably all, but will check) Breaks to Conflicts, apt should do the right thing.17:20
rbasakI'm >EOD now, so I'll try this tomorrow. Thank you.17:21
rbasak(and also noted that it's more correct to use Conflicts here, so I'll do that)17:21
infinityrbasak: One could make some very solid arguments for how all of these states should be different relationships instead of mysterious magic pairs, but it's what we've got to deal with today. :P17:21
rbasak:)17:21
rbasakI think I was just reading from a point of view that breaks is less invasive (in general, I see now it's probably not relevant here) and from what I read in policy that breaks would do, so I didn't consider it an issue.17:22
rbasakI didn't realise that it also affected apt's resolution.17:22
rbasakAnyway, I get it now. Thanks.17:22
infinityrbasak: It's possible that even with policy-compliant relationships, the upgrade won't do what you want.  If that end up being the case, point me at your work, and I'll argue with the tools (and mvo) instead of you. :)17:24
shadeslayercan someone help me with a weird build failiure that I absolutely do not get17:26
shadeslayerhttps://launchpadlibrarian.net/183945400/buildlog_ubuntu-trusty-i386.firefox_32.0%2Bbuild1-0ubuntu0.14.04.2~ppa1~trusty1_FAILEDTOBUILD.txt.gz17:26
shadeslayerit only happens on i386 on Trusty17:26
shadeslayerhttps://launchpad.net/~rohangarg/+archive/ubuntu/firefox/+sourcepub/4389166/+listing-archive-extra17:28
sarnoldshadeslayer: on a first guess, it looks like the headers may not be protecting themselves against multiple inclusion with the usual #ifndef mangled_header_name #define mangled_header_name .... #endif   trick17:29
shadeslayerthey are not17:29
shadeslayersarnold: how would that affect amd64 btw?17:29
sarnoldsome projects don't do that, instead they manage their dependencies to avoid it.. dunno what firefox does..17:30
shadeslayeror for that matter, precise built fine on i386 and amd64, same patches17:30
sarnoldshadeslayer: d'oh, I forgot that bit :(17:30
LocutusOfBorg1https://launchpadlibrarian.net/183614592/buildlog_ubuntu-trusty-i386.firefox_32.0%2Bbuild1-0ubuntu0.14.04.1_UPLOADING.txt.gz17:30
LocutusOfBorg1seems that the official build succeeded17:30
shadeslayerLocutusOfBorg1: yes, this is specific to 2 patches that I add17:30
infinityLocutusOfBorg1: Yeah, the official build lacks the KDE patches that are causing the issue. :)17:30
LocutusOfBorg1but cris reported a similar build failure https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/134833317:30
ubottuLaunchpad bug 1348333 in firefox (Ubuntu) "Firefox 32 fails to build on Trusty x86 only" [Critical,Triaged]17:30
shadeslayernah, looks like a different thing17:31
LocutusOfBorg1ah ok there is a delta :)17:31
shadeslayerLocutusOfBorg1: yeah :)17:31
shadeslayerLocutusOfBorg1: specifically these patches : http://www.rosenauer.org/hg/mozilla/file/e4fa9844604e/mozilla-kde.patch & http://www.rosenauer.org/hg/mozilla/file/e4fa9844604e/firefox-kde.patch17:32
LocutusOfBorg1mozilla-kde.patch17:33
LocutusOfBorg1firefox-kde.patch17:33
LocutusOfBorg1yes, I was already looking at them lol17:33
shadeslayer:)17:33
infinityshadeslayer: Anyhow, I'd say the class redefinition error is pretty clear.  Why it's only happening on one arch could be any number of things, but maybe that header is conditionally included, or the class conditionally defined, etc.17:34
shadeslayerthat would be very weird17:34
infinityHave you read the mozilla codebase?17:35
infinityWeird doesn't begin to describe it.17:35
jdstrandzbenjamin: if confined, you can neither read nor write to ~/.local/share/, which is why I was saying do (the equivalent of) a readdir()17:35
shadeslayerinfinity: I have17:35
shadeslayerinfinity: unfortunately, you're right :(17:35
jdstrandzbenjamin: if confined, you can write to ~/.local/share/<name for click manifest>17:35
jdstrand~/.local/share/<name from click manifest/*17:35
jdstrandzbenjamin: ^ (and  ~/.local/share/<name from click manifest/ itself)17:36
LocutusOfBorg1shadeslayer, mozilla-kde.patch17:36
LocutusOfBorg1+++ b/uriloader/exthandler/unix/nsCommonRegistry.h17:36
LocutusOfBorg1there is no #ifdef guard17:37
shadeslayeryeah17:37
shadeslayerI think adding ifdef guards is the best way forward here17:37
LocutusOfBorg1+++ b/uriloader/exthandler/unix/nsCommonRegistry.h17:37
sarnoldshadeslayer: hmmm, http://www.rosenauer.org/hg/mozilla/file/e4fa9844604e/mozilla-kde.patch#l257917:37
LocutusOfBorg1also in nsKDERegistry17:38
shadeslayersarnold: that's utils17:38
sarnoldthis one is missing though http://www.rosenauer.org/hg/mozilla/file/e4fa9844604e/mozilla-kde.patch#l284217:38
shadeslayernot registry17:38
sarnoldshadeslayer: ahh d'oh17:38
LocutusOfBorg1I think I found it17:39
LocutusOfBorg1+++ b/uriloader/exthandler/unix/nsKDERegistry.cpp17:39
LocutusOfBorg1there is one +#include "nsKDERegistry.h"17:39
LocutusOfBorg1also done here17:40
LocutusOfBorg1+++ b/uriloader/exthandler/unix/nsCommonRegistry.cpp17:40
LocutusOfBorg1and the last one includes nsKDERegistry.h17:40
LocutusOfBorg1so it might be repeated here since there is no guard17:40
LocutusOfBorg1also nsMIMEInfoUnix.cpp includes it17:40
shadeslayershouldn't that be fine btw?17:44
shadeslayeror well, it looks fine to me17:44
* shadeslayer thinks it's a issue with the generated CPP file17:45
shadeslayerwhich probably has arch dependent includes and what not17:45
sarnoldjust fix up the includes to properly handle multiple inclusions17:48
shadeslayersarnold: yeah17:49
shadeslayerthat's what I'm doing17:50
sarnoldshadeslayer: if you figure out why it only errors on x86 and not amd64, I'd be interested to know why :)17:50
sarnoldshadeslayer: but if you just get it fixed that'd make sense, hehe17:50
shadeslayersarnold: heh ok, I'll have to do a local build probably17:50
shadeslayerif I have time, I'll look into it17:52
hallynpitti: stgraber: slangasek: tedg: so I do have a concern actually about the upstart-cgroup-phone thing.18:22
hallynI was going to make Abandon mean that we set the cgorup remove-on-empty and try to delete it.  But I guess that actually doesn't work for upstart18:23
hallynbc if the upstart job has a task still in the cgroup, then we can still have the same race.18:23
hallyn(alas jodh is gone)18:23
hallynthe question is can that ever happen - that an upstart job says 'pre-start' or 'start script' is done, but there are stlil tasks running thta are descendents of that job?18:23
tedgCouldn't it just set it to remove-on-empty and just make it Upstart's job to remove the PIDs?18:23
hallynthat's not the problem18:24
hallynI have StopUnit to kill the tasks, I'm happy with that18:24
hallynbut by default we use Abandon.  So if a task remains in the upstart job's cgroup, then it could still exit - causing autoremove of the cgroup - after the post-stop has created the cgroup but before it exec'd the tasks18:24
hallynso, until i hear from jodh (or someone else) that upstart wlil ensure that all job tasks are done at the end of pre-start etc,18:25
hallyni wont set remove-on-empty18:25
hallyni'll just delete, and if it wasn't empty, well, it won't be removed.18:25
tedgFor the UAL case (which is the one I care about) we try and ensure that all the processes are removed.18:26
tedgI'd honestly rather just be able to set a flag that says if PIDs are left, kill them.18:26
hallynok, then i will do the remove-on-empty.  if you end up having trouble after al, then we can remove it18:26
tedgSo it would call RemoveUnit at the end of the instance.18:26
hallynwell you have htat 'flag', only systemwide18:26
hallyn(KillUserProcesses in /etc/systemd/logind.conf)18:27
=== roadmr_afk is now known as roadmr
=== chiluk` is now known as chiluk
hallyndesrt_: so using /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service we can register Name=org.freedesktop.systemd1 as a path for which we are started when there is activity.  can we do the same at runtime (only until reboot)?18:50
seb128Saviq, bdmurray has something for that iirc18:58
Saviqseb128, almost got there myself, thanks :)19:01
=== Guest91506 is now known as NCommander
=== NCommander is now known as Guest86602
bdmurraypitti: do you have any ideas about bug 1365079?19:35
ubottubug 1365079 in apport (Ubuntu) "apport should gather package information about click packages" [Undecided,New] https://launchpad.net/bugs/136507919:35
bdmurraypitti: I'm not positive how to proceed.19:42
=== salem_ is now known as _salem
=== desrt_ is now known as desrt
dokocjwatson, looking at the coreutils autopkg test failures. there are now a lot more, and I don't know if just disabling these is the right thing to do. It might be better to build a coreutils-test package including the config.h and test binaries like getlimits and ginstall21:42
catbus1Hi, I don't see Ubuntu 14.04.2 release date on https://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule, is there a plan to update this page with the upcoming point release schedule info?23:19

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