UbuntuIRC / 2008 /01 /11 /#ubuntu-mozillateam.txt
niansa
Initial commit
4aa5fce
[00:10] <gnomefreak> i did thank you
[00:59] <asac> @time
[00:59] <ubotu> Current time in Etc/UTC: January 11 2008, 00:59:41 - Next meeting: Kubuntu Developers in 1 day
=== gnomefre2k is now known as gnomefreak
=== RAOF_ is now known as RAOF
[03:14] <fellacious> hello!
[03:14] <fellacious> where do i find the debug symbols for firefox-3.0?
[03:15] <fellacious> firefox-3.0 is segfaulting in ?? in /usr/lib/firefox-3.0/components/libbrowsercomps.so
[03:21] <asac> fellacious: deb http://people.ubuntu.com/~ubuntu-archive/ddebs/ hardy main universe
[03:23] <[reed]> asac: ugh, that was a huge pain to get bug 384304 on the branch
[03:23] <[reed]> mozilla bug 384304, that is
[03:23] <ubotu> Mozilla bug 384304 in Startup and Profile System "/usr/bin/firefox is not able to handle symlinks due to error in script" [Major,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=384304
[03:25] <fellacious> i see... firefox-3.0-dbgsym
[03:25] <fellacious> ok, but that requires a firefox-3.0 that apt can't find
[03:30] <fellacious> firefox-3.0-dbgsym: Depends: firefox-3.0 (= 3.0~b3~cvs20080101t1000+nobinonly-0ubuntu1) but 3.0~alpha8+nobinonly-0ubuntu1 is to be installed
[03:30] <[reed]> you want to pull firefox-3.0 from hardy repo
[03:30] <[reed]> not from gutsy
=== Admiral_laptop is now known as Admiral_Chicago
[03:31] <fellacious> ok... how am i supposed to do that without installing hardy?
[03:32] <fellacious> in fact, how am i supposed to do that at all
[03:32] <[reed]> asac: ^^
[03:32] <[reed]> it's possible
[03:33] <fellacious> well, apt thinks that firefox-3.0 is in its latest version
[03:34] <fellacious> (the gutsy one)
[03:34] <[reed]> you can teach apt new tricks
[03:34] <fellacious> so... how am i supposed to tell it that i want the hardy one?
[03:34] <[reed]> dunno, that's why I'm pinging asac :)
[06:47] <armin76> [reed]: what distro do you use?
[06:55] <[reed]> armin76: gutsy
[06:55] <[reed]> well, Ubuntu, of course
[06:56] <[reed]> but if I need something from a newer version that's not released yet, I usually just build from source ;)
=== DarkMageZ_ is now known as DarkMageZ
=== \sh_away is now known as \sh
=== \sh is now known as \sh_away
=== greenery_ is now known as Greenery
=== asac_ is now known as asac
=== \sh_away is now known as \sh
=== \sh is now known as \sh_away
=== \sh_away is now known as \sh
=== \sh is now known as \sh_away
[16:01] <asac> Ubulette_: -devscripts are through source NEW btw ... now bin NEW and then we can update as we like :)
=== Ubulette_ is now known as Ubulette
[18:20] <Ubulette> hi
[18:20] <Ubulette> asac, excellent
[18:23] <Ubulette> jcastro: [Thu 21:15] <jcastro> Ubulette_: around?
[18:46] <jcastro> Ubulette: hi
[18:46] <jcastro> Ubulette: someone from mozilla co was looking for you with regard to packaging xulrunner and prism, I sent them your way
[18:46] <jcastro> just wanted to let you know
[18:48] <Ubulette> oh, Mark Finkle. He contacted me. Thanks.
[18:49] <Ubulette> we only discussed prism, not xulrunner
[18:49] <Ubulette> +about
[18:49] <jcastro> actually it was chris blizzard, so he might have sent that guy along. *shrug*
[18:49] <jcastro> as long as someonne over there got ahold of you. :D
[18:53] <Ubulette> Mark is the initial author of prism/webrunner. so i guess Chris will ping me eventually.
[19:18] <jcastro> that's cool
[19:42] <fellacious> ok. so i have a bug wherein firefox 3 segfaults
[19:43] <fellacious> in ?? in /usr/lib/firefox-3.0/components/libbrowsercomps.so
[19:43] <fellacious> and that's as far as i can take debugging because there isn't a dbgsym package for the firefox 3 in gutsy (why not?)
[19:43] <fellacious> the bug is triggered when i try to import my 148k bookmarks.html into places
[19:44] <fellacious> from bookmarks -> organize bookmarks --> file -> import
[19:45] <fellacious> SO: my question is: what should i do next?
[19:46] <fellacious> build firefox from a source package somewhere?
[20:16] <asac> fellacious: you need to rebuild the package for gutsy ... did you try the package in mozillateam ppa?
[20:25] <Ubulette> http://ejohn.org/blog/acid3-tackles-ecmascript/
[20:29] <[reed]> Hixie keeps changing acid3
[20:29] <[reed]> bah
[20:30] <[reed]> we used to be the best at it last week :)
[20:39] <fellacious> asac: sorry, i just lost my internet connectivity :/
[20:39] <asac> he?
[20:39] <fellacious> the last thing you said was: you need to rebuild the package for gutsy ... did you
[20:39] <asac> 21:16 < asac> fellacious: you need to rebuild the package for gutsy ... did you try the package in mozillateam ppa?
[20:39] <fellacious> try the package in mozillateam ppa?
[20:39] <asac> yeah ... thats all i said ;)
[20:39] <fellacious> ok... whats the ppa?
[20:40] <asac> well in ppa ther are the latest packages (which is why i think you want to test those first) ... you need to rebuild them to get -dbgsym packages though
[20:40] <Ubulette> https://launchpad.net/~mozillateam/+archive
[20:40] <asac> fellacious: ^^
[20:40] <asac> just install pkg-create-dbgsym package and then rebuild ... this will produce the debug packages automagically
[20:43] <fellacious> ok, so i added those lines to /etc/apt/sources.list, apt-get update, apt-get install firefox-3.0. but, those packages are built for hardy, and i'm on gutsy
[20:43] <asac> fellacious: switch to gutsy on top
[20:43] <asac> then you get gutsy lines
[20:43] <fellacious> oh... rite :p
[20:44] <asac> fellacious: anyway ... for the current gutsy package there should be a -dbgsym package available at the place i gave you yesterday
[20:44] <fellacious> alright
[20:45] <fellacious> thanks
[20:45] <fellacious> (installing firefox-3.0 from ppa now...)
[20:45] <asac> fellacious: oh ... i gave you the hardy line yesterday ... use
[20:45] <asac> deb http://people.ubuntu.com/~ubuntu-archive/ddebs/ gutsy main universe
[20:45] <asac> anyway, try ppa first
[20:51] <[reed]> mozilla bug 347938 gets reopened, lol
[20:51] <ubotu> Mozilla bug 347938 in Server Operations: Projects "Cannot eat 10 burritos in 2 hours without vomiting" [Blocker,Reopened] http://bugzilla.mozilla.org/show_bug.cgi?id=347938
[20:51] <[reed]> oh, and make sure you all see http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/bca2c92496161015
[20:53] <fellacious> ok... the bug is still there, i can't get the dbgsym package because firefox-3.0-dbgsym: Depends: firefox-3.0 (= 3.0~alpha8+nobinonly-0ubuntu1) but 3.0~b2+nobinonly-0ubuntu2~mt1~gutsy1
[20:54] <fellacious> now running: apt-get build-dep firefox-3.0
[20:54] <asac> fellacious: as i said you need to rebuild the packages ... anyway, how do you reproduce?
[20:54] <asac> fellacious: first rebuild xulrunner-1.9
[20:54] <asac> then firefox-3.0 ... most likely you need the xul dbgsymbols
[20:55] <fellacious> steps to reproduce: start firefox-3.0, go to bookmarks->show all bookmarks->import from file, try to import my bookmarks.html, crash
[20:56] <fellacious> ok. whats the command to build these packages?
[20:56] <asac> apt-get source xulrunner-1.9
[20:56] <fellacious> yup
[20:56] <asac> sudo apt-get install build-essentials (if you haven't done before)
[20:57] <fellacious> got those (aren't they supposed to be covered in build-dep?)
[20:57] <asac> then in xulrunner-1.9 be sure that pkg-creawte-dbgsym is installed do
[20:57] <asac> dpkg-buildpackage -rfakeroot -b
[20:57] <asac> fellacious: no idea if apt-get build-dep does automatically install build-essentials
[20:57] <asac> i rarely need to install them ;)
[20:58] <fellacious> ya
[20:58] <asac> fellacious: at best do a dch -i before
[20:58] <asac> building
[20:58] <asac> so your version will be bumped
[20:58] <fellacious> dch?
[20:58] <asac> to add a new changelog entry on top
[20:58] <asac> you can adapt the version accordingly
[20:58] <asac> at best just add a ~fellacious to the end of the version thats in ppa
[20:58] <asac> or a +fellacious
[20:59] <asac> the latter if you want to keep the ppa lines and don't want to auto upgrade to those again
[21:01] <fellacious> i see... dch is in devscripts, which isn't in build-essential
[21:02] <asac> yeah possibly
[21:03] <fellacious> ok, building
[21:04] <fellacious> so... if i have pkg-create-dbgsym installed, dpkg-buildpackage automatically creates dbgsym packages?
[21:05] <asac> yes
[21:06] <asac> it diverts the dh_strip helper to sort out the symbols to a package instead of just dumping them to /dev/null
[21:06] <fellacious> nice
[21:06] <fellacious> any way to get dpkg-buildpackage to use both cores?
[21:07] <asac> both cores?
[21:07] <fellacious> i have a dual-core processor
[21:07] <asac> hmm try:
[21:07] <asac> hmm
[21:07] <asac> not sure ;)
[21:07] <asac> probably not that easy
[21:07] <asac> wait a sec
[21:07] <fellacious> ya
[21:08] <asac> try export MAKE="make -j8"
[21:08] <asac> before building
[21:08] <asac> but not sure if its overwritten somewhere or working at all
[21:09] <asac> i only build my dev tree with -j
[21:35] <saivann> asac : If you're here, I've worked on lightning-extension-locale and sunbird-locale to fix all points you described in bug #174290. sunbird-locales still has a packaging problem that I would like to look with you.
[21:35] <ubotu> Launchpad bug 174290 in sunbird-locales "[hardy] new upstream release 0.7" [Wishlist,In progress] https://launchpad.net/bugs/174290
[21:35] <saivann> asac : http://upload.leservicetechnique.com/bugs/lightning-extension-locales_0.7.tar.gz
[21:35] <saivann> asac : http://upload.leservicetechnique.com/bugs/sunbird-locales_0.7.tar.gz
[21:37] <asac> saivann: whats the problem=
[21:38] <saivann> asac : I created a patch for the mk locales but the patch doesn't apply. I don't know what path I should use in the patch file because I try to patch a install.rdf file inside the /tmp/buildd folder.
[21:39] <asac> do you extract all locales before building?
[21:39] <saivann> asac : it's in the debian/rules file line 54, and the debian/patches folder
[21:39] <saivann> asac : Yes
[21:39] <asac> saivann: ok i see
[21:40] <asac> patch -p1 < $(CURDIR)/debian/patches/$${CURLOCALE}.diff
[21:40] <asac> ok the -p1 means: you strip one directory from the beginning of the path of the pach
[21:40] <asac> path
[21:40] <saivann> asac : It's as simple as that?
[21:40] <asac> the rest of the path then needs to exist from whatever you dir you are in when running patch
[21:40] <asac> yes
[21:40] <asac> you have to remove the path in front
[21:40] <asac> please keep the -p1
[21:42] <asac> fix the path in the patch accordingly
[21:42] <saivann> asac : I should just keep : build/translations/mk/install.rdf ?
[21:43] <asac> i think just mk/install.rdf (if i understand it correctly the patch is applied after cd'ing to the debian/build/translations/mk/ dir)
[21:44] <saivann> asac : Oh you're right! I test this
[21:45] <saivann> asac : You can also look at lightning-extension-locales, all point you asked me to fix are now fixed. I suggest to merge jar_to_xpi.sh scripts with regen_package.sh script and then eventually replace this by a makefile
[21:49] <asac> patches? i only have scripts
[21:49] <asac> oh ups
[21:49] <asac> bad scrollback :)
[21:49] <saivann> asac : for sunbird-locales, using "mk/install.rdf" in the patch works
[21:49] <saivann> asac : hehe :)
[21:53] <asac> those scripts are in fact a bit ugly :)
[21:53] <saivann> asac : I know.. I'm still really a beginner :( sorry
[21:54] <asac> yeah np
[21:54] <asac> ;)
[21:54] <saivann> asac : That's why I need your help, if you believe that it's worth
[21:55] <saivann> asac : If you say that you prefer a proper makefile and that you know good documentation about this, I can work very hard on this.
[21:56] <asac> yes, i have to think abit :)
[21:57] <saivann> asac : From now on, yes it's ugly but it's working for A to Z, except if you find some new problems. All locales for sunbird and lightning-extension are tested and working
[21:58] <asac> # Fix the missing thunderbird-locale-ka dependency for lightning-extension-locale-ka package.
[21:58] <asac> what does that mean?
[21:58] <saivann> asac : There's no thunderbird-locale-ka package, so I the lightning-extension-locale-ka package can't depend on thunderbird-locale-ka, I fixed this.
[21:59] <asac> oh ...ok
[21:59] <asac> just wonder if that should be a recommends anyway
[21:59] <saivann> asac : Most of time, if the appropriate thunderbird-locale package isn't installed, it will result in partially translated application.
[21:59] <asac> (i mean the tbird locale depend)
[22:00] <asac> but it works though? e.g. partically translated?
[22:00] <saivann> asac : I asked this question to myself too but sometime, if the appropriate thunderbird locale isn't installed, it gives strange results
[22:00] <asac> ah ... you say even sunbird isn't translated ok
[22:00] <asac> ?
[22:00] <asac> we are just talking about lightning, right?
[22:00] <asac> (stupid me)
[22:00] <saivann> asac : about lightning only yes
[22:01] <saivann> asac : np :)
[22:01] <asac> what kind of strange results?
[22:01] <asac> broken chrome? or just funny non-translations?
[22:02] <saivann> asac : Example : thunderbird-locale-fr is installed but thunderbird-locale-eu isn't installed. Both lightning-extension-locale-fr and eu are installed. I start thunderbird with fr locale and everything is translated, now I close it and re-open it with eu locale, thunderbird interface is still in fr ( mostly )
[22:03] <asac> ok, but it uses eu for the strings it has?
[22:04] <saivann> asac : What do you mean?
[22:04] <asac> partly fr + partly eu ... or just fr ?
[22:05] <saivann> asac : Just fr and sometime just a bit of eu in some part of the lightning-extension-locale, AFAIK. That's strange, I can test it again if you need more information
[22:05] <saivann> asac : That's what I remember and I tested it a lot of time, I can do it again
[22:07] <saivann> asac : I also remember that it won't happen with all locales but almost all locales, if my memories are right
[22:07] <saivann> asac : But never any broken chrome
[22:08] <asac> hmm wierd
[22:09] <saivann> asac : yep
[22:09] <saivann> asac : Do you want clear and detailed informations?
[22:14] <asac> no
[22:14] <asac> i will let you know tomorrow if we want to use recommends. otherwise i will probably sponsor the packages as they are now
[22:15] <asac> are all locales that were in gutsy again available?
[22:17] <saivann> I would need to look to confirm, but there's one or two locales that aren't available for 0.7 release, and some new locales too
[22:18] <saivann> asac : mn locales for sunbird and lightning-extension doesn't exist anymore
[22:18] <saivann> asac : ( Mongolian locale )
[22:19] <saivann> asac : All other locales does have a 0.7 release
[22:21] <saivann> asac : I uploaded fixed sunbird-locales package, http://upload.leservicetechnique.com/bugs/sunbird-locales_0.7.tar.gz
[22:27] <fellacious> wow, libxul.so is huge
[22:29] <asac> yeah ... building is memory sucker
[22:29] <asac> saivann: did you look? maybe mn has been added recently?
[22:29] <saivann> asac : let me look..
[22:30] <saivann> asac : Unfortunately, no :)
[22:30] <saivann> ttp://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.7/langpacks/
[22:30] <saivann> http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.7/langpacks/
[22:30] <asac> maybe there is an upstream site for that locale?
[22:31] <asac> often lang contributors miss some deadline and then the pack is only available on their private site
[22:32] <saivann> asac : Hum.. Ok, let me search a bit
[22:32] <asac> maybe the site is in the install.rdf file of the 0.5 xpi
[22:33] <asac> unfortunately not
[22:34] <saivann> asac : Yes I looked too
[22:36] <saivann> asac : look : http://wiki.mozilla.org/L10n:Thunderbird_Trunk_Status mn is in the pending locales
[22:36] <saivann> asac : I would say that we'll not get mn for 0.7 release
[22:36] <saivann> asac : Unless I take the decision to learn Mongolian :)
[22:39] <asac> ok i sent a mail to the upstream maintainer for info
[22:39] <asac> CCed you
[22:39] <asac> lets give him a day or two
[22:39] <saivann> asac : Great, thanks
[22:40] <[reed]> asac: building libxul takes a gig of RAM, I think?
[22:40] <asac> yeah at least :)
[22:40] <asac> if you use -O3 probably more :)
[22:41] <[reed]> you all should use the normal optimize options
[22:41] <[reed]> :)
[22:41] <[reed]> we've been tweaking them
[22:41] <[reed]> to be the best on each platform
[22:41] <fellacious> ok, xulrunner 1.9 rebuilt and installed. now what?
[22:42] <fellacious> same thing for firefox-3.0?
[22:42] <saivann> asac : Thanks for your help. Please let me know your opinion about what should be lightning-extension-locales and sunbird-locales in the future, I'm ready to continue this work and do everything I can.
[22:42] <asac> fellacious: yes ... if you have the xul 1.9 dev package installed as well
[22:42] <asac> should just take a few minutes
[22:44] <asac> [reed]: you most likely didn't tweak them for the compiler version we use
[22:44] <[reed]> I think they're being tweaked for gcc 4.2
[23:00] <fellacious> Program received signal SIGSEGV, Segmentation fault.
[23:00] <fellacious> [Switching to Thread 47259275488880 (LWP 12267)]
[23:00] <fellacious> 0x00002aaaabdb91d9 in BookmarkContentSink::CloseContainer ( this=0x2aaaac21cef0, aTag=eHTMLTag_dd) at nsPlacesImportExportService.cpp:557
[23:00] <fellacious> 557 lastModified = PreviousFrame().mPreviousLastModifiedDate;
[23:00] <fellacious> Current language: auto; currently c++
[23:02] <Ubulette> please pastebin a "bt"
[23:04] <fellacious> http://pastebin.ca/851427
[23:04] <asac> fellacious: so how do you reproduce?
[23:05] <fellacious> hm... you would like to see my bookmarks.html?
[23:05] <asac> what operation are you doing when it crashes?
[23:05] <fellacious> importing
[23:05] <fellacious> bookmarks->show all bookmarks->import from file
[23:06] <asac> and what bookmarks.html are you trying to import?
[23:06] <asac> the one that was in your firefox 2 profile?
[23:06] <fellacious> yes
[23:06] <asac> that should have been migrated automagically
[23:12] <asac> fellacious: are your bookmarks completely empty before doing this?
[23:13] <fellacious> http://216.15.119.166:81/bookmarks.20080111.html <- my bookmarks.html
[23:14] <fellacious> not completely. i'm using a different profile that did manage to import bookmarks
[23:14] <fellacious> hm.
[23:16] <fellacious> it crashes on launch with my default profile (maybe it crashes on this bookmarks.html issue?)
[23:17] <asac> backtrace?
[23:17] <fellacious> how do i get it to run through the debugger?
[23:17] <fellacious> -ProfileManager creates a new process for the selected profile, so theres no time to attach the debugger
[23:18] <fellacious> hm... i can win this race...
[23:19] <asac> fellacious: you can do:
[23:19] <asac> firefox-3.0 -g
[23:19] <asac> (gdb) run
[23:20] <fellacious> $ firefox-3.0 -g
[23:20] <fellacious> Segmentation fault (core dumped)
[23:21] <fellacious> oh right i can look at the core file
[23:21] <asac> apparently -g doesn't work anymore
[23:21] <asac> yes you can
[23:21] <asac> ok now you have to
[23:22] <asac> gdb /usr/lib/firefox-3.0-3.0b3pre/firefox-3.0
[23:22] <asac> (gdb) run
[23:35] <fellacious> ok, i finally got a backtrace from a core from firefox crashing on startup
[23:35] <fellacious> http://pastebin.ca/851466
[23:36] <fellacious> it crashes in the same place
[23:36] <asac> yep
[23:36] <fellacious> http://216.15.119.166:81/bookmarks.20080111.html <- this is the offending bookmarks.html
[23:37] <asac> fellacious: please backup your whole .mozilla folder so can still reproduce
[23:37] <asac> then remove the places.sqlite file from your firefox-3.0 profile
[23:39] <fellacious> ok
[23:40] <fellacious> done
[23:40] <asac> changes a thing?
[23:42] <fellacious> same crash as before
[23:42] <asac> ok ... stop browser, remove the whole .mozillla/firefox-3.0 directory, start again
[23:43] <asac> see if the crash was due to old migration code in alpha
[23:44] <fellacious> i've removed the firefox-3.0 directory and restarted several times.
[23:44] <fellacious> doing it again...
[23:44] <asac> well...your ffox 2 bookmarks should be migrated now anyway