/srv/irclogs.ubuntu.com/2013/06/27/#ubuntu-devel.txt

=== hggdh_ is now known as hggdh
=== _salem is now known as salem_
infinityslangasek: Dude.  Lolwut?  I made the mistake of reading the bug log from top to bottom and thinking "oh, sure, this should all come down to something obvious and debuggable".02:05
infinityslangasek: And then your bisect conclusion broke my brain.02:05
infinityslangasek: A wild shot in the dark, but would changing that (int) cast to (unsigned int) fix it?02:10
infinityslangasek: srand() takes a uint, not an int, which could be causing curiosity on 32-bit but not 64-bit systems (perhaps throwing rand off for something else in the same process space, or god knows what).02:11
infinityslangasek: Is there a simpler reproducer for this than "install a VM with encryption"?  Like, starting a plymouth splash and throwing text at it somehow?02:17
=== salem_ is now known as _salem
slangasekinfinity: I've reproduced it by changing the code to call ply_get_timestamp() *and discard the result*03:41
infinityslangasek: Oh, that's fun.  WTF does ply_get_timestamp() do?03:42
* infinity grabs the source/03:43
slangasekinfinity: reproducer: install plymouth-theme-ubuntu-logo in a VM, using the vga video driver, *not* the vmvga driver; call 'plymouthd --tty=/dev/tty7 && plymouth show-splash && plymouth ask-for-password --prompt='lolwut'03:43
infinityply_get_timestamp seems to be used all over...03:43
slangasekyup03:44
infinityAs does the incorrect cast to srand() so, yeah, that would be a red herring.03:44
infinity(Should still be fixed, IMO)03:44
slangasekinfinity: and ply_get_timestamp(), if you haven't already found it, is: http://paste.ubuntu.com/5803595/03:46
slangasekinfinity: and inlining all of that code in script_lib_math_setup() does not trigger the bug03:47
infinity...03:47
slangasekinfinity: and creating a *copy* of ply_get_timestamp() as a static function in script-lib-math.c does not trigger the bug03:47
slangasekand linking with -Wl,-z,now does not change the footprint of the bug.  script.so invokes ply_get_timestamp(), the bug occurs.  script.so does not invoke it, bug does not occur.03:48
infinityI assume this lands in a libplymouth DSO?03:48
slangasekply_get_timestamp() is in libply.so.2; the caller is the script.so theme engine03:48
* infinity nods.03:48
slangasekLD_DEBUG=symbols shows no differences between the working and broken versions03:49
slangasekso... what am I missing? :)03:49
infinityThe symbol tables in the amd64 and i386 lib certainly look the same, so that's probably chasing the wrong direction.03:51
slangasekI suppose I could single-step around ply_get_timestamp(), and see if anything looks crazy03:52
slangasekbut I don't understand how this could be having an effect on text rendering. :P03:52
infinityYeah, that's a bit of a stumper.03:52
infinityYou'd expect something this potentially broken to do something more helpful like segv or just plain not work.03:53
infinityIf only it was broken at all.03:53
infinityslangasek: Good luck with your obscure bug.  I have to run out for a previous commitment.04:04
slangasekinfinity: heh, ok04:04
slangasekenjoy :)04:04
infinityslangasek: If I have a half-drunken epiphany, I'll be sure to blurt it out when I get home.04:04
slangaseksounds good04:04
pittiGood morning04:15
=== pitti is now known as pitti_
=== sraue_ is now known as sraue
dholbachgood morning06:53
m4n1shev: just a friendly reminder. please look into those 2 bugs when you get time06:56
=== sgnb` is now known as sgnb
=== sgnb is now known as Guest21170
evm4n1sh: on it this morning :) thanks!07:43
=== tokarbol is now known as ballock
steveireHi there. http://anonscm.debian.org/gitweb/?p=collab-maint/cmake.git;a=summary is a repo of the cmake debian package. It is very useful. Can I find something similar for gcc? http://thread.gmane.org/gmane.linux.debian.ports.arm/12742/focus=1277807:54
geofftsteveire: http://packages.qa.debian.org/gcc-4.8 -> VCS link on the left07:59
geofftthat should work for approximately any Debian package that is maintained in a VCS07:59
steveiregeofft: Great, thanks.08:00
=== Guest21170 is now known as sgnb
steveiregeofft: Is the system down? http://paste.kde.org/783704/08:01
geofftBah, is this Alioth being silly again? Try anonsvn instead of svn, maybe08:01
geofftEr, no.08:02
steveireanonscm works, thanks08:03
geofftyeah, that's what I meant.08:03
* xnox wishes pastebinit would be available on ubuntu desktop cd.08:20
=== doko_ is now known as doko
steveiredoko: ping?09:29
dokosteveire, ?09:36
steveiredoko: Hi. Did you see my mail?09:36
dokoabout what?09:37
steveiredoko: http://thread.gmane.org/gmane.linux.debian.ports.arm/12742/focus=1278609:38
dokothis is to ensure that you have a standalone cross compiler which doesn't depend on and conflicts with foreign architectures09:40
steveireCan you say more?09:41
steveireHow does putting the stuff in gcc-cross/ instead of gcc/ have anything to do with foreign architectures ?09:41
steveireor dependencies (I assume you mean package-dependencies)?09:42
dokoyou can't install the -dev packages of the foreign arch09:43
steveireAh, so this is all about -dev packages.09:43
steveireI don't see any available -dev packages actually. What -dev package do you mean?09:44
dokoapt-cache showsrc gcc-4.809:45
steveireSome of this stuff? http://paste.kde.org/783890/09:46
steveirelibgcc-4.7-dev specifically I guess.09:47
seb128doko, hey, did you see the new comment on the gtk bug?09:47
steveiredoko: I still don't understand how this dev package issue relates to the gcc/ vs gcc-cross/ directory.09:48
dokoseb128, yes working with zhen on it09:53
dokosteveire, what don't you understand?09:53
seb128doko, great, thanks09:53
steveiredoko: I don't understand the need to put the cross compile dirs in gcc-cross/ instead of in gcc/ . I don't understand how that has anything to do with the -dev package of $something, which I assume is libgcc-4.7-dev. The file listing doesn't give me any clues: http://paste.kde.org/783902/09:56
dokosteveire, you can't install libgcc-4.7-dev for the target together with the cross compiler10:00
steveiredoko: Sorry. Are you saying that if there was another version of  libgcc-4.7-dev like libgcc-4.7-arm-linux-gnueabi-dev you could not install that together with gcc-arm-linux-gnueabi? Why not? No matter the answer, how do you get from that fact to the conclusion that the stuff must be in gcc-cross/ instead of gcc/ ? There are missing logical steps in what you have been saying here. The two statements about -dev packages and the gcc-cross/ directory seem10:03
steveireto be non-sequiturs.10:03
dokosteveire, cross build tools must not get in conflict with the the target arch. why is it so difficult to understand that?10:10
steveiredoko: I can see I've got all the useful information out of you I'm going to get. Thanks.10:11
dokosteveire, and thanks for not answering my question10:12
steveire"my question" == "why is it so difficult to understand that?" ? What kind of answer would you want to a question like that? If I were to ask you a similar question it would be: 'Why is it so difficult to give a reason for putting the files in gcc-cross?' Doesn't that look like an anti-social question to you? It does to me, so I'll not ask it :).10:16
steveireAnyway, I'll just post your answer to the mailing list and see if someone else can interpret it.10:17
xnoxsteveire: i'm not sure, but on my amd64 host i can have native amd64 compiler, native i386 compiler and cross from amd64->i386. IMHO this is reasonable to co-install native and cross compiler for the same target architecture, thus the requirement for separate /gcc/ and /gcc-cross/ in case native&cross c runtime files are different.10:19
xnoxsteveire: same story with arm64 host & armhf native and armhf cross compilers.10:19
dokosteveire, your paste shows libgcc-4.7-dev:amd64, not libgcc-4.7-dev:armhf. maybe that is you misunderstanding10:20
steveiredoko: Maybe. I just guessed the package. You didn't specify one :).10:21
steveirexnox: Thanks, let me think about that for a moment.10:21
dokowhat other -dev packages are in the gcc-4.x sources that I had to specify.10:22
dokostill not knowing what you are trying to achieve, and what it has to do here on this channel ...10:22
steveirexnox: So a armhf native compiler would run on a arm64 host? Why would you install a armhf cross compiler on the arm64 host if you have a native one?10:22
steveirexnox: And you are confirming that my point 2.2 here is the correct one: http://thread.gmane.org/gmane.linux.debian.ports.arm/12742/focus=12786 ?10:27
xnoxsteveire: to compare the two toolchains, for example and well because you can. Let me rephrase/flip your question into: "Why limit and make them artificially conflict?" plus if both are different yet are using same location then they can't be multi-arch:same10:27
[diablo]Good morning barry , are you around please?10:28
xnoxxnox: md5sum different, but possibly interchangeable. i'm not sure.10:29
steveirexnox: Ok, that's clear. Thanks.10:29
cjwatsonsteveire: It makes cross-building easier if you have as few conflicts as possible; you can sometimes end up with too many packages installed depending on the precise way build-dependencies are spelled, and it's helpful if things still work anyway10:41
cjwatson(This is a special case of the principle that it makes everything easier if you have as few conflicts as possible :-) )10:41
steveireRight. It causes a problem for clang though: http://thread.gmane.org/gmane.comp.compilers.clang.scm/73551/focus=7356810:42
steveireI think I have the information needed to justify the patch now though. Thanks for the information.10:42
=== MacSlow is now known as MacSlow|lunch
dokorsalveti, what are these ABI changes you mention in the libhybris upload?12:02
ogra_doko, apparently there are issues with float vars that get pushed through the socket if one side (android) is built with 4.7 while the other (ubuntu) used 4.8 for building12:04
dokoogra_, hmm, I'm not aware of such a change. so a test case would be good12:05
seb128doko, similar to https://code.launchpad.net/~ricmm/platform-api/gcc-4.7-abi/+merge/171643 I guess12:06
seb128"GCC 4.8 introduces a change for ARM AAPCS calling conventions"12:06
ogra_doko, ricmm was referring to paragraph 4 in http://gcc.gnu.org/gcc-4.8/changes.html12:06
ogra_right aapcs12:07
ogra_rotation and ambient light sensor shoot float data over the socket that arrives as nonsense on the ubuntu side12:08
dokoahh, thanks12:08
=== 6JTAAX1W6 is now known as tvoss
=== MacSlow|lunch is now known as MacSlow
barry[diablo]: hi12:48
[diablo]hey barry12:48
[diablo]barry, wondered if I could possibly pop quiz you on flufl.lock once again ;-)12:48
barry[diablo]: sure :)12:49
[diablo]here or prefer a PM?12:49
barrypm12:49
=== _salem is now known as salem_
=== sraue_ is now known as sraue
=== echidnaman is now known as JontheEchidna
pittijcastro: hey Jorge, how are you?13:25
jcastrohi pitti!13:26
jcastrohow can I help you this fine morning?13:26
pittijcastro: cleaning up old mail, WDYT about mothballing brainstorm now?13:26
jcastroI didn't want to kill it without having the information available to the community13:26
jcastrobut IS needs to do a review of the database to ensure there is no privacy-sensitive user information there13:27
pittiah, ok13:27
jcastrowe could take it down immediately, but I wanted the data dump available if someone wanted to take it and do something with it13:27
pittijcastro: we could perhaps disable write access, so that the thing stays there for historic reasons?13:28
jcastroyeah, I'll go ahead and ask IS and move forward, thanks for the prod13:28
=== francisco is now known as Guest25330
=== wedgwood_away is now known as wedgwood
chrisccoulsoncjwatson, looks like this is going to be a success now (on dactyl): https://launchpad.net/~ubuntu-mozilla-security/+archive/ppa/+build/474927614:38
cjwatsonCool14:38
cjwatson"Stripping symbols from enormous libraries" is a good progress comment14:39
chrisccoulsonheh14:40
seb128hum14:40
seb128is that about dh_strip running out of resources?14:40
seb128we got a webkit armhf build that failed on that earlier14:41
chrisccoulsonseb128, i'm not sure. maybe ask qengho about that?14:41
sladenoh my, ubuntu-devel@ is friendly these days14:48
rsalvetidoko: yeah, aapcs related14:52
ScottKsladen: It'd be easier to have a conversation if the start of the thread was more reality based.14:54
=== zumbi is now known as Guest86750
=== salem_ is now known as _salem
xnoxcjwatson: new debhelper upload has a fix for debbug 71325716:51
xnoxcjwatson: which at the same time, now fails to detect a check target and therefore dh_auto_test doesn't forexample run upstart's test suite.16:51
qenghoseb128: I have never seen dh_strip run out of resources.17:15
manishev: actually I was more worried about this one LP #1192778 because I was unable to get it working17:19
ubottuLaunchpad bug 1192778 in Activity Log Manager "Diagnostics tab doesn't show in standalone mode" [Medium,Confirmed] https://launchpad.net/bugs/119277817:19
evmanish: I don't understand why we want it to show in standalone mode?17:20
evthe diagnostics tab is useful for Ubuntu, which uses a-l-m as a control center module17:20
manishev: because of ubuntu gnome17:20
evah, *grumbles*17:20
manishit doesn't have g-c-c patch I guess17:20
manishbut still uses whoopsie for error collections17:20
manishI mean patched g-c-c to add more panels17:21
evyeah, this is a simple matter of playing with automake to build the whoopsie stuff when the control center module is not built17:21
manishI have added a patch on that bug17:21
manishbut it segfaults17:21
manishit looks close, but segfaults were making me mad17:21
manishev: so you can either work over it or start afresh17:22
ev:) thanks. I'm at the end of my day, but I'll have a look in the morn'17:23
=== _salem is now known as salem_
manishthat's good to hear17:23
manishgood night17:23
=== robru_ is now known as robru
dobeykenvandine: ! hey. for the uoa stuff, can a plug-in just create wholly custom UI for doing login/registration for a service, or does only oauth/openid type stuff that opens a browser work?18:11
kenvandinedobey, you mean you want to open a browser?18:11
kenvandineit can load a webview or display a form type UI18:12
dobeykenvandine: no, don't want to open a browser18:12
kenvandinedobey, however, with system-settings a plugin can provide qml components to display in the UI18:12
kenvandineso a bit more flexible on the UI18:12
dobeykenvandine: oh. are there docs on how to do a plug-in in qml that's not standard oauth stuff?18:15
kenvandinedobey, of course not :)18:15
kenvandineyou can look at what gets installed by account-plugin-facebook18:15
dobeyyeah, we were just looking at the qml for it. and it's OAuth { some_stuff_with_http_and_whatnot() }18:16
kenvandinehumm18:16
kenvandinenot sure what OAuthMain {} really includes18:17
kenvandinethat is from Ubuntu.OnlineAccounts.Plugin18:17
kenvandinedobey, ah... look at /usr/share/accounts/qml-plugins/example/Main.qml18:18
kenvandineprovided by ubuntu-system-settings-online-accounts18:18
dobeyhmm18:18
kenvandinethat should probably not get installed :)18:18
hallyncould someone on SRU team please look at (and hopefully accept) https://launchpad.net/ubuntu/precise/+queue?queue_state=1&queue_text=qemu-kvm ?18:18
kenvandinebut that is an example that includes other UI elements18:18
hallynthe 1.0+noroms-0ubuntu14.10 is a better fix than 1.0+noroms-0ubuntu14.9, and meant as a replacement, not a followup18:19
hallyn(it removes the 1.0+noroms-0ubuntu14.9 fix)18:19
dobeykenvandine: is that the upstream project name too?18:19
kenvandineyes18:20
dobeyick :)18:20
kenvandinedobey, i'd rather something explicit like that than *indicat*18:20
* kenvandine is looking at tedg18:20
dobeykenvandine: uss-online-accounts at least would have been "cooler" :)18:21
kenvandinehehe18:21
dobeykenvandine: even if it's not a big boat18:22
hallynSpamapS: ^ in a case like that, is there a tag should be setting on the bug?  I suppose I coudl set verification-failed, though technically it didn't fail, rather the previous fix was deemed just a workaround...18:23
SpamapShallyn: the tags are just signals to us as to whether or not users feel the bug should stop or progress18:24
SpamapShallyn: verification-failed is "do not promote this"18:24
hallynSpamapS: right, and that's sort of what i want18:24
hallyni want the next one in unapproved to take its place18:24
SpamapSthen yes, leave it verification-failed and the sru-accept will replace it18:24
hallynok, thanks18:25
hallyn(done, this was bug 1189926 fwiw)18:26
ubottubug 1189926 in qemu-kvm (Ubuntu Precise) "data corruption in storage attached to VM using KVM" [High,Fix committed] https://launchpad.net/bugs/118992618:26
hallynarges: ^ hopefully that gets the ball rolling again18:26
barrycjwatson: still around?18:27
argeshallyn: did i mess something up?18:29
argeshallyn: oh i see you'll upload the new patch : ) thanks18:29
hallynarges: I uploaded it quite some time ago, but it never got promoted because the previos one was still waiting to be promoted18:30
argesah18:30
slangasekinfinity: so, no late-night headaches giving you visions to explain what's wrong with plymouth? :)18:52
slangasekI've looked at gdb disas output on ply_get_timestamp(), and I don't see anything amiss.  maybe this needs someone who's better at x86 asm than me.18:53
infinityslangasek: I was entirely epiphany-free last night.  And x86 asm is definitely not my forte.18:56
slangasekinfinity: whose forte is it?18:56
infinityslangasek: I could point you at any number of Intel employees, if that's helpful. :P18:57
slangasekhmm :)18:57
infinityslangasek: ( Not relevant to the livecd-rootfs/eatmydata discussion we had, but vaguely related, should someone decide that regular buildds should get such a treatment: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713035 )19:20
ubottuDebian bug 713035 in eglibc "eglibc: FTBFS when built with eatmydata" [Normal,Open]19:20
infinityslangasek: TL;DR: eatmydata doesn't wrap sync convincingly enough to not eff up testsuites.19:20
lifelesssurely that should be a bug on eatmydata?19:21
infinitylifeless: It's been cloned and reassigned already.19:22
lifelessah19:22
lifelesssucks to be me :)19:22
slangasekinfinity: yeah, someone raised that bug to my attention already :)19:29
Noskcajkirkland_, roaksoax: This is your daily reminder to find a day for testdrive19:33
gQuigsI'm trying to build samba to fix a bug, but failing: http://pastebin.ubuntu.com/5805829/20:20
gQuigsrunning: debuild -uc -us  in the directory from apt-get source samba20:21
maxiaojunhi, guys, I find some packages' section is probably wrong20:35
maxiaojunimho20:35
maxiaojununity-webapps-* should belong to 'main'20:35
maxiaojunubuntu-sdk and dependencies should belong to 'main'20:35
maxiaojundependencies of "ubuntu-restricted-extras" should be long to multiverse20:36
ogra_maxiaojun, that requires a main inclusion report and an extensive review process20:36
ogra_packages usually enter the archive in universe before they get promoted to main20:37
jbichamaxiaojun: multiverse depends on universe20:37
maxiaojununiverse -- community-maintained FOSS20:37
ogra_just be patient, unity-webapps as well as the sdk will be in main by release day20:38
maxiaojunmultiverse -- Software restricted by copyright or legal issues20:39
maxiaojuni guess dependencies of "ubuntu-restricted-extras" are indeed "Software restricted by copyright or legal issues"20:40
infinitymaxiaojun: Not all of them.  Is there a specific one you're concerned about?20:40
=== kk2 is now known as Kk2
maxiaojuni think most of them are20:41
maxiaojunthe problem is, if I disable 'multiverse', the repo still contains non-free software20:42
ogra_surely not20:43
maxiaojunon the other hand, if I disable 'universe', I miss some important but non-free software20:43
ogra_it might contain a metapackage depending on nonfree sw ... but to my knowledge there is no nonfree stuff in universe20:43
infinitymaxiaojun: Which non-free software is in universe?  Names, please.20:44
maxiaojunthe codecs doesn't considered non-free?20:44
infinitymaxiaojun: "All the deps of ubuntu-restricted-extras" is not helpful, since plenty of its deps are free.20:45
ogra_there are many open codecs, which ones specifically ?20:45
maxiaojun*-bad *-ugly ?20:46
infinitymaxiaojun: Both of those are free, from a copyright perspective.20:48
infinitymaxiaojun: bad is "bad" because of quality concerns.20:48
ogra_the package description is pretty informative :)20:48
ogra_helps to read it ;)20:48
maxiaojun"GStreamer plugins from the "bad" set" ?20:49
ogra_thats the title ...20:50
infinitymaxiaojun: ugly is "ugly" due to potential distribution issues in some jurisdictions, but we don't split universe/multiverse according to random patent claims, only copyright concerns.20:50
infinity(If we put everything that might be covered by a patent in restricted and multiverse, we'd have no main and universe left)20:50
infinityPerhaps a slightly pessimistic world view of software patents, but probably not inaccurate.20:50
maxiaojunThe code might be widely known to present patent problems.20:51
maxiaojunhttp://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html20:51
ogra_well, it is still opensource code under a free license20:52
ogra_so it qualifies for universe ... no matter what patents there are20:52
ogra_(and the patents are pointed out in the package description as you can see)20:53
maxiaojunbut it can be pulled automatically?20:54
ogra_pulled ?20:56
maxiaojunopen a media file20:57
maxiaojunthen the media player would prompt to install additional package20:57
ogra_yeah, it does that20:58
ScottKtvoss_: When you made the XMir video, were you using non-standard settings for kwin effects on KDE?21:29
=== Kk2 is now known as kk2
=== salem_ is now known as _salem
cjwatsonxnox: please report it to Debian - I won't be able to do anything until at least Monday anyway, and in any case Joey is way more familiar with the intricacies of make than I am22:03
xnoxcjwatson: ack. will make a minimal reproducer first.22:03
* ogra_ seriously wonders why infinity and I talked to maxiaojun .... if i have to answer the exact same stuff that was asked above by mail again22:09
=== kentb is now known as kentb-out
Laneyogra_: the mail came before irc22:17
ogra_oh22:18
* ogra_ slaps himself to read timestamps 22:18
Laneystill duplication though22:18
ogra_maxiaojun, sorry22:18
* xnox tries this Mir ppa.....22:18
xnoxit works rather nice.22:36
=== sunweave1 is now known as sunweaver
=== wedgwood is now known as wedgwood_away

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