/srv/irclogs.ubuntu.com/2012/08/03/#ubuntu-devel.txt

=== cpg is now known as cpg|away
pittiGood morning03:31
=== cpg|away is now known as cpg
cc11rocksI know Java, and am sorta learning HTML and Scala (learning it through learning the Play! Framework). Can my programming skills be used to help Ubuntu's bugs?05:47
ailoinfinity: Hi, we at Ubuntu Studio would like to fix bug #1029685, by merging jackd2 from debian.05:49
ubottuLaunchpad bug 1029685 in jackd2 (Ubuntu Quantal) "jack_control script corrupted in 1.9.8~dfsg.4+20120529git007cdc37-1ubuntu2 " [Low,Triaged] https://launchpad.net/bugs/102968505:49
TheMusoailo: Has anybody done the merge yet, or would you like it done?05:56
cc11rocksWill anyone answer my question? I believe I could possibly be of help to the dev. team05:57
spmcc11rocks: in general terms, if you find a bug that interests you to fix, go for it. submit a merge proposal/patch and go find the next one. rinse and repeat.06:02
cc11rocksspm : I want to know how to get started. I just found https://wiki.ubuntu.com/UbuntuDevelopment/GettingSetUp and https://wiki.ubuntu.com/Bugs/HowToFix06:03
cc11rocksI have to look through the code for the problem area(s) myself,or is that done for me?06:03
cc11rocksAnd most of it is in C, C++, JS, or what?06:04
spmit depends on whatever the package in question was written in. all the above and then some, would be the answer.06:04
spmhttps://wiki.ubuntu.com/MOTU/Contact may be of value to help; if you're looking at fixing packages06:06
ScottKA lot of it depends on self motivation.06:06
cc11rocksOkay, thanks06:07
ScottKPeople are glad to help and answer questions, but a lot of us are volunteers who don't have a whole lot of spare time for this either.06:07
cc11rocksif I have issues/troubles, you guys will help me or no?06:07
ScottKPeople will help you.06:07
ScottKIf you're trying to contribute, people will see that an help.06:08
cc11rocksOkay, thanks. I'm a HS student (4th year into computing, 1.5~2 years into programming, 6 month 100% reliant on GNU/Linux)06:08
cc11rocksBut I'm busy too. Taking many college classes and I have a job. No clue how much I'll be able to help out06:09
SpamapSinteresting.. Chrome 21.0.1180.57-r14 crashes sporadically when trying to upload images to my blog06:09
ScottKEvery little bit heps and everyone has to start somewhere.06:09
ScottKheps/helps06:10
cc11rocksOkay, thank you :)06:10
ailoTheMuso: Don't think it's done yet, but yes, would like to have it done :).06:11
infinityailo: Looks like a simple enough merge.06:12
ailoinfinity: Yep06:13
infinityailo: I'll just knock that off right now.06:13
ailoGreat06:13
TheMusoailo: I can take care of it, I try and keep an eye on jack at least, because its somewhat a part of the alsa/pulse/general audio stack.06:14
infinityTheMuso: Too late, but you can take the next one. :P06:14
TheMusoinfinity: Thanks.06:14
* infinity fixed up his previous patch to be more upstreamable while he's at it.06:19
=== tkamppeter_ is now known as tkamppeter
=== smb` is now known as smb
=== amitk is now known as amitk-afk
=== Sweetsha1k is now known as Sweetshark
=== mcclurmc_away is now known as mcclurmc
=== sagaci_ is now known as sagaci
=== henrix_ is now known as henrix
cjwatsonjanimo: Any particular reason ubuntu-archive is subscribed to bug 1025716, bug 1025719, and bug 1025720?  There seems to be no clear action for us to take on those, and when there are packages to review they'll show up in the NEW queue - we don't need to be subscribed to bugs for those11:04
ubottuLaunchpad bug 1025716 in Ubuntu "Package cedarview-graphics-drivers" [Undecided,New] https://launchpad.net/bugs/102571611:05
ubottuLaunchpad bug 1025719 in Ubuntu "[needs-packaging] Package cedarview-vaapi-driver" [Wishlist,New] https://launchpad.net/bugs/102571911:05
ubottuLaunchpad bug 1025720 in Ubuntu "Package cedarview-drm" [Undecided,In progress] https://launchpad.net/bugs/102572011:05
=== cpg is now known as cpg|away
=== jbernard` is now known as jbernard
=== _salem is now known as salem_
=== yofel_ is now known as yofel
=== slank` is now known as slank
seb128slangasek, hey13:20
seb128slangasek, I'm updating freetype, how do you make the orig tarball? just copy the 3 upstream .bz2 in a freetype-<version> dir and tar czf that?13:21
tumbleweedI thought tarball-in-tarball was dying out :(13:22
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest52926
ogra_cjwatson, dingaling13:51
ogra_cjwatson, we're fiddling with arm preseeding over here in lex., is there a way to make partman not show the waring about not being able to install to the install media ?13:52
ogra_oh, seems we just found it ... (priority=critical) nevermind13:53
kwootcan somebody please tell me how the gtk-bookmarks file is generated/copied upon first login so I can customize my roll-out. A link or pointer works too :-)14:13
kwootanyone? please?14:16
janimocjwatson, sorry I probably meant to subscribe the SRU team not the archive admins on those bugs and also knew that NEW is handled by archive and slipped14:49
cjwatsonjanimo: shall I flip the subscription over to ubuntu-sru on all three, then?14:52
janimocjohnston, they are known about by slangasek and infinity so probably just unsubscribing archive is enough14:53
janimosteve has been reviewing them14:53
cjwatsonHm, I'll unsubscribe archive then, but I'd prefer not to assume that any one sru team member is on the hook14:54
cjwatsonSo if it's supposed to be an sru team thing then I think I should subscribe sru14:55
=== zyga is now known as zyga-afk
ogasawara@pilot in15:03
=== udevbot changed the topic of #ubuntu-devel to: Quantal Quetzal development | Archive: Open (DIF) | Dev' of Ubuntu (not support or app devel) | build failures -> http://bit.ly/HaWdtw | #ubuntu for support and general discussion for hardy -> precise | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: ogasawara
=== Guest52926 is now known as mfisch
=== mfisch is now known as Guest6741
smoserif i have a file "raw-disk.img.tar.gz" which is basically 'dd if=/dev/sda of=raw-disk.img && tar -Sczf raw-disk.img.tar.gz raw-disk.img'15:48
smoserwhat woudl be the fastest way to get that back onto the disk.15:48
smosertar -xvzf raw-disk.img.tar.gz --to-stdout | sudo dd bs=1M of=/dev/vda15:49
smoserthat works, but slow.15:49
smoseras it is writing all the zeros that were sparsed.15:51
smoseri know that alexbligh knows this15:53
smoserand is probably laughing at me for finally wanting to do it.15:53
ogra_smoser, in any case increase the blocksize to something more sane (4M or so at least)15:57
smoserwell, yeah, but even then, its just a lot of zeros15:57
stgraber1~/win 6115:58
stgraberoops15:58
slangasekseb128: there's a 'get-orig-source' target in debian/rules that you can use, passing ver= to specify the upstream version16:01
slangasekseb128: but why is it urgent to update freetype?16:01
seb128slangasek, it's not urgent but I got the merge done and it's ready to upload16:03
seb128slangasek, I though it would help, it seems foundation is having an hard time to keep up with merges on Debian and updates...16:04
seb128slangasek, is that reason why quantal should be behind Debian testing in versions?16:04
slangasekseb128: behind testing, no, but you were asking about new upstream versions of freetype and that's what I was trying to understand16:13
=== deryck is now known as deryck[lunch]
slangasekseb128: you're TIL on the freetype package in quantal so I'm happy for you to do the Debian merge... if you're going beyond that I'd like to know why (not to veto it, but to understand what's happening)16:14
seb128slangasek, well, we had 2.4.8, Debian has 2.4.9, upstream is 2.4.10, I figured that if I updated it I could as well go to the current version16:15
seb128slangasek, what's is happening? nothing special, I just don't get why we wouldn't update to the current stable, we do keep up with current versions for most sources, is that one any special?16:16
slangasekseb128: well, you may recall from past discussions that freetype upstream releases do not have a good success rate at being regression-free ;)  but as I said, I'm not trying to veto anything here, just understand the reasons16:18
seb128slangasek, we (desktop) also started to push our "use the current versions when it makes sense (i.e when the new versions seem to be an improvement or fixes quite some issues)"16:18
seb128slangasek, http://people.canonical.com/~platform/desktop/versions.html has lot of red ;-) (that's our outdated sources for components on the CD)16:18
slangasekright, is that why the plymouth bug keeps getting pings :)16:19
seb128slangasek, right, robert_ancell has a strong opinion that we should actively maintain the packages we have on the CD, at least by keeping up with upstream updates when possible, he convinced me should do some efforts in this direction (though I would stay away from easy to break and hard to test stuff like plymouth)16:21
slangasekyes, there's no way in hell I intend for us to tackle another plymouth merge this late in the cycle because we have no way to regression-test and nobody has pointed me to anything it's known to fix for us16:22
cjwatsonat least some of the Debian versions on that page are in experimental only ...16:23
cjwatson(some for extremely good reasons, e.g. perl)16:23
seb128cjwatson, right, currently Debian is a bit difficult to track with the freeze, some maintainer use experimental for things they would usually upload to unstable16:24
cjwatsonbut some are very deliberate :)16:24
seb128the page is just an indicator in any case, it shows up things we might not notice otherwise16:24
seb128it's not a "must update everything showing up there"16:24
seb128ideally we would have an easy way to add comments and all lines should be green or have a rational of why we prefer to not update16:25
seb128well at least that's what we aim at for http://people.canonical.com/~platform/desktop/desktop.html (the desktop set)16:26
ScottKMoM has comments, although it doesn't look at Experimental.16:27
jdstrandseb128: fyi, seems there is a bug in the script: libxml2 is up to date, yet it is yellow16:28
seb128ScottK, it doesn't look at upstream versions either I think?16:28
jdstrandseb128: oh, actually I lied16:28
seb128jdstrand, ;-)16:28
ScottKseb128: True, just Debian.16:29
jdstrandseb128: I didn't notice we were behind Debian. nm! :)16:29
seb128jdstrand, in fact the revision we are behind fixes a CVE16:30
seb128http://packages.qa.debian.org/libx/libxml2/news/20120722T130328Z.html16:30
seb128   * Fix entities local buffers size problems16:30
seb128   CVE-2012-2807, Closes: #679280.16:30
ubottuMultiple integer overflows in libxml2, as used in Google Chrome before 20.0.1132.43, on 64-bit Linux platforms allow remote attackers to cause a denial of service or possibly have unspecified other impact via unknown vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2807)16:30
seb128we should maybe merge it ;-)16:30
seb128jdstrand, in fact we can sync it, let me build and check it works fine and do that16:32
Chipzzsmoser: why did you use a tar archive in the first place? plain gzip/bzip2 would have done fine too16:33
=== Guest16807 is now known as vibhav
slangasekChipzz: because there's no such thing as a sparse gzip file16:36
Chipzzslangasek: oh, does tar know about sparse files then? didn't know16:37
slangasekyes16:37
Chipzzslangasek: but does dd produce sparse files?16:37
slangasekno16:37
Chipzzthen there's no point regardless (assuming he used dd to create the image)16:38
slangasekbut it's still useful to ensure that the img, if unpacked, doesn't take forever writing zeroes16:38
=== dendro-afk is now known as dendrobates
slangasekhe didn't16:38
slangasekoh, in this case maybe he did :)16:38
slangasek(I was assuming this was an official cloud image, which is *not* created with dd)16:38
Chipzzmkisofs etc would create sparse files?16:39
slangasekbut yeah, there's no good way to bypass the extraction of zeroes when it comes time to write it to a disk or any other sort of stream-based operation16:39
slangasekcloud images aren't ISOs16:40
Chipzzjust shows how little I know :)16:40
utlemmingChipzz: take a look at cloud-images.ubuntu.com16:40
utlemmingChipzz: they are published as qcow2 or tar.gz files generally16:40
Chipzzbit disappointing gzip doesn't know about sparse files16:43
Chipzzbut I suppose since it's been around that long, it's hard to extend the format16:44
Guest6741:q16:44
slangasekit's not disappointing at all16:44
slangasekgzip is the wrong tool16:44
=== Guest6741 is now known as mfisch
slangasekgzip handles streams, not files16:44
Chipzzbzip2 handles files if I'm not mistaken though (in the sense that bzip2 archives can be seeked)16:45
Chipzzutlemming: but that doesn't say how they're created though16:47
slangaseksmoser: to your original question, I can't see any way to speed up the copy; you would need tools that were aware of the actual structure of the data in order to skip the sparse sections, which would mean writing a custom tool just for extracting16:47
utlemmingCipzz: what do you mean by created? we use live-build to build them16:47
Chipzzhow the contents of the disk image were put into a file. but I'm reading up on the qcow format now16:49
utlemmingChipzz: we build the images using sparse raw file as a loop device. From there, we put a filesystem on it, and then use live-build to populate it.16:51
utlemmingChipzz: after that, we convert the sparse raw file to a qcow2 container16:52
ChipzzI see :)16:52
smoserslangasek, right. and you need to know if the zeros that are in the sparse are necessary to data16:52
smoserbecause skipping writing to a device is going to mean reading that block later will give whatever garbage was there.16:53
smoserso yeah, i dont see a really easy way.16:53
slangaseksmoser: that would be an interesting assumption on the part of some other software if so, since the sparse regions are by definition uninitialized16:53
smoserslangasek, clearly not.16:53
smoserthere exist zeros in your files.16:53
slangasekno... there exist uninitialized regions, which are represented as zeroes when read, by convention :-)16:53
smoserand if i just ignore all zeros when i copy, and then skip them (leaving whatever was there) when i write, you've lost data.16:53
slangasekif you *write* zeroes to a sparse region, it immediately ceases to be sparse16:54
slangasekanyway, the conclusion stands - no shortcuts available sorry :)16:54
=== dendrobates is now known as dendro-afk
=== deryck[lunch] is now known as deryck
=== dendro-afk is now known as dendrobates
=== mcclurmc is now known as mcclurmc_away
=== cpg|away is now known as cpg
=== glebihan_ is now known as glebihan
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest80389
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== dendro-afk is now known as dendrobates
=== morphis is now known as morphis|away
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
MrDHatIf i develop an app using Qt on Fedora will it work on Ubuntu?18:46
=== dendrobates is now known as dendro-afk
=== Guest80389 is now known as mfisch
ScottKIt should.19:07
MrDHatDo these distro have any specific api's?19:15
ScottKIn general if you use the standard Qt APIs it should be supportable ~everywhere.19:17
ScottKDistros may add things, but it's generally better to develop portable code and only worry about O/S or distro specific stuff as a last resort.19:18
=== dendro-afk is now known as dendrobates
ogra_hggdh, https://code.launchpad.net/~ogra/+junk/bamboo-feeder19:27
scientesxubuntu-desktop depends nvidia-common WTF is this shit!19:32
infinityscientes: That was very constructive feedback.19:35
scientessry19:36
scientesits circular with nvidia-installer-cleanup19:36
scientesand its conflicts with nvidia-common19:37
micahgscientes: that's been fixed for quantal19:48
micahgscientes: err...the nvidia depends has been removed I mea19:48
micahg*mean19:48
scientesok, thanks19:53
scientesi just didn't install that, via manual tweaking in aptitude19:54
Sarvattscientes: installing debian nvidia blob packages on ubuntu is a recipe for disaster, the packages are extremely different (nvidia-installer-cleanup isn't in ubuntu..)20:05
scientesSarvatt, nvidia broke on my hardware shortly before precise, so i have to make sure not to install it20:06
scientes(the ubuntu way)20:07
=== dendrobates is now known as dendro-afk
=== cpg is now known as cpg|away
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== salem_ is now known as _salem
infinityOh look, something is trying to pull half of KDE into main again...21:47
ogra_that will make the kde'ers happy :)21:48
infinityLooks like appmenu-qt grew a ton of KDE build-deps.21:48
micahgDebian had some extra build dependencies that we didn't have21:51
infinity"some"21:51
micahgmaybe they're spurious21:51
debfxthat package shouldn't have been synced anyway21:52
infinityBlame seb.21:52
infinityWho isn't around for me to yell at. :P21:52
micahgright, it undoes what was done in oneiric to prevent it from pulling in Qt21:54
infinityGiven that the only meaningful diff is in the changelog and debian/control, I assume just reducing the build-deps again will fix it.21:54
micahginfinity: I think you have to add back the shlibs override stuff to get the desired effect21:55
infinityOh, and yes, the odd abuse of dpkg-shlibdeps.21:55
infinitymicahg: Well, two different desired effects.21:55
infinitymicahg: One is about pulling QT or not, the other is about pulling KDE into main.21:55
micahgthe "abuse" is documented :)21:56
infinitymicahg: The QT thing is obsolete, I think.21:56
infinitymicahg: In that we used to not have QT in the desktop tasks, but now it's in all of them.21:56
micahgXubuntu doesn't have it21:56
infinity(At least, all of the ones that also have appmenu-qt)21:57
infinitymicahg: See above. :P21:57
ogra_well, once we drop unity-2d it will be gone again :P21:57
scientes^21:57
ogra_(not that i have seen *any* llvmpipe tests yet)21:57
micahgogra_: no, U121:58
ogra_oh, U1 pulls in Qt ?21:58
infinityYeahp.21:58
micahgogra_: it's written in it now :P21:58
ogra_oh, right because they relied on the fact that its there because of unity-2d21:58
* ogra_ remembers the discussion in orlando21:58
infinityI have no issues with QT being on many/most of the desktops anyway.21:59
infinityIt's just the KDE migration mess here that's annoying.21:59
infinitySo, if all those build-deps are unnecessary, that's an easy fix.21:59
* infinity will play.21:59
micahgwell, if they're really unnecessary, they should be dropped in Debian as well...21:59
debfxyes, they are unused21:59
debfxI'll fix it in Debian21:59
infinitydebfx: Oh, lovely.22:00
infinitydebfx: That would be kdelibs-bin, kdelibs5-dev, and kde-workspace-dev?22:00
infinitydebfx: (Although, the libx ones may be unnecessary too)22:01
=== dendro-afk is now known as dendrobates
infinityI think that's the first time I've used pitti's SVG rendering of component-mismatches instead of the text version.22:02
infinityIt really does a good job of assigning blame. :P22:02
debfxyes, the ones we had in the Ubuntu package - qt4-qmake are enough22:04
infinitydebfx: Are you going to be uploading that to Debian nowish, so we can sync later?22:05
infinity(If not, I'll temporarily fix it in Ubuntu, and we can sync over it when you fix it in Debian)22:05
debfxbetter to fix it in Ubuntu first22:10
infinitydebfx: Alright, will do right now.22:10
infinitydebfx: For bonus points, I'll test this in a sid sbuild to make sure it's not somehow broken on Debian, and you can just copy the diff wholesale.22:14
debfxhm the package also needs some build flags love22:14
* ogra_ grumbles in xnox' direction ... seems our pandas suddenly go into an endless loop trying to configure raid22:18
ogra_and funnily there isnt even a "go back" option as d-i usually has22:18
slangasekusing which installer?22:19
ogra_d-i22:19
ogra_the screen just has yes and no ...22:19
ogra_selecting no gets the same screen back up ...22:19
ogra_and we're not brave enough to try "yes" :P22:20
slangasekquantal?22:20
ogra_yup22:20
infinitydebfx: Uploaded to Ubuntu, and it's all good on sid too, with this diff: http://paste.ubuntu.com/1127941/22:20
slangasekwhat's the exact wording?22:20
ogra_hehe, sweet ...22:21
hggdhhere it is: http://pastebin.ubuntu.com/1127944/22:21
ogra_paste coming22:21
* ogra_ loves our new setup here 22:21
hggdhpaste above :-)22:21
slangasekwhy are you afraid to choose "Yes"? :)22:22
infinityWell, "yes" seems to imply they're then going to configure some RAID, which they may not have wanted.22:22
infinitySeems like some odd flowcharting.22:23
slangasekI don't know how they got to this prompt22:23
slangasekbut the worst case with "yes" is that you have to reboot and start over22:23
slangasekanyway, I have no idea why you'd be landing at this screen without explicitly selecting raid22:23
slangasek(or preseeding it)22:23
ogra_well, we're not actually "afraid" its a test system that gets installed over and over anyway ...22:24
infinityThough, <no> just repeating the question doesn't seem helpful.  Should probably go back to partman...22:24
ogra_though getting this screen is weird, i definiteyl did several installs on this same disk today already22:24
slangasekI also don't see that this is xnox's doing22:25
=== dendrobates is now known as dendro-afk
ogra_without seeing this message (completely preseeded automatic install, it shouldnt even ask .... we use priority=critical)22:25
ogra_infinity, xactly22:25
slangasekhe's uploaded partman-lvm, but not partman-md22:25
ogra_we just had the disk here ... looks normal (std partitioning as defined in the preseed and used in the installations before)22:26
slangasekis it reproducible if you reboot?22:27
ogra_great, "yes" then gets us to "create a MD device"22:27
ogra_but at least there is a go back button now22:27
ogra_slangasek, well, not rebooted yet, hggdh is still inspecting from a d-i shell22:28
slangasekI think you should reboot22:28
slangasekif you can't reproduce it, blame cosmic rays and move on22:28
ogra_heh, ok22:29
hggdhI am a firm believer in cosmic rays22:29
debfxinfinity: unfortunately the git repository permissions are wrong so I can't push it22:29
ogra_the bad thing is that this device is supposed to install unattended22:29
infinitydebfx: Well, it's not world-ending in Debian anyway, so when it gets fixed, it gets fixed.22:29
ogra_if it hangs like that someone will have to touch it manually22:29
ogra_restarting the install (will take 10min until the bamboo-feeder dd'ed the image to sd and rebooted)22:31
hggdhd-i started22:35
ogra_hmm, this time the partitioner sits at "scanning disks" ... and doesnt seem to move ....22:38
ogra_ah, just took a while22:39
hggdhcosmic rays22:39
ogra_slangasek, ^^^22:39
ogra_but its still bad for fully automated installs indeed22:39
hggdhand there is still the no way to cancel the raid install22:40
slangasekwhat's still bad?22:40
ogra_slangasek, that there can be a case where it asks22:40
slangaseka one-time nonreproducible failure really could be a flipped bit somewhere22:40
hggdhwell, this is actually another problem, and I will try to repeat22:40
hggdh(at home)22:41
ogra_which will make the whole thing sit there until someone comes and logs in via serial to release it ....22:41
ogra_not really helpful for unattented installs ...22:41
slangasekwell, file a bug against the atmosphere22:42
hggdh:-)22:42
ogra_LOL22:42
slangasekit shouldn't let these ions through to mess up our code :)22:42
hggdhslangasek: actually, I agree that going to raid was cosmic rays. What I want to check is if there is, or not, a way to cancel the raid commit22:42
ogra_was probably a lack of bamboo in the bamboo-feeder, i guess we need to make sure there is always enough for all pandas22:42
slangasekyeah, that part could be a real bug22:43
hggdhthanks, folks, we have to disconnect for the shuttle22:44
* ogra_ packs his toys22:45
* slangasek waves22:46
=== kentb is now known as kentb-out

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