/srv/irclogs.ubuntu.com/2014/06/25/#ubuntu-devel.txt

rick111trying ot run empty file setup on codeblocks01:55
rick111anyone know how to do this?  i have to manually set the file paths i guess01:55
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== _salem is now known as salem_
pittiGood morning04:23
=== salem_ is now known as _salem
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
dholbachgood morning07:00
ionthat07:09
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== timrc is now known as timrc-afk
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
xnoxrsalveti: do you use zoneminder?09:58
=== roadmr is now known as roadmr_afk
LocutusOfBorg1Hi, I'm wondering if poedit will be automatically sync'd from debian10:56
LocutusOfBorg1https://launchpad.net/debian/+source/poedit10:56
LocutusOfBorg1but not shown in https://launchpad.net/ubuntu/+source/poedit10:57
LocutusOfBorg1MoM should run twice every hour, I'm wondering if something broke again :(10:57
cjwatsonLocutusOfBorg1: It will be, you're just not quite patient enough10:58
ypwongxnox, hi, does the branch for ubuntu kylin seed look good? wonder if you will have some time on working on the meta package.10:58
cjwatsonLocutusOfBorg1: MoM doesn't do the auto-syncing; that runs every six hours, not long after the import into https://launchpad.net/debian/...10:58
LocutusOfBorg1ok thanks colin!10:59
cjwatsonThat job is due to start in six minutes10:59
cjwatsonSorry, actually one minute10:59
LocutusOfBorg1ack wonderful :)10:59
LocutusOfBorg1anyway, I'm rebuilding vtk with your fix10:59
LocutusOfBorg1do you mind sponsoring it?10:59
cjwatsonerr send me mail and we'll see11:00
cjwatsonseems a bit quick for an NMU; usually I would give a few days11:00
cjwatsonand I already uploaded that fix to Ubuntu11:01
LocutusOfBorg1I was thinking about a delayed/511:01
xnoxypwong: right, sorry got swamped with other work. That will miss alpha-1, as we are frozen for it. Will aim for friday to upload, such that alpha2 is for sure built using seeds.11:01
cjwatsonLocutusOfBorg1: ok, maybe, send me mail11:01
LocutusOfBorg1sorry but this is the third NMU, the maintainer seems to be not caring anymore :)11:01
cjwatsondon't drag me into that :)11:02
LocutusOfBorg1I'll put the package on mentors maybe tomorrow11:02
LocutusOfBorg1and mail you11:02
LocutusOfBorg1the problem is that on debian I know where to look (incoming, upload queue, mentors, buildd, dinstall) on ubuntu is everything more "complicated"11:08
LocutusOfBorg1I see it now :)11:09
cjwatsonLocutusOfBorg1: I think in general giving things slightly more than half an hour would be a good diea11:10
cjwatson*idea11:10
=== _salem is now known as salem_
LocutusOfBorg1oh yes of course :) I just would like to know the "dependency graph", in order to be aware in case of troubles11:14
=== MacSlow is now known as MacSlow|lunch
=== roadmr_afk is now known as roadmr
LocutusOfBorg1xnox, you there?12:09
LocutusOfBorg1thanks for the libavg upload12:09
LocutusOfBorg1Seems that you added libmtdev-dev12:11
LocutusOfBorg1but this is available for linux-any12:11
LocutusOfBorg1:( is it possible to build without it?12:11
LocutusOfBorg1also mipsel is FTBFS :(12:12
rsalvetixnox: yes12:28
tseliotpitti: hi, is it possible that when suspending (S3) using "pm-suspend" logind fails to catch the event?12:28
xnoxrsalveti: excellent! i've uploaded zoneminder with patches to build against libav10. If at some point you could test utopic-proposed that it is still somewhat operational, that would be great.12:29
tseliotpitti: in that logind doesn't get to emit a ""PrepareForSleep" event12:29
rsalvetixnox: sure12:29
xnoxrsalveti: we have a few instances where e.g. it builds fine but there is no sound and/or video is jammed =(12:29
pittitseliot: right, it's not only possible, but certain -- there is no event sent by the kernel when you call pm-suspend directly12:43
pittitseliot: i. e. logind would never notice12:43
tseliotpitti: ok, so that certainly explains why LP: #1210077 can only be reproduced with pm-suspend12:44
ubottuLaunchpad bug 1210077 in unity (Ubuntu) "Screen freeze and garbled after resume from suspend" [High,Fix released] https://launchpad.net/bugs/121007712:44
pittitseliot: also, sending PrepareForSleep wouldn't work anyway, as logind couldn't inhibit suspend for the listeners12:44
tseliotpitti: would the solution be to write a hook for pm-suspend to send a message to Unity (through dbus?)?12:45
pittitseliot: err no; what are you trying to do?12:46
pittitseliot: everything in the desktop/phone is supposed to call logind's Suspend() method which will DTRT12:47
pittitseliot: some might still call upower's, but we are moving away from that12:47
tseliotpitti: so, Unity listens to logind to see when the system enters S3, so that it can redraw the launcher on resume12:47
pittitseliot: hm, is that to work around graphics driver bugs?12:47
pittitseliot: but regardless of the "why", yes; that would only work if you actually request suspend through logind12:48
tseliotpitti: it's not really a bug, you are not supposed to reuse the FBO12:48
tseliotpitti: now the problem is that using fwts for testing triggers the problem12:49
tseliotby calling pm-suspend directly12:49
pittitseliot: oh, is fwts calling pm-suspend?12:49
pittiyes, that's a problem then :)12:49
pittiprograms should never ever call pm-utils directly12:49
pittiit's not guaranteed to be installed (an in fact, 95% of hardware doesn't need it), we don't install it on the phone, etc.12:50
tseliotpitti: yep. Shall we fix fwts instead? If so, where can I find the code that suspends the system on the desktop12:50
tseliot?12:50
tseliotgnome-power something?12:50
pittithere's basically only two ways (jedi-handwaving away all the old ones): logind suspend, or echo mem > /sys/power/state if you want a low-level one12:50
pittitseliot: yes, fixing fwts sounds right12:51
pittitseliot: there's not really much to it:12:52
pitti$ gdbus call -y -d org.freedesktop.login1 -o /org/freedesktop/login1 -m org.freedesktop.login1.Manager.CanSuspend12:52
pitti('yes',)12:52
pittitseliot: if that's "yes", call .Suspend false12:52
tseliotpitti: would that be /lib/systemd/systemd-logind in systemd-services ?12:52
pitti(the boolean is the "interactive" flag)12:52
pittitseliot: yes, but don't assume that anywhere; d-bus it is :)12:52
tseliotpitti: so I have to call .Suspend with false to make it suspend?12:54
pittitseliot: right; that's what things like indicator-session, gnome-settings-daemon, etc. do12:54
tseliotpitti: ok, that's interesting, thanks12:54
pittitseliot: FTR, in the future that's easier with "systemctl suspend", but we don't have that part yet12:55
tseliotpitti: that sounds a little easier. This solution will do for now, thanks again!12:55
tseliotcking: would it be ok if I made fwts use dbus+logind to suspend (and hybrid suspend) instead of calling pm-suspend?13:01
ckingtseliot, what is the benefit?13:02
cjwatsonAmpelbein: Looks like you made the last substantial changes to scribes.  It's since been removed from Debian ("RoQA; RC buggy, unmaintained, dead upstream; Debian bug #745896").  Do you mind if I remove it from Ubuntu too?13:02
ubottuDebian bug 745896 in ftp.debian.org "RM: scribes -- RoQA; RC buggy, unmaintained, dead upstream" [Normal,Open] http://bugs.debian.org/74589613:02
=== alexisb_bbl is now known as alexisb
tseliotcking: Unity will get a notification that the system suspended and will redraw itself thus avoiding certain corruption13:03
tseliotcking: namely LP: #121007713:03
ubottuLaunchpad bug 1210077 in unity (Ubuntu) "Screen freeze and garbled after resume from suspend" [High,Fix released] https://launchpad.net/bugs/121007713:03
pitticking: also, things should never call pm-utils these days; it's been long obsoleted, you can't assume it's there (folks might uninstall it as 95% of hw doesn't need it, and we don't have it on the phone)13:04
=== MacSlow|lunch is now known as MacSlow
ckingtseliot, pitti, fair point, however, fwts does run on other distros so I'd prefer it if we had an option in fwts to select the suspend mechanism rather that remove the older functionality13:05
pitticking: oh, even more important then :)13:06
pitticking: pm-utils has been dropped by e. g. fedora (and supposedly also on arch or gentoo) a long time ago13:06
pitticking: these days, logind is the standard API; it can have a fallback to echo mem > /sys/power/state for embedded systems and the like13:07
Ampelbeincjwatson: no objection from me with regards to removing "scribes". Looks like it's dead for good :(.13:07
cjwatsonAmpelbein: OK, done, thanks13:08
ckingtseliot, so perhaps we should have an extra option, such as --pm-method=[pm-utils | sysfs | dbus.. ] etc13:08
tseliotcking: or maybe detect if logind is running and use that when available?13:09
ckingtseliot, yes - making it smart is useful, but I still think an over-ride option is always useful too ;-)13:09
tseliotcking: ok then autodetection and --pm-method to override it13:10
ckingtseliot, sounds like a plan to me13:10
tseliotit sounds sane this way13:10
tseliotgood13:10
ckingpatches welcome :-)13:10
tseliotcking: shall I call dbus using the (painful) c dbus bindings or would a command line tool be ok too?13:12
ckingtseliot, i'm pragmatic, do what is easiest13:12
ckingsince we call pm-suspend etc already, calling the command line tool is fine13:13
tseliotcking: great, I'll send you a patch when it's ready. Does the project use a git/bazaar repository?13:14
ckinggit://kernel.ubuntu.com/hwe/fwts,  and send patches to fwts-devel for review,  fwts is rather kernel like in the patch review process13:14
cking(https://lists.ubuntu.com/mailman/listinfo/fwts-devel)13:16
tseliotcking: excellent, thanks13:16
=== anthonyf` is now known as anthonyf
ckingtseliot, thanks for picking this up :-)13:16
tseliot;)13:16
pittithanks tseliot13:25
tseliotyw13:26
rbasakpitti: for the juju-quickstart test requirement, would you expect me to do this before upload to stable-proposed, or as part of SRU verification after the upload has been accepted? I would do both - just wondering what stage I need to document.13:27
pittirbasak: from my POV it doens't need to be overly bureaucratic; it's always better to test with teh actual packages from -proposed, i. e. as part of the SRU verification13:36
pittirbasak: but if the SRU bug somewhere has your confirmation "tested quickstart with this juju version", that's fine13:37
rbasakpitti: that was my thinking - thanks. I'll do a proper check with the real binaries during SRU verification, and a cheap (not necessarily exactly reproducible, but enough to satisfy myself) before upload.13:38
rbasakeg. I might change the changelog before upload, but not retest, etc.13:38
pittirbasak: btw, if you'd like any autopkgtest result to refer to, I'm happy to manually run the trusty jobs13:38
rbasakOK - thanks!13:38
pittior, if you set up VPN, you can trigger them yourself too of course13:39
=== mterry_ is now known as mterry
=== olli_ is now known as olli
=== timrc-afk is now known as timrc
=== barry` is now known as barry_
=== barry_ is now known as barry
ypwongxnox, sorry i was away for dinner. that's great, thanks for helping on that14:41
dokobdmurray, arm unwind ping14:54
bdmurraydoko: hi14:57
dokobdmurray, does the unwinding work with the coreutils ddbg package installed?14:58
bdmurraydoko: I could test that today14:59
infinity@pilot in15:01
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: infinity
asomethingmdeslaur, did you see jdub's comment in LP: #1307027?15:09
ubottuLaunchpad bug 1307027 in php5 (Ubuntu) "php5-fpm: Possible privilege escalation due to insecure default permissions of sockets" [Undecided,Fix released] https://launchpad.net/bugs/130702715:09
=== zequence_ is now known as zequence
asomethingI'm seeing the same thing. I seeing the same thing. Even on a fresh install I need to go edit /etc/php5/fpm/pool.d/www.conf to get php5-fpm working15:11
shadeslayerchrisccoulson: poke bug 127460515:12
ubottubug 1274605 in firefox (Ubuntu) "Please demote xul-ext-ubufox from Firefox Recommends to Suggests" [Undecided,Confirmed] https://launchpad.net/bugs/127460515:12
mdeslaurasomething: yes, you need to either relax permissions, or configure it with the account whatever you're accessing it is using15:24
mdeslaurasomething: whatever procedure you followed to configure integration between your web server and php-fpm needs to be modified15:25
asomethinghmm... ok. are you saying there is no secure default that will work out of the box? I can handle that, but it seems to break most documentation on the web15:29
mdeslaurwe could make it default to www-data perhaps...not sure that would cover all the use cases15:30
asomethingthat seems to be the most common, but maybe I'm just not aware of other uses15:31
mdeslaurif someone can file a bug, and attach a debdiff, I'll sponsor it for an SRU assuming the SRU team considers it an appropriate change15:32
mdeslaurasomething: actually, just file a bug, and I'll push it out as a regression fix15:33
asomethingok, will do15:33
mdeslaurasomething: thanks15:34
seb128hum15:35
seb128is that standard/agreed behaviour for packages using c++11 to specify a fixed g++ version to control ABI changes?15:36
seb128slangasek, ^15:36
infinitymdeslaur: Yeah, that's a perfectly reasonable fix.  All webservers in Debian/Ubuntu are meant to run as www-data, so that would cover the common case.15:38
infinitymdeslaur: People with weird setups are on their own, but they already knew that.15:39
seb128(unping about that question, discussing the specific change with those who suggested it)15:39
mdeslaurinfinity: ok, will do, thanks15:40
mdeslaurasomething: let me know when you get the bug #, so I can add it to the changelog I'm preparing15:41
asomethingmdeslaur, LP #1334337 Not the best bug report, but you already know the issue =)15:44
ubottuLaunchpad bug 1334337 in php5 (Ubuntu) "Regression: php5-fpm's socket should be accessible by www-data by default" [Undecided,New] https://launchpad.net/bugs/133433715:44
asomethingThanks!15:44
mdeslaurasomething: perfect, thanks!15:44
=== salem_ is now known as _salem
xnoxmdeslaur: probably regression from migrating to upstart job from initscript.16:02
mdeslaurxnox: huh?16:03
mdeslaurxnox: are you talking about the php update?16:03
xnoxmdeslaur: bug is marked fix-released in utopic, how was it fixed there?16:04
mdeslaurxnox: utopic already set the user:group on the socket16:04
mdeslaurI'm doing the same for trusty and saucy16:04
xnoxmdeslaur: oh, i think i am missundersting it completly.16:04
mdeslaurxnox: my security update removed 'other' permissions from the php fpm socket16:04
mdeslaurxnox: and the socket is root:root by default16:05
mdeslaurso it broke setups that were relying on documentation that was relying on the 'other' permissions on the socket16:05
mdeslauretc.16:05
xnoxmdeslaur: so php5-fpm by default runs as root? or does it self drop priviliges?16:05
mdeslaurxnox: no worries, it's under control, I'll push an update out soon16:05
mdeslaurxnox: it drops privs after opening the socket16:06
xnoxok, cool.16:06
=== lubko is now known as lisca
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== dpm is now known as dpm-afk
=== _salem is now known as salem_
dokoxnox, boost head ping17:51
dokohttps://github.com/ruediger/Boost-Pretty-Printer17:52
dokodo you want to integrate that?17:52
bdmurrayinfinity: maybe you could have a look at the patch in bug 1331201?18:02
ubottubug 1331201 in nfs-utils (Ubuntu) "rpc.gssd: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT" [Undecided,New] https://launchpad.net/bugs/133120118:02
=== salem_ is now known as _salem
=== _salem is now known as salem_
infinitybdmurray: Seems reasonable enough.  If you work up SRU paperwork, I'll do the uploads.18:06
infinitybdmurray: Well, I suppose you probably don't know what the testcase would be, but we can hope the submitter does. :P18:07
=== dpm-afk is now known as dpm
infinitybdmurray: Uploaded to both utopic and trusty.18:32
infinity@pilot out18:32
=== udevbot changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
argesinfinity: hey if you have a few minutes can you check out this patch, and see if its reasonable to fix an FTBFS: https://bugs.launchpad.net/ubuntu/+source/crtools/+bug/1256675/comments/8 . I think my hack is a bit heavy-handed ( i can upload if it looks reasonable)18:35
ubottuUbuntu bug 1256675 in crtools (Ubuntu) "RM: crtools -- renamed to criu; RoM" [High,Confirmed]18:35
infinityarges: Here's my hack instead: http://paste.ubuntu.com/7702094/19:16
infinityarges: Uploaded that.  The better fix is probably to link with $(CC) instead, but my carefactor is too low, since I've been awake for too long. :P19:17
argesinfinity: yea, how many hours is it now: )19:17
infinityarges: A few.19:18
argesinfinity: heh. yea i like your patch better. that's why I pinged you: ) thanks19:18
infinityarges: The bug log seems to have upstream people involved.  If that's true, tell them to stop *&^#!% passing LDFLAGS (a CC argument) to LD.19:20
infinityarges: Ideally, by linking with CC instead.19:20
argesinfinity: yea that confused me a bit; since -Wl is a gcc flag right?19:20
infinityarges: But my hack works if they really want to link with LD and use LDFLAGS.19:20
infinityarges: Right, -Wl,foo means "hey, gcc, pass foo to ld".19:21
infinityarges: And LDFLAGS is generally always passed to CC, hence it having commas and -Wl all over it.19:21
infinityarges: So, my little conversion turns it into valid ld(1) arguments, but that's icky. ;)19:22
argesinfinity: the wierd thing is that 'make' by itsself in that envirnoment works fine. but maybe that's because LDFLAGS isn't populated with anything?19:22
arges'make' without dpkg-buildpackage19:22
infinityarges: LDFLAGS is being populated by dpkg-buildflags, via debhelper, via debian/rules.  So, yeah, if you bypass all of that, you win.19:22
argesinfinity: makes sense. I can pass a helpful note upstream if you don't mind19:23
infinityarges: Go nuts.19:23
* arges goes nuts.19:23
knocteany python expert here? been hitting my head against the wall with this: http://stackoverflow.com/questions/24414278/attributeerror-module-object-has-no-attribute-cairo-font-map-get-default (and http://pastebin.com/b2VC6JxY )19:37
luist_hey guys… can i run such commands in postinst when creating a new deb package? http://paste.ofcode.org/ycbXvi9DNjjv8kXjB77VyX19:51
dobeyomg the text on that site is so tingy20:00
dobeytiny20:00
=== dpm is now known as dpm-afk
dobeyalso wow that postinst script is awful20:00
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
=== oSoMoN_ is now known as oSoMoN
=== salem_ is now known as _salem
tedgbdmurray, Does the daisy webpage of an entry show all the fields? Or does it show a subset?23:11
bdmurraytedg: Do you have a web page url in particular you are curious about?23:13
tedgbdmurray, Uhm, a set, but for example: https://errors.ubuntu.com/oops/c9926216-fc08-11e3-8022-fa163e4ccdf223:13
bdmurraytedg: so that's really errors not daisy and yes it shows all the entries from the database. Is there something missing?23:14
tedgbdmurray, Yeah, the filename for one: http://bazaar.launchpad.net/~indicator-applet-developers/url-dispatcher/trunk.14.10/view/head:/service/update-directory.c#L13323:16
tedgbdmurray, We're putting that on as "Filename"23:16
tedgbdmurray, But I also think that apport attaches the upstart logs for url-dispatcher on those, which don't seem to be there.23:16
bdmurraytedg: whoopsie only accepts a subset of apport's data so we don't have tons of kernel, xorg, whatever log files. https://bazaar.launchpad.net/~daisy-pluckers/whoopsie/trunk/view/head:/src/whoopsie.c#L9323:17
tedgbdmurray, Hmm, that's a bit of a bummer. As we don't get data from apport hooks as well.23:19
bdmurraytedg: long term the goal is to be able to ask for more details as needed for a specific problem e.g. for the next instance of this problem get this log file23:20
tedgbdmurray, Seems like in general fields that are added by the app on the recoverable error or by upstream package hooks should probably make it.23:22
tedgbdmurray, Even without adding them.23:23
=== timrc is now known as timrc-afk
bdmurraytedg: I think the point was for each instance to have things that were quantifiable so for this problem we have 40 i386 instances and 20 amd64 ones. And with random log files that isn't possible / useful.  However, it'd be best to check with evan about the decision he made there.23:25
tedgI think we have a brand new database, let's fill it! :-)23:26
* bdmurray shakes head23:27
tedgHmm, there's a parameter to send the full report. Seems in every call it is set to FALSE.23:28
=== timrc-afk is now known as timrc
mark06anyone in here which knows software-center's code? I can't make it stop showing apt repositories which don't exist anymore23:31
bdmurrayare there corresponding sources.list files in /etc/apt/sources.list.d/ for these repositories? perhaps if you remove them that'll help sort it out23:34
bekksmark06: So fix your repos then, in /etc/apt/sources.list and /etc/apt/sources.list.d/23:44
mark06nothing I do fixes it, that sources.list.d was just one of the first things I've tried23:45
sarnoldmark06: maybe delete their lists from /var/lib/apt/lists ?23:46
mark06does software-center store repositories in binary config? cause grep just can't find it by repo name or url23:46
mark06there's nothing like that in  /var/lib/apt/lists23:48
bekksmark06: Did you check both, /etc/apt/sources.list and /etc/apt/sources.list.d/ ?23:49
mark06yes, in fact I checked whole /etc... SC shows a ghost 'Main' repo, but `sudo grep -rn Main /etc` can't find anything... it can't find it anywhere23:53
bdmurraycheck for lower case main23:54
mark06but the name is Main, which was the name of my ppa23:55
mark06tried -I renatosilva as well, which is my username...23:55
mark06what is /var/lib//mlocate/mlocate.db?23:55

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