/srv/irclogs.ubuntu.com/2012/11/22/#ubuntu-devel.txt

wookeydoko: well done00:04
mspencerShould questions related to the development of an app with a specification on wiki.ubuntu.com be asked here or on #ubuntu-app-devel?00:07
mspencerThe app is Contributor Console, https://wiki.ubuntu.com/ContributorConsole00:07
ScottKmspencer: Not here.  Not sure if that's better or not.  Perhaps #ubuntu-desktop too.00:09
bdrunginfinity: may i ask you to process gnustep-gui in around one or two hours once armhf and powerpc are built?00:18
infinitybdrung: I'm sure you can.  (Someone will get to it regardless)00:20
bdrunginfinity: hä? gnustep-gui is/will stuck in binary NEW.00:22
infinitybdrung: yeah, I know.  We'll get to it.00:30
cjwatsonroaksoax,Daviey: Where's the upstream bzr repository for maas-enlist?  It looks like it has a separate upstream existence and the upstream part of its version is "0.4+bzr36", but there's no lp:maas-enlist01:40
=== doko_ is now known as doko
roaksoaxcjwatson: lp:~maas-maintainers/maas/maas-enlist01:43
cjwatsonThanks01:43
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== Tonio_ is now known as Tonio_aw
epikvisionHello all.  I have a question. Why do some packages that exist in lp not appear in the Ubuntu Software Center?02:18
=== _salem is now known as salem_
jcastro_someone needs to put the stuff from lp into ubuntu02:42
jcastro_it just doesn't automagically happen02:42
infinityjcastro_: I'm not sure if he meant "software in random PPAs and bzr branches" or "software in the Ubuntu archive (as shown on LP) that isn't indexed in SC"02:48
infinityepikvision: ^?02:48
jcastro_seems like he meant lp as a whole, which includes the things you just mentioned02:49
epikvisionyeah, that's what I meant.02:50
infinityjcastro_: Given that software-center (intentionally) only indexes things with desktop files, I suspect it builds some confusion from people who, say, search for Apache and wonder why we don't "ship" it (when we clearly do).02:50
jcastro_I'm answering your question on askubuntu, which I assume you just posted because it's just similar02:50
epikvisionI just did; thanks.02:50
epikvisionjcastro_ I also included a comment to extend the question.02:52
=== cpg|away is now known as cpg
epikvisionjcastro_ so I guess having a packager in the app review board makes a powerful combination!  ^^03:30
ScottKIt's a fundamental flaw in the system that non-developers are on the board at all.03:34
jcastro_even if the ARB was full of say, full MOTUs or Core Devs, they would still be doomed03:37
ScottKWell sure.03:37
ajmitchScottK: there aren't any non-developers on the board, nor will there be going forward03:38
ScottKOK.  Good to hear.03:38
=== salem_ is now known as _salem
ScottKI guess I got confused by the new review policy.03:39
achiangfor a UDD package, where a bzr checkout only gets the debian/ directory (network-manager-gnome in this case), how do i build a test package for upload? with a normal package, i'd do debuild -S -sa -I -i03:58
=== Logan__ is now known as Logan_
infinityachiang: Unpack the orig, export the debian directory into it, then debuild -S04:02
cyphermoxachiang: bzr bd should do it04:03
cyphermox(or bzr bd -S)04:04
cyphermoxbacktracking though, what branch did you use?04:04
achianginfinity: what does "export" mean in this context? i was thinking: find .orig.tar.gz, .dsc, and .diff.gz files, dpkg-source -x, then rm -rf the debian directory, then cp -a the bzr branch's debian directory into it... i'm sure you're suggesting a less clunky method. :)04:04
achiangcyphermox: bzr+ssh://bazaar.launchpad.net/~network-manager/network-manager-applet/ubuntu.precise/04:05
cyphermoxachiang: rock on :)04:05
cyphermoxyeah, bzr bd is what you're looking for, and if you want to make things easy you'll want to download the orig tarball from launchpad04:06
achiangman... that is clunky04:07
cyphermoxI admit it needs a bit of new love :)04:08
RAOFFull source branches work better, but suffer from slow branching.04:10
ScottKFSVO better.04:11
ScottKBut then I use diff and patch to move stuff between what I plan to upload and bzr.04:12
cyphermoxRAOF: really I should just do away with that old concept of get-orig-source in that package, which I inherited from when I started maintaining the package and was the way it was due to daily builds04:13
cyphermoxand I already have a branch that fixes all this, I just had more important things to do than merging it :/04:14
bkerensais someone doing phantom patch pilot? :) I just got a few MP's that got merged with no review05:29
bkerensaheh05:29
pittiGood morning05:37
ScottKbkerensa: patch pilot is a time for Canonical employees that's set aside for them to do sponsoring work.  Other people do it too.05:37
pittiapw, infinity: argh, I suck; can you please change "Restictions: needs-build" to "Restrictions: build-needed"? *brown paperbag*06:09
pittiI'll send a patch for binutils today06:10
scienteswhat non-free software makes the ubuntu-nexus7-installer claim "non-commercial" use?06:13
scientescause the installer itsself is GPL 306:13
pittiscientes: I suppose it's related to the bits of non-free drivers that it ships, such as the Tegra one06:14
scientesdoes it ship flash?06:15
scientescause i know flash for arm GNU/Linux (glibc/x11) is non-commercial06:15
scientesif i install ubuntu will i still have android?06:16
scientescan i dual boot?06:16
pittinot with that image06:19
scientes"06:19
scientesThere are currently no plans to support dual booting Ubuntu and Android."06:19
pittibut you can download and restore the original android image06:19
infinitypitti: Grr.06:38
infinitypitti: I even read the spec, but didn't notice that you'd given me the wrong syntax.06:38
infinitypitti: I won't fix it right away, but it'll make its way into the next glibc upload.06:39
infinityscientes: We don't wipe out the partition layout, so if you backup with something like nandroid, you can restore.06:40
infinityscientes: As for the non-commercial bits, pitti's right, it's drivers.  Though, the most restrictive one is some broadcom blob, not the nvidia one.06:41
infinityscientes: Not that I think it matters, other than covering our butts a bit, since it's clearly a tech preview sort of toy, not something you're going to put on 1000 tablets and deploy in the enterprise. :P06:41
bkerensainfinity: surely the drivers do not require Canonical/Ubuntu to demand no-commercial use?06:51
bkerensathese drivers are already used commercially on the Nexus 7 when running Android?06:51
infinitybkerensa: http://paste.ubuntu.com/1376568/06:53
pittiinfinity: it's not urgent, next upload is fine; thanks!06:53
infinitybkerensa: That's the only license we have.  Clearly non-commercial, and only gives us the right to extend a non-commercial use grant to our users.06:53
infinitybkerensa: I would assume that Google has a different license.  Not all licenses are created equal. :P06:54
bkerensainfinity: huh06:55
infinitybkerensa: If you, of course, have obtained the same binaries under a different license, you can do whatever you're allowed to do, but that's the license we have, so.  *shrug*06:55
infinity(Well, the license is longer, obviously, but that was the relevant bit)06:56
bkerensainfinity: I wonder how that works for Canonical employees who are trying to improve the core of Ubuntu on the N7 since their use would be commercial in nature?06:56
infinityHow is it commercial?06:56
bkerensawell if they are paid by a company to improve Ubuntu Core on the N7 device using those drivers the nature of their use is not personal06:56
infinitybkerensa: It's possible for commercial organisations to engage in non-commercial activities.06:58
infinitybkerensa: We're not selling (or monetizing in any way) Ubuntu on the N7, and certainly not that firmware.06:59
bkerensainfinity: The platform is monetized technically since the shopping lens ships with the image :)07:00
bkerensaalthough I double Canonical will see any revenue on the N707:00
bkerensa;p07:00
bkerensaI can barely access the dash at this point07:00
infinitySeems a great argument to file a bug to remove that lens in the N7 image. :P07:01
bkerensainfinity: not worth my time ;p07:01
infinityNor mine.07:01
dholbachgood morning07:40
pittihey dholbach07:49
pittiinfinity, doko: I attached a binutils debdiff to bug 1081500; let me know if you want me to upload this; note that this is appropriate for Debian as well07:52
ubottuLaunchpad bug 1081500 in binutils (Ubuntu) "Add autopkgtest for mutual rebuild-testing amongst glibc, linux-libc-dev, gcc, and binutils" [Low,In progress] https://launchpad.net/bugs/108150007:52
jamespageis there any nice way to stop a prerm thats doing something wrong on package upgrade?  I need a way of preserving some data generated by a package but the prerm script in the version in the archive currently removes it08:09
=== smb` is now known as smb
tkamppeter_Anyone knows the date of UDS-S?08:19
=== tkamppeter_ is now known as tkamppeter
xnoxtkamppeter: tentative schedule here https://wiki.ubuntu.com/SReleaseSchedule the week that has may the 16th08:21
xnoxjamespage: i think "old" prerm is the first one that runs =( http://wiki.debian.org/MaintainerScripts08:24
jamespagexnox, yeah - thats what I'm trying to avoid08:24
xnoxjamespage: well, if you have a dependency, you can make that dependency preinst script rescue your data.08:25
jamespagexnox, ? not sure I understand08:26
xnoxe.g. if packageA eats data on prerm and depends on packageB, I think packageB preinst can rescue your data, but I have not tested this.08:26
xnoxsince packageB new preinst will be run before packageA prerm, you might possibly need pre-depends.08:27
xnoxcjwatson: what's the best way to work around a broken prerm for a package already in the archive? (currently prerm is causing data loss on upgrade)08:28
jamespagexnox, right - I see08:29
* jamespage looks at the Depends08:29
jamespagehmm08:29
xnoxjamespage: if that is not possible, you might want to introduce a new pre-depends package called "packageA-rescue-data", but that is very extreme.08:30
xnoxjamespage: what's the package in question?08:31
xnoxjamespage: and the upgrade path? dist-upgrade or -security/-updates?08:31
=== Tonio_aw is now known as Tonio_
=== mcclurmc_away is now known as mcclurmc
cjwatsonjamespage,xnox: Old prerms that don't fail but that do something undesirable are tough to work around.  The only method I can think of is a preinst of something you Pre-Depend on, as xnox suggests.09:57
xnoxcjwatson: ack, thanks.09:58
cjwatson(Well, actually, the postinst would do.)09:58
jamespagecjwatson, yeah - its working OK using that approach - thanks for the feedback09:58
seb128doko, https://launchpadlibrarian.net/123630730/buildlog_ubuntu-raring-amd64.unity_6.12.0-0ubuntu2_FAILEDTOBUILD.txt.gz10:04
seb128"-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1")10:04
seb128CMake Error at CMakeLists.txt:106 (if):10:04
seb128  if given arguments:10:04
seb128    "STREQUAL" "TRUE"10:04
seb128  Unknown arguments specified"10:04
seb128 10:04
seb128doko, do you know if something changed in the toolchain around yesterday? the issue started recently in raring10:04
seb128that's a no change rebuild (well a control recommends added) compared to the previous version which was building10:05
xnoxseb128: well cmake had a new upstream release uploaded on 2012-11-1510:06
seb128xnox, the issue started around yesterday10:06
xnoxseb128: ack.10:07
seb128we have daily builds in a ppa, they didn't break around the 15 but more recently10:07
xnoxi see.10:07
xnoxseb128: can I have a link to the build record to grab the source package?10:07
seb128xnox, apt-get source unity in raring10:08
xnoxok.10:08
seb128https://launchpad.net/ubuntu/+source/unity/6.12.0-0ubuntu210:08
seb128xnox, or in fact it could be cmake... let me try to downgrade it10:10
didrocksyeah, let's try that first10:10
xnoxseb128: for some reason the GETTEXT_FOUND is not set.10:11
xnoxseb128: yet the above find_package (Gettext REQUIRED) should have done so.10:11
xnoxunless it's now ${Gettext_FOUND} which is very not CMake like capitalization.10:11
seb128yeah10:12
seb128downgrading cmake fixes it10:12
xnoxseb128: so a change in FindGettext.10:12
seb128Riddell, ^10:13
seb128Riddell, you did the cmake update10:13
didrocksthat's a weird variable10:13
seb128http://launchpadlibrarian.net/123100540/cmake_2.8.9-1ubuntu1_2.8.10.1-0ubuntu1.diff.gz10:13
seb128is the diff10:13
didrocksGettext_FOUND as xnox said, is really not cmake-like10:13
seb128there is a diff in FindGettext10:13
seb128+set(GETTEXT_FOUND ${Gettext_FOUND})10:14
seb128indeed, weird10:14
xnoxseb128: didrocks: file a bug against cmake package & (you or somebody else) should forward this upstream.10:17
xnoxcurrently it looks insane.10:17
xnoxin cmake.10:17
infinityset(GETTEXT_FOUND ${Gettext_FOUND}) should be setting the old variable.10:17
infinityBut it could well just be failing to find it correctly.10:17
xnoxbut I don't see them setting Gettext_FOUND either.10:17
infinityLooks like a complete rewrite of the module.  :/10:18
didrocksxnox: they don't apparently…10:18
didrocksnot sure if the dep thing is magic in some way…10:18
seb128http://www.cmake.org/Bug/bug_relationship_graph.php?bug_id=13691&graph=relation10:19
seb128didrocks, ^10:19
didrockswith the added target10:19
didrocksPARENT_SCOPE10:20
didrocksthis is even more black magic :)10:20
seb128we should maybe revert the FindGettext.cmake diff to 2.8.910:21
seb128until that's properly fixed upstream10:21
seb128?10:21
xnoxseb128: I agree.10:21
xnoxcjwatson: was there a magic wiki page for reverts?10:21
cjwatsonxnox: https://wiki.ubuntu.com/UbuntuDevelopment/RevertLog10:21
seb128xnox, revert the whole cmake?10:21
xnoxseb128: also we need autopkgtest in cmake for a sample FindGettext ;-)10:21
didrocks+1 on revert10:21
seb128or just FindGettext.cmake?10:21
cjwatsonIs the FindGettext change fairly isolated from everything else?10:22
xnoxseb128: I am hoping that reverting FindGettext should be sufficient.10:22
cjwatsonIf so, probably simpler to just revert it alone10:22
infinityNothing else references that module.10:22
infinitySo, reverting it alone should be fine, assuming the old version works with the new CMake.10:22
didrocksyeah, it seems standalone10:22
infinity(Which is really should)10:22
* xnox is doing the revert, and will document it.10:26
pittiOOI, didn't we use to have three powerpc builders?10:26
xnoxpitti: didn't like I see discussion somewhere of one ppc box disappearing?!10:27
pittithanks xnox, so it's known10:27
cjwatsonpitti: It failed to come back from reboot on upgrade - there's a high-priority RT about it10:28
xnoxseb128: didrocks: does this work? https://bazaar.launchpad.net/~pimvullers/maya/fix-1080713/revision/38010:31
didrocksxnox: with the current cmake, you mean?10:33
xnoxdidrocks: yes.10:33
seb128xnox, it seems to work yes10:33
seb128well applied to unity10:33
xnoxsee related issue: https://bugs.launchpad.net/maya/+bug/108071310:33
ubottuLaunchpad bug 1080713 in Maya "CMakeFile.txt: Unknown arguments specified: "STREQUAL" "TRUE"" [High,Fix committed]10:33
xnoxseb128: didrocks: does the "new" style also work with older CMakes?10:36
didrocksseb128: want me to test or do you have a pbuilder handy?10:37
seb128didrocks, xnox: I didn't test a full build but "cmake .." works fine with that change to CMakeLists.txt, using both old and new cmake10:38
seb128where it was breaking with the new cmake before10:38
xnoxawesome.10:38
seb128so it seems to be fine for both10:38
didrocksseb128: ok, I'll try a full build and ensure we have translations10:39
seb128didrocks, I've started one on my raring machine with the new cmake10:39
didrocksseb128: do you test on quantal as well?10:39
seb128didrocks, I can pbuild on quantal yes10:40
didrocksseb128: ok, I'll let you handle this then :)10:40
xnoxcjwatson: no reverts after all =)10:41
didrocksI think it broke quite some packages though10:41
didrockswhen I added the initial support, I looked at the doc10:42
didrocksand that was what was published IIRC10:42
infinityif(FOO_FOUND) is the more common usage, by far.10:42
infinityThough maybe not for Gettext specifically, if some doc was suggesting the STREQUAL. :/10:43
infinityrgrep through a lintian lab anyone?10:43
Laneyhttp://codesearch.debian.net/search?q=STREQUAL+%5C%22TRUE%5C%2210:44
infinityLaney: Those aren't all necessarily wrong, if they're actually comparing strings, as I understand it.10:44
LaneyQuite. I'm not suggesting they are, but I couldn't think of a better string in ten seconds. There's not so many results there to look at anyway.10:45
infinityI don't see a single GETTEXT in there, though.10:45
LaneyDepends if it's something unique to GETTEXT_FOUND10:46
LaneyBut yeah, it's possible other PS packages have used the same idiom.10:47
infinityI suspect the new and bizarre voodoo in play to make GETTEXT_FOUND get set... however it gets set... also swapped it from being a string to a bool or something.10:47
infinity*hand wavy*10:47
seb128xnox, Laney, infinity, xnox: I would still go with the "revert the cmake gettext change" until somebody who knows about gettext figure out why it broke and what should be done10:49
seb128we don't even know how many builds in the archive that breaks10:49
didrocksjust unity in the PS stack10:49
* didrocks grepped10:49
seb128ups, the second xnox was meant to be didrocks10:49
infinityseb128: It breaks zero things in Debian, apparently.10:49
xnoxinfinity: Debian does not have that version yet?10:50
* xnox goes to check10:50
infinityseb128: And outside of Debian-derived packages, the PS stuff may well be the only cmake-using things we care about. :P10:50
infinityxnox: No, we just grepped the archive.10:50
xnoxIt did break Maya on gentoo =)10:50
LaneyI'd keep it. We'll find out if stuff breaks, and if it does then we know where the problem comes from and how to fix it.10:50
seb128xnox, debian doesn't have that version no10:50
xnoxFor future reference this is bug 108071310:51
ubottuLaunchpad bug 1080713 in Maya "CMakeFile.txt: Unknown arguments specified: "STREQUAL" "TRUE"" [High,Fix committed] https://launchpad.net/bugs/108071310:51
xnoxwith a bug link to cmake bug tracker.10:51
didrocks(I didn't grep through webapps, but if I see it failing, I'll fix it)10:51
xnoxAnd I commented in cmake's bug tracker that this change breaks previously working CMakeLists.10:51
seb128it still seems an incompatible change10:52
seb128is that wanted?10:52
xnoxseb128: which may or may not be appropriate for a new upstream cmake release.10:52
xnoxseb128: i'd like to wait on a response from cmake developers on this.10:52
infinityIt's a correct change.  That *should* be a boolean.10:53
LaneyThings doing wrong things and getting burned isn't something to get too upset about if almost nothing is affected, IMO.10:53
infinityReverting won't buy us anything here, if the impact is minimal.10:53
LaneyI codesearched for GETTEXT_FOUND and didn't see anything.10:53
xnoxseb128: until then, I'd like to keep ubuntu cmake package task as won't fix, as there is a way to work around in a sane backwards compatible way.10:53
infinity(I've certainly broken more packages with glibc 2.16 than this will break)10:53
xnox=))))))10:53
infinityAnd, as stated, this affects zero source packages in Debian.10:54
infinitySo, if it affects us in any meaningful way, we're pretty special.10:54
infinityIt may well just be unity.10:54
xnoxinfinity: and maya software see the bug report.10:54
xnoxinfinity: which came up with the fix in the first place ;-)10:54
infinityxnox: We don't ship maya.10:54
LaneyNot in archive → doesn't exist.10:54
Laney:P10:54
infinityxnox: But if upstream fixed their build system, go them.10:54
xnoxLaney: infinity: /me clearly confused maya with mayavi2 sorry10:55
LaneySome software sets GETTEXT_FOUND to TRUE/FALSE and some 1/0. Don't know if that will be affected.10:55
cjwatsonxnox: Do please document that we had a discussion anyway; one of the things we wanted to know was how often we decided against reverting10:55
xnoxcjwatson: ack.10:56
infinityLaney: No, no.  Those are packages shipping their own FindGettext module.10:56
infinityLaney: Anything SETTING it can be safely ignored, you just want to find things testing it.10:56
infinityLaney: And where they're a pair in the same source package, obviously it's using its private copy, so again, a red herring.10:57
infinityI can't quite sort out why, every time I poke at cmake, it feels both elegant and awful at the same time.10:59
LaneyHow does autotools feel?11:00
infinitySort of exactly the opposite.11:01
brendandis there something special about variables starting with double underscore in python?11:02
infinityCMake feels pretty and clean and such, but I end up banging my head repeatedly on flat surfaces when I can't sort out the crazy abstracted way to do X, Y, or Z.11:02
infinityautotools, for all its ugly, is easy to just hack a quick DWIM test.11:02
brendandsomething strange happening in pdb, where instance variables named like that are perfectly accesible by the running code, but pdb somehow sees them differently11:03
infinity"Private name mangling: When an identifier that textually occurs in a class definition begins with two or more underscore characters and does not end in two or more underscores, it is considered a private name of that class."11:05
infinitybrendand: http://docs.python.org/2/reference/expressions.html#atom-identifiers11:05
xnoxseb128: didrocks: cjwatson: documented https://wiki.ubuntu.com/UbuntuDevelopment/RevertLog11:08
didrocksthanks xnox, looks good :)11:08
xnoxcjwatson: also made the outcome of the previous instance more clear, as a patch revert did happen in libgcrypt11, but not in cmake's case.11:09
seb128xnox, thanks11:10
xnoxfixed grammar now as well =)11:10
brendandinfinity, that makes sense, but when pdb is inside a method shouldn't it be running 'inside' that instance? i'm going to guess that that isn't how pdb works11:10
cjwatsonMy suggestion would be to avoid __var like the plague ...11:11
bdrungdholbach: what kind of hardware do it need for hangouts?11:11
brendandcjwatson, i will now11:12
=== _salem is now known as salem_
dholbachbdrung, a webcam helps - if you want to try it out, we could have a test hangout11:13
xnoxbdrung: i386 or amd64. The easiest with google chrome browser.11:13
infinityxnox: Works just as well in firefox.11:14
dholbachbdrung, https://tools.google.com/dlpage/hangoutplugin11:14
xnoxinfinity: hmm... for me cpu blowsup under firefox... but maybe it's just me.11:14
infinityxnox: I found it about equally crap in both the last time I cared to compare.11:15
xnoxnoted.11:15
infinityxnox: And discovered that an Atom N450 wasn't good enough. :P11:15
infinity(This may have improved since... Man, I hope it has)11:15
infinityWhen the first step to video chat/conference is "find the most powerful computer in your house and kidnap it for use as a very expensive microphone stand", something's wrong.11:16
dholbachinfinity, a tiny little bit maybe, but it's still taxing11:16
xnoxwell. I have tried it on an arm netbook and google kept on pretending I am running 32bit x86 compatible processor.11:16
infinitydholbach: Methinks the people who do their Android hangout client need to go smack the people who do the x86 browser plugin.11:17
infinitydholbach: Given that it runs better on my phone than my laptop sometimes. :P11:17
bdrungdholbach: then i need a webcam11:18
bdrungxnox: chrome or is chromium enough?11:18
=== Tonio_ is now known as Tonio_aw
xnoxbdrung: chrome seemed to have everything built in. chromium needs a plugin just like firefox does.11:19
xnoxbdrung: webcam is needed if you want to broadcast your face =) just a mic works and then you will be broadcasting a static picture/avatar.11:19
bdrungokay, then i have to test if my headset still works11:20
bdrunglast time, i tried, i had problems with recording. now i have a different sound card. so this problem may have solved itself.11:22
infinityAlright, on a scale of 1 to nap, I think I'm going to go 13.11:22
=== Tonio_aw is now known as Tonio_
bdrungwhich value has nap? infinity?11:22
bdrung;)11:22
=== cpg is now known as cpg|away
brendandwhat's the most straightforward way to find the maximum resolution of a particular display (say VGA-0)?12:03
bdrungbrendand: maybe parsing the output of xrandr12:03
brendandbdrung, that's what i was afraid of - it's a bit ugly12:04
bdrungthen i can't help you12:07
brendandcat'ing in /sys/class/drm/card0* *would* be cleaner if it wasn't for proprietary drivers12:08
=== Tonio_ is now known as Tonio_aw
=== Tonio_aw is now known as Tonio_
ionslangasek: skype and skype-bin:i386 from the partner repo seem not to be installable at the same time.12:36
bizhanMonaHI does ubuntu 12.10 supports EFISTUB bootloader?thx12:37
=== Tonio_ is now known as Tonio_aw
mlankhorsthow do I request a package to be removed from universe? xserver-xorg-input-penmount has been broken in quantal and precise, and nobody noticed13:05
cjwatsonfile a bug and subscribe ubuntu-archive; but it can't be removed from stable releases13:06
mlankhorstok13:06
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== Tonio_aw is now known as Tonio_
=== fisted_ is now known as fisted
alkisgbdrung: hi, sorry for the ping, should we wait for an updated adblock-plus package from lp:mozillateam? The current version conflicts with thunderbird 17...14:46
alkisg(unrelated) btw, upgrading skype on precise is broken, the new "skype-bin" wants to uninstall the old "skype" package, not upgrade it...14:50
xnoxalkisg: was the previous skype installed from skype.com or from the archive?14:52
alkisgxnox: from the archive (using software center)14:52
alkisgskype and skype-bin, versions: 4.0.0.8-0oneiric114:52
alkisg(oneiric even though I'm using precise)14:53
xnoxalkisg: is adblock-plus simply disabled in thunderbird, or it is preventing to upgrade to thunderbird?14:53
alkisgxnox: upgrading thunderbird prompts for removing the adblock package14:53
alkisgSo update-manager says a "partial update is available"14:53
xnox*sigh*14:54
alkisgI purged skype and skype-bin. I tried installing skype, it says that it depends on skype-bin but that won't be installed14:54
alkisgI installed skype-bin only, seems to work...14:55
xnoxalkisg: are you on amd64 or i386 architecture?14:55
alkisgi38614:55
xnoxalkisg: thank you.14:55
alkisgThank you too14:55
xnoxalkisg: I will check & try to confirm both issues. Have you filed any bugs yet by any chance?14:55
alkisgxnox: no, for neither14:56
xnoxalkisg: that's ok.14:56
alkisgThanks a lot, tell me if I should file a bug14:56
xnoxcjwatson: should we be running britney for security and updates pockets? ^^^^^14:56
cjwatsonArguably but not planning on setting it up any time soon14:57
cjwatsonWhat's that got to do with it though?  skype's in partner, not security/updates14:57
cjwatsonIn any case, this change appears at least somewhat deliberate - looks like it's switched to a multiarch scheme?14:58
xnoxcjwatson: ack. Let me correct myself: stuff that lands in a stable release post-release via reasonable & supported paths.14:59
cjwatsonbug 1081860 FWIW14:59
ubottuLaunchpad bug 1081860 in ubuntu-archive-tools "uploads to oneiric/partner are redirected to oneiric-proposed/partner" [Medium,Triaged] https://launchpad.net/bugs/108186014:59
cjwatson(probably wrong title now)14:59
* cjwatson fixes14:59
xnoxcjwatson: but switching to a multiarch scheme should not break upgrade on a i386 (non-multiarch) install.14:59
cjwatsonno, that's true15:00
geserxnox: see bug #1082030 for the skype issue15:06
ubottuLaunchpad bug 1082030 in skype (Ubuntu) "skype-bin seem to have strange dependency" [Undecided,New] https://launchpad.net/bugs/108203015:06
cjwatsonYeah, looks like a busted Breaks15:06
cjwatsonxnox: I can go ahead and fix this if you like15:07
cjwatsonsince Steve is probably gorging on turkey or will be soon15:07
cjwatsonAnd I think I remember how to upload to partner :)15:08
xnoxcjwatson: yes please. as it's a r_egression in a stable releases.15:08
* xnox was not punished with such privilege yet15:08
cjwatsonHmm, that's a point, I don't think I actually have upload access to partner15:09
cjwatsonUnfamiliar feeling15:09
xnoxwell stgraber & mvo can.15:10
stgraberyeah, I "think" I'm in the magic team that has upload access to partner, never tried it though :)15:12
cjwatsonYou are.  It should just be an ordinary upload with Component: partner15:12
seb128xnox, the cmake fix from this morning didn't work15:12
seb128if (GETTEXT_FOUND) works with with 2.8.9 but not 2.8.1015:12
seb128xnox, just for info15:12
xnoxseb128: buildlog?15:13
seb128xnox, https://launchpadlibrarian.net/123700184/buildlog_ubuntu-raring-i386.unity_6.12.0-0ubuntu4_FAILEDTOBUILD.txt.gz15:13
stgrabercjwatson: ok, want me to take care of this then?15:13
seb128xnox, but doing cmake .. the GETTEXT_FOUND line is not printed15:14
seb128xnox, it is when using 2.8.915:14
didrocksxnox: yeah, it's printed15:14
didrocksnot*15:14
xnoxseb128: didrocks: I've asked you "does this work on both?" you say yes. Even to the fact of building it in quantal & raring. Now two uploads were done that FTBFS.15:15
xnoxdidrocks: do you not do a clean build in pbuilder/sbuild before uploading?15:15
xnox(with raring-proposed enabled)15:15
seb128xnox, I did pbuilder on quantal, my raring build failed on a gcc/include issue15:15
cjwatsonstgraber: I've attached a patch to the bug, if you'd care to sponsor it?15:15
didrocksxnox: I trusted seb128 when he told me he built it ;)15:15
seb128xnox, so yeah, unfortunate chain of events15:16
stgrabercjwatson: sure15:16
didrocksyep, because of the other failure15:16
xnoxnow, we see what happened here, LOL =))))))15:16
didrockslet's try to fix it first15:16
didrocksxnox: well, not the end of the world, fixing it is more important15:16
xnoxanyway. Yeah, I still was not convinced that even Gettext_FOUND was set or not.15:16
* xnox goes to play with cmake quickly.15:17
* xnox has reverted cmake to upload ready here, just in case.15:17
seb128xnox, seems it's not15:17
seb128if (Gettext_FOUND)15:17
seb128        message(STATUS GETTEXT_FOUND = ${GETTEXT_FOUND})15:17
seb128-> no message printed15:17
_val_Hi there. Is anyone working on vdsm for ubuntu? Just out of curiousity.15:20
didrocksok, opensuse has a patch15:25
slangasekcjwatson: so what's the fix you're applying to skype?  I'm thinking we should just use ${binary:Version} going forward15:25
didrocksand it works15:25
didrocksbut full of black magic15:25
xnoxdidrocks: link?15:25
didrockshttp://www.mail-archive.com/opensuse-commit@opensuse.org/msg28785.html15:25
didrocksthey remove the additional set15:25
didrockssomething else already set it right it seems15:25
didrocksin cmake15:25
xnox8-/15:26
xnoxdidrocks: that works.15:27
didrocksxnox: grepping in the cmake module dir only show that one15:27
didrocksyeah, I confirm15:27
didrockseven if we don't really know what set it15:28
didrocksI wouls propose uploading cmake with that patch15:28
didrocksand give back the unity build15:28
xnoxack.15:29
xnoxautopkgtest for GETTEXT_FOUND?15:29
* xnox so does not want to see this happening again, when cmake is fixed.15:29
xnoxor "not fixed upstream, yet again"15:29
didrocksxnox: I'm adding that to my Friday TODO, would be a nice little hack on Friday afternoon :)15:29
didrocksworks for you?15:30
xnoxdidrocks: sure. Well I remember people talking about a unity "needs-build" autopkgtest.15:30
xnoxthat way if _any_ of unity's reverse build-deps change we will notice the failure.15:30
didrocksxnox: hum? we won't have autopkgtest in unity15:30
cjwatsonslangasek: patch in bug 1082030 - I felt that since it was broken I should just apply the minimally correct fix15:30
ubottuLaunchpad bug 1082030 in skype (Ubuntu) "skype-bin seem to have strange dependency" [Undecided,Confirmed] https://launchpad.net/bugs/108203015:30
slangasekcjwatson: ok15:31
didrocksxnox: we have an "autopilot" step in the ppa before copying to distro15:31
didrocksxnox: but the unity integration tests need bare metal, which doesn't work with the current autopkgtest infra15:31
xnoxdidrocks: i know. It's not a full/real smoke tests, just an in-archive single test.15:31
cjwatsonslangasek: if you fancy reviewing it in the queue, I'll copy it everywhere relevant once I can15:31
didrocksxnox: if you have doc on that, I'm interested ;)15:31
cjwatsondidrocks: It'd still be enough to catch the bug and prevent it migrating from -proposed (once we finish that)15:32
didrocksnot really up to date with that infra and the reverse-dep building, just hear about the theory15:32
_val_Hi there again.15:32
xnoxdidrocks: which simply does a test build. Such that when gcc/boost/cmake/etc change, it is noticed =)15:32
didrockscjwatson: it's what jibel is currently (I mean, *today*) finishing right?15:32
cjwatsondidrocks: well, it needs work on my side too15:32
_val_Hi there. Is anyone working on vdsm for ubuntu? Just out of curiousity.15:32
didrockscjwatson: how does it work? the package just need one autopkgtest?15:32
slangasekcjwatson: trying, but seeming to have network issues getting to the queue15:32
cjwatsondidrocks: basically: it's in your interest to provide autopkgtest metadata even if it's incomplete, because it allows you to enforce constraints on your dependencies15:32
xnoxdidrocks: yeah, in unity. that does nothing, but has "needs-build" requirement ;-)15:33
cjwatsonit could do something if you had some subset of tests that were worth running15:33
didrockswiki page would be appreciated :)15:33
cjwatsonI realise you can't run them al15:33
cjwatsonl15:33
didrockscjwatson: all is autopilot, the rest is run during build :/15:33
xnoxdidrocks: that way, we would have noticed this breakage at the time cmake was uploaded.15:33
cjwatsondidrocks: we haven't implemented it yet, so it's a little unreasonable to want user documentation :P15:33
didrocksbut I can just ship a dummy test to trigger that15:33
didrockscjwatson: heh, ok, so once here, I'll do it :)15:33
* xnox will do merge proposal with that test against unity, but first let me upload this cmake thing.15:34
didrocksxnox: ah, you are doing it? so you win the autopkgtest I guess :p15:34
xnoxdidrocks: yes, yes.15:38
=== Tonio_ is now known as Tonio_aw
AbsintheSyringewhen will kernel 3.6 get into quantal?15:47
=== Amaranthus is now known as Amaranth
xnoxAbsintheSyringe: maybe ask in #ubuntu-kernel15:51
AbsintheSyringexnox, will do, tnx15:51
=== mcclurmc is now known as mcclurmc_away
=== chilicuil is now known as chilicuil_not_he
=== chilicuil_not_he is now known as chilicuil_away
cjwatsonright, the busted skype dependencies are all fixed now17:44
=== chilicuil_away is now known as chilicuil
xnoxseb128: didrocks: fixed cmake is uploaded & unity builds retried (2 succeeded, 2 building). I am EOD.19:00
=== glebihan_ is now known as glebihan
=== cpg|away is now known as cpg
seb128xnox, thanks19:39
=== salem_ is now known as _salem
bitshufflerGood evening. Question regarding debian packaging: Is the package name & its version somehow available in a post install script? (reasoning is I would like to have a post install script I don't have to touch when e.g. the version increases which is required somewhere in the script) With .rpm it is easily available within the .spec but I'm kinda lost how that is done with .debs.20:28
infinitybitshuffler: The postinst isn't called with the current version as an argument, but since your source package knows its version, it's trivial to substitute it into your postinst at build time.20:30
bitshufflerinfinity: are there some helpers for substitution or do I have to use e.g. sed?20:31
infinitybitshuffler: sed seems to be the most common go-to for this sort of thing.20:38
infinitybitshuffler: Though, I will say that most of the times I think I might need to know my version in a maintainer script, I think about it and realise I'm wrong.20:38
infinitybitshuffler: What's the actual problem and intended solution here?20:38
bitshufflerinfinity: thanks for the pointer :) Coming from rpm packaging I sometimes wonder why .deb packaging is that uncomfy … ;D20:39
bitshufflerinfinity: in that case I need multiple sun jdk versions installable in parallel (managed via update alternatives) so one can install a specific version or multiple (in case of jenkins)20:40
bitshufflerso I need the version to get the update-alternatives in post install working20:40
infinityBut surely, that's not the package version, just the upstream version?20:41
bitshufflerbest guess is some bash scripting by getting the version via ls20:41
tumbleweedand if they're co-installable, it's in the packgae name somewhere20:41
bitshufflerinfinity: package names would differ for versions and all provide a common $jdk20:41
bitshufflerand is the package name somehow available in a post install script?20:42
infinityYeah, it is.20:42
bitshufflerawesome, how?20:42
tumbleweed$0?20:42
bitshufflerheh, really?20:43
bitshufflerare there more arguments available or is there some doc on that somewhere?20:43
infinity$0 isn't actually the package name, to be fair. :P20:43
bitshufflerwell what is it then?20:43
infinity$DPKG_MAINTSCRIPT_PACKAGE is, however.20:43
* tumbleweed didn't know that20:44
infinity$0 is the name of the postinst script, which would be $package.postinst, but isn't guaranteed to be, as that's a dpkg-internal thing.20:44
infinitySo, don't do that. :P20:44
=== cpg is now known as cpg|away
bitshufflerinfinity: do you have some link to docs re what variables are available and what their meaning is? I'm unable to find any info on that.20:48
tumbleweedbitshuffler: dpkg manpage20:48
bitshufflertumbleweed: thanks :)20:48
* bitshuffler goes and boots some .deb vm20:49
tumbleweedI see non-zero packages on my system using $0 to find the pcakage name, but fortunately most of them are only using it to display helpful error messages20:49
infinitytumbleweed: gcc is a classic offender here.  I should probably give a patch to doko.20:50
infinitytumbleweed: Most cases of $0 in maintainer scripts are false positives, as it's actually being used to reference the maintainer script, not the package.20:50
tumbleweedor it an awk's $0 or something20:51
infinity(ie: echo "$0: called with unknown arguments")20:51
tumbleweedyeah20:51
infinityDPKG_MAINTSCRIPT_PACKAGE was a reasonably recent addition, to be fair, but even before that, the only sane way to know a package name in a script was to subst it in during the build.20:52
infinitySo, the cleverness I see in gcc and checkbox maintainer scripts should likely die. :P20:52
bitshufflerhm, didn't find anything how dbpkg would be helpful in my case. So the most 'sane' way would be to get $package_name & $version from control file during packaging and generate post install files from there, correct?21:07
tumbleweedyou don't need the version, do you?21:09
bitshufflerI do. How would I otherwise specify the correct version/priority for update-alternatives in my post install script?21:10
bitshufflerwhat I want to achieve is to have one place I maintain that version and the rest gets it automagically somehow if needed21:11
tumbleweedonly one version of a package can be installed at a time, so you need the version to be in the packgae name21:11
bitshufflerotherwise I'll just forget it somewhere sometimes and have a mess ...21:11
tumbleweed(the upstream version, that is, you certainly don't need the package version for an alternatives priority)21:12
bitshufflertumbleweed: the package name differs as well. But all those provide a virtual package - e.g. 'jdk7' so I can easily the newest and get updates if I don't care about a specific one21:12
bitshufflerso I have like sun-jdk-1702-1.7.02 and sun-jdk-1703-1.7.03 and so on21:13
bitshufflersounds kinda insane but the only viable solution I found yet ;D21:13
tumbleweedright, so just extract the upstream version from that21:13
bitshufflerthat is the control file like suggested above or how do I get the package name during post install if I shouldn't rely on $0?21:14
tumbleweedas infinity said, $DPKG_MAINTSCRIPT_PACKAGE21:15
infinityDPKG_MAINTSCRIPT_PACKAGE21:15
infinityBut there's nothing wrong with substing values in at build time either.21:15
infinityI have to say that, since I maintain a package that does that several hundred times per build. :P21:16
bitshufflerheh, I guess I was dense regarding $DBPKG_…, googled for it and read the scripts docs :D21:17
bitshufflerThanks a lot for your help. Am happy to do as suggested just had hoped there would be a better way (like e.g. that script getting called with arguments or …)21:18
infinitybitshuffler: DPKG, not DBPKG21:24
bitshufflerinfinity: yes, mistyped but read the right one21:25
=== komputes is now known as komputes_afk
=== Tonio_aw is now known as Tonio_
=== cpg|away is now known as cpg
=== bitshuffler_ is now known as bitshuffler
=== cpg is now known as cpg|away
cjwatsonbitshuffler: environment variables are better for this anyway - they're named rather than positional, which is generally more conveniently extensible22:18
bitshufflercjwatson: well, agreed, problem just is from where to get that env variable?22:20
cjwatsonbitshuffler: um22:21
cjwatsonbitshuffler: it's right there in your environment when the postinst is called22:21
bitshufflercjwatson: awesome, what's the variables name and from where does it get set?22:23
cjwatsonbitshuffler: the variable's name is DPKG_MAINTSCRIPT_PACKAGE, as per the above conversation.22:24
cjwatsonbitshuffler: It's set by dpkg, the package manager.22:24
bitshuffleroh dear :D Sorry, I didn't try it yet, thought it contains just the package name22:26
cjwatsonIt does22:27
bitshufflerwell, but I guess now the version as well ;D22:27
cjwatsonNo, you don't22:28
cjwatsonYou need the upstream version which you have embedded in the package name, ib the scheme you described22:28
cjwatsonYou do not need the package version22:28
cjwatson*in22:28
bitshufflerah, now, yes, that is how I now planned to do it. Thanks again :)22:29
infinitybitshuffler: The only caveat in parsing DPKG_MAINTSCRIPT_PACKAGE is that, if your package is in any way multi-arched, under certain circumsances, DPKG_MAINTSCRIPT_PACKAGE might contain "package:arch", so you'll need to strip off ":.*" from the end of the string before playing with it.22:36
bitshufflerinfinity: thanks :)22:36
infinitySomething like "package=${DPKG_MAINTSCRIPT_PACKAGE%:*}" should do nicely.22:38
dokoinfinity, ?22:40
dokowhere is $0 used?22:40
infinitydoko: gcc-defaults.22:41
infinitydoko: pkg=`basename $0 .postinst`22:41
infinitydoko: From gcc.postinst22:41
infinitydoko: And g++22:42
=== cpg|away is now known as cpg
doko$ svn log debian/gcc.postinst.in22:43
doko------------------------------------------------------------------------22:43
dokor1591 | doko | 2006-10-07 15:17:50 +0200 (Sa, 07. Okt 2006) | 2 Zeilen22:43
doko- catchup commit 1.42 - 1.4622:43
doko------------------------------------------------------------------------22:43
dokoyou didn't notice for at least six years ...22:44
infinitydoko: Nope, I didn't grep until just now during this discussion. :)22:44
infinitydoko: If that code is six years old, probably better to just remove it than fix it.  I'd assume the transition it's fixing is long over in oldstable.22:45
dokoyes, can do this22:47
=== chilicuil is now known as chilicuil_away
dokojdstrand, ping23:16
dokojdstrand, unping23:17
bawfI'm having trouble building gnome-system-monitor23:36
=== attente is now known as attente_zzz

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